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.
 
 
 
 

7216 lignes
213 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. -
  83. name: posting
  84. in: query
  85. description: ''
  86. required: false
  87. deprecated: false
  88. allowEmptyValue: true
  89. schema:
  90. type: string
  91. style: form
  92. explode: false
  93. allowReserved: false
  94. -
  95. name: 'posting[]'
  96. in: query
  97. description: ''
  98. required: false
  99. deprecated: false
  100. allowEmptyValue: true
  101. schema:
  102. type: array
  103. items:
  104. type: string
  105. style: form
  106. explode: true
  107. allowReserved: false
  108. -
  109. name: owner
  110. in: query
  111. description: ''
  112. required: false
  113. deprecated: false
  114. allowEmptyValue: true
  115. schema:
  116. type: string
  117. style: form
  118. explode: false
  119. allowReserved: false
  120. -
  121. name: 'owner[]'
  122. in: query
  123. description: ''
  124. required: false
  125. deprecated: false
  126. allowEmptyValue: true
  127. schema:
  128. type: array
  129. items:
  130. type: string
  131. style: form
  132. explode: true
  133. allowReserved: false
  134. deprecated: false
  135. post:
  136. operationId: api_comments_post
  137. tags:
  138. - Comment
  139. responses:
  140. 201:
  141. description: 'Comment resource created'
  142. content:
  143. application/ld+json:
  144. schema:
  145. $ref: '#/components/schemas/Comment.jsonld'
  146. application/json:
  147. schema:
  148. $ref: '#/components/schemas/Comment'
  149. text/html:
  150. schema:
  151. $ref: '#/components/schemas/Comment'
  152. application/hal+json:
  153. schema:
  154. $ref: '#/components/schemas/Comment.jsonhal'
  155. links: { }
  156. 400:
  157. description: 'Invalid input'
  158. 422:
  159. description: 'Unprocessable entity'
  160. summary: 'Creates a Comment resource.'
  161. description: 'Creates a Comment resource.'
  162. parameters: []
  163. requestBody:
  164. description: 'The new Comment resource'
  165. content:
  166. application/ld+json:
  167. schema:
  168. $ref: '#/components/schemas/Comment.jsonld'
  169. application/json:
  170. schema:
  171. $ref: '#/components/schemas/Comment'
  172. text/html:
  173. schema:
  174. $ref: '#/components/schemas/Comment'
  175. application/hal+json:
  176. schema:
  177. $ref: '#/components/schemas/Comment.jsonhal'
  178. required: true
  179. deprecated: false
  180. parameters: []
  181. '/api/comments/{id}':
  182. get:
  183. operationId: api_comments_id_get
  184. tags:
  185. - Comment
  186. responses:
  187. 200:
  188. description: 'Comment resource'
  189. content:
  190. application/ld+json:
  191. schema:
  192. $ref: '#/components/schemas/Comment.jsonld'
  193. application/json:
  194. schema:
  195. $ref: '#/components/schemas/Comment'
  196. text/html:
  197. schema:
  198. $ref: '#/components/schemas/Comment'
  199. application/hal+json:
  200. schema:
  201. $ref: '#/components/schemas/Comment.jsonhal'
  202. 404:
  203. description: 'Resource not found'
  204. summary: 'Retrieves a Comment resource.'
  205. description: 'Retrieves a Comment resource.'
  206. parameters:
  207. -
  208. name: id
  209. in: path
  210. description: 'CommentApi identifier'
  211. required: true
  212. deprecated: false
  213. allowEmptyValue: false
  214. schema:
  215. type: string
  216. style: simple
  217. explode: false
  218. allowReserved: false
  219. deprecated: false
  220. patch:
  221. operationId: api_comments_id_patch
  222. tags:
  223. - Comment
  224. responses:
  225. 200:
  226. description: 'Comment resource updated'
  227. content:
  228. application/ld+json:
  229. schema:
  230. $ref: '#/components/schemas/Comment.jsonld'
  231. application/json:
  232. schema:
  233. $ref: '#/components/schemas/Comment'
  234. text/html:
  235. schema:
  236. $ref: '#/components/schemas/Comment'
  237. application/hal+json:
  238. schema:
  239. $ref: '#/components/schemas/Comment.jsonhal'
  240. links: { }
  241. 400:
  242. description: 'Invalid input'
  243. 422:
  244. description: 'Unprocessable entity'
  245. 404:
  246. description: 'Resource not found'
  247. summary: 'Updates the Comment resource.'
  248. description: 'Updates the Comment resource.'
  249. parameters:
  250. -
  251. name: id
  252. in: path
  253. description: 'CommentApi identifier'
  254. required: true
  255. deprecated: false
  256. allowEmptyValue: false
  257. schema:
  258. type: string
  259. style: simple
  260. explode: false
  261. allowReserved: false
  262. requestBody:
  263. description: 'The updated Comment resource'
  264. content:
  265. application/merge-patch+json:
  266. schema:
  267. $ref: '#/components/schemas/Comment'
  268. required: true
  269. deprecated: false
  270. parameters: []
  271. /api/contact_partner_products:
  272. get:
  273. operationId: api_contact_partner_products_get_collection
  274. tags:
  275. - ContactPartnerProduct
  276. responses:
  277. 200:
  278. description: 'ContactPartnerProduct collection'
  279. content:
  280. application/ld+json:
  281. schema:
  282. type: object
  283. properties:
  284. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/ContactPartnerProduct.jsonld' } }
  285. 'hydra:totalItems': { type: integer, minimum: 0 }
  286. '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 } }
  287. '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 } } } } } }
  288. required:
  289. - 'hydra:member'
  290. application/json:
  291. schema:
  292. type: array
  293. items:
  294. $ref: '#/components/schemas/ContactPartnerProduct'
  295. text/html:
  296. schema:
  297. type: array
  298. items:
  299. $ref: '#/components/schemas/ContactPartnerProduct'
  300. application/hal+json:
  301. schema:
  302. type: object
  303. properties:
  304. _embedded: { type: array, items: { $ref: '#/components/schemas/ContactPartnerProduct.jsonhal' } }
  305. totalItems: { type: integer, minimum: 0 }
  306. itemsPerPage: { type: integer, minimum: 0 }
  307. _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 } } } } }
  308. required:
  309. - _links
  310. - _embedded
  311. summary: 'Retrieves the collection of ContactPartnerProduct resources.'
  312. description: 'Retrieves the collection of ContactPartnerProduct resources.'
  313. parameters:
  314. -
  315. name: page
  316. in: query
  317. description: 'The collection page number'
  318. required: false
  319. deprecated: false
  320. allowEmptyValue: true
  321. schema:
  322. type: integer
  323. default: 1
  324. style: form
  325. explode: false
  326. allowReserved: false
  327. -
  328. name: itemsPerPage
  329. in: query
  330. description: 'The number of items per page'
  331. required: false
  332. deprecated: false
  333. allowEmptyValue: true
  334. schema:
  335. type: integer
  336. default: 10
  337. minimum: 0
  338. maximum: 50
  339. style: form
  340. explode: false
  341. allowReserved: false
  342. -
  343. name: contact
  344. in: query
  345. description: ''
  346. required: false
  347. deprecated: false
  348. allowEmptyValue: true
  349. schema:
  350. type: string
  351. style: form
  352. explode: false
  353. allowReserved: false
  354. -
  355. name: 'contact[]'
  356. in: query
  357. description: ''
  358. required: false
  359. deprecated: false
  360. allowEmptyValue: true
  361. schema:
  362. type: array
  363. items:
  364. type: string
  365. style: form
  366. explode: true
  367. allowReserved: false
  368. deprecated: false
  369. post:
  370. operationId: api_contact_partner_products_post
  371. tags:
  372. - ContactPartnerProduct
  373. responses:
  374. 201:
  375. description: 'ContactPartnerProduct resource created'
  376. content:
  377. application/ld+json:
  378. schema:
  379. $ref: '#/components/schemas/ContactPartnerProduct.jsonld'
  380. application/json:
  381. schema:
  382. $ref: '#/components/schemas/ContactPartnerProduct'
  383. text/html:
  384. schema:
  385. $ref: '#/components/schemas/ContactPartnerProduct'
  386. application/hal+json:
  387. schema:
  388. $ref: '#/components/schemas/ContactPartnerProduct.jsonhal'
  389. links: { }
  390. 400:
  391. description: 'Invalid input'
  392. 422:
  393. description: 'Unprocessable entity'
  394. summary: 'Creates a ContactPartnerProduct resource.'
  395. description: 'Creates a ContactPartnerProduct resource.'
  396. parameters: []
  397. requestBody:
  398. description: 'The new ContactPartnerProduct resource'
  399. content:
  400. application/ld+json:
  401. schema:
  402. $ref: '#/components/schemas/ContactPartnerProduct.jsonld'
  403. application/json:
  404. schema:
  405. $ref: '#/components/schemas/ContactPartnerProduct'
  406. text/html:
  407. schema:
  408. $ref: '#/components/schemas/ContactPartnerProduct'
  409. application/hal+json:
  410. schema:
  411. $ref: '#/components/schemas/ContactPartnerProduct.jsonhal'
  412. required: true
  413. deprecated: false
  414. parameters: []
  415. '/api/contact_partner_products/{id}':
  416. get:
  417. operationId: api_contact_partner_products_id_get
  418. tags:
  419. - ContactPartnerProduct
  420. responses:
  421. 200:
  422. description: 'ContactPartnerProduct resource'
  423. content:
  424. application/ld+json:
  425. schema:
  426. $ref: '#/components/schemas/ContactPartnerProduct.jsonld'
  427. application/json:
  428. schema:
  429. $ref: '#/components/schemas/ContactPartnerProduct'
  430. text/html:
  431. schema:
  432. $ref: '#/components/schemas/ContactPartnerProduct'
  433. application/hal+json:
  434. schema:
  435. $ref: '#/components/schemas/ContactPartnerProduct.jsonhal'
  436. 404:
  437. description: 'Resource not found'
  438. summary: 'Retrieves a ContactPartnerProduct resource.'
  439. description: 'Retrieves a ContactPartnerProduct resource.'
  440. parameters:
  441. -
  442. name: id
  443. in: path
  444. description: 'ContactPartnerProductApi identifier'
  445. required: true
  446. deprecated: false
  447. allowEmptyValue: false
  448. schema:
  449. type: string
  450. style: simple
  451. explode: false
  452. allowReserved: false
  453. deprecated: false
  454. delete:
  455. operationId: api_contact_partner_products_id_delete
  456. tags:
  457. - ContactPartnerProduct
  458. responses:
  459. 204:
  460. description: 'ContactPartnerProduct resource deleted'
  461. 404:
  462. description: 'Resource not found'
  463. summary: 'Removes the ContactPartnerProduct resource.'
  464. description: 'Removes the ContactPartnerProduct resource.'
  465. parameters:
  466. -
  467. name: id
  468. in: path
  469. description: 'ContactPartnerProductApi identifier'
  470. required: true
  471. deprecated: false
  472. allowEmptyValue: false
  473. schema:
  474. type: string
  475. style: simple
  476. explode: false
  477. allowReserved: false
  478. deprecated: false
  479. parameters: []
  480. /api/contacts:
  481. get:
  482. operationId: api_contacts_get_collection
  483. tags:
  484. - Contact
  485. responses:
  486. 200:
  487. description: 'Contact collection'
  488. content:
  489. application/ld+json:
  490. schema:
  491. type: object
  492. properties:
  493. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Contact.jsonld' } }
  494. 'hydra:totalItems': { type: integer, minimum: 0 }
  495. '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 } }
  496. '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 } } } } } }
  497. required:
  498. - 'hydra:member'
  499. application/json:
  500. schema:
  501. type: array
  502. items:
  503. $ref: '#/components/schemas/Contact'
  504. text/html:
  505. schema:
  506. type: array
  507. items:
  508. $ref: '#/components/schemas/Contact'
  509. application/hal+json:
  510. schema:
  511. type: object
  512. properties:
  513. _embedded: { type: array, items: { $ref: '#/components/schemas/Contact.jsonhal' } }
  514. totalItems: { type: integer, minimum: 0 }
  515. itemsPerPage: { type: integer, minimum: 0 }
  516. _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 } } } } }
  517. required:
  518. - _links
  519. - _embedded
  520. summary: 'Retrieves the collection of Contact resources.'
  521. description: 'Retrieves the collection of Contact resources.'
  522. parameters:
  523. -
  524. name: page
  525. in: query
  526. description: 'The collection page number'
  527. required: false
  528. deprecated: false
  529. allowEmptyValue: true
  530. schema:
  531. type: integer
  532. default: 1
  533. style: form
  534. explode: false
  535. allowReserved: false
  536. -
  537. name: itemsPerPage
  538. in: query
  539. description: 'The number of items per page'
  540. required: false
  541. deprecated: false
  542. allowEmptyValue: true
  543. schema:
  544. type: integer
  545. default: 10
  546. minimum: 0
  547. maximum: 50
  548. style: form
  549. explode: false
  550. allowReserved: false
  551. -
  552. name: partner
  553. in: query
  554. description: ''
  555. required: false
  556. deprecated: false
  557. allowEmptyValue: true
  558. schema:
  559. type: string
  560. style: form
  561. explode: false
  562. allowReserved: false
  563. -
  564. name: 'partner[]'
  565. in: query
  566. description: ''
  567. required: false
  568. deprecated: false
  569. allowEmptyValue: true
  570. schema:
  571. type: array
  572. items:
  573. type: string
  574. style: form
  575. explode: true
  576. allowReserved: false
  577. deprecated: false
  578. post:
  579. operationId: api_contacts_post
  580. tags:
  581. - Contact
  582. responses:
  583. 201:
  584. description: 'Contact resource created'
  585. content:
  586. application/ld+json:
  587. schema:
  588. $ref: '#/components/schemas/Contact.jsonld'
  589. application/json:
  590. schema:
  591. $ref: '#/components/schemas/Contact'
  592. text/html:
  593. schema:
  594. $ref: '#/components/schemas/Contact'
  595. application/hal+json:
  596. schema:
  597. $ref: '#/components/schemas/Contact.jsonhal'
  598. links: { }
  599. 400:
  600. description: 'Invalid input'
  601. 422:
  602. description: 'Unprocessable entity'
  603. summary: 'Creates a Contact resource.'
  604. description: 'Creates a Contact resource.'
  605. parameters: []
  606. requestBody:
  607. description: 'The new Contact resource'
  608. content:
  609. application/ld+json:
  610. schema:
  611. $ref: '#/components/schemas/Contact.jsonld'
  612. application/json:
  613. schema:
  614. $ref: '#/components/schemas/Contact'
  615. text/html:
  616. schema:
  617. $ref: '#/components/schemas/Contact'
  618. application/hal+json:
  619. schema:
  620. $ref: '#/components/schemas/Contact.jsonhal'
  621. required: true
  622. deprecated: false
  623. parameters: []
  624. '/api/contacts/{id}':
  625. get:
  626. operationId: api_contacts_id_get
  627. tags:
  628. - Contact
  629. responses:
  630. 200:
  631. description: 'Contact resource'
  632. content:
  633. application/ld+json:
  634. schema:
  635. $ref: '#/components/schemas/Contact.jsonld'
  636. application/json:
  637. schema:
  638. $ref: '#/components/schemas/Contact'
  639. text/html:
  640. schema:
  641. $ref: '#/components/schemas/Contact'
  642. application/hal+json:
  643. schema:
  644. $ref: '#/components/schemas/Contact.jsonhal'
  645. 404:
  646. description: 'Resource not found'
  647. summary: 'Retrieves a Contact resource.'
  648. description: 'Retrieves a Contact resource.'
  649. parameters:
  650. -
  651. name: id
  652. in: path
  653. description: 'ContactApi identifier'
  654. required: true
  655. deprecated: false
  656. allowEmptyValue: false
  657. schema:
  658. type: string
  659. style: simple
  660. explode: false
  661. allowReserved: false
  662. deprecated: false
  663. patch:
  664. operationId: api_contacts_id_patch
  665. tags:
  666. - Contact
  667. responses:
  668. 200:
  669. description: 'Contact resource updated'
  670. content:
  671. application/ld+json:
  672. schema:
  673. $ref: '#/components/schemas/Contact.jsonld'
  674. application/json:
  675. schema:
  676. $ref: '#/components/schemas/Contact'
  677. text/html:
  678. schema:
  679. $ref: '#/components/schemas/Contact'
  680. application/hal+json:
  681. schema:
  682. $ref: '#/components/schemas/Contact.jsonhal'
  683. links: { }
  684. 400:
  685. description: 'Invalid input'
  686. 422:
  687. description: 'Unprocessable entity'
  688. 404:
  689. description: 'Resource not found'
  690. summary: 'Updates the Contact resource.'
  691. description: 'Updates the Contact resource.'
  692. parameters:
  693. -
  694. name: id
  695. in: path
  696. description: 'ContactApi identifier'
  697. required: true
  698. deprecated: false
  699. allowEmptyValue: false
  700. schema:
  701. type: string
  702. style: simple
  703. explode: false
  704. allowReserved: false
  705. requestBody:
  706. description: 'The updated Contact resource'
  707. content:
  708. application/merge-patch+json:
  709. schema:
  710. $ref: '#/components/schemas/Contact'
  711. required: true
  712. deprecated: false
  713. parameters: []
  714. /api/document_objects:
  715. get:
  716. operationId: api_document_objects_get_collection
  717. tags:
  718. - DocumentObject
  719. responses:
  720. 200:
  721. description: 'DocumentObject collection'
  722. content:
  723. application/ld+json:
  724. schema:
  725. type: object
  726. properties:
  727. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/DocumentObject.jsonld-document_object.read' } }
  728. 'hydra:totalItems': { type: integer, minimum: 0 }
  729. '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 } }
  730. '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 } } } } } }
  731. required:
  732. - 'hydra:member'
  733. application/json:
  734. schema:
  735. type: array
  736. items:
  737. $ref: '#/components/schemas/DocumentObject-document_object.read'
  738. text/html:
  739. schema:
  740. type: array
  741. items:
  742. $ref: '#/components/schemas/DocumentObject-document_object.read'
  743. application/hal+json:
  744. schema:
  745. type: object
  746. properties:
  747. _embedded: { type: array, items: { $ref: '#/components/schemas/DocumentObject.jsonhal-document_object.read' } }
  748. totalItems: { type: integer, minimum: 0 }
  749. itemsPerPage: { type: integer, minimum: 0 }
  750. _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 } } } } }
  751. required:
  752. - _links
  753. - _embedded
  754. summary: 'Retrieves the collection of DocumentObject resources.'
  755. description: 'Retrieves the collection of DocumentObject resources.'
  756. parameters:
  757. -
  758. name: page
  759. in: query
  760. description: 'The collection page number'
  761. required: false
  762. deprecated: false
  763. allowEmptyValue: true
  764. schema:
  765. type: integer
  766. default: 1
  767. style: form
  768. explode: false
  769. allowReserved: false
  770. -
  771. name: itemsPerPage
  772. in: query
  773. description: 'The number of items per page'
  774. required: false
  775. deprecated: false
  776. allowEmptyValue: true
  777. schema:
  778. type: integer
  779. default: 10
  780. minimum: 0
  781. maximum: 50
  782. style: form
  783. explode: false
  784. allowReserved: false
  785. deprecated: false
  786. post:
  787. operationId: api_document_objects_post
  788. tags:
  789. - DocumentObject
  790. responses:
  791. 201:
  792. description: 'DocumentObject resource created'
  793. content:
  794. application/ld+json:
  795. schema:
  796. $ref: '#/components/schemas/DocumentObject.jsonld-document_object.read'
  797. application/json:
  798. schema:
  799. $ref: '#/components/schemas/DocumentObject-document_object.read'
  800. text/html:
  801. schema:
  802. $ref: '#/components/schemas/DocumentObject-document_object.read'
  803. application/hal+json:
  804. schema:
  805. $ref: '#/components/schemas/DocumentObject.jsonhal-document_object.read'
  806. links: { }
  807. 400:
  808. description: 'Invalid input'
  809. 422:
  810. description: 'Unprocessable entity'
  811. summary: 'Creates a DocumentObject resource.'
  812. description: 'Creates a DocumentObject resource.'
  813. parameters: []
  814. requestBody:
  815. description: ''
  816. content:
  817. multipart/form-data:
  818. schema:
  819. type: object
  820. properties:
  821. file:
  822. type: string
  823. format: binary
  824. required: false
  825. deprecated: false
  826. parameters: []
  827. '/api/document_objects/{id}':
  828. get:
  829. operationId: api_document_objects_id_get
  830. tags:
  831. - DocumentObject
  832. responses:
  833. 200:
  834. description: 'DocumentObject resource'
  835. content:
  836. application/ld+json:
  837. schema:
  838. $ref: '#/components/schemas/DocumentObject.jsonld-document_object.read'
  839. application/json:
  840. schema:
  841. $ref: '#/components/schemas/DocumentObject-document_object.read'
  842. text/html:
  843. schema:
  844. $ref: '#/components/schemas/DocumentObject-document_object.read'
  845. application/hal+json:
  846. schema:
  847. $ref: '#/components/schemas/DocumentObject.jsonhal-document_object.read'
  848. 404:
  849. description: 'Resource not found'
  850. summary: 'Retrieves a DocumentObject resource.'
  851. description: 'Retrieves a DocumentObject resource.'
  852. parameters:
  853. -
  854. name: id
  855. in: path
  856. description: 'DocumentObject identifier'
  857. required: true
  858. deprecated: false
  859. allowEmptyValue: false
  860. schema:
  861. type: string
  862. style: simple
  863. explode: false
  864. allowReserved: false
  865. deprecated: false
  866. delete:
  867. operationId: api_document_objects_id_delete
  868. tags:
  869. - DocumentObject
  870. responses:
  871. 204:
  872. description: 'DocumentObject resource deleted'
  873. 404:
  874. description: 'Resource not found'
  875. summary: 'Removes the DocumentObject resource.'
  876. description: 'Removes the DocumentObject resource.'
  877. parameters:
  878. -
  879. name: id
  880. in: path
  881. description: 'DocumentObject identifier'
  882. required: true
  883. deprecated: false
  884. allowEmptyValue: false
  885. schema:
  886. type: string
  887. style: simple
  888. explode: false
  889. allowReserved: false
  890. deprecated: false
  891. parameters: []
  892. /api/documents:
  893. get:
  894. operationId: api_documents_get_collection
  895. tags:
  896. - Document
  897. responses:
  898. 200:
  899. description: 'Document collection'
  900. content:
  901. application/ld+json:
  902. schema:
  903. type: object
  904. properties:
  905. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Document.jsonld' } }
  906. 'hydra:totalItems': { type: integer, minimum: 0 }
  907. '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 } }
  908. '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 } } } } } }
  909. required:
  910. - 'hydra:member'
  911. application/json:
  912. schema:
  913. type: array
  914. items:
  915. $ref: '#/components/schemas/Document'
  916. text/html:
  917. schema:
  918. type: array
  919. items:
  920. $ref: '#/components/schemas/Document'
  921. application/hal+json:
  922. schema:
  923. type: object
  924. properties:
  925. _embedded: { type: array, items: { $ref: '#/components/schemas/Document.jsonhal' } }
  926. totalItems: { type: integer, minimum: 0 }
  927. itemsPerPage: { type: integer, minimum: 0 }
  928. _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 } } } } }
  929. required:
  930. - _links
  931. - _embedded
  932. summary: 'Retrieves the collection of Document resources.'
  933. description: 'Retrieves the collection of Document resources.'
  934. parameters:
  935. -
  936. name: page
  937. in: query
  938. description: 'The collection page number'
  939. required: false
  940. deprecated: false
  941. allowEmptyValue: true
  942. schema:
  943. type: integer
  944. default: 1
  945. style: form
  946. explode: false
  947. allowReserved: false
  948. -
  949. name: itemsPerPage
  950. in: query
  951. description: 'The number of items per page'
  952. required: false
  953. deprecated: false
  954. allowEmptyValue: true
  955. schema:
  956. type: integer
  957. default: 10
  958. minimum: 0
  959. maximum: 50
  960. style: form
  961. explode: false
  962. allowReserved: false
  963. -
  964. name: createdBy
  965. in: query
  966. description: ''
  967. required: false
  968. deprecated: false
  969. allowEmptyValue: true
  970. schema:
  971. type: string
  972. style: form
  973. explode: false
  974. allowReserved: false
  975. -
  976. name: 'createdBy[]'
  977. in: query
  978. description: ''
  979. required: false
  980. deprecated: false
  981. allowEmptyValue: true
  982. schema:
  983. type: array
  984. items:
  985. type: string
  986. style: form
  987. explode: true
  988. allowReserved: false
  989. -
  990. name: partner
  991. in: query
  992. description: ''
  993. required: false
  994. deprecated: false
  995. allowEmptyValue: true
  996. schema:
  997. type: string
  998. style: form
  999. explode: false
  1000. allowReserved: false
  1001. -
  1002. name: 'partner[]'
  1003. in: query
  1004. description: ''
  1005. required: false
  1006. deprecated: false
  1007. allowEmptyValue: true
  1008. schema:
  1009. type: array
  1010. items:
  1011. type: string
  1012. style: form
  1013. explode: true
  1014. allowReserved: false
  1015. -
  1016. name: product
  1017. in: query
  1018. description: ''
  1019. required: false
  1020. deprecated: false
  1021. allowEmptyValue: true
  1022. schema:
  1023. type: string
  1024. style: form
  1025. explode: false
  1026. allowReserved: false
  1027. -
  1028. name: 'product[]'
  1029. in: query
  1030. description: ''
  1031. required: false
  1032. deprecated: false
  1033. allowEmptyValue: true
  1034. schema:
  1035. type: array
  1036. items:
  1037. type: string
  1038. style: form
  1039. explode: true
  1040. allowReserved: false
  1041. deprecated: false
  1042. post:
  1043. operationId: api_documents_post
  1044. tags:
  1045. - Document
  1046. responses:
  1047. 201:
  1048. description: 'Document resource created'
  1049. content:
  1050. application/ld+json:
  1051. schema:
  1052. $ref: '#/components/schemas/Document.jsonld'
  1053. application/json:
  1054. schema:
  1055. $ref: '#/components/schemas/Document'
  1056. text/html:
  1057. schema:
  1058. $ref: '#/components/schemas/Document'
  1059. application/hal+json:
  1060. schema:
  1061. $ref: '#/components/schemas/Document.jsonhal'
  1062. links: { }
  1063. 400:
  1064. description: 'Invalid input'
  1065. 422:
  1066. description: 'Unprocessable entity'
  1067. summary: 'Creates a Document resource.'
  1068. description: 'Creates a Document resource.'
  1069. parameters: []
  1070. requestBody:
  1071. description: 'The new Document resource'
  1072. content:
  1073. application/ld+json:
  1074. schema:
  1075. $ref: '#/components/schemas/Document.jsonld'
  1076. application/json:
  1077. schema:
  1078. $ref: '#/components/schemas/Document'
  1079. text/html:
  1080. schema:
  1081. $ref: '#/components/schemas/Document'
  1082. application/hal+json:
  1083. schema:
  1084. $ref: '#/components/schemas/Document.jsonhal'
  1085. required: true
  1086. deprecated: false
  1087. parameters: []
  1088. '/api/documents/{id}':
  1089. get:
  1090. operationId: api_documents_id_get
  1091. tags:
  1092. - Document
  1093. responses:
  1094. 200:
  1095. description: 'Document resource'
  1096. content:
  1097. application/ld+json:
  1098. schema:
  1099. $ref: '#/components/schemas/Document.jsonld'
  1100. application/json:
  1101. schema:
  1102. $ref: '#/components/schemas/Document'
  1103. text/html:
  1104. schema:
  1105. $ref: '#/components/schemas/Document'
  1106. application/hal+json:
  1107. schema:
  1108. $ref: '#/components/schemas/Document.jsonhal'
  1109. 404:
  1110. description: 'Resource not found'
  1111. summary: 'Retrieves a Document resource.'
  1112. description: 'Retrieves a Document resource.'
  1113. parameters:
  1114. -
  1115. name: id
  1116. in: path
  1117. description: 'DocumentApi identifier'
  1118. required: true
  1119. deprecated: false
  1120. allowEmptyValue: false
  1121. schema:
  1122. type: string
  1123. style: simple
  1124. explode: false
  1125. allowReserved: false
  1126. deprecated: false
  1127. patch:
  1128. operationId: api_documents_id_patch
  1129. tags:
  1130. - Document
  1131. responses:
  1132. 200:
  1133. description: 'Document resource updated'
  1134. content:
  1135. application/ld+json:
  1136. schema:
  1137. $ref: '#/components/schemas/Document.jsonld'
  1138. application/json:
  1139. schema:
  1140. $ref: '#/components/schemas/Document'
  1141. text/html:
  1142. schema:
  1143. $ref: '#/components/schemas/Document'
  1144. application/hal+json:
  1145. schema:
  1146. $ref: '#/components/schemas/Document.jsonhal'
  1147. links: { }
  1148. 400:
  1149. description: 'Invalid input'
  1150. 422:
  1151. description: 'Unprocessable entity'
  1152. 404:
  1153. description: 'Resource not found'
  1154. summary: 'Updates the Document resource.'
  1155. description: 'Updates the Document resource.'
  1156. parameters:
  1157. -
  1158. name: id
  1159. in: path
  1160. description: 'DocumentApi identifier'
  1161. required: true
  1162. deprecated: false
  1163. allowEmptyValue: false
  1164. schema:
  1165. type: string
  1166. style: simple
  1167. explode: false
  1168. allowReserved: false
  1169. requestBody:
  1170. description: 'The updated Document resource'
  1171. content:
  1172. application/merge-patch+json:
  1173. schema:
  1174. $ref: '#/components/schemas/Document'
  1175. required: true
  1176. deprecated: false
  1177. parameters: []
  1178. /api/media_objects:
  1179. get:
  1180. operationId: api_media_objects_get_collection
  1181. tags:
  1182. - MediaObject
  1183. responses:
  1184. 200:
  1185. description: 'MediaObject collection'
  1186. content:
  1187. application/ld+json:
  1188. schema:
  1189. type: object
  1190. properties:
  1191. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/MediaObject.jsonld-media_object.read' } }
  1192. 'hydra:totalItems': { type: integer, minimum: 0 }
  1193. '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 } }
  1194. '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 } } } } } }
  1195. required:
  1196. - 'hydra:member'
  1197. application/json:
  1198. schema:
  1199. type: array
  1200. items:
  1201. $ref: '#/components/schemas/MediaObject-media_object.read'
  1202. text/html:
  1203. schema:
  1204. type: array
  1205. items:
  1206. $ref: '#/components/schemas/MediaObject-media_object.read'
  1207. application/hal+json:
  1208. schema:
  1209. type: object
  1210. properties:
  1211. _embedded: { type: array, items: { $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read' } }
  1212. totalItems: { type: integer, minimum: 0 }
  1213. itemsPerPage: { type: integer, minimum: 0 }
  1214. _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 } } } } }
  1215. required:
  1216. - _links
  1217. - _embedded
  1218. summary: 'Retrieves the collection of MediaObject resources.'
  1219. description: 'Retrieves the collection of MediaObject resources.'
  1220. parameters:
  1221. -
  1222. name: page
  1223. in: query
  1224. description: 'The collection page number'
  1225. required: false
  1226. deprecated: false
  1227. allowEmptyValue: true
  1228. schema:
  1229. type: integer
  1230. default: 1
  1231. style: form
  1232. explode: false
  1233. allowReserved: false
  1234. -
  1235. name: itemsPerPage
  1236. in: query
  1237. description: 'The number of items per page'
  1238. required: false
  1239. deprecated: false
  1240. allowEmptyValue: true
  1241. schema:
  1242. type: integer
  1243. default: 10
  1244. minimum: 0
  1245. maximum: 50
  1246. style: form
  1247. explode: false
  1248. allowReserved: false
  1249. deprecated: false
  1250. post:
  1251. operationId: api_media_objects_post
  1252. tags:
  1253. - MediaObject
  1254. responses:
  1255. 201:
  1256. description: 'MediaObject resource created'
  1257. content:
  1258. application/ld+json:
  1259. schema:
  1260. $ref: '#/components/schemas/MediaObject.jsonld-media_object.read'
  1261. application/json:
  1262. schema:
  1263. $ref: '#/components/schemas/MediaObject-media_object.read'
  1264. text/html:
  1265. schema:
  1266. $ref: '#/components/schemas/MediaObject-media_object.read'
  1267. application/hal+json:
  1268. schema:
  1269. $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read'
  1270. links: { }
  1271. 400:
  1272. description: 'Invalid input'
  1273. 422:
  1274. description: 'Unprocessable entity'
  1275. summary: 'Creates a MediaObject resource.'
  1276. description: 'Creates a MediaObject resource.'
  1277. parameters: []
  1278. requestBody:
  1279. description: ''
  1280. content:
  1281. multipart/form-data:
  1282. schema:
  1283. type: object
  1284. properties:
  1285. file:
  1286. type: string
  1287. format: binary
  1288. required: false
  1289. deprecated: false
  1290. parameters: []
  1291. '/api/media_objects/{id}':
  1292. get:
  1293. operationId: api_media_objects_id_get
  1294. tags:
  1295. - MediaObject
  1296. responses:
  1297. 200:
  1298. description: 'MediaObject resource'
  1299. content:
  1300. application/ld+json:
  1301. schema:
  1302. $ref: '#/components/schemas/MediaObject.jsonld-media_object.read'
  1303. application/json:
  1304. schema:
  1305. $ref: '#/components/schemas/MediaObject-media_object.read'
  1306. text/html:
  1307. schema:
  1308. $ref: '#/components/schemas/MediaObject-media_object.read'
  1309. application/hal+json:
  1310. schema:
  1311. $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read'
  1312. 404:
  1313. description: 'Resource not found'
  1314. summary: 'Retrieves a MediaObject resource.'
  1315. description: 'Retrieves a MediaObject resource.'
  1316. parameters:
  1317. -
  1318. name: id
  1319. in: path
  1320. description: 'MediaObject identifier'
  1321. required: true
  1322. deprecated: false
  1323. allowEmptyValue: false
  1324. schema:
  1325. type: string
  1326. style: simple
  1327. explode: false
  1328. allowReserved: false
  1329. deprecated: false
  1330. delete:
  1331. operationId: api_media_objects_id_delete
  1332. tags:
  1333. - MediaObject
  1334. responses:
  1335. 204:
  1336. description: 'MediaObject resource deleted'
  1337. 404:
  1338. description: 'Resource not found'
  1339. summary: 'Removes the MediaObject resource.'
  1340. description: 'Removes the MediaObject resource.'
  1341. parameters:
  1342. -
  1343. name: id
  1344. in: path
  1345. description: 'MediaObject identifier'
  1346. required: true
  1347. deprecated: false
  1348. allowEmptyValue: false
  1349. schema:
  1350. type: string
  1351. style: simple
  1352. explode: false
  1353. allowReserved: false
  1354. deprecated: false
  1355. parameters: []
  1356. /api/partner_follows:
  1357. get:
  1358. operationId: api_partner_follows_get_collection
  1359. tags:
  1360. - PartnerFollow
  1361. responses:
  1362. 200:
  1363. description: 'PartnerFollow collection'
  1364. content:
  1365. application/ld+json:
  1366. schema:
  1367. type: object
  1368. properties:
  1369. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/PartnerFollow.jsonld' } }
  1370. 'hydra:totalItems': { type: integer, minimum: 0 }
  1371. '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 } }
  1372. '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 } } } } } }
  1373. required:
  1374. - 'hydra:member'
  1375. application/json:
  1376. schema:
  1377. type: array
  1378. items:
  1379. $ref: '#/components/schemas/PartnerFollow'
  1380. text/html:
  1381. schema:
  1382. type: array
  1383. items:
  1384. $ref: '#/components/schemas/PartnerFollow'
  1385. application/hal+json:
  1386. schema:
  1387. type: object
  1388. properties:
  1389. _embedded: { type: array, items: { $ref: '#/components/schemas/PartnerFollow.jsonhal' } }
  1390. totalItems: { type: integer, minimum: 0 }
  1391. itemsPerPage: { type: integer, minimum: 0 }
  1392. _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 } } } } }
  1393. required:
  1394. - _links
  1395. - _embedded
  1396. summary: 'Retrieves the collection of PartnerFollow resources.'
  1397. description: 'Retrieves the collection of PartnerFollow resources.'
  1398. parameters:
  1399. -
  1400. name: page
  1401. in: query
  1402. description: 'The collection page number'
  1403. required: false
  1404. deprecated: false
  1405. allowEmptyValue: true
  1406. schema:
  1407. type: integer
  1408. default: 1
  1409. style: form
  1410. explode: false
  1411. allowReserved: false
  1412. -
  1413. name: itemsPerPage
  1414. in: query
  1415. description: 'The number of items per page'
  1416. required: false
  1417. deprecated: false
  1418. allowEmptyValue: true
  1419. schema:
  1420. type: integer
  1421. default: 10
  1422. minimum: 0
  1423. maximum: 50
  1424. style: form
  1425. explode: false
  1426. allowReserved: false
  1427. -
  1428. name: partner
  1429. in: query
  1430. description: ''
  1431. required: false
  1432. deprecated: false
  1433. allowEmptyValue: true
  1434. schema:
  1435. type: string
  1436. style: form
  1437. explode: false
  1438. allowReserved: false
  1439. -
  1440. name: 'partner[]'
  1441. in: query
  1442. description: ''
  1443. required: false
  1444. deprecated: false
  1445. allowEmptyValue: true
  1446. schema:
  1447. type: array
  1448. items:
  1449. type: string
  1450. style: form
  1451. explode: true
  1452. allowReserved: false
  1453. -
  1454. name: user
  1455. in: query
  1456. description: ''
  1457. required: false
  1458. deprecated: false
  1459. allowEmptyValue: true
  1460. schema:
  1461. type: string
  1462. style: form
  1463. explode: false
  1464. allowReserved: false
  1465. -
  1466. name: 'user[]'
  1467. in: query
  1468. description: ''
  1469. required: false
  1470. deprecated: false
  1471. allowEmptyValue: true
  1472. schema:
  1473. type: array
  1474. items:
  1475. type: string
  1476. style: form
  1477. explode: true
  1478. allowReserved: false
  1479. -
  1480. name: partner.type
  1481. in: query
  1482. description: ''
  1483. required: false
  1484. deprecated: false
  1485. allowEmptyValue: true
  1486. schema:
  1487. type: string
  1488. style: form
  1489. explode: false
  1490. allowReserved: false
  1491. -
  1492. name: 'partner.type[]'
  1493. in: query
  1494. description: ''
  1495. required: false
  1496. deprecated: false
  1497. allowEmptyValue: true
  1498. schema:
  1499. type: array
  1500. items:
  1501. type: string
  1502. style: form
  1503. explode: true
  1504. allowReserved: false
  1505. deprecated: false
  1506. post:
  1507. operationId: api_partner_follows_post
  1508. tags:
  1509. - PartnerFollow
  1510. responses:
  1511. 201:
  1512. description: 'PartnerFollow resource created'
  1513. content:
  1514. application/ld+json:
  1515. schema:
  1516. $ref: '#/components/schemas/PartnerFollow.jsonld'
  1517. application/json:
  1518. schema:
  1519. $ref: '#/components/schemas/PartnerFollow'
  1520. text/html:
  1521. schema:
  1522. $ref: '#/components/schemas/PartnerFollow'
  1523. application/hal+json:
  1524. schema:
  1525. $ref: '#/components/schemas/PartnerFollow.jsonhal'
  1526. links: { }
  1527. 400:
  1528. description: 'Invalid input'
  1529. 422:
  1530. description: 'Unprocessable entity'
  1531. summary: 'Creates a PartnerFollow resource.'
  1532. description: 'Creates a PartnerFollow resource.'
  1533. parameters: []
  1534. requestBody:
  1535. description: 'The new PartnerFollow resource'
  1536. content:
  1537. application/ld+json:
  1538. schema:
  1539. $ref: '#/components/schemas/PartnerFollow.jsonld'
  1540. application/json:
  1541. schema:
  1542. $ref: '#/components/schemas/PartnerFollow'
  1543. text/html:
  1544. schema:
  1545. $ref: '#/components/schemas/PartnerFollow'
  1546. application/hal+json:
  1547. schema:
  1548. $ref: '#/components/schemas/PartnerFollow.jsonhal'
  1549. required: true
  1550. deprecated: false
  1551. parameters: []
  1552. '/api/partner_follows/{id}':
  1553. get:
  1554. operationId: api_partner_follows_id_get
  1555. tags:
  1556. - PartnerFollow
  1557. responses:
  1558. 200:
  1559. description: 'PartnerFollow resource'
  1560. content:
  1561. application/ld+json:
  1562. schema:
  1563. $ref: '#/components/schemas/PartnerFollow.jsonld'
  1564. application/json:
  1565. schema:
  1566. $ref: '#/components/schemas/PartnerFollow'
  1567. text/html:
  1568. schema:
  1569. $ref: '#/components/schemas/PartnerFollow'
  1570. application/hal+json:
  1571. schema:
  1572. $ref: '#/components/schemas/PartnerFollow.jsonhal'
  1573. 404:
  1574. description: 'Resource not found'
  1575. summary: 'Retrieves a PartnerFollow resource.'
  1576. description: 'Retrieves a PartnerFollow resource.'
  1577. parameters:
  1578. -
  1579. name: id
  1580. in: path
  1581. description: 'PartnerFollowApi identifier'
  1582. required: true
  1583. deprecated: false
  1584. allowEmptyValue: false
  1585. schema:
  1586. type: string
  1587. style: simple
  1588. explode: false
  1589. allowReserved: false
  1590. deprecated: false
  1591. delete:
  1592. operationId: api_partner_follows_id_delete
  1593. tags:
  1594. - PartnerFollow
  1595. responses:
  1596. 204:
  1597. description: 'PartnerFollow resource deleted'
  1598. 404:
  1599. description: 'Resource not found'
  1600. summary: 'Removes the PartnerFollow resource.'
  1601. description: 'Removes the PartnerFollow resource.'
  1602. parameters:
  1603. -
  1604. name: id
  1605. in: path
  1606. description: 'PartnerFollowApi identifier'
  1607. required: true
  1608. deprecated: false
  1609. allowEmptyValue: false
  1610. schema:
  1611. type: string
  1612. style: simple
  1613. explode: false
  1614. allowReserved: false
  1615. deprecated: false
  1616. parameters: []
  1617. /api/partner_products:
  1618. get:
  1619. operationId: api_partner_products_get_collection
  1620. tags:
  1621. - PartnerProduct
  1622. responses:
  1623. 200:
  1624. description: 'PartnerProduct collection'
  1625. content:
  1626. application/ld+json:
  1627. schema:
  1628. type: object
  1629. properties:
  1630. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/PartnerProduct.jsonld' } }
  1631. 'hydra:totalItems': { type: integer, minimum: 0 }
  1632. '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 } }
  1633. '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 } } } } } }
  1634. required:
  1635. - 'hydra:member'
  1636. application/json:
  1637. schema:
  1638. type: array
  1639. items:
  1640. $ref: '#/components/schemas/PartnerProduct'
  1641. text/html:
  1642. schema:
  1643. type: array
  1644. items:
  1645. $ref: '#/components/schemas/PartnerProduct'
  1646. application/hal+json:
  1647. schema:
  1648. type: object
  1649. properties:
  1650. _embedded: { type: array, items: { $ref: '#/components/schemas/PartnerProduct.jsonhal' } }
  1651. totalItems: { type: integer, minimum: 0 }
  1652. itemsPerPage: { type: integer, minimum: 0 }
  1653. _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 } } } } }
  1654. required:
  1655. - _links
  1656. - _embedded
  1657. summary: 'Retrieves the collection of PartnerProduct resources.'
  1658. description: 'Retrieves the collection of PartnerProduct resources.'
  1659. parameters:
  1660. -
  1661. name: page
  1662. in: query
  1663. description: 'The collection page number'
  1664. required: false
  1665. deprecated: false
  1666. allowEmptyValue: true
  1667. schema:
  1668. type: integer
  1669. default: 1
  1670. style: form
  1671. explode: false
  1672. allowReserved: false
  1673. -
  1674. name: itemsPerPage
  1675. in: query
  1676. description: 'The number of items per page'
  1677. required: false
  1678. deprecated: false
  1679. allowEmptyValue: true
  1680. schema:
  1681. type: integer
  1682. default: 10
  1683. minimum: 0
  1684. maximum: 50
  1685. style: form
  1686. explode: false
  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. -
  1715. name: product
  1716. in: query
  1717. description: ''
  1718. required: false
  1719. deprecated: false
  1720. allowEmptyValue: true
  1721. schema:
  1722. type: string
  1723. style: form
  1724. explode: false
  1725. allowReserved: false
  1726. -
  1727. name: 'product[]'
  1728. in: query
  1729. description: ''
  1730. required: false
  1731. deprecated: false
  1732. allowEmptyValue: true
  1733. schema:
  1734. type: array
  1735. items:
  1736. type: string
  1737. style: form
  1738. explode: true
  1739. allowReserved: false
  1740. -
  1741. name: product.name
  1742. in: query
  1743. description: ''
  1744. required: false
  1745. deprecated: false
  1746. allowEmptyValue: true
  1747. schema:
  1748. type: string
  1749. style: form
  1750. explode: false
  1751. allowReserved: false
  1752. -
  1753. name: partner.type
  1754. in: query
  1755. description: ''
  1756. required: false
  1757. deprecated: false
  1758. allowEmptyValue: true
  1759. schema:
  1760. type: string
  1761. style: form
  1762. explode: false
  1763. allowReserved: false
  1764. -
  1765. name: 'partner.type[]'
  1766. in: query
  1767. description: ''
  1768. required: false
  1769. deprecated: false
  1770. allowEmptyValue: true
  1771. schema:
  1772. type: array
  1773. items:
  1774. type: string
  1775. style: form
  1776. explode: true
  1777. allowReserved: false
  1778. deprecated: false
  1779. post:
  1780. operationId: api_partner_products_post
  1781. tags:
  1782. - PartnerProduct
  1783. responses:
  1784. 201:
  1785. description: 'PartnerProduct resource created'
  1786. content:
  1787. application/ld+json:
  1788. schema:
  1789. $ref: '#/components/schemas/PartnerProduct.jsonld'
  1790. application/json:
  1791. schema:
  1792. $ref: '#/components/schemas/PartnerProduct'
  1793. text/html:
  1794. schema:
  1795. $ref: '#/components/schemas/PartnerProduct'
  1796. application/hal+json:
  1797. schema:
  1798. $ref: '#/components/schemas/PartnerProduct.jsonhal'
  1799. links: { }
  1800. 400:
  1801. description: 'Invalid input'
  1802. 422:
  1803. description: 'Unprocessable entity'
  1804. summary: 'Creates a PartnerProduct resource.'
  1805. description: 'Creates a PartnerProduct resource.'
  1806. parameters: []
  1807. requestBody:
  1808. description: 'The new PartnerProduct resource'
  1809. content:
  1810. application/ld+json:
  1811. schema:
  1812. $ref: '#/components/schemas/PartnerProduct.jsonld'
  1813. application/json:
  1814. schema:
  1815. $ref: '#/components/schemas/PartnerProduct'
  1816. text/html:
  1817. schema:
  1818. $ref: '#/components/schemas/PartnerProduct'
  1819. application/hal+json:
  1820. schema:
  1821. $ref: '#/components/schemas/PartnerProduct.jsonhal'
  1822. required: true
  1823. deprecated: false
  1824. parameters: []
  1825. '/api/partner_products/{id}':
  1826. get:
  1827. operationId: api_partner_products_id_get
  1828. tags:
  1829. - PartnerProduct
  1830. responses:
  1831. 200:
  1832. description: 'PartnerProduct resource'
  1833. content:
  1834. application/ld+json:
  1835. schema:
  1836. $ref: '#/components/schemas/PartnerProduct.jsonld'
  1837. application/json:
  1838. schema:
  1839. $ref: '#/components/schemas/PartnerProduct'
  1840. text/html:
  1841. schema:
  1842. $ref: '#/components/schemas/PartnerProduct'
  1843. application/hal+json:
  1844. schema:
  1845. $ref: '#/components/schemas/PartnerProduct.jsonhal'
  1846. 404:
  1847. description: 'Resource not found'
  1848. summary: 'Retrieves a PartnerProduct resource.'
  1849. description: 'Retrieves a PartnerProduct resource.'
  1850. parameters:
  1851. -
  1852. name: id
  1853. in: path
  1854. description: 'PartnerProductApi identifier'
  1855. required: true
  1856. deprecated: false
  1857. allowEmptyValue: false
  1858. schema:
  1859. type: string
  1860. style: simple
  1861. explode: false
  1862. allowReserved: false
  1863. deprecated: false
  1864. delete:
  1865. operationId: api_partner_products_id_delete
  1866. tags:
  1867. - PartnerProduct
  1868. responses:
  1869. 204:
  1870. description: 'PartnerProduct resource deleted'
  1871. 404:
  1872. description: 'Resource not found'
  1873. summary: 'Removes the PartnerProduct resource.'
  1874. description: 'Removes the PartnerProduct resource.'
  1875. parameters:
  1876. -
  1877. name: id
  1878. in: path
  1879. description: 'PartnerProductApi identifier'
  1880. required: true
  1881. deprecated: false
  1882. allowEmptyValue: false
  1883. schema:
  1884. type: string
  1885. style: simple
  1886. explode: false
  1887. allowReserved: false
  1888. deprecated: false
  1889. parameters: []
  1890. /api/partners:
  1891. get:
  1892. operationId: api_partners_get_collection
  1893. tags:
  1894. - Partner
  1895. responses:
  1896. 200:
  1897. description: 'Partner collection'
  1898. content:
  1899. application/ld+json:
  1900. schema:
  1901. type: object
  1902. properties:
  1903. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Partner.jsonld' } }
  1904. 'hydra:totalItems': { type: integer, minimum: 0 }
  1905. '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 } }
  1906. '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 } } } } } }
  1907. required:
  1908. - 'hydra:member'
  1909. application/json:
  1910. schema:
  1911. type: array
  1912. items:
  1913. $ref: '#/components/schemas/Partner'
  1914. text/html:
  1915. schema:
  1916. type: array
  1917. items:
  1918. $ref: '#/components/schemas/Partner'
  1919. application/hal+json:
  1920. schema:
  1921. type: object
  1922. properties:
  1923. _embedded: { type: array, items: { $ref: '#/components/schemas/Partner.jsonhal' } }
  1924. totalItems: { type: integer, minimum: 0 }
  1925. itemsPerPage: { type: integer, minimum: 0 }
  1926. _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 } } } } }
  1927. required:
  1928. - _links
  1929. - _embedded
  1930. summary: 'Retrieves the collection of Partner resources.'
  1931. description: 'Retrieves the collection of Partner resources.'
  1932. parameters:
  1933. -
  1934. name: page
  1935. in: query
  1936. description: 'The collection page number'
  1937. required: false
  1938. deprecated: false
  1939. allowEmptyValue: true
  1940. schema:
  1941. type: integer
  1942. default: 1
  1943. style: form
  1944. explode: false
  1945. allowReserved: false
  1946. -
  1947. name: itemsPerPage
  1948. in: query
  1949. description: 'The number of items per page'
  1950. required: false
  1951. deprecated: false
  1952. allowEmptyValue: true
  1953. schema:
  1954. type: integer
  1955. default: 10
  1956. minimum: 0
  1957. maximum: 50
  1958. style: form
  1959. explode: false
  1960. allowReserved: false
  1961. -
  1962. name: type
  1963. in: query
  1964. description: ''
  1965. required: false
  1966. deprecated: false
  1967. allowEmptyValue: true
  1968. schema:
  1969. type: string
  1970. style: form
  1971. explode: false
  1972. allowReserved: false
  1973. -
  1974. name: 'type[]'
  1975. in: query
  1976. description: ''
  1977. required: false
  1978. deprecated: false
  1979. allowEmptyValue: true
  1980. schema:
  1981. type: array
  1982. items:
  1983. type: string
  1984. style: form
  1985. explode: true
  1986. allowReserved: false
  1987. -
  1988. name: name
  1989. in: query
  1990. description: ''
  1991. required: false
  1992. deprecated: false
  1993. allowEmptyValue: true
  1994. schema:
  1995. type: string
  1996. style: form
  1997. explode: false
  1998. allowReserved: false
  1999. -
  2000. name: 'order[name]'
  2001. in: query
  2002. description: ''
  2003. required: false
  2004. deprecated: false
  2005. allowEmptyValue: true
  2006. schema:
  2007. type: string
  2008. enum:
  2009. - asc
  2010. - desc
  2011. style: form
  2012. explode: false
  2013. allowReserved: false
  2014. -
  2015. name: 'order[city]'
  2016. in: query
  2017. description: ''
  2018. required: false
  2019. deprecated: false
  2020. allowEmptyValue: true
  2021. schema:
  2022. type: string
  2023. enum:
  2024. - asc
  2025. - desc
  2026. style: form
  2027. explode: false
  2028. allowReserved: false
  2029. -
  2030. name: 'order[website]'
  2031. in: query
  2032. description: ''
  2033. required: false
  2034. deprecated: false
  2035. allowEmptyValue: true
  2036. schema:
  2037. type: string
  2038. enum:
  2039. - asc
  2040. - desc
  2041. style: form
  2042. explode: false
  2043. allowReserved: false
  2044. deprecated: false
  2045. post:
  2046. operationId: api_partners_post
  2047. tags:
  2048. - Partner
  2049. responses:
  2050. 201:
  2051. description: 'Partner resource created'
  2052. content:
  2053. application/ld+json:
  2054. schema:
  2055. $ref: '#/components/schemas/Partner.jsonld'
  2056. application/json:
  2057. schema:
  2058. $ref: '#/components/schemas/Partner'
  2059. text/html:
  2060. schema:
  2061. $ref: '#/components/schemas/Partner'
  2062. application/hal+json:
  2063. schema:
  2064. $ref: '#/components/schemas/Partner.jsonhal'
  2065. links: { }
  2066. 400:
  2067. description: 'Invalid input'
  2068. 422:
  2069. description: 'Unprocessable entity'
  2070. summary: 'Creates a Partner resource.'
  2071. description: 'Creates a Partner resource.'
  2072. parameters: []
  2073. requestBody:
  2074. description: 'The new Partner resource'
  2075. content:
  2076. application/ld+json:
  2077. schema:
  2078. $ref: '#/components/schemas/Partner.jsonld'
  2079. application/json:
  2080. schema:
  2081. $ref: '#/components/schemas/Partner'
  2082. text/html:
  2083. schema:
  2084. $ref: '#/components/schemas/Partner'
  2085. application/hal+json:
  2086. schema:
  2087. $ref: '#/components/schemas/Partner.jsonhal'
  2088. required: true
  2089. deprecated: false
  2090. parameters: []
  2091. '/api/partners/{id}':
  2092. get:
  2093. operationId: api_partners_id_get
  2094. tags:
  2095. - Partner
  2096. responses:
  2097. 200:
  2098. description: 'Partner resource'
  2099. content:
  2100. application/ld+json:
  2101. schema:
  2102. $ref: '#/components/schemas/Partner.jsonld'
  2103. application/json:
  2104. schema:
  2105. $ref: '#/components/schemas/Partner'
  2106. text/html:
  2107. schema:
  2108. $ref: '#/components/schemas/Partner'
  2109. application/hal+json:
  2110. schema:
  2111. $ref: '#/components/schemas/Partner.jsonhal'
  2112. 404:
  2113. description: 'Resource not found'
  2114. summary: 'Retrieves a Partner resource.'
  2115. description: 'Retrieves a Partner resource.'
  2116. parameters:
  2117. -
  2118. name: id
  2119. in: path
  2120. description: 'PartnerApi identifier'
  2121. required: true
  2122. deprecated: false
  2123. allowEmptyValue: false
  2124. schema:
  2125. type: string
  2126. style: simple
  2127. explode: false
  2128. allowReserved: false
  2129. deprecated: false
  2130. patch:
  2131. operationId: api_partners_id_patch
  2132. tags:
  2133. - Partner
  2134. responses:
  2135. 200:
  2136. description: 'Partner resource updated'
  2137. content:
  2138. application/ld+json:
  2139. schema:
  2140. $ref: '#/components/schemas/Partner.jsonld'
  2141. application/json:
  2142. schema:
  2143. $ref: '#/components/schemas/Partner'
  2144. text/html:
  2145. schema:
  2146. $ref: '#/components/schemas/Partner'
  2147. application/hal+json:
  2148. schema:
  2149. $ref: '#/components/schemas/Partner.jsonhal'
  2150. links: { }
  2151. 400:
  2152. description: 'Invalid input'
  2153. 422:
  2154. description: 'Unprocessable entity'
  2155. 404:
  2156. description: 'Resource not found'
  2157. summary: 'Updates the Partner resource.'
  2158. description: 'Updates the Partner resource.'
  2159. parameters:
  2160. -
  2161. name: id
  2162. in: path
  2163. description: 'PartnerApi identifier'
  2164. required: true
  2165. deprecated: false
  2166. allowEmptyValue: false
  2167. schema:
  2168. type: string
  2169. style: simple
  2170. explode: false
  2171. allowReserved: false
  2172. requestBody:
  2173. description: 'The updated Partner resource'
  2174. content:
  2175. application/merge-patch+json:
  2176. schema:
  2177. $ref: '#/components/schemas/Partner'
  2178. required: true
  2179. deprecated: false
  2180. parameters: []
  2181. /api/posts:
  2182. get:
  2183. operationId: api_posts_get_collection
  2184. tags:
  2185. - Post
  2186. responses:
  2187. 200:
  2188. description: 'Post collection'
  2189. content:
  2190. application/ld+json:
  2191. schema:
  2192. type: object
  2193. properties:
  2194. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Post.jsonld' } }
  2195. 'hydra:totalItems': { type: integer, minimum: 0 }
  2196. '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 } }
  2197. '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 } } } } } }
  2198. required:
  2199. - 'hydra:member'
  2200. application/json:
  2201. schema:
  2202. type: array
  2203. items:
  2204. $ref: '#/components/schemas/Post'
  2205. text/html:
  2206. schema:
  2207. type: array
  2208. items:
  2209. $ref: '#/components/schemas/Post'
  2210. application/hal+json:
  2211. schema:
  2212. type: object
  2213. properties:
  2214. _embedded: { type: array, items: { $ref: '#/components/schemas/Post.jsonhal' } }
  2215. totalItems: { type: integer, minimum: 0 }
  2216. itemsPerPage: { type: integer, minimum: 0 }
  2217. _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 } } } } }
  2218. required:
  2219. - _links
  2220. - _embedded
  2221. summary: 'Retrieves the collection of Post resources.'
  2222. description: 'Retrieves the collection of Post resources.'
  2223. parameters:
  2224. -
  2225. name: page
  2226. in: query
  2227. description: 'The collection page number'
  2228. required: false
  2229. deprecated: false
  2230. allowEmptyValue: true
  2231. schema:
  2232. type: integer
  2233. default: 1
  2234. style: form
  2235. explode: false
  2236. allowReserved: false
  2237. -
  2238. name: itemsPerPage
  2239. in: query
  2240. description: 'The number of items per page'
  2241. required: false
  2242. deprecated: false
  2243. allowEmptyValue: true
  2244. schema:
  2245. type: integer
  2246. default: 10
  2247. minimum: 0
  2248. maximum: 50
  2249. style: form
  2250. explode: false
  2251. allowReserved: false
  2252. -
  2253. name: partner
  2254. in: query
  2255. description: ''
  2256. required: false
  2257. deprecated: false
  2258. allowEmptyValue: true
  2259. schema:
  2260. type: string
  2261. style: form
  2262. explode: false
  2263. allowReserved: false
  2264. -
  2265. name: 'partner[]'
  2266. in: query
  2267. description: ''
  2268. required: false
  2269. deprecated: false
  2270. allowEmptyValue: true
  2271. schema:
  2272. type: array
  2273. items:
  2274. type: string
  2275. style: form
  2276. explode: true
  2277. allowReserved: false
  2278. -
  2279. name: contact
  2280. in: query
  2281. description: ''
  2282. required: false
  2283. deprecated: false
  2284. allowEmptyValue: true
  2285. schema:
  2286. type: string
  2287. style: form
  2288. explode: false
  2289. allowReserved: false
  2290. -
  2291. name: 'contact[]'
  2292. in: query
  2293. description: ''
  2294. required: false
  2295. deprecated: false
  2296. allowEmptyValue: true
  2297. schema:
  2298. type: array
  2299. items:
  2300. type: string
  2301. style: form
  2302. explode: true
  2303. allowReserved: false
  2304. -
  2305. name: sale
  2306. in: query
  2307. description: ''
  2308. required: false
  2309. deprecated: false
  2310. allowEmptyValue: true
  2311. schema:
  2312. type: string
  2313. style: form
  2314. explode: false
  2315. allowReserved: false
  2316. -
  2317. name: 'sale[]'
  2318. in: query
  2319. description: ''
  2320. required: false
  2321. deprecated: false
  2322. allowEmptyValue: true
  2323. schema:
  2324. type: array
  2325. items:
  2326. type: string
  2327. style: form
  2328. explode: true
  2329. allowReserved: false
  2330. -
  2331. name: owner
  2332. in: query
  2333. description: ''
  2334. required: false
  2335. deprecated: false
  2336. allowEmptyValue: true
  2337. schema:
  2338. type: string
  2339. style: form
  2340. explode: false
  2341. allowReserved: false
  2342. -
  2343. name: 'owner[]'
  2344. in: query
  2345. description: ''
  2346. required: false
  2347. deprecated: false
  2348. allowEmptyValue: true
  2349. schema:
  2350. type: array
  2351. items:
  2352. type: string
  2353. style: form
  2354. explode: true
  2355. allowReserved: false
  2356. -
  2357. name: 'exists[contact]'
  2358. in: query
  2359. description: ''
  2360. required: false
  2361. deprecated: false
  2362. allowEmptyValue: true
  2363. schema:
  2364. type: boolean
  2365. style: form
  2366. explode: false
  2367. allowReserved: false
  2368. -
  2369. name: 'exists[sale]'
  2370. in: query
  2371. description: ''
  2372. required: false
  2373. deprecated: false
  2374. allowEmptyValue: true
  2375. schema:
  2376. type: boolean
  2377. style: form
  2378. explode: false
  2379. allowReserved: false
  2380. deprecated: false
  2381. post:
  2382. operationId: api_posts_post
  2383. tags:
  2384. - Post
  2385. responses:
  2386. 201:
  2387. description: 'Post resource created'
  2388. content:
  2389. application/ld+json:
  2390. schema:
  2391. $ref: '#/components/schemas/Post.jsonld'
  2392. application/json:
  2393. schema:
  2394. $ref: '#/components/schemas/Post'
  2395. text/html:
  2396. schema:
  2397. $ref: '#/components/schemas/Post'
  2398. application/hal+json:
  2399. schema:
  2400. $ref: '#/components/schemas/Post.jsonhal'
  2401. links: { }
  2402. 400:
  2403. description: 'Invalid input'
  2404. 422:
  2405. description: 'Unprocessable entity'
  2406. summary: 'Creates a Post resource.'
  2407. description: 'Creates a Post resource.'
  2408. parameters: []
  2409. requestBody:
  2410. description: 'The new Post resource'
  2411. content:
  2412. application/ld+json:
  2413. schema:
  2414. $ref: '#/components/schemas/Post.jsonld-posting.create'
  2415. application/json:
  2416. schema:
  2417. $ref: '#/components/schemas/Post-posting.create'
  2418. text/html:
  2419. schema:
  2420. $ref: '#/components/schemas/Post-posting.create'
  2421. application/hal+json:
  2422. schema:
  2423. $ref: '#/components/schemas/Post.jsonhal-posting.create'
  2424. required: true
  2425. deprecated: false
  2426. parameters: []
  2427. '/api/posts/{id}':
  2428. get:
  2429. operationId: api_posts_id_get
  2430. tags:
  2431. - Post
  2432. responses:
  2433. 200:
  2434. description: 'Post resource'
  2435. content:
  2436. application/ld+json:
  2437. schema:
  2438. $ref: '#/components/schemas/Post.jsonld'
  2439. application/json:
  2440. schema:
  2441. $ref: '#/components/schemas/Post'
  2442. text/html:
  2443. schema:
  2444. $ref: '#/components/schemas/Post'
  2445. application/hal+json:
  2446. schema:
  2447. $ref: '#/components/schemas/Post.jsonhal'
  2448. 404:
  2449. description: 'Resource not found'
  2450. summary: 'Retrieves a Post resource.'
  2451. description: 'Retrieves a Post resource.'
  2452. parameters:
  2453. -
  2454. name: id
  2455. in: path
  2456. description: 'PostingApi identifier'
  2457. required: true
  2458. deprecated: false
  2459. allowEmptyValue: false
  2460. schema:
  2461. type: string
  2462. style: simple
  2463. explode: false
  2464. allowReserved: false
  2465. deprecated: false
  2466. patch:
  2467. operationId: api_posts_id_patch
  2468. tags:
  2469. - Post
  2470. responses:
  2471. 200:
  2472. description: 'Post resource updated'
  2473. content:
  2474. application/ld+json:
  2475. schema:
  2476. $ref: '#/components/schemas/Post.jsonld'
  2477. application/json:
  2478. schema:
  2479. $ref: '#/components/schemas/Post'
  2480. text/html:
  2481. schema:
  2482. $ref: '#/components/schemas/Post'
  2483. application/hal+json:
  2484. schema:
  2485. $ref: '#/components/schemas/Post.jsonhal'
  2486. links: { }
  2487. 400:
  2488. description: 'Invalid input'
  2489. 422:
  2490. description: 'Unprocessable entity'
  2491. 404:
  2492. description: 'Resource not found'
  2493. summary: 'Updates the Post resource.'
  2494. description: 'Updates the Post resource.'
  2495. parameters:
  2496. -
  2497. name: id
  2498. in: path
  2499. description: 'PostingApi identifier'
  2500. required: true
  2501. deprecated: false
  2502. allowEmptyValue: false
  2503. schema:
  2504. type: string
  2505. style: simple
  2506. explode: false
  2507. allowReserved: false
  2508. requestBody:
  2509. description: 'The updated Post resource'
  2510. content:
  2511. application/merge-patch+json:
  2512. schema:
  2513. $ref: '#/components/schemas/Post-posting.patch'
  2514. required: true
  2515. deprecated: false
  2516. parameters: []
  2517. /api/products:
  2518. get:
  2519. operationId: api_products_get_collection
  2520. tags:
  2521. - Product
  2522. responses:
  2523. 200:
  2524. description: 'Product collection'
  2525. content:
  2526. application/ld+json:
  2527. schema:
  2528. type: object
  2529. properties:
  2530. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Product.jsonld' } }
  2531. 'hydra:totalItems': { type: integer, minimum: 0 }
  2532. '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 } }
  2533. '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 } } } } } }
  2534. required:
  2535. - 'hydra:member'
  2536. application/json:
  2537. schema:
  2538. type: array
  2539. items:
  2540. $ref: '#/components/schemas/Product'
  2541. text/html:
  2542. schema:
  2543. type: array
  2544. items:
  2545. $ref: '#/components/schemas/Product'
  2546. application/hal+json:
  2547. schema:
  2548. type: object
  2549. properties:
  2550. _embedded: { type: array, items: { $ref: '#/components/schemas/Product.jsonhal' } }
  2551. totalItems: { type: integer, minimum: 0 }
  2552. itemsPerPage: { type: integer, minimum: 0 }
  2553. _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 } } } } }
  2554. required:
  2555. - _links
  2556. - _embedded
  2557. summary: 'Retrieves the collection of Product resources.'
  2558. description: 'Retrieves the collection of Product resources.'
  2559. parameters:
  2560. -
  2561. name: page
  2562. in: query
  2563. description: 'The collection page number'
  2564. required: false
  2565. deprecated: false
  2566. allowEmptyValue: true
  2567. schema:
  2568. type: integer
  2569. default: 1
  2570. style: form
  2571. explode: false
  2572. allowReserved: false
  2573. -
  2574. name: itemsPerPage
  2575. in: query
  2576. description: 'The number of items per page'
  2577. required: false
  2578. deprecated: false
  2579. allowEmptyValue: true
  2580. schema:
  2581. type: integer
  2582. default: 10
  2583. minimum: 0
  2584. maximum: 50
  2585. style: form
  2586. explode: false
  2587. allowReserved: false
  2588. -
  2589. name: name
  2590. in: query
  2591. description: ''
  2592. required: false
  2593. deprecated: false
  2594. allowEmptyValue: true
  2595. schema:
  2596. type: string
  2597. style: form
  2598. explode: false
  2599. allowReserved: false
  2600. -
  2601. name: 'order[name]'
  2602. in: query
  2603. description: ''
  2604. required: false
  2605. deprecated: false
  2606. allowEmptyValue: true
  2607. schema:
  2608. type: string
  2609. enum:
  2610. - asc
  2611. - desc
  2612. style: form
  2613. explode: false
  2614. allowReserved: false
  2615. deprecated: false
  2616. post:
  2617. operationId: api_products_post
  2618. tags:
  2619. - Product
  2620. responses:
  2621. 201:
  2622. description: 'Product resource created'
  2623. content:
  2624. application/ld+json:
  2625. schema:
  2626. $ref: '#/components/schemas/Product.jsonld'
  2627. application/json:
  2628. schema:
  2629. $ref: '#/components/schemas/Product'
  2630. text/html:
  2631. schema:
  2632. $ref: '#/components/schemas/Product'
  2633. application/hal+json:
  2634. schema:
  2635. $ref: '#/components/schemas/Product.jsonhal'
  2636. links: { }
  2637. 400:
  2638. description: 'Invalid input'
  2639. 422:
  2640. description: 'Unprocessable entity'
  2641. summary: 'Creates a Product resource.'
  2642. description: 'Creates a Product resource.'
  2643. parameters: []
  2644. requestBody:
  2645. description: 'The new Product resource'
  2646. content:
  2647. application/ld+json:
  2648. schema:
  2649. $ref: '#/components/schemas/Product.jsonld'
  2650. application/json:
  2651. schema:
  2652. $ref: '#/components/schemas/Product'
  2653. text/html:
  2654. schema:
  2655. $ref: '#/components/schemas/Product'
  2656. application/hal+json:
  2657. schema:
  2658. $ref: '#/components/schemas/Product.jsonhal'
  2659. required: true
  2660. deprecated: false
  2661. parameters: []
  2662. '/api/products/{id}':
  2663. get:
  2664. operationId: api_products_id_get
  2665. tags:
  2666. - Product
  2667. responses:
  2668. 200:
  2669. description: 'Product resource'
  2670. content:
  2671. application/ld+json:
  2672. schema:
  2673. $ref: '#/components/schemas/Product.jsonld'
  2674. application/json:
  2675. schema:
  2676. $ref: '#/components/schemas/Product'
  2677. text/html:
  2678. schema:
  2679. $ref: '#/components/schemas/Product'
  2680. application/hal+json:
  2681. schema:
  2682. $ref: '#/components/schemas/Product.jsonhal'
  2683. 404:
  2684. description: 'Resource not found'
  2685. summary: 'Retrieves a Product resource.'
  2686. description: 'Retrieves a Product resource.'
  2687. parameters:
  2688. -
  2689. name: id
  2690. in: path
  2691. description: 'ProductApi identifier'
  2692. required: true
  2693. deprecated: false
  2694. allowEmptyValue: false
  2695. schema:
  2696. type: string
  2697. style: simple
  2698. explode: false
  2699. allowReserved: false
  2700. deprecated: false
  2701. patch:
  2702. operationId: api_products_id_patch
  2703. tags:
  2704. - Product
  2705. responses:
  2706. 200:
  2707. description: 'Product resource updated'
  2708. content:
  2709. application/ld+json:
  2710. schema:
  2711. $ref: '#/components/schemas/Product.jsonld'
  2712. application/json:
  2713. schema:
  2714. $ref: '#/components/schemas/Product'
  2715. text/html:
  2716. schema:
  2717. $ref: '#/components/schemas/Product'
  2718. application/hal+json:
  2719. schema:
  2720. $ref: '#/components/schemas/Product.jsonhal'
  2721. links: { }
  2722. 400:
  2723. description: 'Invalid input'
  2724. 422:
  2725. description: 'Unprocessable entity'
  2726. 404:
  2727. description: 'Resource not found'
  2728. summary: 'Updates the Product resource.'
  2729. description: 'Updates the Product resource.'
  2730. parameters:
  2731. -
  2732. name: id
  2733. in: path
  2734. description: 'ProductApi identifier'
  2735. required: true
  2736. deprecated: false
  2737. allowEmptyValue: false
  2738. schema:
  2739. type: string
  2740. style: simple
  2741. explode: false
  2742. allowReserved: false
  2743. requestBody:
  2744. description: 'The updated Product resource'
  2745. content:
  2746. application/merge-patch+json:
  2747. schema:
  2748. $ref: '#/components/schemas/Product'
  2749. required: true
  2750. deprecated: false
  2751. parameters: []
  2752. /api/sale_summaries:
  2753. get:
  2754. operationId: api_sale_summaries_get_collection
  2755. tags:
  2756. - SaleSummary
  2757. responses:
  2758. 200:
  2759. description: 'SaleSummary collection'
  2760. content:
  2761. application/ld+json:
  2762. schema:
  2763. type: object
  2764. properties:
  2765. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/SaleSummary.jsonld' } }
  2766. 'hydra:totalItems': { type: integer, minimum: 0 }
  2767. '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 } }
  2768. '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 } } } } } }
  2769. required:
  2770. - 'hydra:member'
  2771. application/json:
  2772. schema:
  2773. type: array
  2774. items:
  2775. $ref: '#/components/schemas/SaleSummary'
  2776. text/html:
  2777. schema:
  2778. type: array
  2779. items:
  2780. $ref: '#/components/schemas/SaleSummary'
  2781. application/hal+json:
  2782. schema:
  2783. type: object
  2784. properties:
  2785. _embedded: { type: array, items: { $ref: '#/components/schemas/SaleSummary.jsonhal' } }
  2786. totalItems: { type: integer, minimum: 0 }
  2787. itemsPerPage: { type: integer, minimum: 0 }
  2788. _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 } } } } }
  2789. required:
  2790. - _links
  2791. - _embedded
  2792. summary: 'Retrieves the collection of SaleSummary resources.'
  2793. description: 'Retrieves the collection of SaleSummary resources.'
  2794. parameters:
  2795. -
  2796. name: page
  2797. in: query
  2798. description: 'The collection page number'
  2799. required: false
  2800. deprecated: false
  2801. allowEmptyValue: true
  2802. schema:
  2803. type: integer
  2804. default: 1
  2805. style: form
  2806. explode: false
  2807. allowReserved: false
  2808. -
  2809. name: itemsPerPage
  2810. in: query
  2811. description: 'The number of items per page'
  2812. required: false
  2813. deprecated: false
  2814. allowEmptyValue: true
  2815. schema:
  2816. type: integer
  2817. default: 10
  2818. minimum: 0
  2819. maximum: 50
  2820. style: form
  2821. explode: false
  2822. allowReserved: false
  2823. deprecated: false
  2824. parameters: []
  2825. '/api/sale_summaries/{userId}':
  2826. get:
  2827. operationId: api_sale_summaries_userId_get
  2828. tags:
  2829. - SaleSummary
  2830. responses:
  2831. 200:
  2832. description: 'SaleSummary resource'
  2833. content:
  2834. application/ld+json:
  2835. schema:
  2836. $ref: '#/components/schemas/SaleSummary.jsonld'
  2837. application/json:
  2838. schema:
  2839. $ref: '#/components/schemas/SaleSummary'
  2840. text/html:
  2841. schema:
  2842. $ref: '#/components/schemas/SaleSummary'
  2843. application/hal+json:
  2844. schema:
  2845. $ref: '#/components/schemas/SaleSummary.jsonhal'
  2846. 404:
  2847. description: 'Resource not found'
  2848. summary: 'Retrieves a SaleSummary resource.'
  2849. description: 'Retrieves a SaleSummary resource.'
  2850. parameters:
  2851. -
  2852. name: userId
  2853. in: path
  2854. description: 'SaleSummary identifier'
  2855. required: true
  2856. deprecated: false
  2857. allowEmptyValue: false
  2858. schema:
  2859. type: string
  2860. style: simple
  2861. explode: false
  2862. allowReserved: false
  2863. deprecated: false
  2864. parameters: []
  2865. /api/sales:
  2866. get:
  2867. operationId: api_sales_get_collection
  2868. tags:
  2869. - Sale
  2870. responses:
  2871. 200:
  2872. description: 'Sale collection'
  2873. content:
  2874. application/ld+json:
  2875. schema:
  2876. type: object
  2877. properties:
  2878. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Sale.jsonld' } }
  2879. 'hydra:totalItems': { type: integer, minimum: 0 }
  2880. '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 } }
  2881. '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 } } } } } }
  2882. required:
  2883. - 'hydra:member'
  2884. application/json:
  2885. schema:
  2886. type: array
  2887. items:
  2888. $ref: '#/components/schemas/Sale'
  2889. text/html:
  2890. schema:
  2891. type: array
  2892. items:
  2893. $ref: '#/components/schemas/Sale'
  2894. application/hal+json:
  2895. schema:
  2896. type: object
  2897. properties:
  2898. _embedded: { type: array, items: { $ref: '#/components/schemas/Sale.jsonhal' } }
  2899. totalItems: { type: integer, minimum: 0 }
  2900. itemsPerPage: { type: integer, minimum: 0 }
  2901. _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 } } } } }
  2902. required:
  2903. - _links
  2904. - _embedded
  2905. summary: 'Retrieves the collection of Sale resources.'
  2906. description: 'Retrieves the collection of Sale resources.'
  2907. parameters:
  2908. -
  2909. name: page
  2910. in: query
  2911. description: 'The collection page number'
  2912. required: false
  2913. deprecated: false
  2914. allowEmptyValue: true
  2915. schema:
  2916. type: integer
  2917. default: 1
  2918. style: form
  2919. explode: false
  2920. allowReserved: false
  2921. -
  2922. name: itemsPerPage
  2923. in: query
  2924. description: 'The number of items per page'
  2925. required: false
  2926. deprecated: false
  2927. allowEmptyValue: true
  2928. schema:
  2929. type: integer
  2930. default: 10
  2931. minimum: 0
  2932. maximum: 50
  2933. style: form
  2934. explode: false
  2935. allowReserved: false
  2936. -
  2937. name: owner
  2938. in: query
  2939. description: ''
  2940. required: false
  2941. deprecated: false
  2942. allowEmptyValue: true
  2943. schema:
  2944. type: string
  2945. style: form
  2946. explode: false
  2947. allowReserved: false
  2948. -
  2949. name: 'owner[]'
  2950. in: query
  2951. description: ''
  2952. required: false
  2953. deprecated: false
  2954. allowEmptyValue: true
  2955. schema:
  2956. type: array
  2957. items:
  2958. type: string
  2959. style: form
  2960. explode: true
  2961. allowReserved: false
  2962. -
  2963. name: partner
  2964. in: query
  2965. description: ''
  2966. required: false
  2967. deprecated: false
  2968. allowEmptyValue: true
  2969. schema:
  2970. type: string
  2971. style: form
  2972. explode: false
  2973. allowReserved: false
  2974. -
  2975. name: 'partner[]'
  2976. in: query
  2977. description: ''
  2978. required: false
  2979. deprecated: false
  2980. allowEmptyValue: true
  2981. schema:
  2982. type: array
  2983. items:
  2984. type: string
  2985. style: form
  2986. explode: true
  2987. allowReserved: false
  2988. deprecated: false
  2989. post:
  2990. operationId: api_sales_post
  2991. tags:
  2992. - Sale
  2993. responses:
  2994. 201:
  2995. description: 'Sale resource created'
  2996. content:
  2997. application/ld+json:
  2998. schema:
  2999. $ref: '#/components/schemas/Sale.jsonld'
  3000. application/json:
  3001. schema:
  3002. $ref: '#/components/schemas/Sale'
  3003. text/html:
  3004. schema:
  3005. $ref: '#/components/schemas/Sale'
  3006. application/hal+json:
  3007. schema:
  3008. $ref: '#/components/schemas/Sale.jsonhal'
  3009. links: { }
  3010. 400:
  3011. description: 'Invalid input'
  3012. 422:
  3013. description: 'Unprocessable entity'
  3014. summary: 'Creates a Sale resource.'
  3015. description: 'Creates a Sale resource.'
  3016. parameters: []
  3017. requestBody:
  3018. description: 'The new Sale resource'
  3019. content:
  3020. application/ld+json:
  3021. schema:
  3022. $ref: '#/components/schemas/Sale.jsonld'
  3023. application/json:
  3024. schema:
  3025. $ref: '#/components/schemas/Sale'
  3026. text/html:
  3027. schema:
  3028. $ref: '#/components/schemas/Sale'
  3029. application/hal+json:
  3030. schema:
  3031. $ref: '#/components/schemas/Sale.jsonhal'
  3032. required: true
  3033. deprecated: false
  3034. parameters: []
  3035. '/api/sales/{id}':
  3036. get:
  3037. operationId: api_sales_id_get
  3038. tags:
  3039. - Sale
  3040. responses:
  3041. 200:
  3042. description: 'Sale resource'
  3043. content:
  3044. application/ld+json:
  3045. schema:
  3046. $ref: '#/components/schemas/Sale.jsonld'
  3047. application/json:
  3048. schema:
  3049. $ref: '#/components/schemas/Sale'
  3050. text/html:
  3051. schema:
  3052. $ref: '#/components/schemas/Sale'
  3053. application/hal+json:
  3054. schema:
  3055. $ref: '#/components/schemas/Sale.jsonhal'
  3056. 404:
  3057. description: 'Resource not found'
  3058. summary: 'Retrieves a Sale resource.'
  3059. description: 'Retrieves a Sale resource.'
  3060. parameters:
  3061. -
  3062. name: id
  3063. in: path
  3064. description: 'SaleApi identifier'
  3065. required: true
  3066. deprecated: false
  3067. allowEmptyValue: false
  3068. schema:
  3069. type: string
  3070. style: simple
  3071. explode: false
  3072. allowReserved: false
  3073. deprecated: false
  3074. patch:
  3075. operationId: api_sales_id_patch
  3076. tags:
  3077. - Sale
  3078. responses:
  3079. 200:
  3080. description: 'Sale resource updated'
  3081. content:
  3082. application/ld+json:
  3083. schema:
  3084. $ref: '#/components/schemas/Sale.jsonld'
  3085. application/json:
  3086. schema:
  3087. $ref: '#/components/schemas/Sale'
  3088. text/html:
  3089. schema:
  3090. $ref: '#/components/schemas/Sale'
  3091. application/hal+json:
  3092. schema:
  3093. $ref: '#/components/schemas/Sale.jsonhal'
  3094. links: { }
  3095. 400:
  3096. description: 'Invalid input'
  3097. 422:
  3098. description: 'Unprocessable entity'
  3099. 404:
  3100. description: 'Resource not found'
  3101. summary: 'Updates the Sale resource.'
  3102. description: 'Updates the Sale resource.'
  3103. parameters:
  3104. -
  3105. name: id
  3106. in: path
  3107. description: 'SaleApi identifier'
  3108. required: true
  3109. deprecated: false
  3110. allowEmptyValue: false
  3111. schema:
  3112. type: string
  3113. style: simple
  3114. explode: false
  3115. allowReserved: false
  3116. requestBody:
  3117. description: 'The updated Sale resource'
  3118. content:
  3119. application/merge-patch+json:
  3120. schema:
  3121. $ref: '#/components/schemas/Sale'
  3122. required: true
  3123. deprecated: false
  3124. parameters: []
  3125. /api/task_notes:
  3126. get:
  3127. operationId: api_task_notes_get_collection
  3128. tags:
  3129. - TaskNote
  3130. responses:
  3131. 200:
  3132. description: 'TaskNote collection'
  3133. content:
  3134. application/ld+json:
  3135. schema:
  3136. type: object
  3137. properties:
  3138. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/TaskNote.jsonld' } }
  3139. 'hydra:totalItems': { type: integer, minimum: 0 }
  3140. '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 } }
  3141. '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 } } } } } }
  3142. required:
  3143. - 'hydra:member'
  3144. application/json:
  3145. schema:
  3146. type: array
  3147. items:
  3148. $ref: '#/components/schemas/TaskNote'
  3149. text/html:
  3150. schema:
  3151. type: array
  3152. items:
  3153. $ref: '#/components/schemas/TaskNote'
  3154. application/hal+json:
  3155. schema:
  3156. type: object
  3157. properties:
  3158. _embedded: { type: array, items: { $ref: '#/components/schemas/TaskNote.jsonhal' } }
  3159. totalItems: { type: integer, minimum: 0 }
  3160. itemsPerPage: { type: integer, minimum: 0 }
  3161. _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 } } } } }
  3162. required:
  3163. - _links
  3164. - _embedded
  3165. summary: 'Retrieves the collection of TaskNote resources.'
  3166. description: 'Retrieves the collection of TaskNote resources.'
  3167. parameters:
  3168. -
  3169. name: page
  3170. in: query
  3171. description: 'The collection page number'
  3172. required: false
  3173. deprecated: false
  3174. allowEmptyValue: true
  3175. schema:
  3176. type: integer
  3177. default: 1
  3178. style: form
  3179. explode: false
  3180. allowReserved: false
  3181. -
  3182. name: itemsPerPage
  3183. in: query
  3184. description: 'The number of items per page'
  3185. required: false
  3186. deprecated: false
  3187. allowEmptyValue: true
  3188. schema:
  3189. type: integer
  3190. default: 10
  3191. minimum: 0
  3192. maximum: 50
  3193. style: form
  3194. explode: false
  3195. allowReserved: false
  3196. -
  3197. name: task
  3198. in: query
  3199. description: ''
  3200. required: false
  3201. deprecated: false
  3202. allowEmptyValue: true
  3203. schema:
  3204. type: string
  3205. style: form
  3206. explode: false
  3207. allowReserved: false
  3208. -
  3209. name: 'task[]'
  3210. in: query
  3211. description: ''
  3212. required: false
  3213. deprecated: false
  3214. allowEmptyValue: true
  3215. schema:
  3216. type: array
  3217. items:
  3218. type: string
  3219. style: form
  3220. explode: true
  3221. allowReserved: false
  3222. deprecated: false
  3223. post:
  3224. operationId: api_task_notes_post
  3225. tags:
  3226. - TaskNote
  3227. responses:
  3228. 201:
  3229. description: 'TaskNote resource created'
  3230. content:
  3231. application/ld+json:
  3232. schema:
  3233. $ref: '#/components/schemas/TaskNote.jsonld'
  3234. application/json:
  3235. schema:
  3236. $ref: '#/components/schemas/TaskNote'
  3237. text/html:
  3238. schema:
  3239. $ref: '#/components/schemas/TaskNote'
  3240. application/hal+json:
  3241. schema:
  3242. $ref: '#/components/schemas/TaskNote.jsonhal'
  3243. links: { }
  3244. 400:
  3245. description: 'Invalid input'
  3246. 422:
  3247. description: 'Unprocessable entity'
  3248. summary: 'Creates a TaskNote resource.'
  3249. description: 'Creates a TaskNote resource.'
  3250. parameters: []
  3251. requestBody:
  3252. description: 'The new TaskNote resource'
  3253. content:
  3254. application/ld+json:
  3255. schema:
  3256. $ref: '#/components/schemas/TaskNote.jsonld'
  3257. application/json:
  3258. schema:
  3259. $ref: '#/components/schemas/TaskNote'
  3260. text/html:
  3261. schema:
  3262. $ref: '#/components/schemas/TaskNote'
  3263. application/hal+json:
  3264. schema:
  3265. $ref: '#/components/schemas/TaskNote.jsonhal'
  3266. required: true
  3267. deprecated: false
  3268. parameters: []
  3269. '/api/task_notes/{id}':
  3270. get:
  3271. operationId: api_task_notes_id_get
  3272. tags:
  3273. - TaskNote
  3274. responses:
  3275. 200:
  3276. description: 'TaskNote resource'
  3277. content:
  3278. application/ld+json:
  3279. schema:
  3280. $ref: '#/components/schemas/TaskNote.jsonld'
  3281. application/json:
  3282. schema:
  3283. $ref: '#/components/schemas/TaskNote'
  3284. text/html:
  3285. schema:
  3286. $ref: '#/components/schemas/TaskNote'
  3287. application/hal+json:
  3288. schema:
  3289. $ref: '#/components/schemas/TaskNote.jsonhal'
  3290. 404:
  3291. description: 'Resource not found'
  3292. summary: 'Retrieves a TaskNote resource.'
  3293. description: 'Retrieves a TaskNote resource.'
  3294. parameters:
  3295. -
  3296. name: id
  3297. in: path
  3298. description: 'TaskNoteApi identifier'
  3299. required: true
  3300. deprecated: false
  3301. allowEmptyValue: false
  3302. schema:
  3303. type: string
  3304. style: simple
  3305. explode: false
  3306. allowReserved: false
  3307. deprecated: false
  3308. patch:
  3309. operationId: api_task_notes_id_patch
  3310. tags:
  3311. - TaskNote
  3312. responses:
  3313. 200:
  3314. description: 'TaskNote resource updated'
  3315. content:
  3316. application/ld+json:
  3317. schema:
  3318. $ref: '#/components/schemas/TaskNote.jsonld'
  3319. application/json:
  3320. schema:
  3321. $ref: '#/components/schemas/TaskNote'
  3322. text/html:
  3323. schema:
  3324. $ref: '#/components/schemas/TaskNote'
  3325. application/hal+json:
  3326. schema:
  3327. $ref: '#/components/schemas/TaskNote.jsonhal'
  3328. links: { }
  3329. 400:
  3330. description: 'Invalid input'
  3331. 422:
  3332. description: 'Unprocessable entity'
  3333. 404:
  3334. description: 'Resource not found'
  3335. summary: 'Updates the TaskNote resource.'
  3336. description: 'Updates the TaskNote resource.'
  3337. parameters:
  3338. -
  3339. name: id
  3340. in: path
  3341. description: 'TaskNoteApi identifier'
  3342. required: true
  3343. deprecated: false
  3344. allowEmptyValue: false
  3345. schema:
  3346. type: string
  3347. style: simple
  3348. explode: false
  3349. allowReserved: false
  3350. requestBody:
  3351. description: 'The updated TaskNote resource'
  3352. content:
  3353. application/merge-patch+json:
  3354. schema:
  3355. $ref: '#/components/schemas/TaskNote'
  3356. required: true
  3357. deprecated: false
  3358. parameters: []
  3359. /api/tasks:
  3360. get:
  3361. operationId: api_tasks_get_collection
  3362. tags:
  3363. - Task
  3364. responses:
  3365. 200:
  3366. description: 'Task collection'
  3367. content:
  3368. application/ld+json:
  3369. schema:
  3370. type: object
  3371. properties:
  3372. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Task.jsonld' } }
  3373. 'hydra:totalItems': { type: integer, minimum: 0 }
  3374. '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 } }
  3375. '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 } } } } } }
  3376. required:
  3377. - 'hydra:member'
  3378. application/json:
  3379. schema:
  3380. type: array
  3381. items:
  3382. $ref: '#/components/schemas/Task'
  3383. text/html:
  3384. schema:
  3385. type: array
  3386. items:
  3387. $ref: '#/components/schemas/Task'
  3388. application/hal+json:
  3389. schema:
  3390. type: object
  3391. properties:
  3392. _embedded: { type: array, items: { $ref: '#/components/schemas/Task.jsonhal' } }
  3393. totalItems: { type: integer, minimum: 0 }
  3394. itemsPerPage: { type: integer, minimum: 0 }
  3395. _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 } } } } }
  3396. required:
  3397. - _links
  3398. - _embedded
  3399. summary: 'Retrieves the collection of Task resources.'
  3400. description: 'Retrieves the collection of Task resources.'
  3401. parameters:
  3402. -
  3403. name: page
  3404. in: query
  3405. description: 'The collection page number'
  3406. required: false
  3407. deprecated: false
  3408. allowEmptyValue: true
  3409. schema:
  3410. type: integer
  3411. default: 1
  3412. style: form
  3413. explode: false
  3414. allowReserved: false
  3415. -
  3416. name: itemsPerPage
  3417. in: query
  3418. description: 'The number of items per page'
  3419. required: false
  3420. deprecated: false
  3421. allowEmptyValue: true
  3422. schema:
  3423. type: integer
  3424. default: 10
  3425. minimum: 0
  3426. maximum: 50
  3427. style: form
  3428. explode: false
  3429. allowReserved: false
  3430. -
  3431. name: assignedTo
  3432. in: query
  3433. description: ''
  3434. required: false
  3435. deprecated: false
  3436. allowEmptyValue: true
  3437. schema:
  3438. type: string
  3439. style: form
  3440. explode: false
  3441. allowReserved: false
  3442. -
  3443. name: 'assignedTo[]'
  3444. in: query
  3445. description: ''
  3446. required: false
  3447. deprecated: false
  3448. allowEmptyValue: true
  3449. schema:
  3450. type: array
  3451. items:
  3452. type: string
  3453. style: form
  3454. explode: true
  3455. allowReserved: false
  3456. -
  3457. name: partner
  3458. in: query
  3459. description: ''
  3460. required: false
  3461. deprecated: false
  3462. allowEmptyValue: true
  3463. schema:
  3464. type: string
  3465. style: form
  3466. explode: false
  3467. allowReserved: false
  3468. -
  3469. name: 'partner[]'
  3470. in: query
  3471. description: ''
  3472. required: false
  3473. deprecated: false
  3474. allowEmptyValue: true
  3475. schema:
  3476. type: array
  3477. items:
  3478. type: string
  3479. style: form
  3480. explode: true
  3481. allowReserved: false
  3482. -
  3483. name: contact
  3484. in: query
  3485. description: ''
  3486. required: false
  3487. deprecated: false
  3488. allowEmptyValue: true
  3489. schema:
  3490. type: string
  3491. style: form
  3492. explode: false
  3493. allowReserved: false
  3494. -
  3495. name: 'contact[]'
  3496. in: query
  3497. description: ''
  3498. required: false
  3499. deprecated: false
  3500. allowEmptyValue: true
  3501. schema:
  3502. type: array
  3503. items:
  3504. type: string
  3505. style: form
  3506. explode: true
  3507. allowReserved: false
  3508. deprecated: false
  3509. post:
  3510. operationId: api_tasks_post
  3511. tags:
  3512. - Task
  3513. responses:
  3514. 201:
  3515. description: 'Task resource created'
  3516. content:
  3517. application/ld+json:
  3518. schema:
  3519. $ref: '#/components/schemas/Task.jsonld'
  3520. application/json:
  3521. schema:
  3522. $ref: '#/components/schemas/Task'
  3523. text/html:
  3524. schema:
  3525. $ref: '#/components/schemas/Task'
  3526. application/hal+json:
  3527. schema:
  3528. $ref: '#/components/schemas/Task.jsonhal'
  3529. links: { }
  3530. 400:
  3531. description: 'Invalid input'
  3532. 422:
  3533. description: 'Unprocessable entity'
  3534. summary: 'Creates a Task resource.'
  3535. description: 'Creates a Task resource.'
  3536. parameters: []
  3537. requestBody:
  3538. description: 'The new Task resource'
  3539. content:
  3540. application/ld+json:
  3541. schema:
  3542. $ref: '#/components/schemas/Task.jsonld'
  3543. application/json:
  3544. schema:
  3545. $ref: '#/components/schemas/Task'
  3546. text/html:
  3547. schema:
  3548. $ref: '#/components/schemas/Task'
  3549. application/hal+json:
  3550. schema:
  3551. $ref: '#/components/schemas/Task.jsonhal'
  3552. required: true
  3553. deprecated: false
  3554. parameters: []
  3555. '/api/tasks/{id}':
  3556. get:
  3557. operationId: api_tasks_id_get
  3558. tags:
  3559. - Task
  3560. responses:
  3561. 200:
  3562. description: 'Task resource'
  3563. content:
  3564. application/ld+json:
  3565. schema:
  3566. $ref: '#/components/schemas/Task.jsonld'
  3567. application/json:
  3568. schema:
  3569. $ref: '#/components/schemas/Task'
  3570. text/html:
  3571. schema:
  3572. $ref: '#/components/schemas/Task'
  3573. application/hal+json:
  3574. schema:
  3575. $ref: '#/components/schemas/Task.jsonhal'
  3576. 404:
  3577. description: 'Resource not found'
  3578. summary: 'Retrieves a Task resource.'
  3579. description: 'Retrieves a Task resource.'
  3580. parameters:
  3581. -
  3582. name: id
  3583. in: path
  3584. description: 'TaskApi identifier'
  3585. required: true
  3586. deprecated: false
  3587. allowEmptyValue: false
  3588. schema:
  3589. type: string
  3590. style: simple
  3591. explode: false
  3592. allowReserved: false
  3593. deprecated: false
  3594. patch:
  3595. operationId: api_tasks_id_patch
  3596. tags:
  3597. - Task
  3598. responses:
  3599. 200:
  3600. description: 'Task resource updated'
  3601. content:
  3602. application/ld+json:
  3603. schema:
  3604. $ref: '#/components/schemas/Task.jsonld'
  3605. application/json:
  3606. schema:
  3607. $ref: '#/components/schemas/Task'
  3608. text/html:
  3609. schema:
  3610. $ref: '#/components/schemas/Task'
  3611. application/hal+json:
  3612. schema:
  3613. $ref: '#/components/schemas/Task.jsonhal'
  3614. links: { }
  3615. 400:
  3616. description: 'Invalid input'
  3617. 422:
  3618. description: 'Unprocessable entity'
  3619. 404:
  3620. description: 'Resource not found'
  3621. summary: 'Updates the Task resource.'
  3622. description: 'Updates the Task resource.'
  3623. parameters:
  3624. -
  3625. name: id
  3626. in: path
  3627. description: 'TaskApi identifier'
  3628. required: true
  3629. deprecated: false
  3630. allowEmptyValue: false
  3631. schema:
  3632. type: string
  3633. style: simple
  3634. explode: false
  3635. allowReserved: false
  3636. requestBody:
  3637. description: 'The updated Task resource'
  3638. content:
  3639. application/merge-patch+json:
  3640. schema:
  3641. $ref: '#/components/schemas/Task'
  3642. required: true
  3643. deprecated: false
  3644. parameters: []
  3645. /api/user_products:
  3646. get:
  3647. operationId: api_user_products_get_collection
  3648. tags:
  3649. - UserProduct
  3650. responses:
  3651. 200:
  3652. description: 'UserProduct collection'
  3653. content:
  3654. application/ld+json:
  3655. schema:
  3656. type: object
  3657. properties:
  3658. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/UserProduct.jsonld' } }
  3659. 'hydra:totalItems': { type: integer, minimum: 0 }
  3660. '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 } }
  3661. '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 } } } } } }
  3662. required:
  3663. - 'hydra:member'
  3664. application/json:
  3665. schema:
  3666. type: array
  3667. items:
  3668. $ref: '#/components/schemas/UserProduct'
  3669. text/html:
  3670. schema:
  3671. type: array
  3672. items:
  3673. $ref: '#/components/schemas/UserProduct'
  3674. application/hal+json:
  3675. schema:
  3676. type: object
  3677. properties:
  3678. _embedded: { type: array, items: { $ref: '#/components/schemas/UserProduct.jsonhal' } }
  3679. totalItems: { type: integer, minimum: 0 }
  3680. itemsPerPage: { type: integer, minimum: 0 }
  3681. _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 } } } } }
  3682. required:
  3683. - _links
  3684. - _embedded
  3685. summary: 'Retrieves the collection of UserProduct resources.'
  3686. description: 'Retrieves the collection of UserProduct resources.'
  3687. parameters:
  3688. -
  3689. name: page
  3690. in: query
  3691. description: 'The collection page number'
  3692. required: false
  3693. deprecated: false
  3694. allowEmptyValue: true
  3695. schema:
  3696. type: integer
  3697. default: 1
  3698. style: form
  3699. explode: false
  3700. allowReserved: false
  3701. -
  3702. name: itemsPerPage
  3703. in: query
  3704. description: 'The number of items per page'
  3705. required: false
  3706. deprecated: false
  3707. allowEmptyValue: true
  3708. schema:
  3709. type: integer
  3710. default: 10
  3711. minimum: 0
  3712. maximum: 50
  3713. style: form
  3714. explode: false
  3715. allowReserved: false
  3716. -
  3717. name: user
  3718. in: query
  3719. description: ''
  3720. required: false
  3721. deprecated: false
  3722. allowEmptyValue: true
  3723. schema:
  3724. type: string
  3725. style: form
  3726. explode: false
  3727. allowReserved: false
  3728. -
  3729. name: 'user[]'
  3730. in: query
  3731. description: ''
  3732. required: false
  3733. deprecated: false
  3734. allowEmptyValue: true
  3735. schema:
  3736. type: array
  3737. items:
  3738. type: string
  3739. style: form
  3740. explode: true
  3741. allowReserved: false
  3742. -
  3743. name: product
  3744. in: query
  3745. description: ''
  3746. required: false
  3747. deprecated: false
  3748. allowEmptyValue: true
  3749. schema:
  3750. type: string
  3751. style: form
  3752. explode: false
  3753. allowReserved: false
  3754. -
  3755. name: 'product[]'
  3756. in: query
  3757. description: ''
  3758. required: false
  3759. deprecated: false
  3760. allowEmptyValue: true
  3761. schema:
  3762. type: array
  3763. items:
  3764. type: string
  3765. style: form
  3766. explode: true
  3767. allowReserved: false
  3768. -
  3769. name: 'order[product.name]'
  3770. in: query
  3771. description: ''
  3772. required: false
  3773. deprecated: false
  3774. allowEmptyValue: true
  3775. schema:
  3776. type: string
  3777. enum:
  3778. - asc
  3779. - desc
  3780. style: form
  3781. explode: false
  3782. allowReserved: false
  3783. deprecated: false
  3784. post:
  3785. operationId: api_user_products_post
  3786. tags:
  3787. - UserProduct
  3788. responses:
  3789. 201:
  3790. description: 'UserProduct resource created'
  3791. content:
  3792. application/ld+json:
  3793. schema:
  3794. $ref: '#/components/schemas/UserProduct.jsonld'
  3795. application/json:
  3796. schema:
  3797. $ref: '#/components/schemas/UserProduct'
  3798. text/html:
  3799. schema:
  3800. $ref: '#/components/schemas/UserProduct'
  3801. application/hal+json:
  3802. schema:
  3803. $ref: '#/components/schemas/UserProduct.jsonhal'
  3804. links: { }
  3805. 400:
  3806. description: 'Invalid input'
  3807. 422:
  3808. description: 'Unprocessable entity'
  3809. summary: 'Creates a UserProduct resource.'
  3810. description: 'Creates a UserProduct resource.'
  3811. parameters: []
  3812. requestBody:
  3813. description: 'The new UserProduct resource'
  3814. content:
  3815. application/ld+json:
  3816. schema:
  3817. $ref: '#/components/schemas/UserProduct.jsonld'
  3818. application/json:
  3819. schema:
  3820. $ref: '#/components/schemas/UserProduct'
  3821. text/html:
  3822. schema:
  3823. $ref: '#/components/schemas/UserProduct'
  3824. application/hal+json:
  3825. schema:
  3826. $ref: '#/components/schemas/UserProduct.jsonhal'
  3827. required: true
  3828. deprecated: false
  3829. parameters: []
  3830. '/api/user_products/{id}':
  3831. get:
  3832. operationId: api_user_products_id_get
  3833. tags:
  3834. - UserProduct
  3835. responses:
  3836. 200:
  3837. description: 'UserProduct resource'
  3838. content:
  3839. application/ld+json:
  3840. schema:
  3841. $ref: '#/components/schemas/UserProduct.jsonld'
  3842. application/json:
  3843. schema:
  3844. $ref: '#/components/schemas/UserProduct'
  3845. text/html:
  3846. schema:
  3847. $ref: '#/components/schemas/UserProduct'
  3848. application/hal+json:
  3849. schema:
  3850. $ref: '#/components/schemas/UserProduct.jsonhal'
  3851. 404:
  3852. description: 'Resource not found'
  3853. summary: 'Retrieves a UserProduct resource.'
  3854. description: 'Retrieves a UserProduct resource.'
  3855. parameters:
  3856. -
  3857. name: id
  3858. in: path
  3859. description: 'UserProductApi identifier'
  3860. required: true
  3861. deprecated: false
  3862. allowEmptyValue: false
  3863. schema:
  3864. type: string
  3865. style: simple
  3866. explode: false
  3867. allowReserved: false
  3868. deprecated: false
  3869. delete:
  3870. operationId: api_user_products_id_delete
  3871. tags:
  3872. - UserProduct
  3873. responses:
  3874. 204:
  3875. description: 'UserProduct resource deleted'
  3876. 404:
  3877. description: 'Resource not found'
  3878. summary: 'Removes the UserProduct resource.'
  3879. description: 'Removes the UserProduct resource.'
  3880. parameters:
  3881. -
  3882. name: id
  3883. in: path
  3884. description: 'UserProductApi identifier'
  3885. required: true
  3886. deprecated: false
  3887. allowEmptyValue: false
  3888. schema:
  3889. type: string
  3890. style: simple
  3891. explode: false
  3892. allowReserved: false
  3893. deprecated: false
  3894. parameters: []
  3895. /api/users:
  3896. get:
  3897. operationId: api_users_get_collection
  3898. tags:
  3899. - User
  3900. responses:
  3901. 200:
  3902. description: 'User collection'
  3903. content:
  3904. application/ld+json:
  3905. schema:
  3906. type: object
  3907. properties:
  3908. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/User.jsonld' } }
  3909. 'hydra:totalItems': { type: integer, minimum: 0 }
  3910. '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 } }
  3911. '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 } } } } } }
  3912. required:
  3913. - 'hydra:member'
  3914. application/json:
  3915. schema:
  3916. type: array
  3917. items:
  3918. $ref: '#/components/schemas/User'
  3919. text/html:
  3920. schema:
  3921. type: array
  3922. items:
  3923. $ref: '#/components/schemas/User'
  3924. application/hal+json:
  3925. schema:
  3926. type: object
  3927. properties:
  3928. _embedded: { type: array, items: { $ref: '#/components/schemas/User.jsonhal' } }
  3929. totalItems: { type: integer, minimum: 0 }
  3930. itemsPerPage: { type: integer, minimum: 0 }
  3931. _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 } } } } }
  3932. required:
  3933. - _links
  3934. - _embedded
  3935. summary: 'Retrieves the collection of User resources.'
  3936. description: 'Retrieves the collection of User resources.'
  3937. parameters:
  3938. -
  3939. name: page
  3940. in: query
  3941. description: 'The collection page number'
  3942. required: false
  3943. deprecated: false
  3944. allowEmptyValue: true
  3945. schema:
  3946. type: integer
  3947. default: 1
  3948. style: form
  3949. explode: false
  3950. allowReserved: false
  3951. -
  3952. name: itemsPerPage
  3953. in: query
  3954. description: 'The number of items per page'
  3955. required: false
  3956. deprecated: false
  3957. allowEmptyValue: true
  3958. schema:
  3959. type: integer
  3960. default: 10
  3961. minimum: 0
  3962. maximum: 50
  3963. style: form
  3964. explode: false
  3965. allowReserved: false
  3966. -
  3967. name: firstName
  3968. in: query
  3969. description: ''
  3970. required: false
  3971. deprecated: false
  3972. allowEmptyValue: true
  3973. schema:
  3974. type: string
  3975. style: form
  3976. explode: false
  3977. allowReserved: false
  3978. -
  3979. name: lastName
  3980. in: query
  3981. description: ''
  3982. required: false
  3983. deprecated: false
  3984. allowEmptyValue: true
  3985. schema:
  3986. type: string
  3987. style: form
  3988. explode: false
  3989. allowReserved: false
  3990. deprecated: false
  3991. post:
  3992. operationId: api_users_post
  3993. tags:
  3994. - User
  3995. responses:
  3996. 201:
  3997. description: 'User resource created'
  3998. content:
  3999. application/ld+json:
  4000. schema:
  4001. $ref: '#/components/schemas/User.jsonld'
  4002. application/json:
  4003. schema:
  4004. $ref: '#/components/schemas/User'
  4005. text/html:
  4006. schema:
  4007. $ref: '#/components/schemas/User'
  4008. application/hal+json:
  4009. schema:
  4010. $ref: '#/components/schemas/User.jsonhal'
  4011. links: { }
  4012. 400:
  4013. description: 'Invalid input'
  4014. 422:
  4015. description: 'Unprocessable entity'
  4016. summary: 'Creates a User resource.'
  4017. description: 'Creates a User resource.'
  4018. parameters: []
  4019. requestBody:
  4020. description: 'The new User resource'
  4021. content:
  4022. application/ld+json:
  4023. schema:
  4024. $ref: '#/components/schemas/User.jsonld'
  4025. application/json:
  4026. schema:
  4027. $ref: '#/components/schemas/User'
  4028. text/html:
  4029. schema:
  4030. $ref: '#/components/schemas/User'
  4031. application/hal+json:
  4032. schema:
  4033. $ref: '#/components/schemas/User.jsonhal'
  4034. required: true
  4035. deprecated: false
  4036. parameters: []
  4037. '/api/users/{id}':
  4038. get:
  4039. operationId: api_users_id_get
  4040. tags:
  4041. - User
  4042. responses:
  4043. 200:
  4044. description: 'User resource'
  4045. content:
  4046. application/ld+json:
  4047. schema:
  4048. $ref: '#/components/schemas/User.jsonld'
  4049. application/json:
  4050. schema:
  4051. $ref: '#/components/schemas/User'
  4052. text/html:
  4053. schema:
  4054. $ref: '#/components/schemas/User'
  4055. application/hal+json:
  4056. schema:
  4057. $ref: '#/components/schemas/User.jsonhal'
  4058. 404:
  4059. description: 'Resource not found'
  4060. summary: 'Retrieves a User resource.'
  4061. description: 'Retrieves a User resource.'
  4062. parameters:
  4063. -
  4064. name: id
  4065. in: path
  4066. description: 'UserApi identifier'
  4067. required: true
  4068. deprecated: false
  4069. allowEmptyValue: false
  4070. schema:
  4071. type: string
  4072. style: simple
  4073. explode: false
  4074. allowReserved: false
  4075. deprecated: false
  4076. parameters: []
  4077. /auth:
  4078. post:
  4079. operationId: login_check_post
  4080. tags:
  4081. - 'Login Check'
  4082. responses:
  4083. 200:
  4084. description: 'User token created'
  4085. content:
  4086. application/json:
  4087. schema:
  4088. type: object
  4089. properties:
  4090. token: { readOnly: true, type: string, nullable: false }
  4091. required:
  4092. - token
  4093. summary: 'Creates a user token.'
  4094. description: 'Creates a user token.'
  4095. requestBody:
  4096. description: 'The login data'
  4097. content:
  4098. application/json:
  4099. schema:
  4100. type: object
  4101. properties:
  4102. email:
  4103. type: string
  4104. nullable: false
  4105. password:
  4106. type: string
  4107. nullable: false
  4108. required:
  4109. - email
  4110. - password
  4111. required: true
  4112. parameters: []
  4113. components:
  4114. schemas:
  4115. Comment:
  4116. type: object
  4117. description: ''
  4118. deprecated: false
  4119. required:
  4120. - message
  4121. properties:
  4122. message:
  4123. type:
  4124. - string
  4125. - 'null'
  4126. owner:
  4127. readOnly: true
  4128. description: '?UserApi'
  4129. 'owl:maxCardinality': 1
  4130. $ref: '#/components/schemas/User'
  4131. postIri:
  4132. 'owl:maxCardinality': 1
  4133. type:
  4134. - string
  4135. - 'null'
  4136. format: iri-reference
  4137. example: 'https://example.com/'
  4138. createdAt:
  4139. readOnly: true
  4140. type:
  4141. - string
  4142. - 'null'
  4143. format: date-time
  4144. Comment.jsonhal:
  4145. type: object
  4146. description: ''
  4147. deprecated: false
  4148. required:
  4149. - message
  4150. properties:
  4151. _links:
  4152. type: object
  4153. properties:
  4154. self:
  4155. type: object
  4156. properties:
  4157. href:
  4158. type: string
  4159. format: iri-reference
  4160. message:
  4161. type:
  4162. - string
  4163. - 'null'
  4164. owner:
  4165. readOnly: true
  4166. description: '?UserApi'
  4167. 'owl:maxCardinality': 1
  4168. $ref: '#/components/schemas/User.jsonhal'
  4169. postIri:
  4170. 'owl:maxCardinality': 1
  4171. type:
  4172. - string
  4173. - 'null'
  4174. format: iri-reference
  4175. example: 'https://example.com/'
  4176. createdAt:
  4177. readOnly: true
  4178. type:
  4179. - string
  4180. - 'null'
  4181. format: date-time
  4182. Comment.jsonld:
  4183. type: object
  4184. description: ''
  4185. deprecated: false
  4186. required:
  4187. - message
  4188. properties:
  4189. '@context':
  4190. readOnly: true
  4191. oneOf:
  4192. -
  4193. type: string
  4194. -
  4195. type: object
  4196. properties:
  4197. '@vocab':
  4198. type: string
  4199. hydra:
  4200. type: string
  4201. enum: ['http://www.w3.org/ns/hydra/core#']
  4202. required:
  4203. - '@vocab'
  4204. - hydra
  4205. additionalProperties: true
  4206. '@id':
  4207. readOnly: true
  4208. type: string
  4209. '@type':
  4210. readOnly: true
  4211. type: string
  4212. message:
  4213. type:
  4214. - string
  4215. - 'null'
  4216. owner:
  4217. readOnly: true
  4218. description: '?UserApi'
  4219. 'owl:maxCardinality': 1
  4220. $ref: '#/components/schemas/User.jsonld'
  4221. postIri:
  4222. 'owl:maxCardinality': 1
  4223. type:
  4224. - string
  4225. - 'null'
  4226. format: iri-reference
  4227. example: 'https://example.com/'
  4228. createdAt:
  4229. readOnly: true
  4230. type:
  4231. - string
  4232. - 'null'
  4233. format: date-time
  4234. Contact:
  4235. type: object
  4236. description: ''
  4237. deprecated: false
  4238. required:
  4239. - firstName
  4240. - lastName
  4241. - partnerIri
  4242. properties:
  4243. firstName:
  4244. type:
  4245. - string
  4246. - 'null'
  4247. lastName:
  4248. type:
  4249. - string
  4250. - 'null'
  4251. fullName:
  4252. type:
  4253. - string
  4254. - 'null'
  4255. partner:
  4256. readOnly: true
  4257. description: '?PartnerApi'
  4258. 'owl:maxCardinality': 1
  4259. $ref: '#/components/schemas/Partner'
  4260. partnerIri:
  4261. 'owl:maxCardinality': 1
  4262. type:
  4263. - string
  4264. - 'null'
  4265. format: iri-reference
  4266. example: 'https://example.com/'
  4267. birthday:
  4268. type:
  4269. - string
  4270. - 'null'
  4271. format: date-time
  4272. image:
  4273. 'owl:maxCardinality': 1
  4274. type:
  4275. - string
  4276. - 'null'
  4277. format: iri-reference
  4278. example: 'https://example.com/'
  4279. imageUrl:
  4280. readOnly: true
  4281. type:
  4282. - string
  4283. - 'null'
  4284. position:
  4285. type:
  4286. - string
  4287. - 'null'
  4288. phone:
  4289. type:
  4290. - string
  4291. - 'null'
  4292. email:
  4293. format: email
  4294. externalDocs:
  4295. url: 'https://schema.org/email'
  4296. type:
  4297. - string
  4298. - 'null'
  4299. posts:
  4300. readOnly: true
  4301. type: array
  4302. items:
  4303. type: string
  4304. format: iri-reference
  4305. example: 'https://example.com/'
  4306. createdBy:
  4307. readOnly: true
  4308. description: '?UserApi'
  4309. 'owl:maxCardinality': 1
  4310. $ref: '#/components/schemas/User'
  4311. createdAt:
  4312. readOnly: true
  4313. type:
  4314. - string
  4315. - 'null'
  4316. format: date-time
  4317. Contact.jsonhal:
  4318. type: object
  4319. description: ''
  4320. deprecated: false
  4321. required:
  4322. - firstName
  4323. - lastName
  4324. - partnerIri
  4325. properties:
  4326. _links:
  4327. type: object
  4328. properties:
  4329. self:
  4330. type: object
  4331. properties:
  4332. href:
  4333. type: string
  4334. format: iri-reference
  4335. firstName:
  4336. type:
  4337. - string
  4338. - 'null'
  4339. lastName:
  4340. type:
  4341. - string
  4342. - 'null'
  4343. fullName:
  4344. type:
  4345. - string
  4346. - 'null'
  4347. partner:
  4348. readOnly: true
  4349. description: '?PartnerApi'
  4350. 'owl:maxCardinality': 1
  4351. $ref: '#/components/schemas/Partner.jsonhal'
  4352. partnerIri:
  4353. 'owl:maxCardinality': 1
  4354. type:
  4355. - string
  4356. - 'null'
  4357. format: iri-reference
  4358. example: 'https://example.com/'
  4359. birthday:
  4360. type:
  4361. - string
  4362. - 'null'
  4363. format: date-time
  4364. image:
  4365. 'owl:maxCardinality': 1
  4366. type:
  4367. - string
  4368. - 'null'
  4369. format: iri-reference
  4370. example: 'https://example.com/'
  4371. imageUrl:
  4372. readOnly: true
  4373. type:
  4374. - string
  4375. - 'null'
  4376. position:
  4377. type:
  4378. - string
  4379. - 'null'
  4380. phone:
  4381. type:
  4382. - string
  4383. - 'null'
  4384. email:
  4385. format: email
  4386. externalDocs:
  4387. url: 'https://schema.org/email'
  4388. type:
  4389. - string
  4390. - 'null'
  4391. posts:
  4392. readOnly: true
  4393. type: array
  4394. items:
  4395. type: string
  4396. format: iri-reference
  4397. example: 'https://example.com/'
  4398. createdBy:
  4399. readOnly: true
  4400. description: '?UserApi'
  4401. 'owl:maxCardinality': 1
  4402. $ref: '#/components/schemas/User.jsonhal'
  4403. createdAt:
  4404. readOnly: true
  4405. type:
  4406. - string
  4407. - 'null'
  4408. format: date-time
  4409. Contact.jsonld:
  4410. type: object
  4411. description: ''
  4412. deprecated: false
  4413. required:
  4414. - firstName
  4415. - lastName
  4416. - partnerIri
  4417. properties:
  4418. '@context':
  4419. readOnly: true
  4420. oneOf:
  4421. -
  4422. type: string
  4423. -
  4424. type: object
  4425. properties:
  4426. '@vocab':
  4427. type: string
  4428. hydra:
  4429. type: string
  4430. enum: ['http://www.w3.org/ns/hydra/core#']
  4431. required:
  4432. - '@vocab'
  4433. - hydra
  4434. additionalProperties: true
  4435. '@id':
  4436. readOnly: true
  4437. type: string
  4438. '@type':
  4439. readOnly: true
  4440. type: string
  4441. firstName:
  4442. type:
  4443. - string
  4444. - 'null'
  4445. lastName:
  4446. type:
  4447. - string
  4448. - 'null'
  4449. fullName:
  4450. type:
  4451. - string
  4452. - 'null'
  4453. partner:
  4454. readOnly: true
  4455. description: '?PartnerApi'
  4456. 'owl:maxCardinality': 1
  4457. $ref: '#/components/schemas/Partner.jsonld'
  4458. partnerIri:
  4459. 'owl:maxCardinality': 1
  4460. type:
  4461. - string
  4462. - 'null'
  4463. format: iri-reference
  4464. example: 'https://example.com/'
  4465. birthday:
  4466. type:
  4467. - string
  4468. - 'null'
  4469. format: date-time
  4470. image:
  4471. 'owl:maxCardinality': 1
  4472. type:
  4473. - string
  4474. - 'null'
  4475. format: iri-reference
  4476. example: 'https://example.com/'
  4477. imageUrl:
  4478. readOnly: true
  4479. type:
  4480. - string
  4481. - 'null'
  4482. position:
  4483. type:
  4484. - string
  4485. - 'null'
  4486. phone:
  4487. type:
  4488. - string
  4489. - 'null'
  4490. email:
  4491. format: email
  4492. externalDocs:
  4493. url: 'https://schema.org/email'
  4494. type:
  4495. - string
  4496. - 'null'
  4497. posts:
  4498. readOnly: true
  4499. type: array
  4500. items:
  4501. type: string
  4502. format: iri-reference
  4503. example: 'https://example.com/'
  4504. createdBy:
  4505. readOnly: true
  4506. description: '?UserApi'
  4507. 'owl:maxCardinality': 1
  4508. $ref: '#/components/schemas/User.jsonld'
  4509. createdAt:
  4510. readOnly: true
  4511. type:
  4512. - string
  4513. - 'null'
  4514. format: date-time
  4515. ContactPartnerProduct:
  4516. type: object
  4517. description: ''
  4518. deprecated: false
  4519. required:
  4520. - contactIri
  4521. - partnerProductIri
  4522. properties:
  4523. contactIri:
  4524. 'owl:maxCardinality': 1
  4525. type:
  4526. - string
  4527. - 'null'
  4528. format: iri-reference
  4529. example: 'https://example.com/'
  4530. partnerProductIri:
  4531. 'owl:maxCardinality': 1
  4532. type:
  4533. - string
  4534. - 'null'
  4535. format: iri-reference
  4536. example: 'https://example.com/'
  4537. product:
  4538. readOnly: true
  4539. description: '?ProductApi'
  4540. 'owl:maxCardinality': 1
  4541. $ref: '#/components/schemas/Product'
  4542. createdAt:
  4543. readOnly: true
  4544. type:
  4545. - string
  4546. - 'null'
  4547. format: date-time
  4548. ContactPartnerProduct.jsonhal:
  4549. type: object
  4550. description: ''
  4551. deprecated: false
  4552. required:
  4553. - contactIri
  4554. - partnerProductIri
  4555. properties:
  4556. _links:
  4557. type: object
  4558. properties:
  4559. self:
  4560. type: object
  4561. properties:
  4562. href:
  4563. type: string
  4564. format: iri-reference
  4565. contactIri:
  4566. 'owl:maxCardinality': 1
  4567. type:
  4568. - string
  4569. - 'null'
  4570. format: iri-reference
  4571. example: 'https://example.com/'
  4572. partnerProductIri:
  4573. 'owl:maxCardinality': 1
  4574. type:
  4575. - string
  4576. - 'null'
  4577. format: iri-reference
  4578. example: 'https://example.com/'
  4579. product:
  4580. readOnly: true
  4581. description: '?ProductApi'
  4582. 'owl:maxCardinality': 1
  4583. $ref: '#/components/schemas/Product.jsonhal'
  4584. createdAt:
  4585. readOnly: true
  4586. type:
  4587. - string
  4588. - 'null'
  4589. format: date-time
  4590. ContactPartnerProduct.jsonld:
  4591. type: object
  4592. description: ''
  4593. deprecated: false
  4594. required:
  4595. - contactIri
  4596. - partnerProductIri
  4597. properties:
  4598. '@context':
  4599. readOnly: true
  4600. oneOf:
  4601. -
  4602. type: string
  4603. -
  4604. type: object
  4605. properties:
  4606. '@vocab':
  4607. type: string
  4608. hydra:
  4609. type: string
  4610. enum: ['http://www.w3.org/ns/hydra/core#']
  4611. required:
  4612. - '@vocab'
  4613. - hydra
  4614. additionalProperties: true
  4615. '@id':
  4616. readOnly: true
  4617. type: string
  4618. '@type':
  4619. readOnly: true
  4620. type: string
  4621. contactIri:
  4622. 'owl:maxCardinality': 1
  4623. type:
  4624. - string
  4625. - 'null'
  4626. format: iri-reference
  4627. example: 'https://example.com/'
  4628. partnerProductIri:
  4629. 'owl:maxCardinality': 1
  4630. type:
  4631. - string
  4632. - 'null'
  4633. format: iri-reference
  4634. example: 'https://example.com/'
  4635. product:
  4636. readOnly: true
  4637. description: '?ProductApi'
  4638. 'owl:maxCardinality': 1
  4639. $ref: '#/components/schemas/Product.jsonld'
  4640. createdAt:
  4641. readOnly: true
  4642. type:
  4643. - string
  4644. - 'null'
  4645. format: date-time
  4646. Document:
  4647. type: object
  4648. description: ''
  4649. deprecated: false
  4650. required:
  4651. - name
  4652. - documentObject
  4653. properties:
  4654. name:
  4655. type:
  4656. - string
  4657. - 'null'
  4658. description:
  4659. type:
  4660. - string
  4661. - 'null'
  4662. partner:
  4663. readOnly: true
  4664. description: '?PartnerApi'
  4665. 'owl:maxCardinality': 1
  4666. $ref: '#/components/schemas/Partner'
  4667. partnerIri:
  4668. 'owl:maxCardinality': 1
  4669. type:
  4670. - string
  4671. - 'null'
  4672. format: iri-reference
  4673. example: 'https://example.com/'
  4674. product:
  4675. readOnly: true
  4676. description: '?ProductApi'
  4677. 'owl:maxCardinality': 1
  4678. $ref: '#/components/schemas/Product'
  4679. productIri:
  4680. 'owl:maxCardinality': 1
  4681. type:
  4682. - string
  4683. - 'null'
  4684. format: iri-reference
  4685. example: 'https://example.com/'
  4686. documentObject:
  4687. 'owl:maxCardinality': 1
  4688. type:
  4689. - string
  4690. - 'null'
  4691. format: iri-reference
  4692. example: 'https://example.com/'
  4693. documentUrl:
  4694. readOnly: true
  4695. type:
  4696. - string
  4697. - 'null'
  4698. createdBy:
  4699. readOnly: true
  4700. description: '?UserApi'
  4701. 'owl:maxCardinality': 1
  4702. $ref: '#/components/schemas/User'
  4703. createdAt:
  4704. readOnly: true
  4705. type:
  4706. - string
  4707. - 'null'
  4708. format: date-time
  4709. Document.jsonhal:
  4710. type: object
  4711. description: ''
  4712. deprecated: false
  4713. required:
  4714. - name
  4715. - documentObject
  4716. properties:
  4717. _links:
  4718. type: object
  4719. properties:
  4720. self:
  4721. type: object
  4722. properties:
  4723. href:
  4724. type: string
  4725. format: iri-reference
  4726. name:
  4727. type:
  4728. - string
  4729. - 'null'
  4730. description:
  4731. type:
  4732. - string
  4733. - 'null'
  4734. partner:
  4735. readOnly: true
  4736. description: '?PartnerApi'
  4737. 'owl:maxCardinality': 1
  4738. $ref: '#/components/schemas/Partner.jsonhal'
  4739. partnerIri:
  4740. 'owl:maxCardinality': 1
  4741. type:
  4742. - string
  4743. - 'null'
  4744. format: iri-reference
  4745. example: 'https://example.com/'
  4746. product:
  4747. readOnly: true
  4748. description: '?ProductApi'
  4749. 'owl:maxCardinality': 1
  4750. $ref: '#/components/schemas/Product.jsonhal'
  4751. productIri:
  4752. 'owl:maxCardinality': 1
  4753. type:
  4754. - string
  4755. - 'null'
  4756. format: iri-reference
  4757. example: 'https://example.com/'
  4758. documentObject:
  4759. 'owl:maxCardinality': 1
  4760. type:
  4761. - string
  4762. - 'null'
  4763. format: iri-reference
  4764. example: 'https://example.com/'
  4765. documentUrl:
  4766. readOnly: true
  4767. type:
  4768. - string
  4769. - 'null'
  4770. createdBy:
  4771. readOnly: true
  4772. description: '?UserApi'
  4773. 'owl:maxCardinality': 1
  4774. $ref: '#/components/schemas/User.jsonhal'
  4775. createdAt:
  4776. readOnly: true
  4777. type:
  4778. - string
  4779. - 'null'
  4780. format: date-time
  4781. Document.jsonld:
  4782. type: object
  4783. description: ''
  4784. deprecated: false
  4785. required:
  4786. - name
  4787. - documentObject
  4788. properties:
  4789. '@context':
  4790. readOnly: true
  4791. oneOf:
  4792. -
  4793. type: string
  4794. -
  4795. type: object
  4796. properties:
  4797. '@vocab':
  4798. type: string
  4799. hydra:
  4800. type: string
  4801. enum: ['http://www.w3.org/ns/hydra/core#']
  4802. required:
  4803. - '@vocab'
  4804. - hydra
  4805. additionalProperties: true
  4806. '@id':
  4807. readOnly: true
  4808. type: string
  4809. '@type':
  4810. readOnly: true
  4811. type: string
  4812. name:
  4813. type:
  4814. - string
  4815. - 'null'
  4816. description:
  4817. type:
  4818. - string
  4819. - 'null'
  4820. partner:
  4821. readOnly: true
  4822. description: '?PartnerApi'
  4823. 'owl:maxCardinality': 1
  4824. $ref: '#/components/schemas/Partner.jsonld'
  4825. partnerIri:
  4826. 'owl:maxCardinality': 1
  4827. type:
  4828. - string
  4829. - 'null'
  4830. format: iri-reference
  4831. example: 'https://example.com/'
  4832. product:
  4833. readOnly: true
  4834. description: '?ProductApi'
  4835. 'owl:maxCardinality': 1
  4836. $ref: '#/components/schemas/Product.jsonld'
  4837. productIri:
  4838. 'owl:maxCardinality': 1
  4839. type:
  4840. - string
  4841. - 'null'
  4842. format: iri-reference
  4843. example: 'https://example.com/'
  4844. documentObject:
  4845. 'owl:maxCardinality': 1
  4846. type:
  4847. - string
  4848. - 'null'
  4849. format: iri-reference
  4850. example: 'https://example.com/'
  4851. documentUrl:
  4852. readOnly: true
  4853. type:
  4854. - string
  4855. - 'null'
  4856. createdBy:
  4857. readOnly: true
  4858. description: '?UserApi'
  4859. 'owl:maxCardinality': 1
  4860. $ref: '#/components/schemas/User.jsonld'
  4861. createdAt:
  4862. readOnly: true
  4863. type:
  4864. - string
  4865. - 'null'
  4866. format: date-time
  4867. DocumentObject-document_object.read:
  4868. type: object
  4869. description: ''
  4870. deprecated: false
  4871. externalDocs:
  4872. url: 'https://schema.org/MediaObject'
  4873. properties:
  4874. contentUrl:
  4875. externalDocs:
  4876. url: 'https://schema.org/contentUrl'
  4877. type:
  4878. - string
  4879. - 'null'
  4880. DocumentObject.jsonhal-document_object.read:
  4881. type: object
  4882. description: ''
  4883. deprecated: false
  4884. externalDocs:
  4885. url: 'https://schema.org/MediaObject'
  4886. properties:
  4887. _links:
  4888. type: object
  4889. properties:
  4890. self:
  4891. type: object
  4892. properties:
  4893. href:
  4894. type: string
  4895. format: iri-reference
  4896. contentUrl:
  4897. externalDocs:
  4898. url: 'https://schema.org/contentUrl'
  4899. type:
  4900. - string
  4901. - 'null'
  4902. DocumentObject.jsonld-document_object.read:
  4903. type: object
  4904. description: ''
  4905. deprecated: false
  4906. externalDocs:
  4907. url: 'https://schema.org/MediaObject'
  4908. properties:
  4909. '@context':
  4910. readOnly: true
  4911. oneOf:
  4912. -
  4913. type: string
  4914. -
  4915. type: object
  4916. properties:
  4917. '@vocab':
  4918. type: string
  4919. hydra:
  4920. type: string
  4921. enum: ['http://www.w3.org/ns/hydra/core#']
  4922. required:
  4923. - '@vocab'
  4924. - hydra
  4925. additionalProperties: true
  4926. '@id':
  4927. readOnly: true
  4928. type: string
  4929. '@type':
  4930. readOnly: true
  4931. type: string
  4932. contentUrl:
  4933. externalDocs:
  4934. url: 'https://schema.org/contentUrl'
  4935. type:
  4936. - string
  4937. - 'null'
  4938. MediaObject-media_object.read:
  4939. type: object
  4940. description: ''
  4941. deprecated: false
  4942. externalDocs:
  4943. url: 'https://schema.org/MediaObject'
  4944. properties:
  4945. contentUrl:
  4946. externalDocs:
  4947. url: 'https://schema.org/contentUrl'
  4948. type:
  4949. - string
  4950. - 'null'
  4951. MediaObject.jsonhal-media_object.read:
  4952. type: object
  4953. description: ''
  4954. deprecated: false
  4955. externalDocs:
  4956. url: 'https://schema.org/MediaObject'
  4957. properties:
  4958. _links:
  4959. type: object
  4960. properties:
  4961. self:
  4962. type: object
  4963. properties:
  4964. href:
  4965. type: string
  4966. format: iri-reference
  4967. contentUrl:
  4968. externalDocs:
  4969. url: 'https://schema.org/contentUrl'
  4970. type:
  4971. - string
  4972. - 'null'
  4973. MediaObject.jsonld-media_object.read:
  4974. type: object
  4975. description: ''
  4976. deprecated: false
  4977. externalDocs:
  4978. url: 'https://schema.org/MediaObject'
  4979. properties:
  4980. '@context':
  4981. readOnly: true
  4982. oneOf:
  4983. -
  4984. type: string
  4985. -
  4986. type: object
  4987. properties:
  4988. '@vocab':
  4989. type: string
  4990. hydra:
  4991. type: string
  4992. enum: ['http://www.w3.org/ns/hydra/core#']
  4993. required:
  4994. - '@vocab'
  4995. - hydra
  4996. additionalProperties: true
  4997. '@id':
  4998. readOnly: true
  4999. type: string
  5000. '@type':
  5001. readOnly: true
  5002. type: string
  5003. contentUrl:
  5004. externalDocs:
  5005. url: 'https://schema.org/contentUrl'
  5006. type:
  5007. - string
  5008. - 'null'
  5009. Partner:
  5010. type: object
  5011. description: ''
  5012. deprecated: false
  5013. required:
  5014. - name
  5015. - partnerType
  5016. properties:
  5017. name:
  5018. type: string
  5019. partnerType:
  5020. type: string
  5021. enum:
  5022. - customer
  5023. - supplier
  5024. - service
  5025. description:
  5026. type:
  5027. - string
  5028. - 'null'
  5029. street:
  5030. type:
  5031. - string
  5032. - 'null'
  5033. streetNo:
  5034. type:
  5035. - string
  5036. - 'null'
  5037. zip:
  5038. type:
  5039. - string
  5040. - 'null'
  5041. city:
  5042. type:
  5043. - string
  5044. - 'null'
  5045. country:
  5046. type:
  5047. - string
  5048. - 'null'
  5049. website:
  5050. type:
  5051. - string
  5052. - 'null'
  5053. logo:
  5054. 'owl:maxCardinality': 1
  5055. type:
  5056. - string
  5057. - 'null'
  5058. format: iri-reference
  5059. example: 'https://example.com/'
  5060. logoUrl:
  5061. readOnly: true
  5062. type:
  5063. - string
  5064. - 'null'
  5065. createdByIri:
  5066. readOnly: true
  5067. 'owl:maxCardinality': 1
  5068. type:
  5069. - string
  5070. - 'null'
  5071. format: iri-reference
  5072. example: 'https://example.com/'
  5073. createdAt:
  5074. readOnly: true
  5075. type:
  5076. - string
  5077. - 'null'
  5078. format: date-time
  5079. Partner.jsonhal:
  5080. type: object
  5081. description: ''
  5082. deprecated: false
  5083. required:
  5084. - name
  5085. - partnerType
  5086. properties:
  5087. _links:
  5088. type: object
  5089. properties:
  5090. self:
  5091. type: object
  5092. properties:
  5093. href:
  5094. type: string
  5095. format: iri-reference
  5096. name:
  5097. type: string
  5098. partnerType:
  5099. type: string
  5100. enum:
  5101. - customer
  5102. - supplier
  5103. - service
  5104. description:
  5105. type:
  5106. - string
  5107. - 'null'
  5108. street:
  5109. type:
  5110. - string
  5111. - 'null'
  5112. streetNo:
  5113. type:
  5114. - string
  5115. - 'null'
  5116. zip:
  5117. type:
  5118. - string
  5119. - 'null'
  5120. city:
  5121. type:
  5122. - string
  5123. - 'null'
  5124. country:
  5125. type:
  5126. - string
  5127. - 'null'
  5128. website:
  5129. type:
  5130. - string
  5131. - 'null'
  5132. logo:
  5133. 'owl:maxCardinality': 1
  5134. type:
  5135. - string
  5136. - 'null'
  5137. format: iri-reference
  5138. example: 'https://example.com/'
  5139. logoUrl:
  5140. readOnly: true
  5141. type:
  5142. - string
  5143. - 'null'
  5144. createdByIri:
  5145. readOnly: true
  5146. 'owl:maxCardinality': 1
  5147. type:
  5148. - string
  5149. - 'null'
  5150. format: iri-reference
  5151. example: 'https://example.com/'
  5152. createdAt:
  5153. readOnly: true
  5154. type:
  5155. - string
  5156. - 'null'
  5157. format: date-time
  5158. Partner.jsonld:
  5159. type: object
  5160. description: ''
  5161. deprecated: false
  5162. required:
  5163. - name
  5164. - partnerType
  5165. properties:
  5166. '@context':
  5167. readOnly: true
  5168. oneOf:
  5169. -
  5170. type: string
  5171. -
  5172. type: object
  5173. properties:
  5174. '@vocab':
  5175. type: string
  5176. hydra:
  5177. type: string
  5178. enum: ['http://www.w3.org/ns/hydra/core#']
  5179. required:
  5180. - '@vocab'
  5181. - hydra
  5182. additionalProperties: true
  5183. '@id':
  5184. readOnly: true
  5185. type: string
  5186. '@type':
  5187. readOnly: true
  5188. type: string
  5189. name:
  5190. type: string
  5191. partnerType:
  5192. type: string
  5193. enum:
  5194. - customer
  5195. - supplier
  5196. - service
  5197. description:
  5198. type:
  5199. - string
  5200. - 'null'
  5201. street:
  5202. type:
  5203. - string
  5204. - 'null'
  5205. streetNo:
  5206. type:
  5207. - string
  5208. - 'null'
  5209. zip:
  5210. type:
  5211. - string
  5212. - 'null'
  5213. city:
  5214. type:
  5215. - string
  5216. - 'null'
  5217. country:
  5218. type:
  5219. - string
  5220. - 'null'
  5221. website:
  5222. type:
  5223. - string
  5224. - 'null'
  5225. logo:
  5226. 'owl:maxCardinality': 1
  5227. type:
  5228. - string
  5229. - 'null'
  5230. format: iri-reference
  5231. example: 'https://example.com/'
  5232. logoUrl:
  5233. readOnly: true
  5234. type:
  5235. - string
  5236. - 'null'
  5237. createdByIri:
  5238. readOnly: true
  5239. 'owl:maxCardinality': 1
  5240. type:
  5241. - string
  5242. - 'null'
  5243. format: iri-reference
  5244. example: 'https://example.com/'
  5245. createdAt:
  5246. readOnly: true
  5247. type:
  5248. - string
  5249. - 'null'
  5250. format: date-time
  5251. PartnerFollow:
  5252. type: object
  5253. description: ''
  5254. deprecated: false
  5255. properties:
  5256. userIri:
  5257. 'owl:maxCardinality': 1
  5258. type:
  5259. - string
  5260. - 'null'
  5261. format: iri-reference
  5262. example: 'https://example.com/'
  5263. partner:
  5264. readOnly: true
  5265. description: '?PartnerApi'
  5266. 'owl:maxCardinality': 1
  5267. $ref: '#/components/schemas/Partner'
  5268. partnerIri:
  5269. 'owl:maxCardinality': 1
  5270. type:
  5271. - string
  5272. - 'null'
  5273. format: iri-reference
  5274. example: 'https://example.com/'
  5275. createdAt:
  5276. readOnly: true
  5277. type:
  5278. - string
  5279. - 'null'
  5280. format: date-time
  5281. owner:
  5282. readOnly: true
  5283. 'owl:maxCardinality': 1
  5284. type:
  5285. - string
  5286. - 'null'
  5287. format: iri-reference
  5288. example: 'https://example.com/'
  5289. required:
  5290. - partnerIri
  5291. PartnerFollow.jsonhal:
  5292. type: object
  5293. description: ''
  5294. deprecated: false
  5295. properties:
  5296. _links:
  5297. type: object
  5298. properties:
  5299. self:
  5300. type: object
  5301. properties:
  5302. href:
  5303. type: string
  5304. format: iri-reference
  5305. userIri:
  5306. 'owl:maxCardinality': 1
  5307. type:
  5308. - string
  5309. - 'null'
  5310. format: iri-reference
  5311. example: 'https://example.com/'
  5312. partner:
  5313. readOnly: true
  5314. description: '?PartnerApi'
  5315. 'owl:maxCardinality': 1
  5316. $ref: '#/components/schemas/Partner.jsonhal'
  5317. partnerIri:
  5318. 'owl:maxCardinality': 1
  5319. type:
  5320. - string
  5321. - 'null'
  5322. format: iri-reference
  5323. example: 'https://example.com/'
  5324. createdAt:
  5325. readOnly: true
  5326. type:
  5327. - string
  5328. - 'null'
  5329. format: date-time
  5330. owner:
  5331. readOnly: true
  5332. 'owl:maxCardinality': 1
  5333. type:
  5334. - string
  5335. - 'null'
  5336. format: iri-reference
  5337. example: 'https://example.com/'
  5338. required:
  5339. - partnerIri
  5340. PartnerFollow.jsonld:
  5341. type: object
  5342. description: ''
  5343. deprecated: false
  5344. properties:
  5345. '@context':
  5346. readOnly: true
  5347. oneOf:
  5348. -
  5349. type: string
  5350. -
  5351. type: object
  5352. properties:
  5353. '@vocab':
  5354. type: string
  5355. hydra:
  5356. type: string
  5357. enum: ['http://www.w3.org/ns/hydra/core#']
  5358. required:
  5359. - '@vocab'
  5360. - hydra
  5361. additionalProperties: true
  5362. '@id':
  5363. readOnly: true
  5364. type: string
  5365. '@type':
  5366. readOnly: true
  5367. type: string
  5368. userIri:
  5369. 'owl:maxCardinality': 1
  5370. type:
  5371. - string
  5372. - 'null'
  5373. format: iri-reference
  5374. example: 'https://example.com/'
  5375. partner:
  5376. readOnly: true
  5377. description: '?PartnerApi'
  5378. 'owl:maxCardinality': 1
  5379. $ref: '#/components/schemas/Partner.jsonld'
  5380. partnerIri:
  5381. 'owl:maxCardinality': 1
  5382. type:
  5383. - string
  5384. - 'null'
  5385. format: iri-reference
  5386. example: 'https://example.com/'
  5387. createdAt:
  5388. readOnly: true
  5389. type:
  5390. - string
  5391. - 'null'
  5392. format: date-time
  5393. owner:
  5394. readOnly: true
  5395. 'owl:maxCardinality': 1
  5396. type:
  5397. - string
  5398. - 'null'
  5399. format: iri-reference
  5400. example: 'https://example.com/'
  5401. required:
  5402. - partnerIri
  5403. PartnerProduct:
  5404. type: object
  5405. description: ''
  5406. deprecated: false
  5407. properties:
  5408. partner:
  5409. readOnly: true
  5410. description: '?PartnerApi'
  5411. 'owl:maxCardinality': 1
  5412. $ref: '#/components/schemas/Partner'
  5413. partnerIri:
  5414. 'owl:maxCardinality': 1
  5415. type:
  5416. - string
  5417. - 'null'
  5418. format: iri-reference
  5419. example: 'https://example.com/'
  5420. product:
  5421. description: '?ProductApi'
  5422. 'owl:maxCardinality': 1
  5423. $ref: '#/components/schemas/Product'
  5424. productIri:
  5425. 'owl:maxCardinality': 1
  5426. type:
  5427. - string
  5428. - 'null'
  5429. format: iri-reference
  5430. example: 'https://example.com/'
  5431. createdAt:
  5432. readOnly: true
  5433. type:
  5434. - string
  5435. - 'null'
  5436. format: date-time
  5437. required:
  5438. - partnerIri
  5439. - productIri
  5440. PartnerProduct.jsonhal:
  5441. type: object
  5442. description: ''
  5443. deprecated: false
  5444. properties:
  5445. _links:
  5446. type: object
  5447. properties:
  5448. self:
  5449. type: object
  5450. properties:
  5451. href:
  5452. type: string
  5453. format: iri-reference
  5454. partner:
  5455. readOnly: true
  5456. description: '?PartnerApi'
  5457. 'owl:maxCardinality': 1
  5458. $ref: '#/components/schemas/Partner.jsonhal'
  5459. partnerIri:
  5460. 'owl:maxCardinality': 1
  5461. type:
  5462. - string
  5463. - 'null'
  5464. format: iri-reference
  5465. example: 'https://example.com/'
  5466. product:
  5467. description: '?ProductApi'
  5468. 'owl:maxCardinality': 1
  5469. $ref: '#/components/schemas/Product.jsonhal'
  5470. productIri:
  5471. 'owl:maxCardinality': 1
  5472. type:
  5473. - string
  5474. - 'null'
  5475. format: iri-reference
  5476. example: 'https://example.com/'
  5477. createdAt:
  5478. readOnly: true
  5479. type:
  5480. - string
  5481. - 'null'
  5482. format: date-time
  5483. required:
  5484. - partnerIri
  5485. - productIri
  5486. PartnerProduct.jsonld:
  5487. type: object
  5488. description: ''
  5489. deprecated: false
  5490. properties:
  5491. '@context':
  5492. readOnly: true
  5493. oneOf:
  5494. -
  5495. type: string
  5496. -
  5497. type: object
  5498. properties:
  5499. '@vocab':
  5500. type: string
  5501. hydra:
  5502. type: string
  5503. enum: ['http://www.w3.org/ns/hydra/core#']
  5504. required:
  5505. - '@vocab'
  5506. - hydra
  5507. additionalProperties: true
  5508. '@id':
  5509. readOnly: true
  5510. type: string
  5511. '@type':
  5512. readOnly: true
  5513. type: string
  5514. partner:
  5515. readOnly: true
  5516. description: '?PartnerApi'
  5517. 'owl:maxCardinality': 1
  5518. $ref: '#/components/schemas/Partner.jsonld'
  5519. partnerIri:
  5520. 'owl:maxCardinality': 1
  5521. type:
  5522. - string
  5523. - 'null'
  5524. format: iri-reference
  5525. example: 'https://example.com/'
  5526. product:
  5527. description: '?ProductApi'
  5528. 'owl:maxCardinality': 1
  5529. $ref: '#/components/schemas/Product.jsonld'
  5530. productIri:
  5531. 'owl:maxCardinality': 1
  5532. type:
  5533. - string
  5534. - 'null'
  5535. format: iri-reference
  5536. example: 'https://example.com/'
  5537. createdAt:
  5538. readOnly: true
  5539. type:
  5540. - string
  5541. - 'null'
  5542. format: date-time
  5543. required:
  5544. - partnerIri
  5545. - productIri
  5546. Post:
  5547. type: object
  5548. description: ''
  5549. deprecated: false
  5550. required:
  5551. - headline
  5552. - message
  5553. properties:
  5554. headline:
  5555. type:
  5556. - string
  5557. - 'null'
  5558. message:
  5559. type:
  5560. - string
  5561. - 'null'
  5562. owner:
  5563. readOnly: true
  5564. description: '?UserApi'
  5565. 'owl:maxCardinality': 1
  5566. $ref: '#/components/schemas/User'
  5567. partner:
  5568. readOnly: true
  5569. description: '?PartnerApi'
  5570. 'owl:maxCardinality': 1
  5571. $ref: '#/components/schemas/Partner'
  5572. partnerIri:
  5573. 'owl:maxCardinality': 1
  5574. type:
  5575. - string
  5576. - 'null'
  5577. format: iri-reference
  5578. example: 'https://example.com/'
  5579. product:
  5580. readOnly: true
  5581. description: '?ProductApi'
  5582. 'owl:maxCardinality': 1
  5583. $ref: '#/components/schemas/Product'
  5584. productIri:
  5585. 'owl:maxCardinality': 1
  5586. type:
  5587. - string
  5588. - 'null'
  5589. format: iri-reference
  5590. example: 'https://example.com/'
  5591. contact:
  5592. readOnly: true
  5593. description: '?ContactApi'
  5594. 'owl:maxCardinality': 1
  5595. $ref: '#/components/schemas/Contact'
  5596. contactIri:
  5597. 'owl:maxCardinality': 1
  5598. type:
  5599. - string
  5600. - 'null'
  5601. format: iri-reference
  5602. example: 'https://example.com/'
  5603. sale:
  5604. readOnly: true
  5605. description: '?SaleApi'
  5606. 'owl:maxCardinality': 1
  5607. $ref: '#/components/schemas/Contact'
  5608. saleIri:
  5609. 'owl:maxCardinality': 1
  5610. type:
  5611. - string
  5612. - 'null'
  5613. format: iri-reference
  5614. example: 'https://example.com/'
  5615. numComments:
  5616. type:
  5617. - integer
  5618. - 'null'
  5619. createdAt:
  5620. readOnly: true
  5621. type:
  5622. - string
  5623. - 'null'
  5624. format: date-time
  5625. Post-posting.create:
  5626. type: object
  5627. description: ''
  5628. deprecated: false
  5629. required:
  5630. - headline
  5631. - message
  5632. properties:
  5633. headline:
  5634. type:
  5635. - string
  5636. - 'null'
  5637. message:
  5638. type:
  5639. - string
  5640. - 'null'
  5641. partnerIri:
  5642. 'owl:maxCardinality': 1
  5643. type:
  5644. - string
  5645. - 'null'
  5646. format: iri-reference
  5647. example: 'https://example.com/'
  5648. productIri:
  5649. 'owl:maxCardinality': 1
  5650. type:
  5651. - string
  5652. - 'null'
  5653. format: iri-reference
  5654. example: 'https://example.com/'
  5655. contactIri:
  5656. 'owl:maxCardinality': 1
  5657. type:
  5658. - string
  5659. - 'null'
  5660. format: iri-reference
  5661. example: 'https://example.com/'
  5662. saleIri:
  5663. 'owl:maxCardinality': 1
  5664. type:
  5665. - string
  5666. - 'null'
  5667. format: iri-reference
  5668. example: 'https://example.com/'
  5669. Post-posting.patch:
  5670. type: object
  5671. description: ''
  5672. deprecated: false
  5673. required:
  5674. - headline
  5675. - message
  5676. properties:
  5677. headline:
  5678. type:
  5679. - string
  5680. - 'null'
  5681. message:
  5682. type:
  5683. - string
  5684. - 'null'
  5685. Post.jsonhal:
  5686. type: object
  5687. description: ''
  5688. deprecated: false
  5689. required:
  5690. - headline
  5691. - message
  5692. properties:
  5693. _links:
  5694. type: object
  5695. properties:
  5696. self:
  5697. type: object
  5698. properties:
  5699. href:
  5700. type: string
  5701. format: iri-reference
  5702. headline:
  5703. type:
  5704. - string
  5705. - 'null'
  5706. message:
  5707. type:
  5708. - string
  5709. - 'null'
  5710. owner:
  5711. readOnly: true
  5712. description: '?UserApi'
  5713. 'owl:maxCardinality': 1
  5714. $ref: '#/components/schemas/User.jsonhal'
  5715. partner:
  5716. readOnly: true
  5717. description: '?PartnerApi'
  5718. 'owl:maxCardinality': 1
  5719. $ref: '#/components/schemas/Partner.jsonhal'
  5720. partnerIri:
  5721. 'owl:maxCardinality': 1
  5722. type:
  5723. - string
  5724. - 'null'
  5725. format: iri-reference
  5726. example: 'https://example.com/'
  5727. product:
  5728. readOnly: true
  5729. description: '?ProductApi'
  5730. 'owl:maxCardinality': 1
  5731. $ref: '#/components/schemas/Product.jsonhal'
  5732. productIri:
  5733. 'owl:maxCardinality': 1
  5734. type:
  5735. - string
  5736. - 'null'
  5737. format: iri-reference
  5738. example: 'https://example.com/'
  5739. contact:
  5740. readOnly: true
  5741. description: '?ContactApi'
  5742. 'owl:maxCardinality': 1
  5743. $ref: '#/components/schemas/Contact.jsonhal'
  5744. contactIri:
  5745. 'owl:maxCardinality': 1
  5746. type:
  5747. - string
  5748. - 'null'
  5749. format: iri-reference
  5750. example: 'https://example.com/'
  5751. sale:
  5752. readOnly: true
  5753. description: '?SaleApi'
  5754. 'owl:maxCardinality': 1
  5755. $ref: '#/components/schemas/Contact.jsonhal'
  5756. saleIri:
  5757. 'owl:maxCardinality': 1
  5758. type:
  5759. - string
  5760. - 'null'
  5761. format: iri-reference
  5762. example: 'https://example.com/'
  5763. numComments:
  5764. type:
  5765. - integer
  5766. - 'null'
  5767. createdAt:
  5768. readOnly: true
  5769. type:
  5770. - string
  5771. - 'null'
  5772. format: date-time
  5773. Post.jsonhal-posting.create:
  5774. type: object
  5775. description: ''
  5776. deprecated: false
  5777. required:
  5778. - headline
  5779. - message
  5780. properties:
  5781. _links:
  5782. type: object
  5783. properties:
  5784. self:
  5785. type: object
  5786. properties:
  5787. href:
  5788. type: string
  5789. format: iri-reference
  5790. headline:
  5791. type:
  5792. - string
  5793. - 'null'
  5794. message:
  5795. type:
  5796. - string
  5797. - 'null'
  5798. partnerIri:
  5799. 'owl:maxCardinality': 1
  5800. type:
  5801. - string
  5802. - 'null'
  5803. format: iri-reference
  5804. example: 'https://example.com/'
  5805. productIri:
  5806. 'owl:maxCardinality': 1
  5807. type:
  5808. - string
  5809. - 'null'
  5810. format: iri-reference
  5811. example: 'https://example.com/'
  5812. contactIri:
  5813. 'owl:maxCardinality': 1
  5814. type:
  5815. - string
  5816. - 'null'
  5817. format: iri-reference
  5818. example: 'https://example.com/'
  5819. saleIri:
  5820. 'owl:maxCardinality': 1
  5821. type:
  5822. - string
  5823. - 'null'
  5824. format: iri-reference
  5825. example: 'https://example.com/'
  5826. Post.jsonld:
  5827. type: object
  5828. description: ''
  5829. deprecated: false
  5830. required:
  5831. - headline
  5832. - message
  5833. properties:
  5834. '@context':
  5835. readOnly: true
  5836. oneOf:
  5837. -
  5838. type: string
  5839. -
  5840. type: object
  5841. properties:
  5842. '@vocab':
  5843. type: string
  5844. hydra:
  5845. type: string
  5846. enum: ['http://www.w3.org/ns/hydra/core#']
  5847. required:
  5848. - '@vocab'
  5849. - hydra
  5850. additionalProperties: true
  5851. '@id':
  5852. readOnly: true
  5853. type: string
  5854. '@type':
  5855. readOnly: true
  5856. type: string
  5857. headline:
  5858. type:
  5859. - string
  5860. - 'null'
  5861. message:
  5862. type:
  5863. - string
  5864. - 'null'
  5865. owner:
  5866. readOnly: true
  5867. description: '?UserApi'
  5868. 'owl:maxCardinality': 1
  5869. $ref: '#/components/schemas/User.jsonld'
  5870. partner:
  5871. readOnly: true
  5872. description: '?PartnerApi'
  5873. 'owl:maxCardinality': 1
  5874. $ref: '#/components/schemas/Partner.jsonld'
  5875. partnerIri:
  5876. 'owl:maxCardinality': 1
  5877. type:
  5878. - string
  5879. - 'null'
  5880. format: iri-reference
  5881. example: 'https://example.com/'
  5882. product:
  5883. readOnly: true
  5884. description: '?ProductApi'
  5885. 'owl:maxCardinality': 1
  5886. $ref: '#/components/schemas/Product.jsonld'
  5887. productIri:
  5888. 'owl:maxCardinality': 1
  5889. type:
  5890. - string
  5891. - 'null'
  5892. format: iri-reference
  5893. example: 'https://example.com/'
  5894. contact:
  5895. readOnly: true
  5896. description: '?ContactApi'
  5897. 'owl:maxCardinality': 1
  5898. $ref: '#/components/schemas/Contact.jsonld'
  5899. contactIri:
  5900. 'owl:maxCardinality': 1
  5901. type:
  5902. - string
  5903. - 'null'
  5904. format: iri-reference
  5905. example: 'https://example.com/'
  5906. sale:
  5907. readOnly: true
  5908. description: '?SaleApi'
  5909. 'owl:maxCardinality': 1
  5910. $ref: '#/components/schemas/Contact.jsonld'
  5911. saleIri:
  5912. 'owl:maxCardinality': 1
  5913. type:
  5914. - string
  5915. - 'null'
  5916. format: iri-reference
  5917. example: 'https://example.com/'
  5918. numComments:
  5919. type:
  5920. - integer
  5921. - 'null'
  5922. createdAt:
  5923. readOnly: true
  5924. type:
  5925. - string
  5926. - 'null'
  5927. format: date-time
  5928. Post.jsonld-posting.create:
  5929. type: object
  5930. description: ''
  5931. deprecated: false
  5932. required:
  5933. - headline
  5934. - message
  5935. properties:
  5936. headline:
  5937. type:
  5938. - string
  5939. - 'null'
  5940. message:
  5941. type:
  5942. - string
  5943. - 'null'
  5944. partnerIri:
  5945. 'owl:maxCardinality': 1
  5946. type:
  5947. - string
  5948. - 'null'
  5949. format: iri-reference
  5950. example: 'https://example.com/'
  5951. productIri:
  5952. 'owl:maxCardinality': 1
  5953. type:
  5954. - string
  5955. - 'null'
  5956. format: iri-reference
  5957. example: 'https://example.com/'
  5958. contactIri:
  5959. 'owl:maxCardinality': 1
  5960. type:
  5961. - string
  5962. - 'null'
  5963. format: iri-reference
  5964. example: 'https://example.com/'
  5965. saleIri:
  5966. 'owl:maxCardinality': 1
  5967. type:
  5968. - string
  5969. - 'null'
  5970. format: iri-reference
  5971. example: 'https://example.com/'
  5972. Product:
  5973. type: object
  5974. description: ''
  5975. deprecated: false
  5976. required:
  5977. - name
  5978. properties:
  5979. name:
  5980. type: string
  5981. description:
  5982. type:
  5983. - string
  5984. - 'null'
  5985. image:
  5986. 'owl:maxCardinality': 1
  5987. type:
  5988. - string
  5989. - 'null'
  5990. format: iri-reference
  5991. example: 'https://example.com/'
  5992. imageUrl:
  5993. readOnly: true
  5994. type:
  5995. - string
  5996. - 'null'
  5997. createdBy:
  5998. readOnly: true
  5999. description: '?UserApi'
  6000. 'owl:maxCardinality': 1
  6001. $ref: '#/components/schemas/User'
  6002. createdAt:
  6003. type:
  6004. - string
  6005. - 'null'
  6006. format: date-time
  6007. Product.jsonhal:
  6008. type: object
  6009. description: ''
  6010. deprecated: false
  6011. required:
  6012. - name
  6013. properties:
  6014. _links:
  6015. type: object
  6016. properties:
  6017. self:
  6018. type: object
  6019. properties:
  6020. href:
  6021. type: string
  6022. format: iri-reference
  6023. name:
  6024. type: string
  6025. description:
  6026. type:
  6027. - string
  6028. - 'null'
  6029. image:
  6030. 'owl:maxCardinality': 1
  6031. type:
  6032. - string
  6033. - 'null'
  6034. format: iri-reference
  6035. example: 'https://example.com/'
  6036. imageUrl:
  6037. readOnly: true
  6038. type:
  6039. - string
  6040. - 'null'
  6041. createdBy:
  6042. readOnly: true
  6043. description: '?UserApi'
  6044. 'owl:maxCardinality': 1
  6045. $ref: '#/components/schemas/User.jsonhal'
  6046. createdAt:
  6047. type:
  6048. - string
  6049. - 'null'
  6050. format: date-time
  6051. Product.jsonld:
  6052. type: object
  6053. description: ''
  6054. deprecated: false
  6055. required:
  6056. - name
  6057. properties:
  6058. '@context':
  6059. readOnly: true
  6060. oneOf:
  6061. -
  6062. type: string
  6063. -
  6064. type: object
  6065. properties:
  6066. '@vocab':
  6067. type: string
  6068. hydra:
  6069. type: string
  6070. enum: ['http://www.w3.org/ns/hydra/core#']
  6071. required:
  6072. - '@vocab'
  6073. - hydra
  6074. additionalProperties: true
  6075. '@id':
  6076. readOnly: true
  6077. type: string
  6078. '@type':
  6079. readOnly: true
  6080. type: string
  6081. name:
  6082. type: string
  6083. description:
  6084. type:
  6085. - string
  6086. - 'null'
  6087. image:
  6088. 'owl:maxCardinality': 1
  6089. type:
  6090. - string
  6091. - 'null'
  6092. format: iri-reference
  6093. example: 'https://example.com/'
  6094. imageUrl:
  6095. readOnly: true
  6096. type:
  6097. - string
  6098. - 'null'
  6099. createdBy:
  6100. readOnly: true
  6101. description: '?UserApi'
  6102. 'owl:maxCardinality': 1
  6103. $ref: '#/components/schemas/User.jsonld'
  6104. createdAt:
  6105. type:
  6106. - string
  6107. - 'null'
  6108. format: date-time
  6109. Sale:
  6110. type: object
  6111. description: ''
  6112. deprecated: false
  6113. properties:
  6114. owner:
  6115. readOnly: true
  6116. description: '?UserApi'
  6117. 'owl:maxCardinality': 1
  6118. $ref: '#/components/schemas/User'
  6119. partner:
  6120. readOnly: true
  6121. description: '?PartnerApi'
  6122. 'owl:maxCardinality': 1
  6123. $ref: '#/components/schemas/Partner'
  6124. partnerIri:
  6125. 'owl:maxCardinality': 1
  6126. type:
  6127. - string
  6128. - 'null'
  6129. format: iri-reference
  6130. example: 'https://example.com/'
  6131. product:
  6132. readOnly: true
  6133. description: '?ProductApi'
  6134. 'owl:maxCardinality': 1
  6135. $ref: '#/components/schemas/Product'
  6136. productIri:
  6137. 'owl:maxCardinality': 1
  6138. type:
  6139. - string
  6140. - 'null'
  6141. format: iri-reference
  6142. example: 'https://example.com/'
  6143. turnover:
  6144. type:
  6145. - integer
  6146. - 'null'
  6147. profit:
  6148. type:
  6149. - integer
  6150. - 'null'
  6151. quantity:
  6152. type:
  6153. - integer
  6154. - 'null'
  6155. comment:
  6156. type:
  6157. - string
  6158. - 'null'
  6159. createdAt:
  6160. readOnly: true
  6161. type:
  6162. - string
  6163. - 'null'
  6164. format: date-time
  6165. required:
  6166. - partnerIri
  6167. - productIri
  6168. - turnover
  6169. - profit
  6170. - quantity
  6171. Sale.jsonhal:
  6172. type: object
  6173. description: ''
  6174. deprecated: false
  6175. properties:
  6176. _links:
  6177. type: object
  6178. properties:
  6179. self:
  6180. type: object
  6181. properties:
  6182. href:
  6183. type: string
  6184. format: iri-reference
  6185. owner:
  6186. readOnly: true
  6187. description: '?UserApi'
  6188. 'owl:maxCardinality': 1
  6189. $ref: '#/components/schemas/User.jsonhal'
  6190. partner:
  6191. readOnly: true
  6192. description: '?PartnerApi'
  6193. 'owl:maxCardinality': 1
  6194. $ref: '#/components/schemas/Partner.jsonhal'
  6195. partnerIri:
  6196. 'owl:maxCardinality': 1
  6197. type:
  6198. - string
  6199. - 'null'
  6200. format: iri-reference
  6201. example: 'https://example.com/'
  6202. product:
  6203. readOnly: true
  6204. description: '?ProductApi'
  6205. 'owl:maxCardinality': 1
  6206. $ref: '#/components/schemas/Product.jsonhal'
  6207. productIri:
  6208. 'owl:maxCardinality': 1
  6209. type:
  6210. - string
  6211. - 'null'
  6212. format: iri-reference
  6213. example: 'https://example.com/'
  6214. turnover:
  6215. type:
  6216. - integer
  6217. - 'null'
  6218. profit:
  6219. type:
  6220. - integer
  6221. - 'null'
  6222. quantity:
  6223. type:
  6224. - integer
  6225. - 'null'
  6226. comment:
  6227. type:
  6228. - string
  6229. - 'null'
  6230. createdAt:
  6231. readOnly: true
  6232. type:
  6233. - string
  6234. - 'null'
  6235. format: date-time
  6236. required:
  6237. - partnerIri
  6238. - productIri
  6239. - turnover
  6240. - profit
  6241. - quantity
  6242. Sale.jsonld:
  6243. type: object
  6244. description: ''
  6245. deprecated: false
  6246. properties:
  6247. '@context':
  6248. readOnly: true
  6249. oneOf:
  6250. -
  6251. type: string
  6252. -
  6253. type: object
  6254. properties:
  6255. '@vocab':
  6256. type: string
  6257. hydra:
  6258. type: string
  6259. enum: ['http://www.w3.org/ns/hydra/core#']
  6260. required:
  6261. - '@vocab'
  6262. - hydra
  6263. additionalProperties: true
  6264. '@id':
  6265. readOnly: true
  6266. type: string
  6267. '@type':
  6268. readOnly: true
  6269. type: string
  6270. owner:
  6271. readOnly: true
  6272. description: '?UserApi'
  6273. 'owl:maxCardinality': 1
  6274. $ref: '#/components/schemas/User.jsonld'
  6275. partner:
  6276. readOnly: true
  6277. description: '?PartnerApi'
  6278. 'owl:maxCardinality': 1
  6279. $ref: '#/components/schemas/Partner.jsonld'
  6280. partnerIri:
  6281. 'owl:maxCardinality': 1
  6282. type:
  6283. - string
  6284. - 'null'
  6285. format: iri-reference
  6286. example: 'https://example.com/'
  6287. product:
  6288. readOnly: true
  6289. description: '?ProductApi'
  6290. 'owl:maxCardinality': 1
  6291. $ref: '#/components/schemas/Product.jsonld'
  6292. productIri:
  6293. 'owl:maxCardinality': 1
  6294. type:
  6295. - string
  6296. - 'null'
  6297. format: iri-reference
  6298. example: 'https://example.com/'
  6299. turnover:
  6300. type:
  6301. - integer
  6302. - 'null'
  6303. profit:
  6304. type:
  6305. - integer
  6306. - 'null'
  6307. quantity:
  6308. type:
  6309. - integer
  6310. - 'null'
  6311. comment:
  6312. type:
  6313. - string
  6314. - 'null'
  6315. createdAt:
  6316. readOnly: true
  6317. type:
  6318. - string
  6319. - 'null'
  6320. format: date-time
  6321. required:
  6322. - partnerIri
  6323. - productIri
  6324. - turnover
  6325. - profit
  6326. - quantity
  6327. SaleSummary:
  6328. type: object
  6329. description: ''
  6330. deprecated: false
  6331. properties:
  6332. userId:
  6333. type: integer
  6334. owner:
  6335. readOnly: true
  6336. description: '?UserApi'
  6337. 'owl:maxCardinality': 1
  6338. $ref: '#/components/schemas/User'
  6339. turnover:
  6340. type:
  6341. - integer
  6342. - 'null'
  6343. profit:
  6344. type:
  6345. - integer
  6346. - 'null'
  6347. SaleSummary.jsonhal:
  6348. type: object
  6349. description: ''
  6350. deprecated: false
  6351. properties:
  6352. _links:
  6353. type: object
  6354. properties:
  6355. self:
  6356. type: object
  6357. properties:
  6358. href:
  6359. type: string
  6360. format: iri-reference
  6361. userId:
  6362. type: integer
  6363. owner:
  6364. readOnly: true
  6365. description: '?UserApi'
  6366. 'owl:maxCardinality': 1
  6367. $ref: '#/components/schemas/User.jsonhal'
  6368. turnover:
  6369. type:
  6370. - integer
  6371. - 'null'
  6372. profit:
  6373. type:
  6374. - integer
  6375. - 'null'
  6376. SaleSummary.jsonld:
  6377. type: object
  6378. description: ''
  6379. deprecated: false
  6380. properties:
  6381. '@id':
  6382. readOnly: true
  6383. type: string
  6384. '@type':
  6385. readOnly: true
  6386. type: string
  6387. '@context':
  6388. readOnly: true
  6389. oneOf:
  6390. -
  6391. type: string
  6392. -
  6393. type: object
  6394. properties:
  6395. '@vocab':
  6396. type: string
  6397. hydra:
  6398. type: string
  6399. enum: ['http://www.w3.org/ns/hydra/core#']
  6400. required:
  6401. - '@vocab'
  6402. - hydra
  6403. additionalProperties: true
  6404. userId:
  6405. type: integer
  6406. owner:
  6407. readOnly: true
  6408. description: '?UserApi'
  6409. 'owl:maxCardinality': 1
  6410. $ref: '#/components/schemas/User.jsonld'
  6411. turnover:
  6412. type:
  6413. - integer
  6414. - 'null'
  6415. profit:
  6416. type:
  6417. - integer
  6418. - 'null'
  6419. Task:
  6420. type: object
  6421. description: ''
  6422. deprecated: false
  6423. required:
  6424. - headline
  6425. - description
  6426. - assignedToIri
  6427. - dueAt
  6428. - productIri
  6429. - prio
  6430. - completed
  6431. properties:
  6432. headline:
  6433. type:
  6434. - string
  6435. - 'null'
  6436. description:
  6437. type:
  6438. - string
  6439. - 'null'
  6440. createdBy:
  6441. readOnly: true
  6442. description: '?UserApi'
  6443. 'owl:maxCardinality': 1
  6444. $ref: '#/components/schemas/User'
  6445. assignedTo:
  6446. readOnly: true
  6447. description: '?UserApi'
  6448. 'owl:maxCardinality': 1
  6449. $ref: '#/components/schemas/User'
  6450. assignedToIri:
  6451. 'owl:maxCardinality': 1
  6452. type:
  6453. - string
  6454. - 'null'
  6455. format: iri-reference
  6456. example: 'https://example.com/'
  6457. dueAt:
  6458. type:
  6459. - string
  6460. - 'null'
  6461. format: date-time
  6462. partner:
  6463. readOnly: true
  6464. description: '?PartnerApi'
  6465. 'owl:maxCardinality': 1
  6466. $ref: '#/components/schemas/Partner'
  6467. partnerIri:
  6468. 'owl:maxCardinality': 1
  6469. type:
  6470. - string
  6471. - 'null'
  6472. format: iri-reference
  6473. example: 'https://example.com/'
  6474. product:
  6475. readOnly: true
  6476. description: '?ProductApi'
  6477. 'owl:maxCardinality': 1
  6478. $ref: '#/components/schemas/Product'
  6479. productIri:
  6480. 'owl:maxCardinality': 1
  6481. type:
  6482. - string
  6483. - 'null'
  6484. format: iri-reference
  6485. example: 'https://example.com/'
  6486. contact:
  6487. readOnly: true
  6488. description: '?ContactApi'
  6489. 'owl:maxCardinality': 1
  6490. $ref: '#/components/schemas/Contact'
  6491. contactIri:
  6492. 'owl:maxCardinality': 1
  6493. type:
  6494. - string
  6495. - 'null'
  6496. format: iri-reference
  6497. example: 'https://example.com/'
  6498. prio:
  6499. type: string
  6500. enum:
  6501. - low
  6502. - medium
  6503. - high
  6504. completed:
  6505. type:
  6506. - boolean
  6507. - 'null'
  6508. createdAt:
  6509. readOnly: true
  6510. type:
  6511. - string
  6512. - 'null'
  6513. format: date-time
  6514. Task.jsonhal:
  6515. type: object
  6516. description: ''
  6517. deprecated: false
  6518. required:
  6519. - headline
  6520. - description
  6521. - assignedToIri
  6522. - dueAt
  6523. - productIri
  6524. - prio
  6525. - completed
  6526. properties:
  6527. _links:
  6528. type: object
  6529. properties:
  6530. self:
  6531. type: object
  6532. properties:
  6533. href:
  6534. type: string
  6535. format: iri-reference
  6536. headline:
  6537. type:
  6538. - string
  6539. - 'null'
  6540. description:
  6541. type:
  6542. - string
  6543. - 'null'
  6544. createdBy:
  6545. readOnly: true
  6546. description: '?UserApi'
  6547. 'owl:maxCardinality': 1
  6548. $ref: '#/components/schemas/User.jsonhal'
  6549. assignedTo:
  6550. readOnly: true
  6551. description: '?UserApi'
  6552. 'owl:maxCardinality': 1
  6553. $ref: '#/components/schemas/User.jsonhal'
  6554. assignedToIri:
  6555. 'owl:maxCardinality': 1
  6556. type:
  6557. - string
  6558. - 'null'
  6559. format: iri-reference
  6560. example: 'https://example.com/'
  6561. dueAt:
  6562. type:
  6563. - string
  6564. - 'null'
  6565. format: date-time
  6566. partner:
  6567. readOnly: true
  6568. description: '?PartnerApi'
  6569. 'owl:maxCardinality': 1
  6570. $ref: '#/components/schemas/Partner.jsonhal'
  6571. partnerIri:
  6572. 'owl:maxCardinality': 1
  6573. type:
  6574. - string
  6575. - 'null'
  6576. format: iri-reference
  6577. example: 'https://example.com/'
  6578. product:
  6579. readOnly: true
  6580. description: '?ProductApi'
  6581. 'owl:maxCardinality': 1
  6582. $ref: '#/components/schemas/Product.jsonhal'
  6583. productIri:
  6584. 'owl:maxCardinality': 1
  6585. type:
  6586. - string
  6587. - 'null'
  6588. format: iri-reference
  6589. example: 'https://example.com/'
  6590. contact:
  6591. readOnly: true
  6592. description: '?ContactApi'
  6593. 'owl:maxCardinality': 1
  6594. $ref: '#/components/schemas/Contact.jsonhal'
  6595. contactIri:
  6596. 'owl:maxCardinality': 1
  6597. type:
  6598. - string
  6599. - 'null'
  6600. format: iri-reference
  6601. example: 'https://example.com/'
  6602. prio:
  6603. type: string
  6604. enum:
  6605. - low
  6606. - medium
  6607. - high
  6608. completed:
  6609. type:
  6610. - boolean
  6611. - 'null'
  6612. createdAt:
  6613. readOnly: true
  6614. type:
  6615. - string
  6616. - 'null'
  6617. format: date-time
  6618. Task.jsonld:
  6619. type: object
  6620. description: ''
  6621. deprecated: false
  6622. required:
  6623. - headline
  6624. - description
  6625. - assignedToIri
  6626. - dueAt
  6627. - productIri
  6628. - prio
  6629. - completed
  6630. properties:
  6631. '@context':
  6632. readOnly: true
  6633. oneOf:
  6634. -
  6635. type: string
  6636. -
  6637. type: object
  6638. properties:
  6639. '@vocab':
  6640. type: string
  6641. hydra:
  6642. type: string
  6643. enum: ['http://www.w3.org/ns/hydra/core#']
  6644. required:
  6645. - '@vocab'
  6646. - hydra
  6647. additionalProperties: true
  6648. '@id':
  6649. readOnly: true
  6650. type: string
  6651. '@type':
  6652. readOnly: true
  6653. type: string
  6654. headline:
  6655. type:
  6656. - string
  6657. - 'null'
  6658. description:
  6659. type:
  6660. - string
  6661. - 'null'
  6662. createdBy:
  6663. readOnly: true
  6664. description: '?UserApi'
  6665. 'owl:maxCardinality': 1
  6666. $ref: '#/components/schemas/User.jsonld'
  6667. assignedTo:
  6668. readOnly: true
  6669. description: '?UserApi'
  6670. 'owl:maxCardinality': 1
  6671. $ref: '#/components/schemas/User.jsonld'
  6672. assignedToIri:
  6673. 'owl:maxCardinality': 1
  6674. type:
  6675. - string
  6676. - 'null'
  6677. format: iri-reference
  6678. example: 'https://example.com/'
  6679. dueAt:
  6680. type:
  6681. - string
  6682. - 'null'
  6683. format: date-time
  6684. partner:
  6685. readOnly: true
  6686. description: '?PartnerApi'
  6687. 'owl:maxCardinality': 1
  6688. $ref: '#/components/schemas/Partner.jsonld'
  6689. partnerIri:
  6690. 'owl:maxCardinality': 1
  6691. type:
  6692. - string
  6693. - 'null'
  6694. format: iri-reference
  6695. example: 'https://example.com/'
  6696. product:
  6697. readOnly: true
  6698. description: '?ProductApi'
  6699. 'owl:maxCardinality': 1
  6700. $ref: '#/components/schemas/Product.jsonld'
  6701. productIri:
  6702. 'owl:maxCardinality': 1
  6703. type:
  6704. - string
  6705. - 'null'
  6706. format: iri-reference
  6707. example: 'https://example.com/'
  6708. contact:
  6709. readOnly: true
  6710. description: '?ContactApi'
  6711. 'owl:maxCardinality': 1
  6712. $ref: '#/components/schemas/Contact.jsonld'
  6713. contactIri:
  6714. 'owl:maxCardinality': 1
  6715. type:
  6716. - string
  6717. - 'null'
  6718. format: iri-reference
  6719. example: 'https://example.com/'
  6720. prio:
  6721. type: string
  6722. enum:
  6723. - low
  6724. - medium
  6725. - high
  6726. completed:
  6727. type:
  6728. - boolean
  6729. - 'null'
  6730. createdAt:
  6731. readOnly: true
  6732. type:
  6733. - string
  6734. - 'null'
  6735. format: date-time
  6736. TaskNote:
  6737. type: object
  6738. description: ''
  6739. deprecated: false
  6740. required:
  6741. - message
  6742. - taskIri
  6743. properties:
  6744. message:
  6745. type:
  6746. - string
  6747. - 'null'
  6748. owner:
  6749. readOnly: true
  6750. description: '?UserApi'
  6751. 'owl:maxCardinality': 1
  6752. $ref: '#/components/schemas/User'
  6753. taskIri:
  6754. 'owl:maxCardinality': 1
  6755. type:
  6756. - string
  6757. - 'null'
  6758. format: iri-reference
  6759. example: 'https://example.com/'
  6760. createdAt:
  6761. readOnly: true
  6762. type:
  6763. - string
  6764. - 'null'
  6765. format: date-time
  6766. TaskNote.jsonhal:
  6767. type: object
  6768. description: ''
  6769. deprecated: false
  6770. required:
  6771. - message
  6772. - taskIri
  6773. properties:
  6774. _links:
  6775. type: object
  6776. properties:
  6777. self:
  6778. type: object
  6779. properties:
  6780. href:
  6781. type: string
  6782. format: iri-reference
  6783. message:
  6784. type:
  6785. - string
  6786. - 'null'
  6787. owner:
  6788. readOnly: true
  6789. description: '?UserApi'
  6790. 'owl:maxCardinality': 1
  6791. $ref: '#/components/schemas/User.jsonhal'
  6792. taskIri:
  6793. 'owl:maxCardinality': 1
  6794. type:
  6795. - string
  6796. - 'null'
  6797. format: iri-reference
  6798. example: 'https://example.com/'
  6799. createdAt:
  6800. readOnly: true
  6801. type:
  6802. - string
  6803. - 'null'
  6804. format: date-time
  6805. TaskNote.jsonld:
  6806. type: object
  6807. description: ''
  6808. deprecated: false
  6809. required:
  6810. - message
  6811. - taskIri
  6812. properties:
  6813. '@context':
  6814. readOnly: true
  6815. oneOf:
  6816. -
  6817. type: string
  6818. -
  6819. type: object
  6820. properties:
  6821. '@vocab':
  6822. type: string
  6823. hydra:
  6824. type: string
  6825. enum: ['http://www.w3.org/ns/hydra/core#']
  6826. required:
  6827. - '@vocab'
  6828. - hydra
  6829. additionalProperties: true
  6830. '@id':
  6831. readOnly: true
  6832. type: string
  6833. '@type':
  6834. readOnly: true
  6835. type: string
  6836. message:
  6837. type:
  6838. - string
  6839. - 'null'
  6840. owner:
  6841. readOnly: true
  6842. description: '?UserApi'
  6843. 'owl:maxCardinality': 1
  6844. $ref: '#/components/schemas/User.jsonld'
  6845. taskIri:
  6846. 'owl:maxCardinality': 1
  6847. type:
  6848. - string
  6849. - 'null'
  6850. format: iri-reference
  6851. example: 'https://example.com/'
  6852. createdAt:
  6853. readOnly: true
  6854. type:
  6855. - string
  6856. - 'null'
  6857. format: date-time
  6858. User:
  6859. type: object
  6860. description: ''
  6861. deprecated: false
  6862. required:
  6863. - email
  6864. - firstName
  6865. - lastName
  6866. properties:
  6867. email:
  6868. format: email
  6869. externalDocs:
  6870. url: 'https://schema.org/email'
  6871. type:
  6872. - string
  6873. - 'null'
  6874. firstName:
  6875. type:
  6876. - string
  6877. - 'null'
  6878. lastName:
  6879. type:
  6880. - string
  6881. - 'null'
  6882. image:
  6883. 'owl:maxCardinality': 1
  6884. type:
  6885. - string
  6886. - 'null'
  6887. format: iri-reference
  6888. example: 'https://example.com/'
  6889. imageUrl:
  6890. readOnly: true
  6891. type:
  6892. - string
  6893. - 'null'
  6894. fullName:
  6895. readOnly: true
  6896. type:
  6897. - string
  6898. - 'null'
  6899. password:
  6900. writeOnly: true
  6901. description: 'The plaintext password when being set or changed.'
  6902. type:
  6903. - string
  6904. - 'null'
  6905. active:
  6906. type: boolean
  6907. createdAt:
  6908. readOnly: true
  6909. type:
  6910. - string
  6911. - 'null'
  6912. format: date-time
  6913. User.jsonhal:
  6914. type: object
  6915. description: ''
  6916. deprecated: false
  6917. required:
  6918. - email
  6919. - firstName
  6920. - lastName
  6921. properties:
  6922. _links:
  6923. type: object
  6924. properties:
  6925. self:
  6926. type: object
  6927. properties:
  6928. href:
  6929. type: string
  6930. format: iri-reference
  6931. email:
  6932. format: email
  6933. externalDocs:
  6934. url: 'https://schema.org/email'
  6935. type:
  6936. - string
  6937. - 'null'
  6938. firstName:
  6939. type:
  6940. - string
  6941. - 'null'
  6942. lastName:
  6943. type:
  6944. - string
  6945. - 'null'
  6946. image:
  6947. 'owl:maxCardinality': 1
  6948. type:
  6949. - string
  6950. - 'null'
  6951. format: iri-reference
  6952. example: 'https://example.com/'
  6953. imageUrl:
  6954. readOnly: true
  6955. type:
  6956. - string
  6957. - 'null'
  6958. fullName:
  6959. readOnly: true
  6960. type:
  6961. - string
  6962. - 'null'
  6963. password:
  6964. writeOnly: true
  6965. description: 'The plaintext password when being set or changed.'
  6966. type:
  6967. - string
  6968. - 'null'
  6969. active:
  6970. type: boolean
  6971. createdAt:
  6972. readOnly: true
  6973. type:
  6974. - string
  6975. - 'null'
  6976. format: date-time
  6977. User.jsonld:
  6978. type: object
  6979. description: ''
  6980. deprecated: false
  6981. required:
  6982. - email
  6983. - firstName
  6984. - lastName
  6985. properties:
  6986. '@context':
  6987. readOnly: true
  6988. oneOf:
  6989. -
  6990. type: string
  6991. -
  6992. type: object
  6993. properties:
  6994. '@vocab':
  6995. type: string
  6996. hydra:
  6997. type: string
  6998. enum: ['http://www.w3.org/ns/hydra/core#']
  6999. required:
  7000. - '@vocab'
  7001. - hydra
  7002. additionalProperties: true
  7003. '@id':
  7004. readOnly: true
  7005. type: string
  7006. '@type':
  7007. readOnly: true
  7008. type: string
  7009. email:
  7010. format: email
  7011. externalDocs:
  7012. url: 'https://schema.org/email'
  7013. type:
  7014. - string
  7015. - 'null'
  7016. firstName:
  7017. type:
  7018. - string
  7019. - 'null'
  7020. lastName:
  7021. type:
  7022. - string
  7023. - 'null'
  7024. image:
  7025. 'owl:maxCardinality': 1
  7026. type:
  7027. - string
  7028. - 'null'
  7029. format: iri-reference
  7030. example: 'https://example.com/'
  7031. imageUrl:
  7032. readOnly: true
  7033. type:
  7034. - string
  7035. - 'null'
  7036. fullName:
  7037. readOnly: true
  7038. type:
  7039. - string
  7040. - 'null'
  7041. password:
  7042. writeOnly: true
  7043. description: 'The plaintext password when being set or changed.'
  7044. type:
  7045. - string
  7046. - 'null'
  7047. active:
  7048. type: boolean
  7049. createdAt:
  7050. readOnly: true
  7051. type:
  7052. - string
  7053. - 'null'
  7054. format: date-time
  7055. UserProduct:
  7056. type: object
  7057. description: ''
  7058. deprecated: false
  7059. properties:
  7060. user:
  7061. readOnly: true
  7062. description: '?UserApi'
  7063. 'owl:maxCardinality': 1
  7064. $ref: '#/components/schemas/User'
  7065. product:
  7066. readOnly: true
  7067. description: '?ProductApi'
  7068. 'owl:maxCardinality': 1
  7069. $ref: '#/components/schemas/Product'
  7070. productIri:
  7071. 'owl:maxCardinality': 1
  7072. type:
  7073. - string
  7074. - 'null'
  7075. format: iri-reference
  7076. example: 'https://example.com/'
  7077. createdAt:
  7078. readOnly: true
  7079. type:
  7080. - string
  7081. - 'null'
  7082. format: date-time
  7083. owner:
  7084. readOnly: true
  7085. 'owl:maxCardinality': 1
  7086. type:
  7087. - string
  7088. - 'null'
  7089. format: iri-reference
  7090. example: 'https://example.com/'
  7091. required:
  7092. - productIri
  7093. UserProduct.jsonhal:
  7094. type: object
  7095. description: ''
  7096. deprecated: false
  7097. properties:
  7098. _links:
  7099. type: object
  7100. properties:
  7101. self:
  7102. type: object
  7103. properties:
  7104. href:
  7105. type: string
  7106. format: iri-reference
  7107. user:
  7108. readOnly: true
  7109. description: '?UserApi'
  7110. 'owl:maxCardinality': 1
  7111. $ref: '#/components/schemas/User.jsonhal'
  7112. product:
  7113. readOnly: true
  7114. description: '?ProductApi'
  7115. 'owl:maxCardinality': 1
  7116. $ref: '#/components/schemas/Product.jsonhal'
  7117. productIri:
  7118. 'owl:maxCardinality': 1
  7119. type:
  7120. - string
  7121. - 'null'
  7122. format: iri-reference
  7123. example: 'https://example.com/'
  7124. createdAt:
  7125. readOnly: true
  7126. type:
  7127. - string
  7128. - 'null'
  7129. format: date-time
  7130. owner:
  7131. readOnly: true
  7132. 'owl:maxCardinality': 1
  7133. type:
  7134. - string
  7135. - 'null'
  7136. format: iri-reference
  7137. example: 'https://example.com/'
  7138. required:
  7139. - productIri
  7140. UserProduct.jsonld:
  7141. type: object
  7142. description: ''
  7143. deprecated: false
  7144. properties:
  7145. '@context':
  7146. readOnly: true
  7147. oneOf:
  7148. -
  7149. type: string
  7150. -
  7151. type: object
  7152. properties:
  7153. '@vocab':
  7154. type: string
  7155. hydra:
  7156. type: string
  7157. enum: ['http://www.w3.org/ns/hydra/core#']
  7158. required:
  7159. - '@vocab'
  7160. - hydra
  7161. additionalProperties: true
  7162. '@id':
  7163. readOnly: true
  7164. type: string
  7165. '@type':
  7166. readOnly: true
  7167. type: string
  7168. user:
  7169. readOnly: true
  7170. description: '?UserApi'
  7171. 'owl:maxCardinality': 1
  7172. $ref: '#/components/schemas/User.jsonld'
  7173. product:
  7174. readOnly: true
  7175. description: '?ProductApi'
  7176. 'owl:maxCardinality': 1
  7177. $ref: '#/components/schemas/Product.jsonld'
  7178. productIri:
  7179. 'owl:maxCardinality': 1
  7180. type:
  7181. - string
  7182. - 'null'
  7183. format: iri-reference
  7184. example: 'https://example.com/'
  7185. createdAt:
  7186. readOnly: true
  7187. type:
  7188. - string
  7189. - 'null'
  7190. format: date-time
  7191. owner:
  7192. readOnly: true
  7193. 'owl:maxCardinality': 1
  7194. type:
  7195. - string
  7196. - 'null'
  7197. format: iri-reference
  7198. example: 'https://example.com/'
  7199. required:
  7200. - productIri
  7201. responses: { }
  7202. parameters: { }
  7203. examples: { }
  7204. requestBodies: { }
  7205. headers: { }
  7206. securitySchemes:
  7207. JWT:
  7208. type: http
  7209. scheme: bearer
  7210. bearerFormat: JWT
  7211. security:
  7212. -
  7213. JWT: []
  7214. tags: []