Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

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