Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

4775 lignes
136 KiB

  1. openapi: 3.1.0
  2. info:
  3. title: 'Matsen API Platform'
  4. description: ''
  5. version: 1.0.0
  6. servers:
  7. -
  8. url: /
  9. description: ''
  10. paths:
  11. /api/comments:
  12. get:
  13. operationId: api_comments_get_collection
  14. tags:
  15. - Comment
  16. responses:
  17. 200:
  18. description: 'Comment collection'
  19. content:
  20. application/ld+json:
  21. schema:
  22. type: object
  23. properties:
  24. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Comment.jsonld' } }
  25. 'hydra:totalItems': { type: integer, minimum: 0 }
  26. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  27. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  28. required:
  29. - 'hydra:member'
  30. application/json:
  31. schema:
  32. type: array
  33. items:
  34. $ref: '#/components/schemas/Comment'
  35. text/html:
  36. schema:
  37. type: array
  38. items:
  39. $ref: '#/components/schemas/Comment'
  40. application/hal+json:
  41. schema:
  42. type: object
  43. properties:
  44. _embedded: { type: array, items: { $ref: '#/components/schemas/Comment.jsonhal' } }
  45. totalItems: { type: integer, minimum: 0 }
  46. itemsPerPage: { type: integer, minimum: 0 }
  47. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  48. required:
  49. - _links
  50. - _embedded
  51. summary: 'Retrieves the collection of Comment resources.'
  52. description: 'Retrieves the collection of Comment resources.'
  53. parameters:
  54. -
  55. name: page
  56. in: query
  57. description: 'The collection page number'
  58. required: false
  59. deprecated: false
  60. allowEmptyValue: true
  61. schema:
  62. type: integer
  63. default: 1
  64. style: form
  65. explode: false
  66. allowReserved: false
  67. -
  68. name: itemsPerPage
  69. in: query
  70. description: 'The number of items per page'
  71. required: false
  72. deprecated: false
  73. allowEmptyValue: true
  74. schema:
  75. type: integer
  76. default: 10
  77. minimum: 0
  78. maximum: 50
  79. style: form
  80. explode: false
  81. allowReserved: false
  82. deprecated: false
  83. post:
  84. operationId: api_comments_post
  85. tags:
  86. - Comment
  87. responses:
  88. 201:
  89. description: 'Comment resource created'
  90. content:
  91. application/ld+json:
  92. schema:
  93. $ref: '#/components/schemas/Comment.jsonld'
  94. application/json:
  95. schema:
  96. $ref: '#/components/schemas/Comment'
  97. text/html:
  98. schema:
  99. $ref: '#/components/schemas/Comment'
  100. application/hal+json:
  101. schema:
  102. $ref: '#/components/schemas/Comment.jsonhal'
  103. links: { }
  104. 400:
  105. description: 'Invalid input'
  106. 422:
  107. description: 'Unprocessable entity'
  108. summary: 'Creates a Comment resource.'
  109. description: 'Creates a Comment resource.'
  110. parameters: []
  111. requestBody:
  112. description: 'The new Comment resource'
  113. content:
  114. application/ld+json:
  115. schema:
  116. $ref: '#/components/schemas/Comment.jsonld'
  117. application/json:
  118. schema:
  119. $ref: '#/components/schemas/Comment'
  120. text/html:
  121. schema:
  122. $ref: '#/components/schemas/Comment'
  123. application/hal+json:
  124. schema:
  125. $ref: '#/components/schemas/Comment.jsonhal'
  126. required: true
  127. deprecated: false
  128. parameters: []
  129. '/api/comments/{id}':
  130. get:
  131. operationId: api_comments_id_get
  132. tags:
  133. - Comment
  134. responses:
  135. 200:
  136. description: 'Comment resource'
  137. content:
  138. application/ld+json:
  139. schema:
  140. $ref: '#/components/schemas/Comment.jsonld'
  141. application/json:
  142. schema:
  143. $ref: '#/components/schemas/Comment'
  144. text/html:
  145. schema:
  146. $ref: '#/components/schemas/Comment'
  147. application/hal+json:
  148. schema:
  149. $ref: '#/components/schemas/Comment.jsonhal'
  150. 404:
  151. description: 'Resource not found'
  152. summary: 'Retrieves a Comment resource.'
  153. description: 'Retrieves a Comment resource.'
  154. parameters:
  155. -
  156. name: id
  157. in: path
  158. description: 'CommentApi identifier'
  159. required: true
  160. deprecated: false
  161. allowEmptyValue: false
  162. schema:
  163. type: string
  164. style: simple
  165. explode: false
  166. allowReserved: false
  167. deprecated: false
  168. delete:
  169. operationId: api_comments_id_delete
  170. tags:
  171. - Comment
  172. responses:
  173. 204:
  174. description: 'Comment resource deleted'
  175. 404:
  176. description: 'Resource not found'
  177. summary: 'Removes the Comment resource.'
  178. description: 'Removes the Comment resource.'
  179. parameters:
  180. -
  181. name: id
  182. in: path
  183. description: 'CommentApi identifier'
  184. required: true
  185. deprecated: false
  186. allowEmptyValue: false
  187. schema:
  188. type: string
  189. style: simple
  190. explode: false
  191. allowReserved: false
  192. deprecated: false
  193. patch:
  194. operationId: api_comments_id_patch
  195. tags:
  196. - Comment
  197. responses:
  198. 200:
  199. description: 'Comment resource updated'
  200. content:
  201. application/ld+json:
  202. schema:
  203. $ref: '#/components/schemas/Comment.jsonld'
  204. application/json:
  205. schema:
  206. $ref: '#/components/schemas/Comment'
  207. text/html:
  208. schema:
  209. $ref: '#/components/schemas/Comment'
  210. application/hal+json:
  211. schema:
  212. $ref: '#/components/schemas/Comment.jsonhal'
  213. links: { }
  214. 400:
  215. description: 'Invalid input'
  216. 422:
  217. description: 'Unprocessable entity'
  218. 404:
  219. description: 'Resource not found'
  220. summary: 'Updates the Comment resource.'
  221. description: 'Updates the Comment resource.'
  222. parameters:
  223. -
  224. name: id
  225. in: path
  226. description: 'CommentApi identifier'
  227. required: true
  228. deprecated: false
  229. allowEmptyValue: false
  230. schema:
  231. type: string
  232. style: simple
  233. explode: false
  234. allowReserved: false
  235. requestBody:
  236. description: 'The updated Comment resource'
  237. content:
  238. application/merge-patch+json:
  239. schema:
  240. $ref: '#/components/schemas/Comment'
  241. required: true
  242. deprecated: false
  243. parameters: []
  244. /api/contacts:
  245. get:
  246. operationId: api_contacts_get_collection
  247. tags:
  248. - Contact
  249. responses:
  250. 200:
  251. description: 'Contact collection'
  252. content:
  253. application/ld+json:
  254. schema:
  255. type: object
  256. properties:
  257. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Contact.jsonld' } }
  258. 'hydra:totalItems': { type: integer, minimum: 0 }
  259. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  260. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  261. required:
  262. - 'hydra:member'
  263. application/json:
  264. schema:
  265. type: array
  266. items:
  267. $ref: '#/components/schemas/Contact'
  268. text/html:
  269. schema:
  270. type: array
  271. items:
  272. $ref: '#/components/schemas/Contact'
  273. application/hal+json:
  274. schema:
  275. type: object
  276. properties:
  277. _embedded: { type: array, items: { $ref: '#/components/schemas/Contact.jsonhal' } }
  278. totalItems: { type: integer, minimum: 0 }
  279. itemsPerPage: { type: integer, minimum: 0 }
  280. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  281. required:
  282. - _links
  283. - _embedded
  284. summary: 'Retrieves the collection of Contact resources.'
  285. description: 'Retrieves the collection of Contact resources.'
  286. parameters:
  287. -
  288. name: page
  289. in: query
  290. description: 'The collection page number'
  291. required: false
  292. deprecated: false
  293. allowEmptyValue: true
  294. schema:
  295. type: integer
  296. default: 1
  297. style: form
  298. explode: false
  299. allowReserved: false
  300. -
  301. name: itemsPerPage
  302. in: query
  303. description: 'The number of items per page'
  304. required: false
  305. deprecated: false
  306. allowEmptyValue: true
  307. schema:
  308. type: integer
  309. default: 10
  310. minimum: 0
  311. maximum: 50
  312. style: form
  313. explode: false
  314. allowReserved: false
  315. -
  316. name: partner
  317. in: query
  318. description: ''
  319. required: false
  320. deprecated: false
  321. allowEmptyValue: true
  322. schema:
  323. type: string
  324. style: form
  325. explode: false
  326. allowReserved: false
  327. -
  328. name: 'partner[]'
  329. in: query
  330. description: ''
  331. required: false
  332. deprecated: false
  333. allowEmptyValue: true
  334. schema:
  335. type: array
  336. items:
  337. type: string
  338. style: form
  339. explode: true
  340. allowReserved: false
  341. deprecated: false
  342. post:
  343. operationId: api_contacts_post
  344. tags:
  345. - Contact
  346. responses:
  347. 201:
  348. description: 'Contact resource created'
  349. content:
  350. application/ld+json:
  351. schema:
  352. $ref: '#/components/schemas/Contact.jsonld'
  353. application/json:
  354. schema:
  355. $ref: '#/components/schemas/Contact'
  356. text/html:
  357. schema:
  358. $ref: '#/components/schemas/Contact'
  359. application/hal+json:
  360. schema:
  361. $ref: '#/components/schemas/Contact.jsonhal'
  362. links: { }
  363. 400:
  364. description: 'Invalid input'
  365. 422:
  366. description: 'Unprocessable entity'
  367. summary: 'Creates a Contact resource.'
  368. description: 'Creates a Contact resource.'
  369. parameters: []
  370. requestBody:
  371. description: 'The new Contact resource'
  372. content:
  373. application/ld+json:
  374. schema:
  375. $ref: '#/components/schemas/Contact.jsonld'
  376. application/json:
  377. schema:
  378. $ref: '#/components/schemas/Contact'
  379. text/html:
  380. schema:
  381. $ref: '#/components/schemas/Contact'
  382. application/hal+json:
  383. schema:
  384. $ref: '#/components/schemas/Contact.jsonhal'
  385. required: true
  386. deprecated: false
  387. parameters: []
  388. '/api/contacts/{id}':
  389. get:
  390. operationId: api_contacts_id_get
  391. tags:
  392. - Contact
  393. responses:
  394. 200:
  395. description: 'Contact resource'
  396. content:
  397. application/ld+json:
  398. schema:
  399. $ref: '#/components/schemas/Contact.jsonld'
  400. application/json:
  401. schema:
  402. $ref: '#/components/schemas/Contact'
  403. text/html:
  404. schema:
  405. $ref: '#/components/schemas/Contact'
  406. application/hal+json:
  407. schema:
  408. $ref: '#/components/schemas/Contact.jsonhal'
  409. 404:
  410. description: 'Resource not found'
  411. summary: 'Retrieves a Contact resource.'
  412. description: 'Retrieves a Contact resource.'
  413. parameters:
  414. -
  415. name: id
  416. in: path
  417. description: 'ContactApi identifier'
  418. required: true
  419. deprecated: false
  420. allowEmptyValue: false
  421. schema:
  422. type: string
  423. style: simple
  424. explode: false
  425. allowReserved: false
  426. deprecated: false
  427. delete:
  428. operationId: api_contacts_id_delete
  429. tags:
  430. - Contact
  431. responses:
  432. 204:
  433. description: 'Contact resource deleted'
  434. 404:
  435. description: 'Resource not found'
  436. summary: 'Removes the Contact resource.'
  437. description: 'Removes the Contact resource.'
  438. parameters:
  439. -
  440. name: id
  441. in: path
  442. description: 'ContactApi identifier'
  443. required: true
  444. deprecated: false
  445. allowEmptyValue: false
  446. schema:
  447. type: string
  448. style: simple
  449. explode: false
  450. allowReserved: false
  451. deprecated: false
  452. patch:
  453. operationId: api_contacts_id_patch
  454. tags:
  455. - Contact
  456. responses:
  457. 200:
  458. description: 'Contact resource updated'
  459. content:
  460. application/ld+json:
  461. schema:
  462. $ref: '#/components/schemas/Contact.jsonld'
  463. application/json:
  464. schema:
  465. $ref: '#/components/schemas/Contact'
  466. text/html:
  467. schema:
  468. $ref: '#/components/schemas/Contact'
  469. application/hal+json:
  470. schema:
  471. $ref: '#/components/schemas/Contact.jsonhal'
  472. links: { }
  473. 400:
  474. description: 'Invalid input'
  475. 422:
  476. description: 'Unprocessable entity'
  477. 404:
  478. description: 'Resource not found'
  479. summary: 'Updates the Contact resource.'
  480. description: 'Updates the Contact resource.'
  481. parameters:
  482. -
  483. name: id
  484. in: path
  485. description: 'ContactApi identifier'
  486. required: true
  487. deprecated: false
  488. allowEmptyValue: false
  489. schema:
  490. type: string
  491. style: simple
  492. explode: false
  493. allowReserved: false
  494. requestBody:
  495. description: 'The updated Contact resource'
  496. content:
  497. application/merge-patch+json:
  498. schema:
  499. $ref: '#/components/schemas/Contact'
  500. required: true
  501. deprecated: false
  502. parameters: []
  503. /api/medias:
  504. get:
  505. operationId: api_medias_get_collection
  506. tags:
  507. - Media
  508. responses:
  509. 200:
  510. description: 'Media collection'
  511. content:
  512. application/ld+json:
  513. schema:
  514. type: object
  515. properties:
  516. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Media.jsonld-media_object.read' } }
  517. 'hydra:totalItems': { type: integer, minimum: 0 }
  518. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  519. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  520. required:
  521. - 'hydra:member'
  522. application/json:
  523. schema:
  524. type: array
  525. items:
  526. $ref: '#/components/schemas/Media-media_object.read'
  527. text/html:
  528. schema:
  529. type: array
  530. items:
  531. $ref: '#/components/schemas/Media-media_object.read'
  532. application/hal+json:
  533. schema:
  534. type: object
  535. properties:
  536. _embedded: { type: array, items: { $ref: '#/components/schemas/Media.jsonhal-media_object.read' } }
  537. totalItems: { type: integer, minimum: 0 }
  538. itemsPerPage: { type: integer, minimum: 0 }
  539. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  540. required:
  541. - _links
  542. - _embedded
  543. summary: 'Retrieves the collection of Media resources.'
  544. description: 'Retrieves the collection of Media resources.'
  545. parameters:
  546. -
  547. name: page
  548. in: query
  549. description: 'The collection page number'
  550. required: false
  551. deprecated: false
  552. allowEmptyValue: true
  553. schema:
  554. type: integer
  555. default: 1
  556. style: form
  557. explode: false
  558. allowReserved: false
  559. -
  560. name: itemsPerPage
  561. in: query
  562. description: 'The number of items per page'
  563. required: false
  564. deprecated: false
  565. allowEmptyValue: true
  566. schema:
  567. type: integer
  568. default: 10
  569. minimum: 0
  570. maximum: 50
  571. style: form
  572. explode: false
  573. allowReserved: false
  574. deprecated: false
  575. post:
  576. operationId: api_medias_post
  577. tags:
  578. - Media
  579. responses:
  580. 201:
  581. description: 'Media resource created'
  582. content:
  583. application/ld+json:
  584. schema:
  585. $ref: '#/components/schemas/Media.jsonld-media_object.read'
  586. application/json:
  587. schema:
  588. $ref: '#/components/schemas/Media-media_object.read'
  589. text/html:
  590. schema:
  591. $ref: '#/components/schemas/Media-media_object.read'
  592. application/hal+json:
  593. schema:
  594. $ref: '#/components/schemas/Media.jsonhal-media_object.read'
  595. links: { }
  596. 400:
  597. description: 'Invalid input'
  598. 422:
  599. description: 'Unprocessable entity'
  600. summary: 'Creates a Media resource.'
  601. description: 'Creates a Media resource.'
  602. parameters: []
  603. requestBody:
  604. description: ''
  605. content:
  606. multipart/form-data:
  607. schema:
  608. type: object
  609. properties:
  610. file:
  611. type: string
  612. format: binary
  613. required: false
  614. deprecated: false
  615. parameters: []
  616. '/api/medias/{id}':
  617. get:
  618. operationId: api_medias_id_get
  619. tags:
  620. - Media
  621. responses:
  622. 200:
  623. description: 'Media resource'
  624. content:
  625. application/ld+json:
  626. schema:
  627. $ref: '#/components/schemas/Media.jsonld-media_object.read'
  628. application/json:
  629. schema:
  630. $ref: '#/components/schemas/Media-media_object.read'
  631. text/html:
  632. schema:
  633. $ref: '#/components/schemas/Media-media_object.read'
  634. application/hal+json:
  635. schema:
  636. $ref: '#/components/schemas/Media.jsonhal-media_object.read'
  637. 404:
  638. description: 'Resource not found'
  639. summary: 'Retrieves a Media resource.'
  640. description: 'Retrieves a Media resource.'
  641. parameters:
  642. -
  643. name: id
  644. in: path
  645. description: 'MediaObject identifier'
  646. required: true
  647. deprecated: false
  648. allowEmptyValue: false
  649. schema:
  650. type: string
  651. style: simple
  652. explode: false
  653. allowReserved: false
  654. deprecated: false
  655. delete:
  656. operationId: api_medias_id_delete
  657. tags:
  658. - Media
  659. responses:
  660. 204:
  661. description: 'Media resource deleted'
  662. 404:
  663. description: 'Resource not found'
  664. summary: 'Removes the Media resource.'
  665. description: 'Removes the Media resource.'
  666. parameters:
  667. -
  668. name: id
  669. in: path
  670. description: 'MediaObject identifier'
  671. required: true
  672. deprecated: false
  673. allowEmptyValue: false
  674. schema:
  675. type: string
  676. style: simple
  677. explode: false
  678. allowReserved: false
  679. deprecated: false
  680. parameters: []
  681. /api/partners:
  682. get:
  683. operationId: api_partners_get_collection
  684. tags:
  685. - Partner
  686. responses:
  687. 200:
  688. description: 'Partner collection'
  689. content:
  690. application/ld+json:
  691. schema:
  692. type: object
  693. properties:
  694. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Partner.jsonld' } }
  695. 'hydra:totalItems': { type: integer, minimum: 0 }
  696. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  697. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  698. required:
  699. - 'hydra:member'
  700. application/json:
  701. schema:
  702. type: array
  703. items:
  704. $ref: '#/components/schemas/Partner'
  705. text/html:
  706. schema:
  707. type: array
  708. items:
  709. $ref: '#/components/schemas/Partner'
  710. application/hal+json:
  711. schema:
  712. type: object
  713. properties:
  714. _embedded: { type: array, items: { $ref: '#/components/schemas/Partner.jsonhal' } }
  715. totalItems: { type: integer, minimum: 0 }
  716. itemsPerPage: { type: integer, minimum: 0 }
  717. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  718. required:
  719. - _links
  720. - _embedded
  721. summary: 'Retrieves the collection of Partner resources.'
  722. description: 'Retrieves the collection of Partner resources.'
  723. parameters:
  724. -
  725. name: page
  726. in: query
  727. description: 'The collection page number'
  728. required: false
  729. deprecated: false
  730. allowEmptyValue: true
  731. schema:
  732. type: integer
  733. default: 1
  734. style: form
  735. explode: false
  736. allowReserved: false
  737. -
  738. name: itemsPerPage
  739. in: query
  740. description: 'The number of items per page'
  741. required: false
  742. deprecated: false
  743. allowEmptyValue: true
  744. schema:
  745. type: integer
  746. default: 10
  747. minimum: 0
  748. maximum: 50
  749. style: form
  750. explode: false
  751. allowReserved: false
  752. -
  753. name: type
  754. in: query
  755. description: ''
  756. required: false
  757. deprecated: false
  758. allowEmptyValue: true
  759. schema:
  760. type: string
  761. style: form
  762. explode: false
  763. allowReserved: false
  764. -
  765. name: 'type[]'
  766. in: query
  767. description: ''
  768. required: false
  769. deprecated: false
  770. allowEmptyValue: true
  771. schema:
  772. type: array
  773. items:
  774. type: string
  775. style: form
  776. explode: true
  777. allowReserved: false
  778. -
  779. name: 'order[name]'
  780. in: query
  781. description: ''
  782. required: false
  783. deprecated: false
  784. allowEmptyValue: true
  785. schema:
  786. type: string
  787. enum:
  788. - asc
  789. - desc
  790. style: form
  791. explode: false
  792. allowReserved: false
  793. -
  794. name: 'order[city]'
  795. in: query
  796. description: ''
  797. required: false
  798. deprecated: false
  799. allowEmptyValue: true
  800. schema:
  801. type: string
  802. enum:
  803. - asc
  804. - desc
  805. style: form
  806. explode: false
  807. allowReserved: false
  808. -
  809. name: 'order[website]'
  810. in: query
  811. description: ''
  812. required: false
  813. deprecated: false
  814. allowEmptyValue: true
  815. schema:
  816. type: string
  817. enum:
  818. - asc
  819. - desc
  820. style: form
  821. explode: false
  822. allowReserved: false
  823. deprecated: false
  824. post:
  825. operationId: api_partners_post
  826. tags:
  827. - Partner
  828. responses:
  829. 201:
  830. description: 'Partner resource created'
  831. content:
  832. application/ld+json:
  833. schema:
  834. $ref: '#/components/schemas/Partner.jsonld'
  835. application/json:
  836. schema:
  837. $ref: '#/components/schemas/Partner'
  838. text/html:
  839. schema:
  840. $ref: '#/components/schemas/Partner'
  841. application/hal+json:
  842. schema:
  843. $ref: '#/components/schemas/Partner.jsonhal'
  844. links: { }
  845. 400:
  846. description: 'Invalid input'
  847. 422:
  848. description: 'Unprocessable entity'
  849. summary: 'Creates a Partner resource.'
  850. description: 'Creates a Partner resource.'
  851. parameters: []
  852. requestBody:
  853. description: 'The new Partner resource'
  854. content:
  855. application/ld+json:
  856. schema:
  857. $ref: '#/components/schemas/Partner.jsonld'
  858. application/json:
  859. schema:
  860. $ref: '#/components/schemas/Partner'
  861. text/html:
  862. schema:
  863. $ref: '#/components/schemas/Partner'
  864. application/hal+json:
  865. schema:
  866. $ref: '#/components/schemas/Partner.jsonhal'
  867. required: true
  868. deprecated: false
  869. parameters: []
  870. '/api/partners/{id}':
  871. get:
  872. operationId: api_partners_id_get
  873. tags:
  874. - Partner
  875. responses:
  876. 200:
  877. description: 'Partner resource'
  878. content:
  879. application/ld+json:
  880. schema:
  881. $ref: '#/components/schemas/Partner.jsonld'
  882. application/json:
  883. schema:
  884. $ref: '#/components/schemas/Partner'
  885. text/html:
  886. schema:
  887. $ref: '#/components/schemas/Partner'
  888. application/hal+json:
  889. schema:
  890. $ref: '#/components/schemas/Partner.jsonhal'
  891. 404:
  892. description: 'Resource not found'
  893. summary: 'Retrieves a Partner resource.'
  894. description: 'Retrieves a Partner resource.'
  895. parameters:
  896. -
  897. name: id
  898. in: path
  899. description: 'PartnerApi identifier'
  900. required: true
  901. deprecated: false
  902. allowEmptyValue: false
  903. schema:
  904. type: string
  905. style: simple
  906. explode: false
  907. allowReserved: false
  908. deprecated: false
  909. delete:
  910. operationId: api_partners_id_delete
  911. tags:
  912. - Partner
  913. responses:
  914. 204:
  915. description: 'Partner resource deleted'
  916. 404:
  917. description: 'Resource not found'
  918. summary: 'Removes the Partner resource.'
  919. description: 'Removes the Partner resource.'
  920. parameters:
  921. -
  922. name: id
  923. in: path
  924. description: 'PartnerApi identifier'
  925. required: true
  926. deprecated: false
  927. allowEmptyValue: false
  928. schema:
  929. type: string
  930. style: simple
  931. explode: false
  932. allowReserved: false
  933. deprecated: false
  934. patch:
  935. operationId: api_partners_id_patch
  936. tags:
  937. - Partner
  938. responses:
  939. 200:
  940. description: 'Partner resource updated'
  941. content:
  942. application/ld+json:
  943. schema:
  944. $ref: '#/components/schemas/Partner.jsonld'
  945. application/json:
  946. schema:
  947. $ref: '#/components/schemas/Partner'
  948. text/html:
  949. schema:
  950. $ref: '#/components/schemas/Partner'
  951. application/hal+json:
  952. schema:
  953. $ref: '#/components/schemas/Partner.jsonhal'
  954. links: { }
  955. 400:
  956. description: 'Invalid input'
  957. 422:
  958. description: 'Unprocessable entity'
  959. 404:
  960. description: 'Resource not found'
  961. summary: 'Updates the Partner resource.'
  962. description: 'Updates the Partner resource.'
  963. parameters:
  964. -
  965. name: id
  966. in: path
  967. description: 'PartnerApi identifier'
  968. required: true
  969. deprecated: false
  970. allowEmptyValue: false
  971. schema:
  972. type: string
  973. style: simple
  974. explode: false
  975. allowReserved: false
  976. requestBody:
  977. description: 'The updated Partner resource'
  978. content:
  979. application/merge-patch+json:
  980. schema:
  981. $ref: '#/components/schemas/Partner'
  982. required: true
  983. deprecated: false
  984. parameters: []
  985. /api/posts:
  986. get:
  987. operationId: api_posts_get_collection
  988. tags:
  989. - Post
  990. responses:
  991. 200:
  992. description: 'Post collection'
  993. content:
  994. application/ld+json:
  995. schema:
  996. type: object
  997. properties:
  998. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Post.jsonld' } }
  999. 'hydra:totalItems': { type: integer, minimum: 0 }
  1000. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  1001. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  1002. required:
  1003. - 'hydra:member'
  1004. application/json:
  1005. schema:
  1006. type: array
  1007. items:
  1008. $ref: '#/components/schemas/Post'
  1009. text/html:
  1010. schema:
  1011. type: array
  1012. items:
  1013. $ref: '#/components/schemas/Post'
  1014. application/hal+json:
  1015. schema:
  1016. type: object
  1017. properties:
  1018. _embedded: { type: array, items: { $ref: '#/components/schemas/Post.jsonhal' } }
  1019. totalItems: { type: integer, minimum: 0 }
  1020. itemsPerPage: { type: integer, minimum: 0 }
  1021. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  1022. required:
  1023. - _links
  1024. - _embedded
  1025. summary: 'Retrieves the collection of Post resources.'
  1026. description: 'Retrieves the collection of Post resources.'
  1027. parameters:
  1028. -
  1029. name: page
  1030. in: query
  1031. description: 'The collection page number'
  1032. required: false
  1033. deprecated: false
  1034. allowEmptyValue: true
  1035. schema:
  1036. type: integer
  1037. default: 1
  1038. style: form
  1039. explode: false
  1040. allowReserved: false
  1041. -
  1042. name: itemsPerPage
  1043. in: query
  1044. description: 'The number of items per page'
  1045. required: false
  1046. deprecated: false
  1047. allowEmptyValue: true
  1048. schema:
  1049. type: integer
  1050. default: 10
  1051. minimum: 0
  1052. maximum: 50
  1053. style: form
  1054. explode: false
  1055. allowReserved: false
  1056. -
  1057. name: partner
  1058. in: query
  1059. description: ''
  1060. required: false
  1061. deprecated: false
  1062. allowEmptyValue: true
  1063. schema:
  1064. type: string
  1065. style: form
  1066. explode: false
  1067. allowReserved: false
  1068. -
  1069. name: 'partner[]'
  1070. in: query
  1071. description: ''
  1072. required: false
  1073. deprecated: false
  1074. allowEmptyValue: true
  1075. schema:
  1076. type: array
  1077. items:
  1078. type: string
  1079. style: form
  1080. explode: true
  1081. allowReserved: false
  1082. -
  1083. name: contact
  1084. in: query
  1085. description: ''
  1086. required: false
  1087. deprecated: false
  1088. allowEmptyValue: true
  1089. schema:
  1090. type: string
  1091. style: form
  1092. explode: false
  1093. allowReserved: false
  1094. -
  1095. name: 'contact[]'
  1096. in: query
  1097. description: ''
  1098. required: false
  1099. deprecated: false
  1100. allowEmptyValue: true
  1101. schema:
  1102. type: array
  1103. items:
  1104. type: string
  1105. style: form
  1106. explode: true
  1107. allowReserved: false
  1108. deprecated: false
  1109. post:
  1110. operationId: api_posts_post
  1111. tags:
  1112. - Post
  1113. responses:
  1114. 201:
  1115. description: 'Post resource created'
  1116. content:
  1117. application/ld+json:
  1118. schema:
  1119. $ref: '#/components/schemas/Post.jsonld'
  1120. application/json:
  1121. schema:
  1122. $ref: '#/components/schemas/Post'
  1123. text/html:
  1124. schema:
  1125. $ref: '#/components/schemas/Post'
  1126. application/hal+json:
  1127. schema:
  1128. $ref: '#/components/schemas/Post.jsonhal'
  1129. links: { }
  1130. 400:
  1131. description: 'Invalid input'
  1132. 422:
  1133. description: 'Unprocessable entity'
  1134. summary: 'Creates a Post resource.'
  1135. description: 'Creates a Post resource.'
  1136. parameters: []
  1137. requestBody:
  1138. description: 'The new Post resource'
  1139. content:
  1140. application/ld+json:
  1141. schema:
  1142. $ref: '#/components/schemas/Post.jsonld-posting.create'
  1143. application/json:
  1144. schema:
  1145. $ref: '#/components/schemas/Post-posting.create'
  1146. text/html:
  1147. schema:
  1148. $ref: '#/components/schemas/Post-posting.create'
  1149. application/hal+json:
  1150. schema:
  1151. $ref: '#/components/schemas/Post.jsonhal-posting.create'
  1152. required: true
  1153. deprecated: false
  1154. parameters: []
  1155. '/api/posts/{id}':
  1156. get:
  1157. operationId: api_posts_id_get
  1158. tags:
  1159. - Post
  1160. responses:
  1161. 200:
  1162. description: 'Post resource'
  1163. content:
  1164. application/ld+json:
  1165. schema:
  1166. $ref: '#/components/schemas/Post.jsonld'
  1167. application/json:
  1168. schema:
  1169. $ref: '#/components/schemas/Post'
  1170. text/html:
  1171. schema:
  1172. $ref: '#/components/schemas/Post'
  1173. application/hal+json:
  1174. schema:
  1175. $ref: '#/components/schemas/Post.jsonhal'
  1176. 404:
  1177. description: 'Resource not found'
  1178. summary: 'Retrieves a Post resource.'
  1179. description: 'Retrieves a Post resource.'
  1180. parameters:
  1181. -
  1182. name: id
  1183. in: path
  1184. description: 'PostingApi identifier'
  1185. required: true
  1186. deprecated: false
  1187. allowEmptyValue: false
  1188. schema:
  1189. type: string
  1190. style: simple
  1191. explode: false
  1192. allowReserved: false
  1193. deprecated: false
  1194. delete:
  1195. operationId: api_posts_id_delete
  1196. tags:
  1197. - Post
  1198. responses:
  1199. 204:
  1200. description: 'Post resource deleted'
  1201. 404:
  1202. description: 'Resource not found'
  1203. summary: 'Removes the Post resource.'
  1204. description: 'Removes the Post resource.'
  1205. parameters:
  1206. -
  1207. name: id
  1208. in: path
  1209. description: 'PostingApi identifier'
  1210. required: true
  1211. deprecated: false
  1212. allowEmptyValue: false
  1213. schema:
  1214. type: string
  1215. style: simple
  1216. explode: false
  1217. allowReserved: false
  1218. deprecated: false
  1219. patch:
  1220. operationId: api_posts_id_patch
  1221. tags:
  1222. - Post
  1223. responses:
  1224. 200:
  1225. description: 'Post resource updated'
  1226. content:
  1227. application/ld+json:
  1228. schema:
  1229. $ref: '#/components/schemas/Post.jsonld'
  1230. application/json:
  1231. schema:
  1232. $ref: '#/components/schemas/Post'
  1233. text/html:
  1234. schema:
  1235. $ref: '#/components/schemas/Post'
  1236. application/hal+json:
  1237. schema:
  1238. $ref: '#/components/schemas/Post.jsonhal'
  1239. links: { }
  1240. 400:
  1241. description: 'Invalid input'
  1242. 422:
  1243. description: 'Unprocessable entity'
  1244. 404:
  1245. description: 'Resource not found'
  1246. summary: 'Updates the Post resource.'
  1247. description: 'Updates the Post resource.'
  1248. parameters:
  1249. -
  1250. name: id
  1251. in: path
  1252. description: 'PostingApi identifier'
  1253. required: true
  1254. deprecated: false
  1255. allowEmptyValue: false
  1256. schema:
  1257. type: string
  1258. style: simple
  1259. explode: false
  1260. allowReserved: false
  1261. requestBody:
  1262. description: 'The updated Post resource'
  1263. content:
  1264. application/merge-patch+json:
  1265. schema:
  1266. $ref: '#/components/schemas/Post-posting.patch'
  1267. required: true
  1268. deprecated: false
  1269. parameters: []
  1270. /api/products:
  1271. get:
  1272. operationId: api_products_get_collection
  1273. tags:
  1274. - Product
  1275. responses:
  1276. 200:
  1277. description: 'Product collection'
  1278. content:
  1279. application/ld+json:
  1280. schema:
  1281. type: object
  1282. properties:
  1283. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Product.jsonld' } }
  1284. 'hydra:totalItems': { type: integer, minimum: 0 }
  1285. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  1286. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  1287. required:
  1288. - 'hydra:member'
  1289. application/json:
  1290. schema:
  1291. type: array
  1292. items:
  1293. $ref: '#/components/schemas/Product'
  1294. text/html:
  1295. schema:
  1296. type: array
  1297. items:
  1298. $ref: '#/components/schemas/Product'
  1299. application/hal+json:
  1300. schema:
  1301. type: object
  1302. properties:
  1303. _embedded: { type: array, items: { $ref: '#/components/schemas/Product.jsonhal' } }
  1304. totalItems: { type: integer, minimum: 0 }
  1305. itemsPerPage: { type: integer, minimum: 0 }
  1306. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  1307. required:
  1308. - _links
  1309. - _embedded
  1310. summary: 'Retrieves the collection of Product resources.'
  1311. description: 'Retrieves the collection of Product resources.'
  1312. parameters:
  1313. -
  1314. name: page
  1315. in: query
  1316. description: 'The collection page number'
  1317. required: false
  1318. deprecated: false
  1319. allowEmptyValue: true
  1320. schema:
  1321. type: integer
  1322. default: 1
  1323. style: form
  1324. explode: false
  1325. allowReserved: false
  1326. -
  1327. name: itemsPerPage
  1328. in: query
  1329. description: 'The number of items per page'
  1330. required: false
  1331. deprecated: false
  1332. allowEmptyValue: true
  1333. schema:
  1334. type: integer
  1335. default: 10
  1336. minimum: 0
  1337. maximum: 50
  1338. style: form
  1339. explode: false
  1340. allowReserved: false
  1341. -
  1342. name: 'order[name]'
  1343. in: query
  1344. description: ''
  1345. required: false
  1346. deprecated: false
  1347. allowEmptyValue: true
  1348. schema:
  1349. type: string
  1350. enum:
  1351. - asc
  1352. - desc
  1353. style: form
  1354. explode: false
  1355. allowReserved: false
  1356. deprecated: false
  1357. post:
  1358. operationId: api_products_post
  1359. tags:
  1360. - Product
  1361. responses:
  1362. 201:
  1363. description: 'Product resource created'
  1364. content:
  1365. application/ld+json:
  1366. schema:
  1367. $ref: '#/components/schemas/Product.jsonld'
  1368. application/json:
  1369. schema:
  1370. $ref: '#/components/schemas/Product'
  1371. text/html:
  1372. schema:
  1373. $ref: '#/components/schemas/Product'
  1374. application/hal+json:
  1375. schema:
  1376. $ref: '#/components/schemas/Product.jsonhal'
  1377. links: { }
  1378. 400:
  1379. description: 'Invalid input'
  1380. 422:
  1381. description: 'Unprocessable entity'
  1382. summary: 'Creates a Product resource.'
  1383. description: 'Creates a Product resource.'
  1384. parameters: []
  1385. requestBody:
  1386. description: 'The new Product resource'
  1387. content:
  1388. application/ld+json:
  1389. schema:
  1390. $ref: '#/components/schemas/Product.jsonld'
  1391. application/json:
  1392. schema:
  1393. $ref: '#/components/schemas/Product'
  1394. text/html:
  1395. schema:
  1396. $ref: '#/components/schemas/Product'
  1397. application/hal+json:
  1398. schema:
  1399. $ref: '#/components/schemas/Product.jsonhal'
  1400. required: true
  1401. deprecated: false
  1402. parameters: []
  1403. '/api/products/{id}':
  1404. get:
  1405. operationId: api_products_id_get
  1406. tags:
  1407. - Product
  1408. responses:
  1409. 200:
  1410. description: 'Product resource'
  1411. content:
  1412. application/ld+json:
  1413. schema:
  1414. $ref: '#/components/schemas/Product.jsonld'
  1415. application/json:
  1416. schema:
  1417. $ref: '#/components/schemas/Product'
  1418. text/html:
  1419. schema:
  1420. $ref: '#/components/schemas/Product'
  1421. application/hal+json:
  1422. schema:
  1423. $ref: '#/components/schemas/Product.jsonhal'
  1424. 404:
  1425. description: 'Resource not found'
  1426. summary: 'Retrieves a Product resource.'
  1427. description: 'Retrieves a Product resource.'
  1428. parameters:
  1429. -
  1430. name: id
  1431. in: path
  1432. description: 'ProductApi identifier'
  1433. required: true
  1434. deprecated: false
  1435. allowEmptyValue: false
  1436. schema:
  1437. type: string
  1438. style: simple
  1439. explode: false
  1440. allowReserved: false
  1441. deprecated: false
  1442. delete:
  1443. operationId: api_products_id_delete
  1444. tags:
  1445. - Product
  1446. responses:
  1447. 204:
  1448. description: 'Product resource deleted'
  1449. 404:
  1450. description: 'Resource not found'
  1451. summary: 'Removes the Product resource.'
  1452. description: 'Removes the Product resource.'
  1453. parameters:
  1454. -
  1455. name: id
  1456. in: path
  1457. description: 'ProductApi identifier'
  1458. required: true
  1459. deprecated: false
  1460. allowEmptyValue: false
  1461. schema:
  1462. type: string
  1463. style: simple
  1464. explode: false
  1465. allowReserved: false
  1466. deprecated: false
  1467. patch:
  1468. operationId: api_products_id_patch
  1469. tags:
  1470. - Product
  1471. responses:
  1472. 200:
  1473. description: 'Product resource updated'
  1474. content:
  1475. application/ld+json:
  1476. schema:
  1477. $ref: '#/components/schemas/Product.jsonld'
  1478. application/json:
  1479. schema:
  1480. $ref: '#/components/schemas/Product'
  1481. text/html:
  1482. schema:
  1483. $ref: '#/components/schemas/Product'
  1484. application/hal+json:
  1485. schema:
  1486. $ref: '#/components/schemas/Product.jsonhal'
  1487. links: { }
  1488. 400:
  1489. description: 'Invalid input'
  1490. 422:
  1491. description: 'Unprocessable entity'
  1492. 404:
  1493. description: 'Resource not found'
  1494. summary: 'Updates the Product resource.'
  1495. description: 'Updates the Product resource.'
  1496. parameters:
  1497. -
  1498. name: id
  1499. in: path
  1500. description: 'ProductApi identifier'
  1501. required: true
  1502. deprecated: false
  1503. allowEmptyValue: false
  1504. schema:
  1505. type: string
  1506. style: simple
  1507. explode: false
  1508. allowReserved: false
  1509. requestBody:
  1510. description: 'The updated Product resource'
  1511. content:
  1512. application/merge-patch+json:
  1513. schema:
  1514. $ref: '#/components/schemas/Product'
  1515. required: true
  1516. deprecated: false
  1517. parameters: []
  1518. /api/sale_summaries:
  1519. get:
  1520. operationId: api_sale_summaries_get_collection
  1521. tags:
  1522. - SaleSummary
  1523. responses:
  1524. 200:
  1525. description: 'SaleSummary collection'
  1526. content:
  1527. application/ld+json:
  1528. schema:
  1529. type: object
  1530. properties:
  1531. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/SaleSummary.jsonld' } }
  1532. 'hydra:totalItems': { type: integer, minimum: 0 }
  1533. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  1534. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  1535. required:
  1536. - 'hydra:member'
  1537. application/json:
  1538. schema:
  1539. type: array
  1540. items:
  1541. $ref: '#/components/schemas/SaleSummary'
  1542. text/html:
  1543. schema:
  1544. type: array
  1545. items:
  1546. $ref: '#/components/schemas/SaleSummary'
  1547. application/hal+json:
  1548. schema:
  1549. type: object
  1550. properties:
  1551. _embedded: { type: array, items: { $ref: '#/components/schemas/SaleSummary.jsonhal' } }
  1552. totalItems: { type: integer, minimum: 0 }
  1553. itemsPerPage: { type: integer, minimum: 0 }
  1554. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  1555. required:
  1556. - _links
  1557. - _embedded
  1558. summary: 'Retrieves the collection of SaleSummary resources.'
  1559. description: 'Retrieves the collection of SaleSummary resources.'
  1560. parameters:
  1561. -
  1562. name: page
  1563. in: query
  1564. description: 'The collection page number'
  1565. required: false
  1566. deprecated: false
  1567. allowEmptyValue: true
  1568. schema:
  1569. type: integer
  1570. default: 1
  1571. style: form
  1572. explode: false
  1573. allowReserved: false
  1574. -
  1575. name: itemsPerPage
  1576. in: query
  1577. description: 'The number of items per page'
  1578. required: false
  1579. deprecated: false
  1580. allowEmptyValue: true
  1581. schema:
  1582. type: integer
  1583. default: 10
  1584. minimum: 0
  1585. maximum: 50
  1586. style: form
  1587. explode: false
  1588. allowReserved: false
  1589. deprecated: false
  1590. parameters: []
  1591. /api/sales:
  1592. get:
  1593. operationId: api_sales_get_collection
  1594. tags:
  1595. - Sale
  1596. responses:
  1597. 200:
  1598. description: 'Sale collection'
  1599. content:
  1600. application/ld+json:
  1601. schema:
  1602. type: object
  1603. properties:
  1604. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Sale.jsonld' } }
  1605. 'hydra:totalItems': { type: integer, minimum: 0 }
  1606. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  1607. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  1608. required:
  1609. - 'hydra:member'
  1610. application/json:
  1611. schema:
  1612. type: array
  1613. items:
  1614. $ref: '#/components/schemas/Sale'
  1615. text/html:
  1616. schema:
  1617. type: array
  1618. items:
  1619. $ref: '#/components/schemas/Sale'
  1620. application/hal+json:
  1621. schema:
  1622. type: object
  1623. properties:
  1624. _embedded: { type: array, items: { $ref: '#/components/schemas/Sale.jsonhal' } }
  1625. totalItems: { type: integer, minimum: 0 }
  1626. itemsPerPage: { type: integer, minimum: 0 }
  1627. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  1628. required:
  1629. - _links
  1630. - _embedded
  1631. summary: 'Retrieves the collection of Sale resources.'
  1632. description: 'Retrieves the collection of Sale resources.'
  1633. parameters:
  1634. -
  1635. name: page
  1636. in: query
  1637. description: 'The collection page number'
  1638. required: false
  1639. deprecated: false
  1640. allowEmptyValue: true
  1641. schema:
  1642. type: integer
  1643. default: 1
  1644. style: form
  1645. explode: false
  1646. allowReserved: false
  1647. -
  1648. name: itemsPerPage
  1649. in: query
  1650. description: 'The number of items per page'
  1651. required: false
  1652. deprecated: false
  1653. allowEmptyValue: true
  1654. schema:
  1655. type: integer
  1656. default: 10
  1657. minimum: 0
  1658. maximum: 50
  1659. style: form
  1660. explode: false
  1661. allowReserved: false
  1662. -
  1663. name: owner
  1664. in: query
  1665. description: ''
  1666. required: false
  1667. deprecated: false
  1668. allowEmptyValue: true
  1669. schema:
  1670. type: string
  1671. style: form
  1672. explode: false
  1673. allowReserved: false
  1674. -
  1675. name: 'owner[]'
  1676. in: query
  1677. description: ''
  1678. required: false
  1679. deprecated: false
  1680. allowEmptyValue: true
  1681. schema:
  1682. type: array
  1683. items:
  1684. type: string
  1685. style: form
  1686. explode: true
  1687. allowReserved: false
  1688. -
  1689. name: partner
  1690. in: query
  1691. description: ''
  1692. required: false
  1693. deprecated: false
  1694. allowEmptyValue: true
  1695. schema:
  1696. type: string
  1697. style: form
  1698. explode: false
  1699. allowReserved: false
  1700. -
  1701. name: 'partner[]'
  1702. in: query
  1703. description: ''
  1704. required: false
  1705. deprecated: false
  1706. allowEmptyValue: true
  1707. schema:
  1708. type: array
  1709. items:
  1710. type: string
  1711. style: form
  1712. explode: true
  1713. allowReserved: false
  1714. deprecated: false
  1715. post:
  1716. operationId: api_sales_post
  1717. tags:
  1718. - Sale
  1719. responses:
  1720. 201:
  1721. description: 'Sale resource created'
  1722. content:
  1723. application/ld+json:
  1724. schema:
  1725. $ref: '#/components/schemas/Sale.jsonld'
  1726. application/json:
  1727. schema:
  1728. $ref: '#/components/schemas/Sale'
  1729. text/html:
  1730. schema:
  1731. $ref: '#/components/schemas/Sale'
  1732. application/hal+json:
  1733. schema:
  1734. $ref: '#/components/schemas/Sale.jsonhal'
  1735. links: { }
  1736. 400:
  1737. description: 'Invalid input'
  1738. 422:
  1739. description: 'Unprocessable entity'
  1740. summary: 'Creates a Sale resource.'
  1741. description: 'Creates a Sale resource.'
  1742. parameters: []
  1743. requestBody:
  1744. description: 'The new Sale resource'
  1745. content:
  1746. application/ld+json:
  1747. schema:
  1748. $ref: '#/components/schemas/Sale.jsonld'
  1749. application/json:
  1750. schema:
  1751. $ref: '#/components/schemas/Sale'
  1752. text/html:
  1753. schema:
  1754. $ref: '#/components/schemas/Sale'
  1755. application/hal+json:
  1756. schema:
  1757. $ref: '#/components/schemas/Sale.jsonhal'
  1758. required: true
  1759. deprecated: false
  1760. parameters: []
  1761. '/api/sales/{id}':
  1762. get:
  1763. operationId: api_sales_id_get
  1764. tags:
  1765. - Sale
  1766. responses:
  1767. 200:
  1768. description: 'Sale resource'
  1769. content:
  1770. application/ld+json:
  1771. schema:
  1772. $ref: '#/components/schemas/Sale.jsonld'
  1773. application/json:
  1774. schema:
  1775. $ref: '#/components/schemas/Sale'
  1776. text/html:
  1777. schema:
  1778. $ref: '#/components/schemas/Sale'
  1779. application/hal+json:
  1780. schema:
  1781. $ref: '#/components/schemas/Sale.jsonhal'
  1782. 404:
  1783. description: 'Resource not found'
  1784. summary: 'Retrieves a Sale resource.'
  1785. description: 'Retrieves a Sale resource.'
  1786. parameters:
  1787. -
  1788. name: id
  1789. in: path
  1790. description: 'SaleApi identifier'
  1791. required: true
  1792. deprecated: false
  1793. allowEmptyValue: false
  1794. schema:
  1795. type: string
  1796. style: simple
  1797. explode: false
  1798. allowReserved: false
  1799. deprecated: false
  1800. delete:
  1801. operationId: api_sales_id_delete
  1802. tags:
  1803. - Sale
  1804. responses:
  1805. 204:
  1806. description: 'Sale resource deleted'
  1807. 404:
  1808. description: 'Resource not found'
  1809. summary: 'Removes the Sale resource.'
  1810. description: 'Removes the Sale resource.'
  1811. parameters:
  1812. -
  1813. name: id
  1814. in: path
  1815. description: 'SaleApi identifier'
  1816. required: true
  1817. deprecated: false
  1818. allowEmptyValue: false
  1819. schema:
  1820. type: string
  1821. style: simple
  1822. explode: false
  1823. allowReserved: false
  1824. deprecated: false
  1825. patch:
  1826. operationId: api_sales_id_patch
  1827. tags:
  1828. - Sale
  1829. responses:
  1830. 200:
  1831. description: 'Sale resource updated'
  1832. content:
  1833. application/ld+json:
  1834. schema:
  1835. $ref: '#/components/schemas/Sale.jsonld'
  1836. application/json:
  1837. schema:
  1838. $ref: '#/components/schemas/Sale'
  1839. text/html:
  1840. schema:
  1841. $ref: '#/components/schemas/Sale'
  1842. application/hal+json:
  1843. schema:
  1844. $ref: '#/components/schemas/Sale.jsonhal'
  1845. links: { }
  1846. 400:
  1847. description: 'Invalid input'
  1848. 422:
  1849. description: 'Unprocessable entity'
  1850. 404:
  1851. description: 'Resource not found'
  1852. summary: 'Updates the Sale resource.'
  1853. description: 'Updates the Sale resource.'
  1854. parameters:
  1855. -
  1856. name: id
  1857. in: path
  1858. description: 'SaleApi identifier'
  1859. required: true
  1860. deprecated: false
  1861. allowEmptyValue: false
  1862. schema:
  1863. type: string
  1864. style: simple
  1865. explode: false
  1866. allowReserved: false
  1867. requestBody:
  1868. description: 'The updated Sale resource'
  1869. content:
  1870. application/merge-patch+json:
  1871. schema:
  1872. $ref: '#/components/schemas/Sale'
  1873. required: true
  1874. deprecated: false
  1875. parameters: []
  1876. /api/task_notes:
  1877. get:
  1878. operationId: api_task_notes_get_collection
  1879. tags:
  1880. - TaskNote
  1881. responses:
  1882. 200:
  1883. description: 'TaskNote collection'
  1884. content:
  1885. application/ld+json:
  1886. schema:
  1887. type: object
  1888. properties:
  1889. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/TaskNote.jsonld' } }
  1890. 'hydra:totalItems': { type: integer, minimum: 0 }
  1891. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  1892. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  1893. required:
  1894. - 'hydra:member'
  1895. application/json:
  1896. schema:
  1897. type: array
  1898. items:
  1899. $ref: '#/components/schemas/TaskNote'
  1900. text/html:
  1901. schema:
  1902. type: array
  1903. items:
  1904. $ref: '#/components/schemas/TaskNote'
  1905. application/hal+json:
  1906. schema:
  1907. type: object
  1908. properties:
  1909. _embedded: { type: array, items: { $ref: '#/components/schemas/TaskNote.jsonhal' } }
  1910. totalItems: { type: integer, minimum: 0 }
  1911. itemsPerPage: { type: integer, minimum: 0 }
  1912. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  1913. required:
  1914. - _links
  1915. - _embedded
  1916. summary: 'Retrieves the collection of TaskNote resources.'
  1917. description: 'Retrieves the collection of TaskNote resources.'
  1918. parameters:
  1919. -
  1920. name: page
  1921. in: query
  1922. description: 'The collection page number'
  1923. required: false
  1924. deprecated: false
  1925. allowEmptyValue: true
  1926. schema:
  1927. type: integer
  1928. default: 1
  1929. style: form
  1930. explode: false
  1931. allowReserved: false
  1932. -
  1933. name: itemsPerPage
  1934. in: query
  1935. description: 'The number of items per page'
  1936. required: false
  1937. deprecated: false
  1938. allowEmptyValue: true
  1939. schema:
  1940. type: integer
  1941. default: 10
  1942. minimum: 0
  1943. maximum: 50
  1944. style: form
  1945. explode: false
  1946. allowReserved: false
  1947. -
  1948. name: task
  1949. in: query
  1950. description: ''
  1951. required: false
  1952. deprecated: false
  1953. allowEmptyValue: true
  1954. schema:
  1955. type: string
  1956. style: form
  1957. explode: false
  1958. allowReserved: false
  1959. -
  1960. name: 'task[]'
  1961. in: query
  1962. description: ''
  1963. required: false
  1964. deprecated: false
  1965. allowEmptyValue: true
  1966. schema:
  1967. type: array
  1968. items:
  1969. type: string
  1970. style: form
  1971. explode: true
  1972. allowReserved: false
  1973. deprecated: false
  1974. post:
  1975. operationId: api_task_notes_post
  1976. tags:
  1977. - TaskNote
  1978. responses:
  1979. 201:
  1980. description: 'TaskNote resource created'
  1981. content:
  1982. application/ld+json:
  1983. schema:
  1984. $ref: '#/components/schemas/TaskNote.jsonld'
  1985. application/json:
  1986. schema:
  1987. $ref: '#/components/schemas/TaskNote'
  1988. text/html:
  1989. schema:
  1990. $ref: '#/components/schemas/TaskNote'
  1991. application/hal+json:
  1992. schema:
  1993. $ref: '#/components/schemas/TaskNote.jsonhal'
  1994. links: { }
  1995. 400:
  1996. description: 'Invalid input'
  1997. 422:
  1998. description: 'Unprocessable entity'
  1999. summary: 'Creates a TaskNote resource.'
  2000. description: 'Creates a TaskNote resource.'
  2001. parameters: []
  2002. requestBody:
  2003. description: 'The new TaskNote resource'
  2004. content:
  2005. application/ld+json:
  2006. schema:
  2007. $ref: '#/components/schemas/TaskNote.jsonld'
  2008. application/json:
  2009. schema:
  2010. $ref: '#/components/schemas/TaskNote'
  2011. text/html:
  2012. schema:
  2013. $ref: '#/components/schemas/TaskNote'
  2014. application/hal+json:
  2015. schema:
  2016. $ref: '#/components/schemas/TaskNote.jsonhal'
  2017. required: true
  2018. deprecated: false
  2019. parameters: []
  2020. '/api/task_notes/{id}':
  2021. get:
  2022. operationId: api_task_notes_id_get
  2023. tags:
  2024. - TaskNote
  2025. responses:
  2026. 200:
  2027. description: 'TaskNote resource'
  2028. content:
  2029. application/ld+json:
  2030. schema:
  2031. $ref: '#/components/schemas/TaskNote.jsonld'
  2032. application/json:
  2033. schema:
  2034. $ref: '#/components/schemas/TaskNote'
  2035. text/html:
  2036. schema:
  2037. $ref: '#/components/schemas/TaskNote'
  2038. application/hal+json:
  2039. schema:
  2040. $ref: '#/components/schemas/TaskNote.jsonhal'
  2041. 404:
  2042. description: 'Resource not found'
  2043. summary: 'Retrieves a TaskNote resource.'
  2044. description: 'Retrieves a TaskNote resource.'
  2045. parameters:
  2046. -
  2047. name: id
  2048. in: path
  2049. description: 'TaskNoteApi identifier'
  2050. required: true
  2051. deprecated: false
  2052. allowEmptyValue: false
  2053. schema:
  2054. type: string
  2055. style: simple
  2056. explode: false
  2057. allowReserved: false
  2058. deprecated: false
  2059. delete:
  2060. operationId: api_task_notes_id_delete
  2061. tags:
  2062. - TaskNote
  2063. responses:
  2064. 204:
  2065. description: 'TaskNote resource deleted'
  2066. 404:
  2067. description: 'Resource not found'
  2068. summary: 'Removes the TaskNote resource.'
  2069. description: 'Removes the TaskNote resource.'
  2070. parameters:
  2071. -
  2072. name: id
  2073. in: path
  2074. description: 'TaskNoteApi identifier'
  2075. required: true
  2076. deprecated: false
  2077. allowEmptyValue: false
  2078. schema:
  2079. type: string
  2080. style: simple
  2081. explode: false
  2082. allowReserved: false
  2083. deprecated: false
  2084. patch:
  2085. operationId: api_task_notes_id_patch
  2086. tags:
  2087. - TaskNote
  2088. responses:
  2089. 200:
  2090. description: 'TaskNote resource updated'
  2091. content:
  2092. application/ld+json:
  2093. schema:
  2094. $ref: '#/components/schemas/TaskNote.jsonld'
  2095. application/json:
  2096. schema:
  2097. $ref: '#/components/schemas/TaskNote'
  2098. text/html:
  2099. schema:
  2100. $ref: '#/components/schemas/TaskNote'
  2101. application/hal+json:
  2102. schema:
  2103. $ref: '#/components/schemas/TaskNote.jsonhal'
  2104. links: { }
  2105. 400:
  2106. description: 'Invalid input'
  2107. 422:
  2108. description: 'Unprocessable entity'
  2109. 404:
  2110. description: 'Resource not found'
  2111. summary: 'Updates the TaskNote resource.'
  2112. description: 'Updates the TaskNote resource.'
  2113. parameters:
  2114. -
  2115. name: id
  2116. in: path
  2117. description: 'TaskNoteApi identifier'
  2118. required: true
  2119. deprecated: false
  2120. allowEmptyValue: false
  2121. schema:
  2122. type: string
  2123. style: simple
  2124. explode: false
  2125. allowReserved: false
  2126. requestBody:
  2127. description: 'The updated TaskNote resource'
  2128. content:
  2129. application/merge-patch+json:
  2130. schema:
  2131. $ref: '#/components/schemas/TaskNote'
  2132. required: true
  2133. deprecated: false
  2134. parameters: []
  2135. /api/tasks:
  2136. get:
  2137. operationId: api_tasks_get_collection
  2138. tags:
  2139. - Task
  2140. responses:
  2141. 200:
  2142. description: 'Task collection'
  2143. content:
  2144. application/ld+json:
  2145. schema:
  2146. type: object
  2147. properties:
  2148. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Task.jsonld' } }
  2149. 'hydra:totalItems': { type: integer, minimum: 0 }
  2150. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  2151. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  2152. required:
  2153. - 'hydra:member'
  2154. application/json:
  2155. schema:
  2156. type: array
  2157. items:
  2158. $ref: '#/components/schemas/Task'
  2159. text/html:
  2160. schema:
  2161. type: array
  2162. items:
  2163. $ref: '#/components/schemas/Task'
  2164. application/hal+json:
  2165. schema:
  2166. type: object
  2167. properties:
  2168. _embedded: { type: array, items: { $ref: '#/components/schemas/Task.jsonhal' } }
  2169. totalItems: { type: integer, minimum: 0 }
  2170. itemsPerPage: { type: integer, minimum: 0 }
  2171. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  2172. required:
  2173. - _links
  2174. - _embedded
  2175. summary: 'Retrieves the collection of Task resources.'
  2176. description: 'Retrieves the collection of Task resources.'
  2177. parameters:
  2178. -
  2179. name: page
  2180. in: query
  2181. description: 'The collection page number'
  2182. required: false
  2183. deprecated: false
  2184. allowEmptyValue: true
  2185. schema:
  2186. type: integer
  2187. default: 1
  2188. style: form
  2189. explode: false
  2190. allowReserved: false
  2191. -
  2192. name: itemsPerPage
  2193. in: query
  2194. description: 'The number of items per page'
  2195. required: false
  2196. deprecated: false
  2197. allowEmptyValue: true
  2198. schema:
  2199. type: integer
  2200. default: 10
  2201. minimum: 0
  2202. maximum: 50
  2203. style: form
  2204. explode: false
  2205. allowReserved: false
  2206. -
  2207. name: partner
  2208. in: query
  2209. description: ''
  2210. required: false
  2211. deprecated: false
  2212. allowEmptyValue: true
  2213. schema:
  2214. type: string
  2215. style: form
  2216. explode: false
  2217. allowReserved: false
  2218. -
  2219. name: 'partner[]'
  2220. in: query
  2221. description: ''
  2222. required: false
  2223. deprecated: false
  2224. allowEmptyValue: true
  2225. schema:
  2226. type: array
  2227. items:
  2228. type: string
  2229. style: form
  2230. explode: true
  2231. allowReserved: false
  2232. -
  2233. name: contact
  2234. in: query
  2235. description: ''
  2236. required: false
  2237. deprecated: false
  2238. allowEmptyValue: true
  2239. schema:
  2240. type: string
  2241. style: form
  2242. explode: false
  2243. allowReserved: false
  2244. -
  2245. name: 'contact[]'
  2246. in: query
  2247. description: ''
  2248. required: false
  2249. deprecated: false
  2250. allowEmptyValue: true
  2251. schema:
  2252. type: array
  2253. items:
  2254. type: string
  2255. style: form
  2256. explode: true
  2257. allowReserved: false
  2258. deprecated: false
  2259. post:
  2260. operationId: api_tasks_post
  2261. tags:
  2262. - Task
  2263. responses:
  2264. 201:
  2265. description: 'Task resource created'
  2266. content:
  2267. application/ld+json:
  2268. schema:
  2269. $ref: '#/components/schemas/Task.jsonld'
  2270. application/json:
  2271. schema:
  2272. $ref: '#/components/schemas/Task'
  2273. text/html:
  2274. schema:
  2275. $ref: '#/components/schemas/Task'
  2276. application/hal+json:
  2277. schema:
  2278. $ref: '#/components/schemas/Task.jsonhal'
  2279. links: { }
  2280. 400:
  2281. description: 'Invalid input'
  2282. 422:
  2283. description: 'Unprocessable entity'
  2284. summary: 'Creates a Task resource.'
  2285. description: 'Creates a Task resource.'
  2286. parameters: []
  2287. requestBody:
  2288. description: 'The new Task resource'
  2289. content:
  2290. application/ld+json:
  2291. schema:
  2292. $ref: '#/components/schemas/Task.jsonld'
  2293. application/json:
  2294. schema:
  2295. $ref: '#/components/schemas/Task'
  2296. text/html:
  2297. schema:
  2298. $ref: '#/components/schemas/Task'
  2299. application/hal+json:
  2300. schema:
  2301. $ref: '#/components/schemas/Task.jsonhal'
  2302. required: true
  2303. deprecated: false
  2304. parameters: []
  2305. '/api/tasks/{id}':
  2306. get:
  2307. operationId: api_tasks_id_get
  2308. tags:
  2309. - Task
  2310. responses:
  2311. 200:
  2312. description: 'Task resource'
  2313. content:
  2314. application/ld+json:
  2315. schema:
  2316. $ref: '#/components/schemas/Task.jsonld'
  2317. application/json:
  2318. schema:
  2319. $ref: '#/components/schemas/Task'
  2320. text/html:
  2321. schema:
  2322. $ref: '#/components/schemas/Task'
  2323. application/hal+json:
  2324. schema:
  2325. $ref: '#/components/schemas/Task.jsonhal'
  2326. 404:
  2327. description: 'Resource not found'
  2328. summary: 'Retrieves a Task resource.'
  2329. description: 'Retrieves a Task resource.'
  2330. parameters:
  2331. -
  2332. name: id
  2333. in: path
  2334. description: 'TaskApi identifier'
  2335. required: true
  2336. deprecated: false
  2337. allowEmptyValue: false
  2338. schema:
  2339. type: string
  2340. style: simple
  2341. explode: false
  2342. allowReserved: false
  2343. deprecated: false
  2344. delete:
  2345. operationId: api_tasks_id_delete
  2346. tags:
  2347. - Task
  2348. responses:
  2349. 204:
  2350. description: 'Task resource deleted'
  2351. 404:
  2352. description: 'Resource not found'
  2353. summary: 'Removes the Task resource.'
  2354. description: 'Removes the Task resource.'
  2355. parameters:
  2356. -
  2357. name: id
  2358. in: path
  2359. description: 'TaskApi identifier'
  2360. required: true
  2361. deprecated: false
  2362. allowEmptyValue: false
  2363. schema:
  2364. type: string
  2365. style: simple
  2366. explode: false
  2367. allowReserved: false
  2368. deprecated: false
  2369. patch:
  2370. operationId: api_tasks_id_patch
  2371. tags:
  2372. - Task
  2373. responses:
  2374. 200:
  2375. description: 'Task resource updated'
  2376. content:
  2377. application/ld+json:
  2378. schema:
  2379. $ref: '#/components/schemas/Task.jsonld'
  2380. application/json:
  2381. schema:
  2382. $ref: '#/components/schemas/Task'
  2383. text/html:
  2384. schema:
  2385. $ref: '#/components/schemas/Task'
  2386. application/hal+json:
  2387. schema:
  2388. $ref: '#/components/schemas/Task.jsonhal'
  2389. links: { }
  2390. 400:
  2391. description: 'Invalid input'
  2392. 422:
  2393. description: 'Unprocessable entity'
  2394. 404:
  2395. description: 'Resource not found'
  2396. summary: 'Updates the Task resource.'
  2397. description: 'Updates the Task resource.'
  2398. parameters:
  2399. -
  2400. name: id
  2401. in: path
  2402. description: 'TaskApi identifier'
  2403. required: true
  2404. deprecated: false
  2405. allowEmptyValue: false
  2406. schema:
  2407. type: string
  2408. style: simple
  2409. explode: false
  2410. allowReserved: false
  2411. requestBody:
  2412. description: 'The updated Task resource'
  2413. content:
  2414. application/merge-patch+json:
  2415. schema:
  2416. $ref: '#/components/schemas/Task'
  2417. required: true
  2418. deprecated: false
  2419. parameters: []
  2420. /api/users:
  2421. get:
  2422. operationId: api_users_get_collection
  2423. tags:
  2424. - User
  2425. responses:
  2426. 200:
  2427. description: 'User collection'
  2428. content:
  2429. application/ld+json:
  2430. schema:
  2431. type: object
  2432. properties:
  2433. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/User.jsonld' } }
  2434. 'hydra:totalItems': { type: integer, minimum: 0 }
  2435. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  2436. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  2437. required:
  2438. - 'hydra:member'
  2439. application/json:
  2440. schema:
  2441. type: array
  2442. items:
  2443. $ref: '#/components/schemas/User'
  2444. text/html:
  2445. schema:
  2446. type: array
  2447. items:
  2448. $ref: '#/components/schemas/User'
  2449. application/hal+json:
  2450. schema:
  2451. type: object
  2452. properties:
  2453. _embedded: { type: array, items: { $ref: '#/components/schemas/User.jsonhal' } }
  2454. totalItems: { type: integer, minimum: 0 }
  2455. itemsPerPage: { type: integer, minimum: 0 }
  2456. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  2457. required:
  2458. - _links
  2459. - _embedded
  2460. summary: 'Retrieves the collection of User resources.'
  2461. description: 'Retrieves the collection of User resources.'
  2462. parameters:
  2463. -
  2464. name: page
  2465. in: query
  2466. description: 'The collection page number'
  2467. required: false
  2468. deprecated: false
  2469. allowEmptyValue: true
  2470. schema:
  2471. type: integer
  2472. default: 1
  2473. style: form
  2474. explode: false
  2475. allowReserved: false
  2476. -
  2477. name: itemsPerPage
  2478. in: query
  2479. description: 'The number of items per page'
  2480. required: false
  2481. deprecated: false
  2482. allowEmptyValue: true
  2483. schema:
  2484. type: integer
  2485. default: 10
  2486. minimum: 0
  2487. maximum: 50
  2488. style: form
  2489. explode: false
  2490. allowReserved: false
  2491. deprecated: false
  2492. post:
  2493. operationId: api_users_post
  2494. tags:
  2495. - User
  2496. responses:
  2497. 201:
  2498. description: 'User resource created'
  2499. content:
  2500. application/ld+json:
  2501. schema:
  2502. $ref: '#/components/schemas/User.jsonld'
  2503. application/json:
  2504. schema:
  2505. $ref: '#/components/schemas/User'
  2506. text/html:
  2507. schema:
  2508. $ref: '#/components/schemas/User'
  2509. application/hal+json:
  2510. schema:
  2511. $ref: '#/components/schemas/User.jsonhal'
  2512. links: { }
  2513. 400:
  2514. description: 'Invalid input'
  2515. 422:
  2516. description: 'Unprocessable entity'
  2517. summary: 'Creates a User resource.'
  2518. description: 'Creates a User resource.'
  2519. parameters: []
  2520. requestBody:
  2521. description: 'The new User resource'
  2522. content:
  2523. application/ld+json:
  2524. schema:
  2525. $ref: '#/components/schemas/User.jsonld'
  2526. application/json:
  2527. schema:
  2528. $ref: '#/components/schemas/User'
  2529. text/html:
  2530. schema:
  2531. $ref: '#/components/schemas/User'
  2532. application/hal+json:
  2533. schema:
  2534. $ref: '#/components/schemas/User.jsonhal'
  2535. required: true
  2536. deprecated: false
  2537. parameters: []
  2538. '/api/users/{id}':
  2539. get:
  2540. operationId: api_users_id_get
  2541. tags:
  2542. - User
  2543. responses:
  2544. 200:
  2545. description: 'User resource'
  2546. content:
  2547. application/ld+json:
  2548. schema:
  2549. $ref: '#/components/schemas/User.jsonld'
  2550. application/json:
  2551. schema:
  2552. $ref: '#/components/schemas/User'
  2553. text/html:
  2554. schema:
  2555. $ref: '#/components/schemas/User'
  2556. application/hal+json:
  2557. schema:
  2558. $ref: '#/components/schemas/User.jsonhal'
  2559. 404:
  2560. description: 'Resource not found'
  2561. summary: 'Retrieves a User resource.'
  2562. description: 'Retrieves a User resource.'
  2563. parameters:
  2564. -
  2565. name: id
  2566. in: path
  2567. description: 'UserApi identifier'
  2568. required: true
  2569. deprecated: false
  2570. allowEmptyValue: false
  2571. schema:
  2572. type: string
  2573. style: simple
  2574. explode: false
  2575. allowReserved: false
  2576. deprecated: false
  2577. patch:
  2578. operationId: api_users_id_patch
  2579. tags:
  2580. - User
  2581. responses:
  2582. 200:
  2583. description: 'User resource updated'
  2584. content:
  2585. application/ld+json:
  2586. schema:
  2587. $ref: '#/components/schemas/User.jsonld'
  2588. application/json:
  2589. schema:
  2590. $ref: '#/components/schemas/User'
  2591. text/html:
  2592. schema:
  2593. $ref: '#/components/schemas/User'
  2594. application/hal+json:
  2595. schema:
  2596. $ref: '#/components/schemas/User.jsonhal'
  2597. links: { }
  2598. 400:
  2599. description: 'Invalid input'
  2600. 422:
  2601. description: 'Unprocessable entity'
  2602. 404:
  2603. description: 'Resource not found'
  2604. summary: 'Updates the User resource.'
  2605. description: 'Updates the User resource.'
  2606. parameters:
  2607. -
  2608. name: id
  2609. in: path
  2610. description: 'UserApi identifier'
  2611. required: true
  2612. deprecated: false
  2613. allowEmptyValue: false
  2614. schema:
  2615. type: string
  2616. style: simple
  2617. explode: false
  2618. allowReserved: false
  2619. requestBody:
  2620. description: 'The updated User resource'
  2621. content:
  2622. application/merge-patch+json:
  2623. schema:
  2624. $ref: '#/components/schemas/User'
  2625. required: true
  2626. deprecated: false
  2627. parameters: []
  2628. /auth:
  2629. post:
  2630. operationId: login_check_post
  2631. tags:
  2632. - 'Login Check'
  2633. responses:
  2634. 200:
  2635. description: 'User token created'
  2636. content:
  2637. application/json:
  2638. schema:
  2639. type: object
  2640. properties:
  2641. token: { readOnly: true, type: string, nullable: false }
  2642. required:
  2643. - token
  2644. summary: 'Creates a user token.'
  2645. description: 'Creates a user token.'
  2646. requestBody:
  2647. description: 'The login data'
  2648. content:
  2649. application/json:
  2650. schema:
  2651. type: object
  2652. properties:
  2653. email:
  2654. type: string
  2655. nullable: false
  2656. password:
  2657. type: string
  2658. nullable: false
  2659. required:
  2660. - email
  2661. - password
  2662. required: true
  2663. parameters: []
  2664. components:
  2665. schemas:
  2666. Comment:
  2667. type: object
  2668. description: ''
  2669. deprecated: false
  2670. required:
  2671. - message
  2672. properties:
  2673. message:
  2674. type:
  2675. - string
  2676. - 'null'
  2677. owner:
  2678. readOnly: true
  2679. 'owl:maxCardinality': 1
  2680. type: string
  2681. format: iri-reference
  2682. example: 'https://example.com/'
  2683. ownerName:
  2684. readOnly: true
  2685. type:
  2686. - string
  2687. - 'null'
  2688. post:
  2689. 'owl:maxCardinality': 1
  2690. type:
  2691. - string
  2692. - 'null'
  2693. format: iri-reference
  2694. example: 'https://example.com/'
  2695. createdAt:
  2696. readOnly: true
  2697. type:
  2698. - string
  2699. - 'null'
  2700. format: date-time
  2701. Comment.jsonhal:
  2702. type: object
  2703. description: ''
  2704. deprecated: false
  2705. required:
  2706. - message
  2707. properties:
  2708. _links:
  2709. type: object
  2710. properties:
  2711. self:
  2712. type: object
  2713. properties:
  2714. href:
  2715. type: string
  2716. format: iri-reference
  2717. message:
  2718. type:
  2719. - string
  2720. - 'null'
  2721. owner:
  2722. readOnly: true
  2723. 'owl:maxCardinality': 1
  2724. type: string
  2725. format: iri-reference
  2726. example: 'https://example.com/'
  2727. ownerName:
  2728. readOnly: true
  2729. type:
  2730. - string
  2731. - 'null'
  2732. post:
  2733. 'owl:maxCardinality': 1
  2734. type:
  2735. - string
  2736. - 'null'
  2737. format: iri-reference
  2738. example: 'https://example.com/'
  2739. createdAt:
  2740. readOnly: true
  2741. type:
  2742. - string
  2743. - 'null'
  2744. format: date-time
  2745. Comment.jsonld:
  2746. type: object
  2747. description: ''
  2748. deprecated: false
  2749. required:
  2750. - message
  2751. properties:
  2752. '@context':
  2753. readOnly: true
  2754. oneOf:
  2755. -
  2756. type: string
  2757. -
  2758. type: object
  2759. properties:
  2760. '@vocab':
  2761. type: string
  2762. hydra:
  2763. type: string
  2764. enum: ['http://www.w3.org/ns/hydra/core#']
  2765. required:
  2766. - '@vocab'
  2767. - hydra
  2768. additionalProperties: true
  2769. '@id':
  2770. readOnly: true
  2771. type: string
  2772. '@type':
  2773. readOnly: true
  2774. type: string
  2775. message:
  2776. type:
  2777. - string
  2778. - 'null'
  2779. owner:
  2780. readOnly: true
  2781. 'owl:maxCardinality': 1
  2782. type: string
  2783. format: iri-reference
  2784. example: 'https://example.com/'
  2785. ownerName:
  2786. readOnly: true
  2787. type:
  2788. - string
  2789. - 'null'
  2790. post:
  2791. 'owl:maxCardinality': 1
  2792. type:
  2793. - string
  2794. - 'null'
  2795. format: iri-reference
  2796. example: 'https://example.com/'
  2797. createdAt:
  2798. readOnly: true
  2799. type:
  2800. - string
  2801. - 'null'
  2802. format: date-time
  2803. Contact:
  2804. type: object
  2805. description: ''
  2806. deprecated: false
  2807. required:
  2808. - firstName
  2809. - lastName
  2810. - partner
  2811. properties:
  2812. firstName:
  2813. type:
  2814. - string
  2815. - 'null'
  2816. lastName:
  2817. type:
  2818. - string
  2819. - 'null'
  2820. partner:
  2821. 'owl:maxCardinality': 1
  2822. type:
  2823. - string
  2824. - 'null'
  2825. format: iri-reference
  2826. example: 'https://example.com/'
  2827. birthday:
  2828. type:
  2829. - string
  2830. - 'null'
  2831. image:
  2832. 'owl:maxCardinality': 1
  2833. type:
  2834. - string
  2835. - 'null'
  2836. format: iri-reference
  2837. example: 'https://example.com/'
  2838. imageUrl:
  2839. readOnly: true
  2840. type:
  2841. - string
  2842. - 'null'
  2843. position:
  2844. type:
  2845. - string
  2846. - 'null'
  2847. phone:
  2848. type:
  2849. - string
  2850. - 'null'
  2851. email:
  2852. format: email
  2853. externalDocs:
  2854. url: 'https://schema.org/email'
  2855. type:
  2856. - string
  2857. - 'null'
  2858. posts:
  2859. readOnly: true
  2860. type: array
  2861. items:
  2862. type: string
  2863. format: iri-reference
  2864. example: 'https://example.com/'
  2865. createdAt:
  2866. readOnly: true
  2867. type:
  2868. - string
  2869. - 'null'
  2870. format: date-time
  2871. Contact.jsonhal:
  2872. type: object
  2873. description: ''
  2874. deprecated: false
  2875. required:
  2876. - firstName
  2877. - lastName
  2878. - partner
  2879. properties:
  2880. _links:
  2881. type: object
  2882. properties:
  2883. self:
  2884. type: object
  2885. properties:
  2886. href:
  2887. type: string
  2888. format: iri-reference
  2889. firstName:
  2890. type:
  2891. - string
  2892. - 'null'
  2893. lastName:
  2894. type:
  2895. - string
  2896. - 'null'
  2897. partner:
  2898. 'owl:maxCardinality': 1
  2899. type:
  2900. - string
  2901. - 'null'
  2902. format: iri-reference
  2903. example: 'https://example.com/'
  2904. birthday:
  2905. type:
  2906. - string
  2907. - 'null'
  2908. image:
  2909. 'owl:maxCardinality': 1
  2910. type:
  2911. - string
  2912. - 'null'
  2913. format: iri-reference
  2914. example: 'https://example.com/'
  2915. imageUrl:
  2916. readOnly: true
  2917. type:
  2918. - string
  2919. - 'null'
  2920. position:
  2921. type:
  2922. - string
  2923. - 'null'
  2924. phone:
  2925. type:
  2926. - string
  2927. - 'null'
  2928. email:
  2929. format: email
  2930. externalDocs:
  2931. url: 'https://schema.org/email'
  2932. type:
  2933. - string
  2934. - 'null'
  2935. posts:
  2936. readOnly: true
  2937. type: array
  2938. items:
  2939. type: string
  2940. format: iri-reference
  2941. example: 'https://example.com/'
  2942. createdAt:
  2943. readOnly: true
  2944. type:
  2945. - string
  2946. - 'null'
  2947. format: date-time
  2948. Contact.jsonld:
  2949. type: object
  2950. description: ''
  2951. deprecated: false
  2952. required:
  2953. - firstName
  2954. - lastName
  2955. - partner
  2956. properties:
  2957. '@context':
  2958. readOnly: true
  2959. oneOf:
  2960. -
  2961. type: string
  2962. -
  2963. type: object
  2964. properties:
  2965. '@vocab':
  2966. type: string
  2967. hydra:
  2968. type: string
  2969. enum: ['http://www.w3.org/ns/hydra/core#']
  2970. required:
  2971. - '@vocab'
  2972. - hydra
  2973. additionalProperties: true
  2974. '@id':
  2975. readOnly: true
  2976. type: string
  2977. '@type':
  2978. readOnly: true
  2979. type: string
  2980. firstName:
  2981. type:
  2982. - string
  2983. - 'null'
  2984. lastName:
  2985. type:
  2986. - string
  2987. - 'null'
  2988. partner:
  2989. 'owl:maxCardinality': 1
  2990. type:
  2991. - string
  2992. - 'null'
  2993. format: iri-reference
  2994. example: 'https://example.com/'
  2995. birthday:
  2996. type:
  2997. - string
  2998. - 'null'
  2999. image:
  3000. 'owl:maxCardinality': 1
  3001. type:
  3002. - string
  3003. - 'null'
  3004. format: iri-reference
  3005. example: 'https://example.com/'
  3006. imageUrl:
  3007. readOnly: true
  3008. type:
  3009. - string
  3010. - 'null'
  3011. position:
  3012. type:
  3013. - string
  3014. - 'null'
  3015. phone:
  3016. type:
  3017. - string
  3018. - 'null'
  3019. email:
  3020. format: email
  3021. externalDocs:
  3022. url: 'https://schema.org/email'
  3023. type:
  3024. - string
  3025. - 'null'
  3026. posts:
  3027. readOnly: true
  3028. type: array
  3029. items:
  3030. type: string
  3031. format: iri-reference
  3032. example: 'https://example.com/'
  3033. createdAt:
  3034. readOnly: true
  3035. type:
  3036. - string
  3037. - 'null'
  3038. format: date-time
  3039. Media-media_object.read:
  3040. type: object
  3041. description: ''
  3042. deprecated: false
  3043. externalDocs:
  3044. url: 'https://schema.org/MediaObject'
  3045. properties:
  3046. contentUrl:
  3047. externalDocs:
  3048. url: 'https://schema.org/contentUrl'
  3049. type:
  3050. - string
  3051. - 'null'
  3052. Media.jsonhal-media_object.read:
  3053. type: object
  3054. description: ''
  3055. deprecated: false
  3056. externalDocs:
  3057. url: 'https://schema.org/MediaObject'
  3058. properties:
  3059. _links:
  3060. type: object
  3061. properties:
  3062. self:
  3063. type: object
  3064. properties:
  3065. href:
  3066. type: string
  3067. format: iri-reference
  3068. contentUrl:
  3069. externalDocs:
  3070. url: 'https://schema.org/contentUrl'
  3071. type:
  3072. - string
  3073. - 'null'
  3074. Media.jsonld-media_object.read:
  3075. type: object
  3076. description: ''
  3077. deprecated: false
  3078. externalDocs:
  3079. url: 'https://schema.org/MediaObject'
  3080. properties:
  3081. '@context':
  3082. readOnly: true
  3083. oneOf:
  3084. -
  3085. type: string
  3086. -
  3087. type: object
  3088. properties:
  3089. '@vocab':
  3090. type: string
  3091. hydra:
  3092. type: string
  3093. enum: ['http://www.w3.org/ns/hydra/core#']
  3094. required:
  3095. - '@vocab'
  3096. - hydra
  3097. additionalProperties: true
  3098. '@id':
  3099. readOnly: true
  3100. type: string
  3101. '@type':
  3102. readOnly: true
  3103. type: string
  3104. contentUrl:
  3105. externalDocs:
  3106. url: 'https://schema.org/contentUrl'
  3107. type:
  3108. - string
  3109. - 'null'
  3110. Partner:
  3111. type: object
  3112. description: ''
  3113. deprecated: false
  3114. required:
  3115. - name
  3116. - partnerType
  3117. properties:
  3118. name:
  3119. type: string
  3120. partnerType:
  3121. type: string
  3122. enum:
  3123. - customer
  3124. - supplier
  3125. - service
  3126. street:
  3127. type:
  3128. - string
  3129. - 'null'
  3130. streetNo:
  3131. type:
  3132. - string
  3133. - 'null'
  3134. zip:
  3135. type:
  3136. - string
  3137. - 'null'
  3138. city:
  3139. type:
  3140. - string
  3141. - 'null'
  3142. country:
  3143. type:
  3144. - string
  3145. - 'null'
  3146. website:
  3147. type:
  3148. - string
  3149. - 'null'
  3150. logo:
  3151. 'owl:maxCardinality': 1
  3152. type:
  3153. - string
  3154. - 'null'
  3155. format: iri-reference
  3156. example: 'https://example.com/'
  3157. logoUrl:
  3158. readOnly: true
  3159. type:
  3160. - string
  3161. - 'null'
  3162. createdAt:
  3163. readOnly: true
  3164. type:
  3165. - string
  3166. - 'null'
  3167. format: date-time
  3168. posts:
  3169. readOnly: true
  3170. description: 'array<int, PostingApi>'
  3171. type: array
  3172. items:
  3173. type: string
  3174. contacts:
  3175. readOnly: true
  3176. type: array
  3177. items:
  3178. type: string
  3179. format: iri-reference
  3180. example: 'https://example.com/'
  3181. Partner.jsonhal:
  3182. type: object
  3183. description: ''
  3184. deprecated: false
  3185. required:
  3186. - name
  3187. - partnerType
  3188. properties:
  3189. _links:
  3190. type: object
  3191. properties:
  3192. self:
  3193. type: object
  3194. properties:
  3195. href:
  3196. type: string
  3197. format: iri-reference
  3198. name:
  3199. type: string
  3200. partnerType:
  3201. type: string
  3202. enum:
  3203. - customer
  3204. - supplier
  3205. - service
  3206. street:
  3207. type:
  3208. - string
  3209. - 'null'
  3210. streetNo:
  3211. type:
  3212. - string
  3213. - 'null'
  3214. zip:
  3215. type:
  3216. - string
  3217. - 'null'
  3218. city:
  3219. type:
  3220. - string
  3221. - 'null'
  3222. country:
  3223. type:
  3224. - string
  3225. - 'null'
  3226. website:
  3227. type:
  3228. - string
  3229. - 'null'
  3230. logo:
  3231. 'owl:maxCardinality': 1
  3232. type:
  3233. - string
  3234. - 'null'
  3235. format: iri-reference
  3236. example: 'https://example.com/'
  3237. logoUrl:
  3238. readOnly: true
  3239. type:
  3240. - string
  3241. - 'null'
  3242. createdAt:
  3243. readOnly: true
  3244. type:
  3245. - string
  3246. - 'null'
  3247. format: date-time
  3248. posts:
  3249. readOnly: true
  3250. description: 'array<int, PostingApi>'
  3251. type: array
  3252. items:
  3253. type: string
  3254. contacts:
  3255. readOnly: true
  3256. type: array
  3257. items:
  3258. type: string
  3259. format: iri-reference
  3260. example: 'https://example.com/'
  3261. Partner.jsonld:
  3262. type: object
  3263. description: ''
  3264. deprecated: false
  3265. required:
  3266. - name
  3267. - partnerType
  3268. properties:
  3269. '@context':
  3270. readOnly: true
  3271. oneOf:
  3272. -
  3273. type: string
  3274. -
  3275. type: object
  3276. properties:
  3277. '@vocab':
  3278. type: string
  3279. hydra:
  3280. type: string
  3281. enum: ['http://www.w3.org/ns/hydra/core#']
  3282. required:
  3283. - '@vocab'
  3284. - hydra
  3285. additionalProperties: true
  3286. '@id':
  3287. readOnly: true
  3288. type: string
  3289. '@type':
  3290. readOnly: true
  3291. type: string
  3292. name:
  3293. type: string
  3294. partnerType:
  3295. type: string
  3296. enum:
  3297. - customer
  3298. - supplier
  3299. - service
  3300. street:
  3301. type:
  3302. - string
  3303. - 'null'
  3304. streetNo:
  3305. type:
  3306. - string
  3307. - 'null'
  3308. zip:
  3309. type:
  3310. - string
  3311. - 'null'
  3312. city:
  3313. type:
  3314. - string
  3315. - 'null'
  3316. country:
  3317. type:
  3318. - string
  3319. - 'null'
  3320. website:
  3321. type:
  3322. - string
  3323. - 'null'
  3324. logo:
  3325. 'owl:maxCardinality': 1
  3326. type:
  3327. - string
  3328. - 'null'
  3329. format: iri-reference
  3330. example: 'https://example.com/'
  3331. logoUrl:
  3332. readOnly: true
  3333. type:
  3334. - string
  3335. - 'null'
  3336. createdAt:
  3337. readOnly: true
  3338. type:
  3339. - string
  3340. - 'null'
  3341. format: date-time
  3342. posts:
  3343. readOnly: true
  3344. description: 'array<int, PostingApi>'
  3345. type: array
  3346. items:
  3347. type: string
  3348. contacts:
  3349. readOnly: true
  3350. type: array
  3351. items:
  3352. type: string
  3353. format: iri-reference
  3354. example: 'https://example.com/'
  3355. Post:
  3356. type: object
  3357. description: ''
  3358. deprecated: false
  3359. required:
  3360. - headline
  3361. - message
  3362. properties:
  3363. headline:
  3364. type:
  3365. - string
  3366. - 'null'
  3367. message:
  3368. type:
  3369. - string
  3370. - 'null'
  3371. owner:
  3372. readOnly: true
  3373. 'owl:maxCardinality': 1
  3374. type: string
  3375. format: iri-reference
  3376. example: 'https://example.com/'
  3377. ownerName:
  3378. readOnly: true
  3379. type:
  3380. - string
  3381. - 'null'
  3382. partner:
  3383. 'owl:maxCardinality': 1
  3384. type:
  3385. - string
  3386. - 'null'
  3387. format: iri-reference
  3388. example: 'https://example.com/'
  3389. contact:
  3390. 'owl:maxCardinality': 1
  3391. type:
  3392. - string
  3393. - 'null'
  3394. format: iri-reference
  3395. example: 'https://example.com/'
  3396. sale:
  3397. 'owl:maxCardinality': 1
  3398. type:
  3399. - string
  3400. - 'null'
  3401. format: iri-reference
  3402. example: 'https://example.com/'
  3403. comments:
  3404. description: 'array<int, CommentApi>'
  3405. type: array
  3406. items:
  3407. $ref: '#/components/schemas/Comment'
  3408. createdAt:
  3409. readOnly: true
  3410. type:
  3411. - string
  3412. - 'null'
  3413. format: date-time
  3414. Post-posting.create:
  3415. type: object
  3416. description: ''
  3417. deprecated: false
  3418. required:
  3419. - headline
  3420. - message
  3421. properties:
  3422. headline:
  3423. type:
  3424. - string
  3425. - 'null'
  3426. message:
  3427. type:
  3428. - string
  3429. - 'null'
  3430. partner:
  3431. 'owl:maxCardinality': 1
  3432. type:
  3433. - string
  3434. - 'null'
  3435. format: iri-reference
  3436. example: 'https://example.com/'
  3437. contact:
  3438. 'owl:maxCardinality': 1
  3439. type:
  3440. - string
  3441. - 'null'
  3442. format: iri-reference
  3443. example: 'https://example.com/'
  3444. sale:
  3445. 'owl:maxCardinality': 1
  3446. type:
  3447. - string
  3448. - 'null'
  3449. format: iri-reference
  3450. example: 'https://example.com/'
  3451. Post-posting.patch:
  3452. type: object
  3453. description: ''
  3454. deprecated: false
  3455. required:
  3456. - headline
  3457. - message
  3458. properties:
  3459. headline:
  3460. type:
  3461. - string
  3462. - 'null'
  3463. message:
  3464. type:
  3465. - string
  3466. - 'null'
  3467. Post.jsonhal:
  3468. type: object
  3469. description: ''
  3470. deprecated: false
  3471. required:
  3472. - headline
  3473. - message
  3474. properties:
  3475. _links:
  3476. type: object
  3477. properties:
  3478. self:
  3479. type: object
  3480. properties:
  3481. href:
  3482. type: string
  3483. format: iri-reference
  3484. headline:
  3485. type:
  3486. - string
  3487. - 'null'
  3488. message:
  3489. type:
  3490. - string
  3491. - 'null'
  3492. owner:
  3493. readOnly: true
  3494. 'owl:maxCardinality': 1
  3495. type: string
  3496. format: iri-reference
  3497. example: 'https://example.com/'
  3498. ownerName:
  3499. readOnly: true
  3500. type:
  3501. - string
  3502. - 'null'
  3503. partner:
  3504. 'owl:maxCardinality': 1
  3505. type:
  3506. - string
  3507. - 'null'
  3508. format: iri-reference
  3509. example: 'https://example.com/'
  3510. contact:
  3511. 'owl:maxCardinality': 1
  3512. type:
  3513. - string
  3514. - 'null'
  3515. format: iri-reference
  3516. example: 'https://example.com/'
  3517. sale:
  3518. 'owl:maxCardinality': 1
  3519. type:
  3520. - string
  3521. - 'null'
  3522. format: iri-reference
  3523. example: 'https://example.com/'
  3524. comments:
  3525. description: 'array<int, CommentApi>'
  3526. type: array
  3527. items:
  3528. $ref: '#/components/schemas/Comment.jsonhal'
  3529. createdAt:
  3530. readOnly: true
  3531. type:
  3532. - string
  3533. - 'null'
  3534. format: date-time
  3535. Post.jsonhal-posting.create:
  3536. type: object
  3537. description: ''
  3538. deprecated: false
  3539. required:
  3540. - headline
  3541. - message
  3542. properties:
  3543. _links:
  3544. type: object
  3545. properties:
  3546. self:
  3547. type: object
  3548. properties:
  3549. href:
  3550. type: string
  3551. format: iri-reference
  3552. headline:
  3553. type:
  3554. - string
  3555. - 'null'
  3556. message:
  3557. type:
  3558. - string
  3559. - 'null'
  3560. partner:
  3561. 'owl:maxCardinality': 1
  3562. type:
  3563. - string
  3564. - 'null'
  3565. format: iri-reference
  3566. example: 'https://example.com/'
  3567. contact:
  3568. 'owl:maxCardinality': 1
  3569. type:
  3570. - string
  3571. - 'null'
  3572. format: iri-reference
  3573. example: 'https://example.com/'
  3574. sale:
  3575. 'owl:maxCardinality': 1
  3576. type:
  3577. - string
  3578. - 'null'
  3579. format: iri-reference
  3580. example: 'https://example.com/'
  3581. Post.jsonld:
  3582. type: object
  3583. description: ''
  3584. deprecated: false
  3585. required:
  3586. - headline
  3587. - message
  3588. properties:
  3589. '@context':
  3590. readOnly: true
  3591. oneOf:
  3592. -
  3593. type: string
  3594. -
  3595. type: object
  3596. properties:
  3597. '@vocab':
  3598. type: string
  3599. hydra:
  3600. type: string
  3601. enum: ['http://www.w3.org/ns/hydra/core#']
  3602. required:
  3603. - '@vocab'
  3604. - hydra
  3605. additionalProperties: true
  3606. '@id':
  3607. readOnly: true
  3608. type: string
  3609. '@type':
  3610. readOnly: true
  3611. type: string
  3612. headline:
  3613. type:
  3614. - string
  3615. - 'null'
  3616. message:
  3617. type:
  3618. - string
  3619. - 'null'
  3620. owner:
  3621. readOnly: true
  3622. 'owl:maxCardinality': 1
  3623. type: string
  3624. format: iri-reference
  3625. example: 'https://example.com/'
  3626. ownerName:
  3627. readOnly: true
  3628. type:
  3629. - string
  3630. - 'null'
  3631. partner:
  3632. 'owl:maxCardinality': 1
  3633. type:
  3634. - string
  3635. - 'null'
  3636. format: iri-reference
  3637. example: 'https://example.com/'
  3638. contact:
  3639. 'owl:maxCardinality': 1
  3640. type:
  3641. - string
  3642. - 'null'
  3643. format: iri-reference
  3644. example: 'https://example.com/'
  3645. sale:
  3646. 'owl:maxCardinality': 1
  3647. type:
  3648. - string
  3649. - 'null'
  3650. format: iri-reference
  3651. example: 'https://example.com/'
  3652. comments:
  3653. description: 'array<int, CommentApi>'
  3654. type: array
  3655. items:
  3656. $ref: '#/components/schemas/Comment.jsonld'
  3657. createdAt:
  3658. readOnly: true
  3659. type:
  3660. - string
  3661. - 'null'
  3662. format: date-time
  3663. Post.jsonld-posting.create:
  3664. type: object
  3665. description: ''
  3666. deprecated: false
  3667. required:
  3668. - headline
  3669. - message
  3670. properties:
  3671. headline:
  3672. type:
  3673. - string
  3674. - 'null'
  3675. message:
  3676. type:
  3677. - string
  3678. - 'null'
  3679. partner:
  3680. 'owl:maxCardinality': 1
  3681. type:
  3682. - string
  3683. - 'null'
  3684. format: iri-reference
  3685. example: 'https://example.com/'
  3686. contact:
  3687. 'owl:maxCardinality': 1
  3688. type:
  3689. - string
  3690. - 'null'
  3691. format: iri-reference
  3692. example: 'https://example.com/'
  3693. sale:
  3694. 'owl:maxCardinality': 1
  3695. type:
  3696. - string
  3697. - 'null'
  3698. format: iri-reference
  3699. example: 'https://example.com/'
  3700. Product:
  3701. type: object
  3702. description: ''
  3703. deprecated: false
  3704. required:
  3705. - name
  3706. properties:
  3707. name:
  3708. type: string
  3709. description:
  3710. type:
  3711. - string
  3712. - 'null'
  3713. image:
  3714. 'owl:maxCardinality': 1
  3715. type:
  3716. - string
  3717. - 'null'
  3718. format: iri-reference
  3719. example: 'https://example.com/'
  3720. imageUrl:
  3721. readOnly: true
  3722. type:
  3723. - string
  3724. - 'null'
  3725. createdAt:
  3726. type:
  3727. - string
  3728. - 'null'
  3729. format: date-time
  3730. Product.jsonhal:
  3731. type: object
  3732. description: ''
  3733. deprecated: false
  3734. required:
  3735. - name
  3736. properties:
  3737. _links:
  3738. type: object
  3739. properties:
  3740. self:
  3741. type: object
  3742. properties:
  3743. href:
  3744. type: string
  3745. format: iri-reference
  3746. name:
  3747. type: string
  3748. description:
  3749. type:
  3750. - string
  3751. - 'null'
  3752. image:
  3753. 'owl:maxCardinality': 1
  3754. type:
  3755. - string
  3756. - 'null'
  3757. format: iri-reference
  3758. example: 'https://example.com/'
  3759. imageUrl:
  3760. readOnly: true
  3761. type:
  3762. - string
  3763. - 'null'
  3764. createdAt:
  3765. type:
  3766. - string
  3767. - 'null'
  3768. format: date-time
  3769. Product.jsonld:
  3770. type: object
  3771. description: ''
  3772. deprecated: false
  3773. required:
  3774. - name
  3775. properties:
  3776. '@context':
  3777. readOnly: true
  3778. oneOf:
  3779. -
  3780. type: string
  3781. -
  3782. type: object
  3783. properties:
  3784. '@vocab':
  3785. type: string
  3786. hydra:
  3787. type: string
  3788. enum: ['http://www.w3.org/ns/hydra/core#']
  3789. required:
  3790. - '@vocab'
  3791. - hydra
  3792. additionalProperties: true
  3793. '@id':
  3794. readOnly: true
  3795. type: string
  3796. '@type':
  3797. readOnly: true
  3798. type: string
  3799. name:
  3800. type: string
  3801. description:
  3802. type:
  3803. - string
  3804. - 'null'
  3805. image:
  3806. 'owl:maxCardinality': 1
  3807. type:
  3808. - string
  3809. - 'null'
  3810. format: iri-reference
  3811. example: 'https://example.com/'
  3812. imageUrl:
  3813. readOnly: true
  3814. type:
  3815. - string
  3816. - 'null'
  3817. createdAt:
  3818. type:
  3819. - string
  3820. - 'null'
  3821. format: date-time
  3822. Sale:
  3823. type: object
  3824. description: ''
  3825. deprecated: false
  3826. properties:
  3827. owner:
  3828. readOnly: true
  3829. 'owl:maxCardinality': 1
  3830. type: string
  3831. format: iri-reference
  3832. example: 'https://example.com/'
  3833. ownerName:
  3834. readOnly: true
  3835. type:
  3836. - string
  3837. - 'null'
  3838. partner:
  3839. 'owl:maxCardinality': 1
  3840. type:
  3841. - string
  3842. - 'null'
  3843. format: iri-reference
  3844. example: 'https://example.com/'
  3845. partnerName:
  3846. readOnly: true
  3847. type:
  3848. - string
  3849. - 'null'
  3850. product:
  3851. 'owl:maxCardinality': 1
  3852. type:
  3853. - string
  3854. - 'null'
  3855. format: iri-reference
  3856. example: 'https://example.com/'
  3857. productName:
  3858. readOnly: true
  3859. type:
  3860. - string
  3861. - 'null'
  3862. turnover:
  3863. type:
  3864. - integer
  3865. - 'null'
  3866. profit:
  3867. type:
  3868. - integer
  3869. - 'null'
  3870. comment:
  3871. type:
  3872. - string
  3873. - 'null'
  3874. createdAt:
  3875. readOnly: true
  3876. type:
  3877. - string
  3878. - 'null'
  3879. format: date-time
  3880. posts:
  3881. readOnly: true
  3882. description: 'array<int, PostingApi>'
  3883. type: array
  3884. items:
  3885. type: string
  3886. required:
  3887. - turnover
  3888. Sale.jsonhal:
  3889. type: object
  3890. description: ''
  3891. deprecated: false
  3892. properties:
  3893. _links:
  3894. type: object
  3895. properties:
  3896. self:
  3897. type: object
  3898. properties:
  3899. href:
  3900. type: string
  3901. format: iri-reference
  3902. owner:
  3903. readOnly: true
  3904. 'owl:maxCardinality': 1
  3905. type: string
  3906. format: iri-reference
  3907. example: 'https://example.com/'
  3908. ownerName:
  3909. readOnly: true
  3910. type:
  3911. - string
  3912. - 'null'
  3913. partner:
  3914. 'owl:maxCardinality': 1
  3915. type:
  3916. - string
  3917. - 'null'
  3918. format: iri-reference
  3919. example: 'https://example.com/'
  3920. partnerName:
  3921. readOnly: true
  3922. type:
  3923. - string
  3924. - 'null'
  3925. product:
  3926. 'owl:maxCardinality': 1
  3927. type:
  3928. - string
  3929. - 'null'
  3930. format: iri-reference
  3931. example: 'https://example.com/'
  3932. productName:
  3933. readOnly: true
  3934. type:
  3935. - string
  3936. - 'null'
  3937. turnover:
  3938. type:
  3939. - integer
  3940. - 'null'
  3941. profit:
  3942. type:
  3943. - integer
  3944. - 'null'
  3945. comment:
  3946. type:
  3947. - string
  3948. - 'null'
  3949. createdAt:
  3950. readOnly: true
  3951. type:
  3952. - string
  3953. - 'null'
  3954. format: date-time
  3955. posts:
  3956. readOnly: true
  3957. description: 'array<int, PostingApi>'
  3958. type: array
  3959. items:
  3960. type: string
  3961. required:
  3962. - turnover
  3963. Sale.jsonld:
  3964. type: object
  3965. description: ''
  3966. deprecated: false
  3967. properties:
  3968. '@context':
  3969. readOnly: true
  3970. oneOf:
  3971. -
  3972. type: string
  3973. -
  3974. type: object
  3975. properties:
  3976. '@vocab':
  3977. type: string
  3978. hydra:
  3979. type: string
  3980. enum: ['http://www.w3.org/ns/hydra/core#']
  3981. required:
  3982. - '@vocab'
  3983. - hydra
  3984. additionalProperties: true
  3985. '@id':
  3986. readOnly: true
  3987. type: string
  3988. '@type':
  3989. readOnly: true
  3990. type: string
  3991. owner:
  3992. readOnly: true
  3993. 'owl:maxCardinality': 1
  3994. type: string
  3995. format: iri-reference
  3996. example: 'https://example.com/'
  3997. ownerName:
  3998. readOnly: true
  3999. type:
  4000. - string
  4001. - 'null'
  4002. partner:
  4003. 'owl:maxCardinality': 1
  4004. type:
  4005. - string
  4006. - 'null'
  4007. format: iri-reference
  4008. example: 'https://example.com/'
  4009. partnerName:
  4010. readOnly: true
  4011. type:
  4012. - string
  4013. - 'null'
  4014. product:
  4015. 'owl:maxCardinality': 1
  4016. type:
  4017. - string
  4018. - 'null'
  4019. format: iri-reference
  4020. example: 'https://example.com/'
  4021. productName:
  4022. readOnly: true
  4023. type:
  4024. - string
  4025. - 'null'
  4026. turnover:
  4027. type:
  4028. - integer
  4029. - 'null'
  4030. profit:
  4031. type:
  4032. - integer
  4033. - 'null'
  4034. comment:
  4035. type:
  4036. - string
  4037. - 'null'
  4038. createdAt:
  4039. readOnly: true
  4040. type:
  4041. - string
  4042. - 'null'
  4043. format: date-time
  4044. posts:
  4045. readOnly: true
  4046. description: 'array<int, PostingApi>'
  4047. type: array
  4048. items:
  4049. type: string
  4050. required:
  4051. - turnover
  4052. SaleSummary:
  4053. type: object
  4054. description: ''
  4055. deprecated: false
  4056. properties:
  4057. owner:
  4058. 'owl:maxCardinality': 1
  4059. type:
  4060. - string
  4061. - 'null'
  4062. format: iri-reference
  4063. example: 'https://example.com/'
  4064. ownerName:
  4065. type:
  4066. - string
  4067. - 'null'
  4068. turnover:
  4069. type:
  4070. - integer
  4071. - 'null'
  4072. profit:
  4073. type:
  4074. - integer
  4075. - 'null'
  4076. SaleSummary.jsonhal:
  4077. type: object
  4078. description: ''
  4079. deprecated: false
  4080. properties:
  4081. _links:
  4082. type: object
  4083. properties:
  4084. self:
  4085. type: object
  4086. properties:
  4087. href:
  4088. type: string
  4089. format: iri-reference
  4090. owner:
  4091. 'owl:maxCardinality': 1
  4092. type:
  4093. - string
  4094. - 'null'
  4095. format: iri-reference
  4096. example: 'https://example.com/'
  4097. ownerName:
  4098. type:
  4099. - string
  4100. - 'null'
  4101. turnover:
  4102. type:
  4103. - integer
  4104. - 'null'
  4105. profit:
  4106. type:
  4107. - integer
  4108. - 'null'
  4109. SaleSummary.jsonld:
  4110. type: object
  4111. description: ''
  4112. deprecated: false
  4113. properties:
  4114. '@id':
  4115. readOnly: true
  4116. type: string
  4117. '@type':
  4118. readOnly: true
  4119. type: string
  4120. owner:
  4121. 'owl:maxCardinality': 1
  4122. type:
  4123. - string
  4124. - 'null'
  4125. format: iri-reference
  4126. example: 'https://example.com/'
  4127. ownerName:
  4128. type:
  4129. - string
  4130. - 'null'
  4131. turnover:
  4132. type:
  4133. - integer
  4134. - 'null'
  4135. profit:
  4136. type:
  4137. - integer
  4138. - 'null'
  4139. Task:
  4140. type: object
  4141. description: ''
  4142. deprecated: false
  4143. required:
  4144. - headline
  4145. - description
  4146. - assignedTo
  4147. - dueAt
  4148. - prio
  4149. - completed
  4150. properties:
  4151. headline:
  4152. type:
  4153. - string
  4154. - 'null'
  4155. description:
  4156. type:
  4157. - string
  4158. - 'null'
  4159. createdBy:
  4160. readOnly: true
  4161. 'owl:maxCardinality': 1
  4162. type:
  4163. - string
  4164. - 'null'
  4165. format: iri-reference
  4166. example: 'https://example.com/'
  4167. createdByName:
  4168. readOnly: true
  4169. type:
  4170. - string
  4171. - 'null'
  4172. assignedTo:
  4173. 'owl:maxCardinality': 1
  4174. type:
  4175. - string
  4176. - 'null'
  4177. format: iri-reference
  4178. example: 'https://example.com/'
  4179. assignedToName:
  4180. readOnly: true
  4181. type:
  4182. - string
  4183. - 'null'
  4184. dueAt:
  4185. type:
  4186. - string
  4187. - 'null'
  4188. format: date-time
  4189. partner:
  4190. 'owl:maxCardinality': 1
  4191. type:
  4192. - string
  4193. - 'null'
  4194. format: iri-reference
  4195. example: 'https://example.com/'
  4196. partnerName:
  4197. readOnly: true
  4198. type:
  4199. - string
  4200. - 'null'
  4201. contact:
  4202. 'owl:maxCardinality': 1
  4203. type:
  4204. - string
  4205. - 'null'
  4206. format: iri-reference
  4207. example: 'https://example.com/'
  4208. contactName:
  4209. readOnly: true
  4210. type:
  4211. - string
  4212. - 'null'
  4213. prio:
  4214. type: string
  4215. enum:
  4216. - low
  4217. - medium
  4218. - high
  4219. completed:
  4220. type:
  4221. - boolean
  4222. - 'null'
  4223. taskNotes:
  4224. description: 'array<int, TaskNoteApi>'
  4225. type: array
  4226. items:
  4227. $ref: '#/components/schemas/TaskNote'
  4228. createdAt:
  4229. readOnly: true
  4230. type:
  4231. - string
  4232. - 'null'
  4233. format: date-time
  4234. Task.jsonhal:
  4235. type: object
  4236. description: ''
  4237. deprecated: false
  4238. required:
  4239. - headline
  4240. - description
  4241. - assignedTo
  4242. - dueAt
  4243. - prio
  4244. - completed
  4245. properties:
  4246. _links:
  4247. type: object
  4248. properties:
  4249. self:
  4250. type: object
  4251. properties:
  4252. href:
  4253. type: string
  4254. format: iri-reference
  4255. headline:
  4256. type:
  4257. - string
  4258. - 'null'
  4259. description:
  4260. type:
  4261. - string
  4262. - 'null'
  4263. createdBy:
  4264. readOnly: true
  4265. 'owl:maxCardinality': 1
  4266. type:
  4267. - string
  4268. - 'null'
  4269. format: iri-reference
  4270. example: 'https://example.com/'
  4271. createdByName:
  4272. readOnly: true
  4273. type:
  4274. - string
  4275. - 'null'
  4276. assignedTo:
  4277. 'owl:maxCardinality': 1
  4278. type:
  4279. - string
  4280. - 'null'
  4281. format: iri-reference
  4282. example: 'https://example.com/'
  4283. assignedToName:
  4284. readOnly: true
  4285. type:
  4286. - string
  4287. - 'null'
  4288. dueAt:
  4289. type:
  4290. - string
  4291. - 'null'
  4292. format: date-time
  4293. partner:
  4294. 'owl:maxCardinality': 1
  4295. type:
  4296. - string
  4297. - 'null'
  4298. format: iri-reference
  4299. example: 'https://example.com/'
  4300. partnerName:
  4301. readOnly: true
  4302. type:
  4303. - string
  4304. - 'null'
  4305. contact:
  4306. 'owl:maxCardinality': 1
  4307. type:
  4308. - string
  4309. - 'null'
  4310. format: iri-reference
  4311. example: 'https://example.com/'
  4312. contactName:
  4313. readOnly: true
  4314. type:
  4315. - string
  4316. - 'null'
  4317. prio:
  4318. type: string
  4319. enum:
  4320. - low
  4321. - medium
  4322. - high
  4323. completed:
  4324. type:
  4325. - boolean
  4326. - 'null'
  4327. taskNotes:
  4328. description: 'array<int, TaskNoteApi>'
  4329. type: array
  4330. items:
  4331. $ref: '#/components/schemas/TaskNote.jsonhal'
  4332. createdAt:
  4333. readOnly: true
  4334. type:
  4335. - string
  4336. - 'null'
  4337. format: date-time
  4338. Task.jsonld:
  4339. type: object
  4340. description: ''
  4341. deprecated: false
  4342. required:
  4343. - headline
  4344. - description
  4345. - assignedTo
  4346. - dueAt
  4347. - prio
  4348. - completed
  4349. properties:
  4350. '@context':
  4351. readOnly: true
  4352. oneOf:
  4353. -
  4354. type: string
  4355. -
  4356. type: object
  4357. properties:
  4358. '@vocab':
  4359. type: string
  4360. hydra:
  4361. type: string
  4362. enum: ['http://www.w3.org/ns/hydra/core#']
  4363. required:
  4364. - '@vocab'
  4365. - hydra
  4366. additionalProperties: true
  4367. '@id':
  4368. readOnly: true
  4369. type: string
  4370. '@type':
  4371. readOnly: true
  4372. type: string
  4373. headline:
  4374. type:
  4375. - string
  4376. - 'null'
  4377. description:
  4378. type:
  4379. - string
  4380. - 'null'
  4381. createdBy:
  4382. readOnly: true
  4383. 'owl:maxCardinality': 1
  4384. type:
  4385. - string
  4386. - 'null'
  4387. format: iri-reference
  4388. example: 'https://example.com/'
  4389. createdByName:
  4390. readOnly: true
  4391. type:
  4392. - string
  4393. - 'null'
  4394. assignedTo:
  4395. 'owl:maxCardinality': 1
  4396. type:
  4397. - string
  4398. - 'null'
  4399. format: iri-reference
  4400. example: 'https://example.com/'
  4401. assignedToName:
  4402. readOnly: true
  4403. type:
  4404. - string
  4405. - 'null'
  4406. dueAt:
  4407. type:
  4408. - string
  4409. - 'null'
  4410. format: date-time
  4411. partner:
  4412. 'owl:maxCardinality': 1
  4413. type:
  4414. - string
  4415. - 'null'
  4416. format: iri-reference
  4417. example: 'https://example.com/'
  4418. partnerName:
  4419. readOnly: true
  4420. type:
  4421. - string
  4422. - 'null'
  4423. contact:
  4424. 'owl:maxCardinality': 1
  4425. type:
  4426. - string
  4427. - 'null'
  4428. format: iri-reference
  4429. example: 'https://example.com/'
  4430. contactName:
  4431. readOnly: true
  4432. type:
  4433. - string
  4434. - 'null'
  4435. prio:
  4436. type: string
  4437. enum:
  4438. - low
  4439. - medium
  4440. - high
  4441. completed:
  4442. type:
  4443. - boolean
  4444. - 'null'
  4445. taskNotes:
  4446. description: 'array<int, TaskNoteApi>'
  4447. type: array
  4448. items:
  4449. $ref: '#/components/schemas/TaskNote.jsonld'
  4450. createdAt:
  4451. readOnly: true
  4452. type:
  4453. - string
  4454. - 'null'
  4455. format: date-time
  4456. TaskNote:
  4457. type: object
  4458. description: ''
  4459. deprecated: false
  4460. required:
  4461. - message
  4462. properties:
  4463. message:
  4464. type:
  4465. - string
  4466. - 'null'
  4467. owner:
  4468. readOnly: true
  4469. 'owl:maxCardinality': 1
  4470. type: string
  4471. format: iri-reference
  4472. example: 'https://example.com/'
  4473. ownerName:
  4474. readOnly: true
  4475. type:
  4476. - string
  4477. - 'null'
  4478. task:
  4479. 'owl:maxCardinality': 1
  4480. type:
  4481. - string
  4482. - 'null'
  4483. format: iri-reference
  4484. example: 'https://example.com/'
  4485. createdAt:
  4486. readOnly: true
  4487. type:
  4488. - string
  4489. - 'null'
  4490. format: date-time
  4491. TaskNote.jsonhal:
  4492. type: object
  4493. description: ''
  4494. deprecated: false
  4495. required:
  4496. - message
  4497. properties:
  4498. _links:
  4499. type: object
  4500. properties:
  4501. self:
  4502. type: object
  4503. properties:
  4504. href:
  4505. type: string
  4506. format: iri-reference
  4507. message:
  4508. type:
  4509. - string
  4510. - 'null'
  4511. owner:
  4512. readOnly: true
  4513. 'owl:maxCardinality': 1
  4514. type: string
  4515. format: iri-reference
  4516. example: 'https://example.com/'
  4517. ownerName:
  4518. readOnly: true
  4519. type:
  4520. - string
  4521. - 'null'
  4522. task:
  4523. 'owl:maxCardinality': 1
  4524. type:
  4525. - string
  4526. - 'null'
  4527. format: iri-reference
  4528. example: 'https://example.com/'
  4529. createdAt:
  4530. readOnly: true
  4531. type:
  4532. - string
  4533. - 'null'
  4534. format: date-time
  4535. TaskNote.jsonld:
  4536. type: object
  4537. description: ''
  4538. deprecated: false
  4539. required:
  4540. - message
  4541. properties:
  4542. '@context':
  4543. readOnly: true
  4544. oneOf:
  4545. -
  4546. type: string
  4547. -
  4548. type: object
  4549. properties:
  4550. '@vocab':
  4551. type: string
  4552. hydra:
  4553. type: string
  4554. enum: ['http://www.w3.org/ns/hydra/core#']
  4555. required:
  4556. - '@vocab'
  4557. - hydra
  4558. additionalProperties: true
  4559. '@id':
  4560. readOnly: true
  4561. type: string
  4562. '@type':
  4563. readOnly: true
  4564. type: string
  4565. message:
  4566. type:
  4567. - string
  4568. - 'null'
  4569. owner:
  4570. readOnly: true
  4571. 'owl:maxCardinality': 1
  4572. type: string
  4573. format: iri-reference
  4574. example: 'https://example.com/'
  4575. ownerName:
  4576. readOnly: true
  4577. type:
  4578. - string
  4579. - 'null'
  4580. task:
  4581. 'owl:maxCardinality': 1
  4582. type:
  4583. - string
  4584. - 'null'
  4585. format: iri-reference
  4586. example: 'https://example.com/'
  4587. createdAt:
  4588. readOnly: true
  4589. type:
  4590. - string
  4591. - 'null'
  4592. format: date-time
  4593. User:
  4594. type: object
  4595. description: ''
  4596. deprecated: false
  4597. required:
  4598. - email
  4599. - firstName
  4600. - lastName
  4601. properties:
  4602. email:
  4603. format: email
  4604. externalDocs:
  4605. url: 'https://schema.org/email'
  4606. type:
  4607. - string
  4608. - 'null'
  4609. firstName:
  4610. type:
  4611. - string
  4612. - 'null'
  4613. lastName:
  4614. type:
  4615. - string
  4616. - 'null'
  4617. image:
  4618. 'owl:maxCardinality': 1
  4619. type:
  4620. - string
  4621. - 'null'
  4622. format: iri-reference
  4623. example: 'https://example.com/'
  4624. password:
  4625. writeOnly: true
  4626. description: 'The plaintext password when being set or changed.'
  4627. type:
  4628. - string
  4629. - 'null'
  4630. active:
  4631. type: boolean
  4632. createdAt:
  4633. readOnly: true
  4634. type:
  4635. - string
  4636. - 'null'
  4637. format: date-time
  4638. User.jsonhal:
  4639. type: object
  4640. description: ''
  4641. deprecated: false
  4642. required:
  4643. - email
  4644. - firstName
  4645. - lastName
  4646. properties:
  4647. _links:
  4648. type: object
  4649. properties:
  4650. self:
  4651. type: object
  4652. properties:
  4653. href:
  4654. type: string
  4655. format: iri-reference
  4656. email:
  4657. format: email
  4658. externalDocs:
  4659. url: 'https://schema.org/email'
  4660. type:
  4661. - string
  4662. - 'null'
  4663. firstName:
  4664. type:
  4665. - string
  4666. - 'null'
  4667. lastName:
  4668. type:
  4669. - string
  4670. - 'null'
  4671. image:
  4672. 'owl:maxCardinality': 1
  4673. type:
  4674. - string
  4675. - 'null'
  4676. format: iri-reference
  4677. example: 'https://example.com/'
  4678. password:
  4679. writeOnly: true
  4680. description: 'The plaintext password when being set or changed.'
  4681. type:
  4682. - string
  4683. - 'null'
  4684. active:
  4685. type: boolean
  4686. createdAt:
  4687. readOnly: true
  4688. type:
  4689. - string
  4690. - 'null'
  4691. format: date-time
  4692. User.jsonld:
  4693. type: object
  4694. description: ''
  4695. deprecated: false
  4696. required:
  4697. - email
  4698. - firstName
  4699. - lastName
  4700. properties:
  4701. '@context':
  4702. readOnly: true
  4703. oneOf:
  4704. -
  4705. type: string
  4706. -
  4707. type: object
  4708. properties:
  4709. '@vocab':
  4710. type: string
  4711. hydra:
  4712. type: string
  4713. enum: ['http://www.w3.org/ns/hydra/core#']
  4714. required:
  4715. - '@vocab'
  4716. - hydra
  4717. additionalProperties: true
  4718. '@id':
  4719. readOnly: true
  4720. type: string
  4721. '@type':
  4722. readOnly: true
  4723. type: string
  4724. email:
  4725. format: email
  4726. externalDocs:
  4727. url: 'https://schema.org/email'
  4728. type:
  4729. - string
  4730. - 'null'
  4731. firstName:
  4732. type:
  4733. - string
  4734. - 'null'
  4735. lastName:
  4736. type:
  4737. - string
  4738. - 'null'
  4739. image:
  4740. 'owl:maxCardinality': 1
  4741. type:
  4742. - string
  4743. - 'null'
  4744. format: iri-reference
  4745. example: 'https://example.com/'
  4746. password:
  4747. writeOnly: true
  4748. description: 'The plaintext password when being set or changed.'
  4749. type:
  4750. - string
  4751. - 'null'
  4752. active:
  4753. type: boolean
  4754. createdAt:
  4755. readOnly: true
  4756. type:
  4757. - string
  4758. - 'null'
  4759. format: date-time
  4760. responses: { }
  4761. parameters: { }
  4762. examples: { }
  4763. requestBodies: { }
  4764. headers: { }
  4765. securitySchemes:
  4766. JWT:
  4767. type: http
  4768. scheme: bearer
  4769. bearerFormat: JWT
  4770. security:
  4771. -
  4772. JWT: []
  4773. tags: []