Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

7312 řádky
210 KiB

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