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

5967 righe
172 KiB

  1. openapi: 3.1.0
  2. info:
  3. title: 'Matsen API Platform'
  4. description: ''
  5. version: 1.0.0
  6. servers:
  7. -
  8. url: /
  9. description: ''
  10. paths:
  11. /api/comments:
  12. get:
  13. operationId: api_comments_get_collection
  14. tags:
  15. - Comment
  16. responses:
  17. 200:
  18. description: 'Comment collection'
  19. content:
  20. application/ld+json:
  21. schema:
  22. type: object
  23. properties:
  24. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Comment.jsonld' } }
  25. 'hydra:totalItems': { type: integer, minimum: 0 }
  26. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  27. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  28. required:
  29. - 'hydra:member'
  30. application/json:
  31. schema:
  32. type: array
  33. items:
  34. $ref: '#/components/schemas/Comment'
  35. text/html:
  36. schema:
  37. type: array
  38. items:
  39. $ref: '#/components/schemas/Comment'
  40. application/hal+json:
  41. schema:
  42. type: object
  43. properties:
  44. _embedded: { type: array, items: { $ref: '#/components/schemas/Comment.jsonhal' } }
  45. totalItems: { type: integer, minimum: 0 }
  46. itemsPerPage: { type: integer, minimum: 0 }
  47. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  48. required:
  49. - _links
  50. - _embedded
  51. summary: 'Retrieves the collection of Comment resources.'
  52. description: 'Retrieves the collection of Comment resources.'
  53. parameters:
  54. -
  55. name: page
  56. in: query
  57. description: 'The collection page number'
  58. required: false
  59. deprecated: false
  60. allowEmptyValue: true
  61. schema:
  62. type: integer
  63. default: 1
  64. style: form
  65. explode: false
  66. allowReserved: false
  67. -
  68. name: itemsPerPage
  69. in: query
  70. description: 'The number of items per page'
  71. required: false
  72. deprecated: false
  73. allowEmptyValue: true
  74. schema:
  75. type: integer
  76. default: 10
  77. minimum: 0
  78. maximum: 50
  79. style: form
  80. explode: false
  81. allowReserved: false
  82. deprecated: false
  83. post:
  84. operationId: api_comments_post
  85. tags:
  86. - Comment
  87. responses:
  88. 201:
  89. description: 'Comment resource created'
  90. content:
  91. application/ld+json:
  92. schema:
  93. $ref: '#/components/schemas/Comment.jsonld'
  94. application/json:
  95. schema:
  96. $ref: '#/components/schemas/Comment'
  97. text/html:
  98. schema:
  99. $ref: '#/components/schemas/Comment'
  100. application/hal+json:
  101. schema:
  102. $ref: '#/components/schemas/Comment.jsonhal'
  103. links: { }
  104. 400:
  105. description: 'Invalid input'
  106. 422:
  107. description: 'Unprocessable entity'
  108. summary: 'Creates a Comment resource.'
  109. description: 'Creates a Comment resource.'
  110. parameters: []
  111. requestBody:
  112. description: 'The new Comment resource'
  113. content:
  114. application/ld+json:
  115. schema:
  116. $ref: '#/components/schemas/Comment.jsonld'
  117. application/json:
  118. schema:
  119. $ref: '#/components/schemas/Comment'
  120. text/html:
  121. schema:
  122. $ref: '#/components/schemas/Comment'
  123. application/hal+json:
  124. schema:
  125. $ref: '#/components/schemas/Comment.jsonhal'
  126. required: true
  127. deprecated: false
  128. parameters: []
  129. '/api/comments/{id}':
  130. get:
  131. operationId: api_comments_id_get
  132. tags:
  133. - Comment
  134. responses:
  135. 200:
  136. description: 'Comment resource'
  137. content:
  138. application/ld+json:
  139. schema:
  140. $ref: '#/components/schemas/Comment.jsonld'
  141. application/json:
  142. schema:
  143. $ref: '#/components/schemas/Comment'
  144. text/html:
  145. schema:
  146. $ref: '#/components/schemas/Comment'
  147. application/hal+json:
  148. schema:
  149. $ref: '#/components/schemas/Comment.jsonhal'
  150. 404:
  151. description: 'Resource not found'
  152. summary: 'Retrieves a Comment resource.'
  153. description: 'Retrieves a Comment resource.'
  154. parameters:
  155. -
  156. name: id
  157. in: path
  158. description: 'CommentApi identifier'
  159. required: true
  160. deprecated: false
  161. allowEmptyValue: false
  162. schema:
  163. type: string
  164. style: simple
  165. explode: false
  166. allowReserved: false
  167. deprecated: false
  168. 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: 'CommentApi 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/contacts:
  220. get:
  221. operationId: api_contacts_get_collection
  222. tags:
  223. - Contact
  224. responses:
  225. 200:
  226. description: 'Contact collection'
  227. content:
  228. application/ld+json:
  229. schema:
  230. type: object
  231. properties:
  232. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Contact.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/Contact'
  243. text/html:
  244. schema:
  245. type: array
  246. items:
  247. $ref: '#/components/schemas/Contact'
  248. application/hal+json:
  249. schema:
  250. type: object
  251. properties:
  252. _embedded: { type: array, items: { $ref: '#/components/schemas/Contact.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 Contact resources.'
  260. description: 'Retrieves the collection of Contact 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: partner
  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: 'partner[]'
  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_contacts_post
  319. tags:
  320. - Contact
  321. responses:
  322. 201:
  323. description: 'Contact resource created'
  324. content:
  325. application/ld+json:
  326. schema:
  327. $ref: '#/components/schemas/Contact.jsonld'
  328. application/json:
  329. schema:
  330. $ref: '#/components/schemas/Contact'
  331. text/html:
  332. schema:
  333. $ref: '#/components/schemas/Contact'
  334. application/hal+json:
  335. schema:
  336. $ref: '#/components/schemas/Contact.jsonhal'
  337. links: { }
  338. 400:
  339. description: 'Invalid input'
  340. 422:
  341. description: 'Unprocessable entity'
  342. summary: 'Creates a Contact resource.'
  343. description: 'Creates a Contact resource.'
  344. parameters: []
  345. requestBody:
  346. description: 'The new Contact resource'
  347. content:
  348. application/ld+json:
  349. schema:
  350. $ref: '#/components/schemas/Contact.jsonld'
  351. application/json:
  352. schema:
  353. $ref: '#/components/schemas/Contact'
  354. text/html:
  355. schema:
  356. $ref: '#/components/schemas/Contact'
  357. application/hal+json:
  358. schema:
  359. $ref: '#/components/schemas/Contact.jsonhal'
  360. required: true
  361. deprecated: false
  362. parameters: []
  363. '/api/contacts/{id}':
  364. get:
  365. operationId: api_contacts_id_get
  366. tags:
  367. - Contact
  368. responses:
  369. 200:
  370. description: 'Contact resource'
  371. content:
  372. application/ld+json:
  373. schema:
  374. $ref: '#/components/schemas/Contact.jsonld'
  375. application/json:
  376. schema:
  377. $ref: '#/components/schemas/Contact'
  378. text/html:
  379. schema:
  380. $ref: '#/components/schemas/Contact'
  381. application/hal+json:
  382. schema:
  383. $ref: '#/components/schemas/Contact.jsonhal'
  384. 404:
  385. description: 'Resource not found'
  386. summary: 'Retrieves a Contact resource.'
  387. description: 'Retrieves a Contact resource.'
  388. parameters:
  389. -
  390. name: id
  391. in: path
  392. description: 'ContactApi 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. patch:
  403. operationId: api_contacts_id_patch
  404. tags:
  405. - Contact
  406. responses:
  407. 200:
  408. description: 'Contact resource updated'
  409. content:
  410. application/ld+json:
  411. schema:
  412. $ref: '#/components/schemas/Contact.jsonld'
  413. application/json:
  414. schema:
  415. $ref: '#/components/schemas/Contact'
  416. text/html:
  417. schema:
  418. $ref: '#/components/schemas/Contact'
  419. application/hal+json:
  420. schema:
  421. $ref: '#/components/schemas/Contact.jsonhal'
  422. links: { }
  423. 400:
  424. description: 'Invalid input'
  425. 422:
  426. description: 'Unprocessable entity'
  427. 404:
  428. description: 'Resource not found'
  429. summary: 'Updates the Contact resource.'
  430. description: 'Updates the Contact resource.'
  431. parameters:
  432. -
  433. name: id
  434. in: path
  435. description: 'ContactApi identifier'
  436. required: true
  437. deprecated: false
  438. allowEmptyValue: false
  439. schema:
  440. type: string
  441. style: simple
  442. explode: false
  443. allowReserved: false
  444. requestBody:
  445. description: 'The updated Contact resource'
  446. content:
  447. application/merge-patch+json:
  448. schema:
  449. $ref: '#/components/schemas/Contact'
  450. required: true
  451. deprecated: false
  452. parameters: []
  453. /api/document_objects:
  454. get:
  455. operationId: api_document_objects_get_collection
  456. tags:
  457. - DocumentObject
  458. responses:
  459. 200:
  460. description: 'DocumentObject collection'
  461. content:
  462. application/ld+json:
  463. schema:
  464. type: object
  465. properties:
  466. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/DocumentObject.jsonld-document_object.read' } }
  467. 'hydra:totalItems': { type: integer, minimum: 0 }
  468. '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 } }
  469. '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 } } } } } }
  470. required:
  471. - 'hydra:member'
  472. application/json:
  473. schema:
  474. type: array
  475. items:
  476. $ref: '#/components/schemas/DocumentObject-document_object.read'
  477. text/html:
  478. schema:
  479. type: array
  480. items:
  481. $ref: '#/components/schemas/DocumentObject-document_object.read'
  482. application/hal+json:
  483. schema:
  484. type: object
  485. properties:
  486. _embedded: { type: array, items: { $ref: '#/components/schemas/DocumentObject.jsonhal-document_object.read' } }
  487. totalItems: { type: integer, minimum: 0 }
  488. itemsPerPage: { type: integer, minimum: 0 }
  489. _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 } } } } }
  490. required:
  491. - _links
  492. - _embedded
  493. summary: 'Retrieves the collection of DocumentObject resources.'
  494. description: 'Retrieves the collection of DocumentObject resources.'
  495. parameters:
  496. -
  497. name: page
  498. in: query
  499. description: 'The collection page number'
  500. required: false
  501. deprecated: false
  502. allowEmptyValue: true
  503. schema:
  504. type: integer
  505. default: 1
  506. style: form
  507. explode: false
  508. allowReserved: false
  509. -
  510. name: itemsPerPage
  511. in: query
  512. description: 'The number of items per page'
  513. required: false
  514. deprecated: false
  515. allowEmptyValue: true
  516. schema:
  517. type: integer
  518. default: 10
  519. minimum: 0
  520. maximum: 50
  521. style: form
  522. explode: false
  523. allowReserved: false
  524. deprecated: false
  525. post:
  526. operationId: api_document_objects_post
  527. tags:
  528. - DocumentObject
  529. responses:
  530. 201:
  531. description: 'DocumentObject resource created'
  532. content:
  533. application/ld+json:
  534. schema:
  535. $ref: '#/components/schemas/DocumentObject.jsonld-document_object.read'
  536. application/json:
  537. schema:
  538. $ref: '#/components/schemas/DocumentObject-document_object.read'
  539. text/html:
  540. schema:
  541. $ref: '#/components/schemas/DocumentObject-document_object.read'
  542. application/hal+json:
  543. schema:
  544. $ref: '#/components/schemas/DocumentObject.jsonhal-document_object.read'
  545. links: { }
  546. 400:
  547. description: 'Invalid input'
  548. 422:
  549. description: 'Unprocessable entity'
  550. summary: 'Creates a DocumentObject resource.'
  551. description: 'Creates a DocumentObject resource.'
  552. parameters: []
  553. requestBody:
  554. description: ''
  555. content:
  556. multipart/form-data:
  557. schema:
  558. type: object
  559. properties:
  560. file:
  561. type: string
  562. format: binary
  563. required: false
  564. deprecated: false
  565. parameters: []
  566. '/api/document_objects/{id}':
  567. get:
  568. operationId: api_document_objects_id_get
  569. tags:
  570. - DocumentObject
  571. responses:
  572. 200:
  573. description: 'DocumentObject resource'
  574. content:
  575. application/ld+json:
  576. schema:
  577. $ref: '#/components/schemas/DocumentObject.jsonld-document_object.read'
  578. application/json:
  579. schema:
  580. $ref: '#/components/schemas/DocumentObject-document_object.read'
  581. text/html:
  582. schema:
  583. $ref: '#/components/schemas/DocumentObject-document_object.read'
  584. application/hal+json:
  585. schema:
  586. $ref: '#/components/schemas/DocumentObject.jsonhal-document_object.read'
  587. 404:
  588. description: 'Resource not found'
  589. summary: 'Retrieves a DocumentObject resource.'
  590. description: 'Retrieves a DocumentObject resource.'
  591. parameters:
  592. -
  593. name: id
  594. in: path
  595. description: 'DocumentObject identifier'
  596. required: true
  597. deprecated: false
  598. allowEmptyValue: false
  599. schema:
  600. type: string
  601. style: simple
  602. explode: false
  603. allowReserved: false
  604. deprecated: false
  605. delete:
  606. operationId: api_document_objects_id_delete
  607. tags:
  608. - DocumentObject
  609. responses:
  610. 204:
  611. description: 'DocumentObject resource deleted'
  612. 404:
  613. description: 'Resource not found'
  614. summary: 'Removes the DocumentObject resource.'
  615. description: 'Removes the DocumentObject resource.'
  616. parameters:
  617. -
  618. name: id
  619. in: path
  620. description: 'DocumentObject identifier'
  621. required: true
  622. deprecated: false
  623. allowEmptyValue: false
  624. schema:
  625. type: string
  626. style: simple
  627. explode: false
  628. allowReserved: false
  629. deprecated: false
  630. parameters: []
  631. /api/documents:
  632. get:
  633. operationId: api_documents_get_collection
  634. tags:
  635. - Document
  636. responses:
  637. 200:
  638. description: 'Document collection'
  639. content:
  640. application/ld+json:
  641. schema:
  642. type: object
  643. properties:
  644. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Document.jsonld' } }
  645. 'hydra:totalItems': { type: integer, minimum: 0 }
  646. '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 } }
  647. '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 } } } } } }
  648. required:
  649. - 'hydra:member'
  650. application/json:
  651. schema:
  652. type: array
  653. items:
  654. $ref: '#/components/schemas/Document'
  655. text/html:
  656. schema:
  657. type: array
  658. items:
  659. $ref: '#/components/schemas/Document'
  660. application/hal+json:
  661. schema:
  662. type: object
  663. properties:
  664. _embedded: { type: array, items: { $ref: '#/components/schemas/Document.jsonhal' } }
  665. totalItems: { type: integer, minimum: 0 }
  666. itemsPerPage: { type: integer, minimum: 0 }
  667. _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 } } } } }
  668. required:
  669. - _links
  670. - _embedded
  671. summary: 'Retrieves the collection of Document resources.'
  672. description: 'Retrieves the collection of Document resources.'
  673. parameters:
  674. -
  675. name: page
  676. in: query
  677. description: 'The collection page number'
  678. required: false
  679. deprecated: false
  680. allowEmptyValue: true
  681. schema:
  682. type: integer
  683. default: 1
  684. style: form
  685. explode: false
  686. allowReserved: false
  687. -
  688. name: itemsPerPage
  689. in: query
  690. description: 'The number of items per page'
  691. required: false
  692. deprecated: false
  693. allowEmptyValue: true
  694. schema:
  695. type: integer
  696. default: 10
  697. minimum: 0
  698. maximum: 50
  699. style: form
  700. explode: false
  701. allowReserved: false
  702. -
  703. name: partner
  704. in: query
  705. description: ''
  706. required: false
  707. deprecated: false
  708. allowEmptyValue: true
  709. schema:
  710. type: string
  711. style: form
  712. explode: false
  713. allowReserved: false
  714. -
  715. name: 'partner[]'
  716. in: query
  717. description: ''
  718. required: false
  719. deprecated: false
  720. allowEmptyValue: true
  721. schema:
  722. type: array
  723. items:
  724. type: string
  725. style: form
  726. explode: true
  727. allowReserved: false
  728. -
  729. name: product
  730. in: query
  731. description: ''
  732. required: false
  733. deprecated: false
  734. allowEmptyValue: true
  735. schema:
  736. type: string
  737. style: form
  738. explode: false
  739. allowReserved: false
  740. -
  741. name: 'product[]'
  742. in: query
  743. description: ''
  744. required: false
  745. deprecated: false
  746. allowEmptyValue: true
  747. schema:
  748. type: array
  749. items:
  750. type: string
  751. style: form
  752. explode: true
  753. allowReserved: false
  754. deprecated: false
  755. post:
  756. operationId: api_documents_post
  757. tags:
  758. - Document
  759. responses:
  760. 201:
  761. description: 'Document resource created'
  762. content:
  763. application/ld+json:
  764. schema:
  765. $ref: '#/components/schemas/Document.jsonld'
  766. application/json:
  767. schema:
  768. $ref: '#/components/schemas/Document'
  769. text/html:
  770. schema:
  771. $ref: '#/components/schemas/Document'
  772. application/hal+json:
  773. schema:
  774. $ref: '#/components/schemas/Document.jsonhal'
  775. links: { }
  776. 400:
  777. description: 'Invalid input'
  778. 422:
  779. description: 'Unprocessable entity'
  780. summary: 'Creates a Document resource.'
  781. description: 'Creates a Document resource.'
  782. parameters: []
  783. requestBody:
  784. description: 'The new Document resource'
  785. content:
  786. application/ld+json:
  787. schema:
  788. $ref: '#/components/schemas/Document.jsonld'
  789. application/json:
  790. schema:
  791. $ref: '#/components/schemas/Document'
  792. text/html:
  793. schema:
  794. $ref: '#/components/schemas/Document'
  795. application/hal+json:
  796. schema:
  797. $ref: '#/components/schemas/Document.jsonhal'
  798. required: true
  799. deprecated: false
  800. parameters: []
  801. '/api/documents/{id}':
  802. get:
  803. operationId: api_documents_id_get
  804. tags:
  805. - Document
  806. responses:
  807. 200:
  808. description: 'Document resource'
  809. content:
  810. application/ld+json:
  811. schema:
  812. $ref: '#/components/schemas/Document.jsonld'
  813. application/json:
  814. schema:
  815. $ref: '#/components/schemas/Document'
  816. text/html:
  817. schema:
  818. $ref: '#/components/schemas/Document'
  819. application/hal+json:
  820. schema:
  821. $ref: '#/components/schemas/Document.jsonhal'
  822. 404:
  823. description: 'Resource not found'
  824. summary: 'Retrieves a Document resource.'
  825. description: 'Retrieves a Document resource.'
  826. parameters:
  827. -
  828. name: id
  829. in: path
  830. description: 'DocumentApi identifier'
  831. required: true
  832. deprecated: false
  833. allowEmptyValue: false
  834. schema:
  835. type: string
  836. style: simple
  837. explode: false
  838. allowReserved: false
  839. deprecated: false
  840. patch:
  841. operationId: api_documents_id_patch
  842. tags:
  843. - Document
  844. responses:
  845. 200:
  846. description: 'Document resource updated'
  847. content:
  848. application/ld+json:
  849. schema:
  850. $ref: '#/components/schemas/Document.jsonld'
  851. application/json:
  852. schema:
  853. $ref: '#/components/schemas/Document'
  854. text/html:
  855. schema:
  856. $ref: '#/components/schemas/Document'
  857. application/hal+json:
  858. schema:
  859. $ref: '#/components/schemas/Document.jsonhal'
  860. links: { }
  861. 400:
  862. description: 'Invalid input'
  863. 422:
  864. description: 'Unprocessable entity'
  865. 404:
  866. description: 'Resource not found'
  867. summary: 'Updates the Document resource.'
  868. description: 'Updates the Document resource.'
  869. parameters:
  870. -
  871. name: id
  872. in: path
  873. description: 'DocumentApi identifier'
  874. required: true
  875. deprecated: false
  876. allowEmptyValue: false
  877. schema:
  878. type: string
  879. style: simple
  880. explode: false
  881. allowReserved: false
  882. requestBody:
  883. description: 'The updated Document resource'
  884. content:
  885. application/merge-patch+json:
  886. schema:
  887. $ref: '#/components/schemas/Document'
  888. required: true
  889. deprecated: false
  890. parameters: []
  891. /api/media_objects:
  892. get:
  893. operationId: api_media_objects_get_collection
  894. tags:
  895. - MediaObject
  896. responses:
  897. 200:
  898. description: 'MediaObject collection'
  899. content:
  900. application/ld+json:
  901. schema:
  902. type: object
  903. properties:
  904. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/MediaObject.jsonld-media_object.read' } }
  905. 'hydra:totalItems': { type: integer, minimum: 0 }
  906. '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 } }
  907. '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 } } } } } }
  908. required:
  909. - 'hydra:member'
  910. application/json:
  911. schema:
  912. type: array
  913. items:
  914. $ref: '#/components/schemas/MediaObject-media_object.read'
  915. text/html:
  916. schema:
  917. type: array
  918. items:
  919. $ref: '#/components/schemas/MediaObject-media_object.read'
  920. application/hal+json:
  921. schema:
  922. type: object
  923. properties:
  924. _embedded: { type: array, items: { $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read' } }
  925. totalItems: { type: integer, minimum: 0 }
  926. itemsPerPage: { type: integer, minimum: 0 }
  927. _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 } } } } }
  928. required:
  929. - _links
  930. - _embedded
  931. summary: 'Retrieves the collection of MediaObject resources.'
  932. description: 'Retrieves the collection of MediaObject resources.'
  933. parameters:
  934. -
  935. name: page
  936. in: query
  937. description: 'The collection page number'
  938. required: false
  939. deprecated: false
  940. allowEmptyValue: true
  941. schema:
  942. type: integer
  943. default: 1
  944. style: form
  945. explode: false
  946. allowReserved: false
  947. -
  948. name: itemsPerPage
  949. in: query
  950. description: 'The number of items per page'
  951. required: false
  952. deprecated: false
  953. allowEmptyValue: true
  954. schema:
  955. type: integer
  956. default: 10
  957. minimum: 0
  958. maximum: 50
  959. style: form
  960. explode: false
  961. allowReserved: false
  962. deprecated: false
  963. post:
  964. operationId: api_media_objects_post
  965. tags:
  966. - MediaObject
  967. responses:
  968. 201:
  969. description: 'MediaObject resource created'
  970. content:
  971. application/ld+json:
  972. schema:
  973. $ref: '#/components/schemas/MediaObject.jsonld-media_object.read'
  974. application/json:
  975. schema:
  976. $ref: '#/components/schemas/MediaObject-media_object.read'
  977. text/html:
  978. schema:
  979. $ref: '#/components/schemas/MediaObject-media_object.read'
  980. application/hal+json:
  981. schema:
  982. $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read'
  983. links: { }
  984. 400:
  985. description: 'Invalid input'
  986. 422:
  987. description: 'Unprocessable entity'
  988. summary: 'Creates a MediaObject resource.'
  989. description: 'Creates a MediaObject resource.'
  990. parameters: []
  991. requestBody:
  992. description: ''
  993. content:
  994. multipart/form-data:
  995. schema:
  996. type: object
  997. properties:
  998. file:
  999. type: string
  1000. format: binary
  1001. required: false
  1002. deprecated: false
  1003. parameters: []
  1004. '/api/media_objects/{id}':
  1005. get:
  1006. operationId: api_media_objects_id_get
  1007. tags:
  1008. - MediaObject
  1009. responses:
  1010. 200:
  1011. description: 'MediaObject resource'
  1012. content:
  1013. application/ld+json:
  1014. schema:
  1015. $ref: '#/components/schemas/MediaObject.jsonld-media_object.read'
  1016. application/json:
  1017. schema:
  1018. $ref: '#/components/schemas/MediaObject-media_object.read'
  1019. text/html:
  1020. schema:
  1021. $ref: '#/components/schemas/MediaObject-media_object.read'
  1022. application/hal+json:
  1023. schema:
  1024. $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read'
  1025. 404:
  1026. description: 'Resource not found'
  1027. summary: 'Retrieves a MediaObject resource.'
  1028. description: 'Retrieves a MediaObject resource.'
  1029. parameters:
  1030. -
  1031. name: id
  1032. in: path
  1033. description: 'MediaObject identifier'
  1034. required: true
  1035. deprecated: false
  1036. allowEmptyValue: false
  1037. schema:
  1038. type: string
  1039. style: simple
  1040. explode: false
  1041. allowReserved: false
  1042. deprecated: false
  1043. delete:
  1044. operationId: api_media_objects_id_delete
  1045. tags:
  1046. - MediaObject
  1047. responses:
  1048. 204:
  1049. description: 'MediaObject resource deleted'
  1050. 404:
  1051. description: 'Resource not found'
  1052. summary: 'Removes the MediaObject resource.'
  1053. description: 'Removes the MediaObject resource.'
  1054. parameters:
  1055. -
  1056. name: id
  1057. in: path
  1058. description: 'MediaObject identifier'
  1059. required: true
  1060. deprecated: false
  1061. allowEmptyValue: false
  1062. schema:
  1063. type: string
  1064. style: simple
  1065. explode: false
  1066. allowReserved: false
  1067. deprecated: false
  1068. parameters: []
  1069. /api/partner_follows:
  1070. get:
  1071. operationId: api_partner_follows_get_collection
  1072. tags:
  1073. - PartnerFollow
  1074. responses:
  1075. 200:
  1076. description: 'PartnerFollow collection'
  1077. content:
  1078. application/ld+json:
  1079. schema:
  1080. type: object
  1081. properties:
  1082. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/PartnerFollow.jsonld' } }
  1083. 'hydra:totalItems': { type: integer, minimum: 0 }
  1084. '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 } }
  1085. '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 } } } } } }
  1086. required:
  1087. - 'hydra:member'
  1088. application/json:
  1089. schema:
  1090. type: array
  1091. items:
  1092. $ref: '#/components/schemas/PartnerFollow'
  1093. text/html:
  1094. schema:
  1095. type: array
  1096. items:
  1097. $ref: '#/components/schemas/PartnerFollow'
  1098. application/hal+json:
  1099. schema:
  1100. type: object
  1101. properties:
  1102. _embedded: { type: array, items: { $ref: '#/components/schemas/PartnerFollow.jsonhal' } }
  1103. totalItems: { type: integer, minimum: 0 }
  1104. itemsPerPage: { type: integer, minimum: 0 }
  1105. _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 } } } } }
  1106. required:
  1107. - _links
  1108. - _embedded
  1109. summary: 'Retrieves the collection of PartnerFollow resources.'
  1110. description: 'Retrieves the collection of PartnerFollow resources.'
  1111. parameters:
  1112. -
  1113. name: page
  1114. in: query
  1115. description: 'The collection page number'
  1116. required: false
  1117. deprecated: false
  1118. allowEmptyValue: true
  1119. schema:
  1120. type: integer
  1121. default: 1
  1122. style: form
  1123. explode: false
  1124. allowReserved: false
  1125. -
  1126. name: itemsPerPage
  1127. in: query
  1128. description: 'The number of items per page'
  1129. required: false
  1130. deprecated: false
  1131. allowEmptyValue: true
  1132. schema:
  1133. type: integer
  1134. default: 10
  1135. minimum: 0
  1136. maximum: 50
  1137. style: form
  1138. explode: false
  1139. allowReserved: false
  1140. -
  1141. name: partner
  1142. in: query
  1143. description: ''
  1144. required: false
  1145. deprecated: false
  1146. allowEmptyValue: true
  1147. schema:
  1148. type: string
  1149. style: form
  1150. explode: false
  1151. allowReserved: false
  1152. -
  1153. name: 'partner[]'
  1154. in: query
  1155. description: ''
  1156. required: false
  1157. deprecated: false
  1158. allowEmptyValue: true
  1159. schema:
  1160. type: array
  1161. items:
  1162. type: string
  1163. style: form
  1164. explode: true
  1165. allowReserved: false
  1166. -
  1167. name: user
  1168. in: query
  1169. description: ''
  1170. required: false
  1171. deprecated: false
  1172. allowEmptyValue: true
  1173. schema:
  1174. type: string
  1175. style: form
  1176. explode: false
  1177. allowReserved: false
  1178. -
  1179. name: 'user[]'
  1180. in: query
  1181. description: ''
  1182. required: false
  1183. deprecated: false
  1184. allowEmptyValue: true
  1185. schema:
  1186. type: array
  1187. items:
  1188. type: string
  1189. style: form
  1190. explode: true
  1191. allowReserved: false
  1192. deprecated: false
  1193. post:
  1194. operationId: api_partner_follows_post
  1195. tags:
  1196. - PartnerFollow
  1197. responses:
  1198. 201:
  1199. description: 'PartnerFollow resource created'
  1200. content:
  1201. application/ld+json:
  1202. schema:
  1203. $ref: '#/components/schemas/PartnerFollow.jsonld'
  1204. application/json:
  1205. schema:
  1206. $ref: '#/components/schemas/PartnerFollow'
  1207. text/html:
  1208. schema:
  1209. $ref: '#/components/schemas/PartnerFollow'
  1210. application/hal+json:
  1211. schema:
  1212. $ref: '#/components/schemas/PartnerFollow.jsonhal'
  1213. links: { }
  1214. 400:
  1215. description: 'Invalid input'
  1216. 422:
  1217. description: 'Unprocessable entity'
  1218. summary: 'Creates a PartnerFollow resource.'
  1219. description: 'Creates a PartnerFollow resource.'
  1220. parameters: []
  1221. requestBody:
  1222. description: 'The new PartnerFollow resource'
  1223. content:
  1224. application/ld+json:
  1225. schema:
  1226. $ref: '#/components/schemas/PartnerFollow.jsonld'
  1227. application/json:
  1228. schema:
  1229. $ref: '#/components/schemas/PartnerFollow'
  1230. text/html:
  1231. schema:
  1232. $ref: '#/components/schemas/PartnerFollow'
  1233. application/hal+json:
  1234. schema:
  1235. $ref: '#/components/schemas/PartnerFollow.jsonhal'
  1236. required: true
  1237. deprecated: false
  1238. parameters: []
  1239. '/api/partner_follows/{id}':
  1240. get:
  1241. operationId: api_partner_follows_id_get
  1242. tags:
  1243. - PartnerFollow
  1244. responses:
  1245. 200:
  1246. description: 'PartnerFollow resource'
  1247. content:
  1248. application/ld+json:
  1249. schema:
  1250. $ref: '#/components/schemas/PartnerFollow.jsonld'
  1251. application/json:
  1252. schema:
  1253. $ref: '#/components/schemas/PartnerFollow'
  1254. text/html:
  1255. schema:
  1256. $ref: '#/components/schemas/PartnerFollow'
  1257. application/hal+json:
  1258. schema:
  1259. $ref: '#/components/schemas/PartnerFollow.jsonhal'
  1260. 404:
  1261. description: 'Resource not found'
  1262. summary: 'Retrieves a PartnerFollow resource.'
  1263. description: 'Retrieves a PartnerFollow resource.'
  1264. parameters:
  1265. -
  1266. name: id
  1267. in: path
  1268. description: 'PartnerFollowApi identifier'
  1269. required: true
  1270. deprecated: false
  1271. allowEmptyValue: false
  1272. schema:
  1273. type: string
  1274. style: simple
  1275. explode: false
  1276. allowReserved: false
  1277. deprecated: false
  1278. delete:
  1279. operationId: api_partner_follows_id_delete
  1280. tags:
  1281. - PartnerFollow
  1282. responses:
  1283. 204:
  1284. description: 'PartnerFollow resource deleted'
  1285. 404:
  1286. description: 'Resource not found'
  1287. summary: 'Removes the PartnerFollow resource.'
  1288. description: 'Removes the PartnerFollow resource.'
  1289. parameters:
  1290. -
  1291. name: id
  1292. in: path
  1293. description: 'PartnerFollowApi identifier'
  1294. required: true
  1295. deprecated: false
  1296. allowEmptyValue: false
  1297. schema:
  1298. type: string
  1299. style: simple
  1300. explode: false
  1301. allowReserved: false
  1302. deprecated: false
  1303. parameters: []
  1304. /api/partners:
  1305. get:
  1306. operationId: api_partners_get_collection
  1307. tags:
  1308. - Partner
  1309. responses:
  1310. 200:
  1311. description: 'Partner collection'
  1312. content:
  1313. application/ld+json:
  1314. schema:
  1315. type: object
  1316. properties:
  1317. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Partner.jsonld' } }
  1318. 'hydra:totalItems': { type: integer, minimum: 0 }
  1319. '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 } }
  1320. '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 } } } } } }
  1321. required:
  1322. - 'hydra:member'
  1323. application/json:
  1324. schema:
  1325. type: array
  1326. items:
  1327. $ref: '#/components/schemas/Partner'
  1328. text/html:
  1329. schema:
  1330. type: array
  1331. items:
  1332. $ref: '#/components/schemas/Partner'
  1333. application/hal+json:
  1334. schema:
  1335. type: object
  1336. properties:
  1337. _embedded: { type: array, items: { $ref: '#/components/schemas/Partner.jsonhal' } }
  1338. totalItems: { type: integer, minimum: 0 }
  1339. itemsPerPage: { type: integer, minimum: 0 }
  1340. _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 } } } } }
  1341. required:
  1342. - _links
  1343. - _embedded
  1344. summary: 'Retrieves the collection of Partner resources.'
  1345. description: 'Retrieves the collection of Partner resources.'
  1346. parameters:
  1347. -
  1348. name: page
  1349. in: query
  1350. description: 'The collection page number'
  1351. required: false
  1352. deprecated: false
  1353. allowEmptyValue: true
  1354. schema:
  1355. type: integer
  1356. default: 1
  1357. style: form
  1358. explode: false
  1359. allowReserved: false
  1360. -
  1361. name: itemsPerPage
  1362. in: query
  1363. description: 'The number of items per page'
  1364. required: false
  1365. deprecated: false
  1366. allowEmptyValue: true
  1367. schema:
  1368. type: integer
  1369. default: 10
  1370. minimum: 0
  1371. maximum: 50
  1372. style: form
  1373. explode: false
  1374. allowReserved: false
  1375. -
  1376. name: type
  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: 'type[]'
  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: name
  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: 'order[name]'
  1415. in: query
  1416. description: ''
  1417. required: false
  1418. deprecated: false
  1419. allowEmptyValue: true
  1420. schema:
  1421. type: string
  1422. enum:
  1423. - asc
  1424. - desc
  1425. style: form
  1426. explode: false
  1427. allowReserved: false
  1428. -
  1429. name: 'order[city]'
  1430. in: query
  1431. description: ''
  1432. required: false
  1433. deprecated: false
  1434. allowEmptyValue: true
  1435. schema:
  1436. type: string
  1437. enum:
  1438. - asc
  1439. - desc
  1440. style: form
  1441. explode: false
  1442. allowReserved: false
  1443. -
  1444. name: 'order[website]'
  1445. in: query
  1446. description: ''
  1447. required: false
  1448. deprecated: false
  1449. allowEmptyValue: true
  1450. schema:
  1451. type: string
  1452. enum:
  1453. - asc
  1454. - desc
  1455. style: form
  1456. explode: false
  1457. allowReserved: false
  1458. deprecated: false
  1459. post:
  1460. operationId: api_partners_post
  1461. tags:
  1462. - Partner
  1463. responses:
  1464. 201:
  1465. description: 'Partner resource created'
  1466. content:
  1467. application/ld+json:
  1468. schema:
  1469. $ref: '#/components/schemas/Partner.jsonld'
  1470. application/json:
  1471. schema:
  1472. $ref: '#/components/schemas/Partner'
  1473. text/html:
  1474. schema:
  1475. $ref: '#/components/schemas/Partner'
  1476. application/hal+json:
  1477. schema:
  1478. $ref: '#/components/schemas/Partner.jsonhal'
  1479. links: { }
  1480. 400:
  1481. description: 'Invalid input'
  1482. 422:
  1483. description: 'Unprocessable entity'
  1484. summary: 'Creates a Partner resource.'
  1485. description: 'Creates a Partner resource.'
  1486. parameters: []
  1487. requestBody:
  1488. description: 'The new Partner resource'
  1489. content:
  1490. application/ld+json:
  1491. schema:
  1492. $ref: '#/components/schemas/Partner.jsonld'
  1493. application/json:
  1494. schema:
  1495. $ref: '#/components/schemas/Partner'
  1496. text/html:
  1497. schema:
  1498. $ref: '#/components/schemas/Partner'
  1499. application/hal+json:
  1500. schema:
  1501. $ref: '#/components/schemas/Partner.jsonhal'
  1502. required: true
  1503. deprecated: false
  1504. parameters: []
  1505. '/api/partners/{id}':
  1506. get:
  1507. operationId: api_partners_id_get
  1508. tags:
  1509. - Partner
  1510. responses:
  1511. 200:
  1512. description: 'Partner resource'
  1513. content:
  1514. application/ld+json:
  1515. schema:
  1516. $ref: '#/components/schemas/Partner.jsonld'
  1517. application/json:
  1518. schema:
  1519. $ref: '#/components/schemas/Partner'
  1520. text/html:
  1521. schema:
  1522. $ref: '#/components/schemas/Partner'
  1523. application/hal+json:
  1524. schema:
  1525. $ref: '#/components/schemas/Partner.jsonhal'
  1526. 404:
  1527. description: 'Resource not found'
  1528. summary: 'Retrieves a Partner resource.'
  1529. description: 'Retrieves a Partner resource.'
  1530. parameters:
  1531. -
  1532. name: id
  1533. in: path
  1534. description: 'PartnerApi identifier'
  1535. required: true
  1536. deprecated: false
  1537. allowEmptyValue: false
  1538. schema:
  1539. type: string
  1540. style: simple
  1541. explode: false
  1542. allowReserved: false
  1543. deprecated: false
  1544. patch:
  1545. operationId: api_partners_id_patch
  1546. tags:
  1547. - Partner
  1548. responses:
  1549. 200:
  1550. description: 'Partner resource updated'
  1551. content:
  1552. application/ld+json:
  1553. schema:
  1554. $ref: '#/components/schemas/Partner.jsonld'
  1555. application/json:
  1556. schema:
  1557. $ref: '#/components/schemas/Partner'
  1558. text/html:
  1559. schema:
  1560. $ref: '#/components/schemas/Partner'
  1561. application/hal+json:
  1562. schema:
  1563. $ref: '#/components/schemas/Partner.jsonhal'
  1564. links: { }
  1565. 400:
  1566. description: 'Invalid input'
  1567. 422:
  1568. description: 'Unprocessable entity'
  1569. 404:
  1570. description: 'Resource not found'
  1571. summary: 'Updates the Partner resource.'
  1572. description: 'Updates the Partner resource.'
  1573. parameters:
  1574. -
  1575. name: id
  1576. in: path
  1577. description: 'PartnerApi identifier'
  1578. required: true
  1579. deprecated: false
  1580. allowEmptyValue: false
  1581. schema:
  1582. type: string
  1583. style: simple
  1584. explode: false
  1585. allowReserved: false
  1586. requestBody:
  1587. description: 'The updated Partner resource'
  1588. content:
  1589. application/merge-patch+json:
  1590. schema:
  1591. $ref: '#/components/schemas/Partner'
  1592. required: true
  1593. deprecated: false
  1594. parameters: []
  1595. /api/posts:
  1596. get:
  1597. operationId: api_posts_get_collection
  1598. tags:
  1599. - Post
  1600. responses:
  1601. 200:
  1602. description: 'Post collection'
  1603. content:
  1604. application/ld+json:
  1605. schema:
  1606. type: object
  1607. properties:
  1608. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Post.jsonld' } }
  1609. 'hydra:totalItems': { type: integer, minimum: 0 }
  1610. '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 } }
  1611. '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 } } } } } }
  1612. required:
  1613. - 'hydra:member'
  1614. application/json:
  1615. schema:
  1616. type: array
  1617. items:
  1618. $ref: '#/components/schemas/Post'
  1619. text/html:
  1620. schema:
  1621. type: array
  1622. items:
  1623. $ref: '#/components/schemas/Post'
  1624. application/hal+json:
  1625. schema:
  1626. type: object
  1627. properties:
  1628. _embedded: { type: array, items: { $ref: '#/components/schemas/Post.jsonhal' } }
  1629. totalItems: { type: integer, minimum: 0 }
  1630. itemsPerPage: { type: integer, minimum: 0 }
  1631. _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 } } } } }
  1632. required:
  1633. - _links
  1634. - _embedded
  1635. summary: 'Retrieves the collection of Post resources.'
  1636. description: 'Retrieves the collection of Post resources.'
  1637. parameters:
  1638. -
  1639. name: page
  1640. in: query
  1641. description: 'The collection page number'
  1642. required: false
  1643. deprecated: false
  1644. allowEmptyValue: true
  1645. schema:
  1646. type: integer
  1647. default: 1
  1648. style: form
  1649. explode: false
  1650. allowReserved: false
  1651. -
  1652. name: itemsPerPage
  1653. in: query
  1654. description: 'The number of items per page'
  1655. required: false
  1656. deprecated: false
  1657. allowEmptyValue: true
  1658. schema:
  1659. type: integer
  1660. default: 10
  1661. minimum: 0
  1662. maximum: 50
  1663. style: form
  1664. explode: false
  1665. allowReserved: false
  1666. -
  1667. name: partner
  1668. in: query
  1669. description: ''
  1670. required: false
  1671. deprecated: false
  1672. allowEmptyValue: true
  1673. schema:
  1674. type: string
  1675. style: form
  1676. explode: false
  1677. allowReserved: false
  1678. -
  1679. name: 'partner[]'
  1680. in: query
  1681. description: ''
  1682. required: false
  1683. deprecated: false
  1684. allowEmptyValue: true
  1685. schema:
  1686. type: array
  1687. items:
  1688. type: string
  1689. style: form
  1690. explode: true
  1691. allowReserved: false
  1692. -
  1693. name: contact
  1694. in: query
  1695. description: ''
  1696. required: false
  1697. deprecated: false
  1698. allowEmptyValue: true
  1699. schema:
  1700. type: string
  1701. style: form
  1702. explode: false
  1703. allowReserved: false
  1704. -
  1705. name: 'contact[]'
  1706. in: query
  1707. description: ''
  1708. required: false
  1709. deprecated: false
  1710. allowEmptyValue: true
  1711. schema:
  1712. type: array
  1713. items:
  1714. type: string
  1715. style: form
  1716. explode: true
  1717. allowReserved: false
  1718. -
  1719. name: sale
  1720. in: query
  1721. description: ''
  1722. required: false
  1723. deprecated: false
  1724. allowEmptyValue: true
  1725. schema:
  1726. type: string
  1727. style: form
  1728. explode: false
  1729. allowReserved: false
  1730. -
  1731. name: 'sale[]'
  1732. in: query
  1733. description: ''
  1734. required: false
  1735. deprecated: false
  1736. allowEmptyValue: true
  1737. schema:
  1738. type: array
  1739. items:
  1740. type: string
  1741. style: form
  1742. explode: true
  1743. allowReserved: false
  1744. -
  1745. name: 'exists[contact]'
  1746. in: query
  1747. description: ''
  1748. required: false
  1749. deprecated: false
  1750. allowEmptyValue: true
  1751. schema:
  1752. type: boolean
  1753. style: form
  1754. explode: false
  1755. allowReserved: false
  1756. -
  1757. name: 'exists[sale]'
  1758. in: query
  1759. description: ''
  1760. required: false
  1761. deprecated: false
  1762. allowEmptyValue: true
  1763. schema:
  1764. type: boolean
  1765. style: form
  1766. explode: false
  1767. allowReserved: false
  1768. deprecated: false
  1769. post:
  1770. operationId: api_posts_post
  1771. tags:
  1772. - Post
  1773. responses:
  1774. 201:
  1775. description: 'Post resource created'
  1776. content:
  1777. application/ld+json:
  1778. schema:
  1779. $ref: '#/components/schemas/Post.jsonld'
  1780. application/json:
  1781. schema:
  1782. $ref: '#/components/schemas/Post'
  1783. text/html:
  1784. schema:
  1785. $ref: '#/components/schemas/Post'
  1786. application/hal+json:
  1787. schema:
  1788. $ref: '#/components/schemas/Post.jsonhal'
  1789. links: { }
  1790. 400:
  1791. description: 'Invalid input'
  1792. 422:
  1793. description: 'Unprocessable entity'
  1794. summary: 'Creates a Post resource.'
  1795. description: 'Creates a Post resource.'
  1796. parameters: []
  1797. requestBody:
  1798. description: 'The new Post resource'
  1799. content:
  1800. application/ld+json:
  1801. schema:
  1802. $ref: '#/components/schemas/Post.jsonld-posting.create'
  1803. application/json:
  1804. schema:
  1805. $ref: '#/components/schemas/Post-posting.create'
  1806. text/html:
  1807. schema:
  1808. $ref: '#/components/schemas/Post-posting.create'
  1809. application/hal+json:
  1810. schema:
  1811. $ref: '#/components/schemas/Post.jsonhal-posting.create'
  1812. required: true
  1813. deprecated: false
  1814. parameters: []
  1815. '/api/posts/{id}':
  1816. get:
  1817. operationId: api_posts_id_get
  1818. tags:
  1819. - Post
  1820. responses:
  1821. 200:
  1822. description: 'Post resource'
  1823. content:
  1824. application/ld+json:
  1825. schema:
  1826. $ref: '#/components/schemas/Post.jsonld'
  1827. application/json:
  1828. schema:
  1829. $ref: '#/components/schemas/Post'
  1830. text/html:
  1831. schema:
  1832. $ref: '#/components/schemas/Post'
  1833. application/hal+json:
  1834. schema:
  1835. $ref: '#/components/schemas/Post.jsonhal'
  1836. 404:
  1837. description: 'Resource not found'
  1838. summary: 'Retrieves a Post resource.'
  1839. description: 'Retrieves a Post resource.'
  1840. parameters:
  1841. -
  1842. name: id
  1843. in: path
  1844. description: 'PostingApi identifier'
  1845. required: true
  1846. deprecated: false
  1847. allowEmptyValue: false
  1848. schema:
  1849. type: string
  1850. style: simple
  1851. explode: false
  1852. allowReserved: false
  1853. deprecated: false
  1854. patch:
  1855. operationId: api_posts_id_patch
  1856. tags:
  1857. - Post
  1858. responses:
  1859. 200:
  1860. description: 'Post resource updated'
  1861. content:
  1862. application/ld+json:
  1863. schema:
  1864. $ref: '#/components/schemas/Post.jsonld'
  1865. application/json:
  1866. schema:
  1867. $ref: '#/components/schemas/Post'
  1868. text/html:
  1869. schema:
  1870. $ref: '#/components/schemas/Post'
  1871. application/hal+json:
  1872. schema:
  1873. $ref: '#/components/schemas/Post.jsonhal'
  1874. links: { }
  1875. 400:
  1876. description: 'Invalid input'
  1877. 422:
  1878. description: 'Unprocessable entity'
  1879. 404:
  1880. description: 'Resource not found'
  1881. summary: 'Updates the Post resource.'
  1882. description: 'Updates the Post resource.'
  1883. parameters:
  1884. -
  1885. name: id
  1886. in: path
  1887. description: 'PostingApi identifier'
  1888. required: true
  1889. deprecated: false
  1890. allowEmptyValue: false
  1891. schema:
  1892. type: string
  1893. style: simple
  1894. explode: false
  1895. allowReserved: false
  1896. requestBody:
  1897. description: 'The updated Post resource'
  1898. content:
  1899. application/merge-patch+json:
  1900. schema:
  1901. $ref: '#/components/schemas/Post-posting.patch'
  1902. required: true
  1903. deprecated: false
  1904. parameters: []
  1905. /api/products:
  1906. get:
  1907. operationId: api_products_get_collection
  1908. tags:
  1909. - Product
  1910. responses:
  1911. 200:
  1912. description: 'Product collection'
  1913. content:
  1914. application/ld+json:
  1915. schema:
  1916. type: object
  1917. properties:
  1918. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Product.jsonld' } }
  1919. 'hydra:totalItems': { type: integer, minimum: 0 }
  1920. '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 } }
  1921. '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 } } } } } }
  1922. required:
  1923. - 'hydra:member'
  1924. application/json:
  1925. schema:
  1926. type: array
  1927. items:
  1928. $ref: '#/components/schemas/Product'
  1929. text/html:
  1930. schema:
  1931. type: array
  1932. items:
  1933. $ref: '#/components/schemas/Product'
  1934. application/hal+json:
  1935. schema:
  1936. type: object
  1937. properties:
  1938. _embedded: { type: array, items: { $ref: '#/components/schemas/Product.jsonhal' } }
  1939. totalItems: { type: integer, minimum: 0 }
  1940. itemsPerPage: { type: integer, minimum: 0 }
  1941. _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 } } } } }
  1942. required:
  1943. - _links
  1944. - _embedded
  1945. summary: 'Retrieves the collection of Product resources.'
  1946. description: 'Retrieves the collection of Product resources.'
  1947. parameters:
  1948. -
  1949. name: page
  1950. in: query
  1951. description: 'The collection page number'
  1952. required: false
  1953. deprecated: false
  1954. allowEmptyValue: true
  1955. schema:
  1956. type: integer
  1957. default: 1
  1958. style: form
  1959. explode: false
  1960. allowReserved: false
  1961. -
  1962. name: itemsPerPage
  1963. in: query
  1964. description: 'The number of items per page'
  1965. required: false
  1966. deprecated: false
  1967. allowEmptyValue: true
  1968. schema:
  1969. type: integer
  1970. default: 10
  1971. minimum: 0
  1972. maximum: 50
  1973. style: form
  1974. explode: false
  1975. allowReserved: false
  1976. -
  1977. name: name
  1978. in: query
  1979. description: ''
  1980. required: false
  1981. deprecated: false
  1982. allowEmptyValue: true
  1983. schema:
  1984. type: string
  1985. style: form
  1986. explode: false
  1987. allowReserved: false
  1988. -
  1989. name: 'order[name]'
  1990. in: query
  1991. description: ''
  1992. required: false
  1993. deprecated: false
  1994. allowEmptyValue: true
  1995. schema:
  1996. type: string
  1997. enum:
  1998. - asc
  1999. - desc
  2000. style: form
  2001. explode: false
  2002. allowReserved: false
  2003. deprecated: false
  2004. post:
  2005. operationId: api_products_post
  2006. tags:
  2007. - Product
  2008. responses:
  2009. 201:
  2010. description: 'Product resource created'
  2011. content:
  2012. application/ld+json:
  2013. schema:
  2014. $ref: '#/components/schemas/Product.jsonld'
  2015. application/json:
  2016. schema:
  2017. $ref: '#/components/schemas/Product'
  2018. text/html:
  2019. schema:
  2020. $ref: '#/components/schemas/Product'
  2021. application/hal+json:
  2022. schema:
  2023. $ref: '#/components/schemas/Product.jsonhal'
  2024. links: { }
  2025. 400:
  2026. description: 'Invalid input'
  2027. 422:
  2028. description: 'Unprocessable entity'
  2029. summary: 'Creates a Product resource.'
  2030. description: 'Creates a Product resource.'
  2031. parameters: []
  2032. requestBody:
  2033. description: 'The new Product resource'
  2034. content:
  2035. application/ld+json:
  2036. schema:
  2037. $ref: '#/components/schemas/Product.jsonld'
  2038. application/json:
  2039. schema:
  2040. $ref: '#/components/schemas/Product'
  2041. text/html:
  2042. schema:
  2043. $ref: '#/components/schemas/Product'
  2044. application/hal+json:
  2045. schema:
  2046. $ref: '#/components/schemas/Product.jsonhal'
  2047. required: true
  2048. deprecated: false
  2049. parameters: []
  2050. '/api/products/{id}':
  2051. get:
  2052. operationId: api_products_id_get
  2053. tags:
  2054. - Product
  2055. responses:
  2056. 200:
  2057. description: 'Product resource'
  2058. content:
  2059. application/ld+json:
  2060. schema:
  2061. $ref: '#/components/schemas/Product.jsonld'
  2062. application/json:
  2063. schema:
  2064. $ref: '#/components/schemas/Product'
  2065. text/html:
  2066. schema:
  2067. $ref: '#/components/schemas/Product'
  2068. application/hal+json:
  2069. schema:
  2070. $ref: '#/components/schemas/Product.jsonhal'
  2071. 404:
  2072. description: 'Resource not found'
  2073. summary: 'Retrieves a Product resource.'
  2074. description: 'Retrieves a Product resource.'
  2075. parameters:
  2076. -
  2077. name: id
  2078. in: path
  2079. description: 'ProductApi identifier'
  2080. required: true
  2081. deprecated: false
  2082. allowEmptyValue: false
  2083. schema:
  2084. type: string
  2085. style: simple
  2086. explode: false
  2087. allowReserved: false
  2088. deprecated: false
  2089. patch:
  2090. operationId: api_products_id_patch
  2091. tags:
  2092. - Product
  2093. responses:
  2094. 200:
  2095. description: 'Product resource updated'
  2096. content:
  2097. application/ld+json:
  2098. schema:
  2099. $ref: '#/components/schemas/Product.jsonld'
  2100. application/json:
  2101. schema:
  2102. $ref: '#/components/schemas/Product'
  2103. text/html:
  2104. schema:
  2105. $ref: '#/components/schemas/Product'
  2106. application/hal+json:
  2107. schema:
  2108. $ref: '#/components/schemas/Product.jsonhal'
  2109. links: { }
  2110. 400:
  2111. description: 'Invalid input'
  2112. 422:
  2113. description: 'Unprocessable entity'
  2114. 404:
  2115. description: 'Resource not found'
  2116. summary: 'Updates the Product resource.'
  2117. description: 'Updates the Product resource.'
  2118. parameters:
  2119. -
  2120. name: id
  2121. in: path
  2122. description: 'ProductApi identifier'
  2123. required: true
  2124. deprecated: false
  2125. allowEmptyValue: false
  2126. schema:
  2127. type: string
  2128. style: simple
  2129. explode: false
  2130. allowReserved: false
  2131. requestBody:
  2132. description: 'The updated Product resource'
  2133. content:
  2134. application/merge-patch+json:
  2135. schema:
  2136. $ref: '#/components/schemas/Product'
  2137. required: true
  2138. deprecated: false
  2139. parameters: []
  2140. /api/sale_summaries:
  2141. get:
  2142. operationId: api_sale_summaries_get_collection
  2143. tags:
  2144. - SaleSummary
  2145. responses:
  2146. 200:
  2147. description: 'SaleSummary collection'
  2148. content:
  2149. application/ld+json:
  2150. schema:
  2151. type: object
  2152. properties:
  2153. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/SaleSummary.jsonld' } }
  2154. 'hydra:totalItems': { type: integer, minimum: 0 }
  2155. '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 } }
  2156. '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 } } } } } }
  2157. required:
  2158. - 'hydra:member'
  2159. application/json:
  2160. schema:
  2161. type: array
  2162. items:
  2163. $ref: '#/components/schemas/SaleSummary'
  2164. text/html:
  2165. schema:
  2166. type: array
  2167. items:
  2168. $ref: '#/components/schemas/SaleSummary'
  2169. application/hal+json:
  2170. schema:
  2171. type: object
  2172. properties:
  2173. _embedded: { type: array, items: { $ref: '#/components/schemas/SaleSummary.jsonhal' } }
  2174. totalItems: { type: integer, minimum: 0 }
  2175. itemsPerPage: { type: integer, minimum: 0 }
  2176. _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 } } } } }
  2177. required:
  2178. - _links
  2179. - _embedded
  2180. summary: 'Retrieves the collection of SaleSummary resources.'
  2181. description: 'Retrieves the collection of SaleSummary resources.'
  2182. parameters:
  2183. -
  2184. name: page
  2185. in: query
  2186. description: 'The collection page number'
  2187. required: false
  2188. deprecated: false
  2189. allowEmptyValue: true
  2190. schema:
  2191. type: integer
  2192. default: 1
  2193. style: form
  2194. explode: false
  2195. allowReserved: false
  2196. -
  2197. name: itemsPerPage
  2198. in: query
  2199. description: 'The number of items per page'
  2200. required: false
  2201. deprecated: false
  2202. allowEmptyValue: true
  2203. schema:
  2204. type: integer
  2205. default: 10
  2206. minimum: 0
  2207. maximum: 50
  2208. style: form
  2209. explode: false
  2210. allowReserved: false
  2211. deprecated: false
  2212. parameters: []
  2213. /api/sales:
  2214. get:
  2215. operationId: api_sales_get_collection
  2216. tags:
  2217. - Sale
  2218. responses:
  2219. 200:
  2220. description: 'Sale collection'
  2221. content:
  2222. application/ld+json:
  2223. schema:
  2224. type: object
  2225. properties:
  2226. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Sale.jsonld' } }
  2227. 'hydra:totalItems': { type: integer, minimum: 0 }
  2228. '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 } }
  2229. '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 } } } } } }
  2230. required:
  2231. - 'hydra:member'
  2232. application/json:
  2233. schema:
  2234. type: array
  2235. items:
  2236. $ref: '#/components/schemas/Sale'
  2237. text/html:
  2238. schema:
  2239. type: array
  2240. items:
  2241. $ref: '#/components/schemas/Sale'
  2242. application/hal+json:
  2243. schema:
  2244. type: object
  2245. properties:
  2246. _embedded: { type: array, items: { $ref: '#/components/schemas/Sale.jsonhal' } }
  2247. totalItems: { type: integer, minimum: 0 }
  2248. itemsPerPage: { type: integer, minimum: 0 }
  2249. _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 } } } } }
  2250. required:
  2251. - _links
  2252. - _embedded
  2253. summary: 'Retrieves the collection of Sale resources.'
  2254. description: 'Retrieves the collection of Sale resources.'
  2255. parameters:
  2256. -
  2257. name: page
  2258. in: query
  2259. description: 'The collection page number'
  2260. required: false
  2261. deprecated: false
  2262. allowEmptyValue: true
  2263. schema:
  2264. type: integer
  2265. default: 1
  2266. style: form
  2267. explode: false
  2268. allowReserved: false
  2269. -
  2270. name: itemsPerPage
  2271. in: query
  2272. description: 'The number of items per page'
  2273. required: false
  2274. deprecated: false
  2275. allowEmptyValue: true
  2276. schema:
  2277. type: integer
  2278. default: 10
  2279. minimum: 0
  2280. maximum: 50
  2281. style: form
  2282. explode: false
  2283. allowReserved: false
  2284. -
  2285. name: owner
  2286. in: query
  2287. description: ''
  2288. required: false
  2289. deprecated: false
  2290. allowEmptyValue: true
  2291. schema:
  2292. type: string
  2293. style: form
  2294. explode: false
  2295. allowReserved: false
  2296. -
  2297. name: 'owner[]'
  2298. in: query
  2299. description: ''
  2300. required: false
  2301. deprecated: false
  2302. allowEmptyValue: true
  2303. schema:
  2304. type: array
  2305. items:
  2306. type: string
  2307. style: form
  2308. explode: true
  2309. allowReserved: false
  2310. -
  2311. name: partner
  2312. in: query
  2313. description: ''
  2314. required: false
  2315. deprecated: false
  2316. allowEmptyValue: true
  2317. schema:
  2318. type: string
  2319. style: form
  2320. explode: false
  2321. allowReserved: false
  2322. -
  2323. name: 'partner[]'
  2324. in: query
  2325. description: ''
  2326. required: false
  2327. deprecated: false
  2328. allowEmptyValue: true
  2329. schema:
  2330. type: array
  2331. items:
  2332. type: string
  2333. style: form
  2334. explode: true
  2335. allowReserved: false
  2336. deprecated: false
  2337. post:
  2338. operationId: api_sales_post
  2339. tags:
  2340. - Sale
  2341. responses:
  2342. 201:
  2343. description: 'Sale resource created'
  2344. content:
  2345. application/ld+json:
  2346. schema:
  2347. $ref: '#/components/schemas/Sale.jsonld'
  2348. application/json:
  2349. schema:
  2350. $ref: '#/components/schemas/Sale'
  2351. text/html:
  2352. schema:
  2353. $ref: '#/components/schemas/Sale'
  2354. application/hal+json:
  2355. schema:
  2356. $ref: '#/components/schemas/Sale.jsonhal'
  2357. links: { }
  2358. 400:
  2359. description: 'Invalid input'
  2360. 422:
  2361. description: 'Unprocessable entity'
  2362. summary: 'Creates a Sale resource.'
  2363. description: 'Creates a Sale resource.'
  2364. parameters: []
  2365. requestBody:
  2366. description: 'The new Sale resource'
  2367. content:
  2368. application/ld+json:
  2369. schema:
  2370. $ref: '#/components/schemas/Sale.jsonld'
  2371. application/json:
  2372. schema:
  2373. $ref: '#/components/schemas/Sale'
  2374. text/html:
  2375. schema:
  2376. $ref: '#/components/schemas/Sale'
  2377. application/hal+json:
  2378. schema:
  2379. $ref: '#/components/schemas/Sale.jsonhal'
  2380. required: true
  2381. deprecated: false
  2382. parameters: []
  2383. '/api/sales/{id}':
  2384. get:
  2385. operationId: api_sales_id_get
  2386. tags:
  2387. - Sale
  2388. responses:
  2389. 200:
  2390. description: 'Sale resource'
  2391. content:
  2392. application/ld+json:
  2393. schema:
  2394. $ref: '#/components/schemas/Sale.jsonld'
  2395. application/json:
  2396. schema:
  2397. $ref: '#/components/schemas/Sale'
  2398. text/html:
  2399. schema:
  2400. $ref: '#/components/schemas/Sale'
  2401. application/hal+json:
  2402. schema:
  2403. $ref: '#/components/schemas/Sale.jsonhal'
  2404. 404:
  2405. description: 'Resource not found'
  2406. summary: 'Retrieves a Sale resource.'
  2407. description: 'Retrieves a Sale resource.'
  2408. parameters:
  2409. -
  2410. name: id
  2411. in: path
  2412. description: 'SaleApi identifier'
  2413. required: true
  2414. deprecated: false
  2415. allowEmptyValue: false
  2416. schema:
  2417. type: string
  2418. style: simple
  2419. explode: false
  2420. allowReserved: false
  2421. deprecated: false
  2422. patch:
  2423. operationId: api_sales_id_patch
  2424. tags:
  2425. - Sale
  2426. responses:
  2427. 200:
  2428. description: 'Sale resource updated'
  2429. content:
  2430. application/ld+json:
  2431. schema:
  2432. $ref: '#/components/schemas/Sale.jsonld'
  2433. application/json:
  2434. schema:
  2435. $ref: '#/components/schemas/Sale'
  2436. text/html:
  2437. schema:
  2438. $ref: '#/components/schemas/Sale'
  2439. application/hal+json:
  2440. schema:
  2441. $ref: '#/components/schemas/Sale.jsonhal'
  2442. links: { }
  2443. 400:
  2444. description: 'Invalid input'
  2445. 422:
  2446. description: 'Unprocessable entity'
  2447. 404:
  2448. description: 'Resource not found'
  2449. summary: 'Updates the Sale resource.'
  2450. description: 'Updates the Sale resource.'
  2451. parameters:
  2452. -
  2453. name: id
  2454. in: path
  2455. description: 'SaleApi identifier'
  2456. required: true
  2457. deprecated: false
  2458. allowEmptyValue: false
  2459. schema:
  2460. type: string
  2461. style: simple
  2462. explode: false
  2463. allowReserved: false
  2464. requestBody:
  2465. description: 'The updated Sale resource'
  2466. content:
  2467. application/merge-patch+json:
  2468. schema:
  2469. $ref: '#/components/schemas/Sale'
  2470. required: true
  2471. deprecated: false
  2472. parameters: []
  2473. /api/task_notes:
  2474. get:
  2475. operationId: api_task_notes_get_collection
  2476. tags:
  2477. - TaskNote
  2478. responses:
  2479. 200:
  2480. description: 'TaskNote collection'
  2481. content:
  2482. application/ld+json:
  2483. schema:
  2484. type: object
  2485. properties:
  2486. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/TaskNote.jsonld' } }
  2487. 'hydra:totalItems': { type: integer, minimum: 0 }
  2488. '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 } }
  2489. '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 } } } } } }
  2490. required:
  2491. - 'hydra:member'
  2492. application/json:
  2493. schema:
  2494. type: array
  2495. items:
  2496. $ref: '#/components/schemas/TaskNote'
  2497. text/html:
  2498. schema:
  2499. type: array
  2500. items:
  2501. $ref: '#/components/schemas/TaskNote'
  2502. application/hal+json:
  2503. schema:
  2504. type: object
  2505. properties:
  2506. _embedded: { type: array, items: { $ref: '#/components/schemas/TaskNote.jsonhal' } }
  2507. totalItems: { type: integer, minimum: 0 }
  2508. itemsPerPage: { type: integer, minimum: 0 }
  2509. _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 } } } } }
  2510. required:
  2511. - _links
  2512. - _embedded
  2513. summary: 'Retrieves the collection of TaskNote resources.'
  2514. description: 'Retrieves the collection of TaskNote resources.'
  2515. parameters:
  2516. -
  2517. name: page
  2518. in: query
  2519. description: 'The collection page number'
  2520. required: false
  2521. deprecated: false
  2522. allowEmptyValue: true
  2523. schema:
  2524. type: integer
  2525. default: 1
  2526. style: form
  2527. explode: false
  2528. allowReserved: false
  2529. -
  2530. name: itemsPerPage
  2531. in: query
  2532. description: 'The number of items per page'
  2533. required: false
  2534. deprecated: false
  2535. allowEmptyValue: true
  2536. schema:
  2537. type: integer
  2538. default: 10
  2539. minimum: 0
  2540. maximum: 50
  2541. style: form
  2542. explode: false
  2543. allowReserved: false
  2544. -
  2545. name: task
  2546. in: query
  2547. description: ''
  2548. required: false
  2549. deprecated: false
  2550. allowEmptyValue: true
  2551. schema:
  2552. type: string
  2553. style: form
  2554. explode: false
  2555. allowReserved: false
  2556. -
  2557. name: 'task[]'
  2558. in: query
  2559. description: ''
  2560. required: false
  2561. deprecated: false
  2562. allowEmptyValue: true
  2563. schema:
  2564. type: array
  2565. items:
  2566. type: string
  2567. style: form
  2568. explode: true
  2569. allowReserved: false
  2570. deprecated: false
  2571. post:
  2572. operationId: api_task_notes_post
  2573. tags:
  2574. - TaskNote
  2575. responses:
  2576. 201:
  2577. description: 'TaskNote resource created'
  2578. content:
  2579. application/ld+json:
  2580. schema:
  2581. $ref: '#/components/schemas/TaskNote.jsonld'
  2582. application/json:
  2583. schema:
  2584. $ref: '#/components/schemas/TaskNote'
  2585. text/html:
  2586. schema:
  2587. $ref: '#/components/schemas/TaskNote'
  2588. application/hal+json:
  2589. schema:
  2590. $ref: '#/components/schemas/TaskNote.jsonhal'
  2591. links: { }
  2592. 400:
  2593. description: 'Invalid input'
  2594. 422:
  2595. description: 'Unprocessable entity'
  2596. summary: 'Creates a TaskNote resource.'
  2597. description: 'Creates a TaskNote resource.'
  2598. parameters: []
  2599. requestBody:
  2600. description: 'The new TaskNote resource'
  2601. content:
  2602. application/ld+json:
  2603. schema:
  2604. $ref: '#/components/schemas/TaskNote.jsonld'
  2605. application/json:
  2606. schema:
  2607. $ref: '#/components/schemas/TaskNote'
  2608. text/html:
  2609. schema:
  2610. $ref: '#/components/schemas/TaskNote'
  2611. application/hal+json:
  2612. schema:
  2613. $ref: '#/components/schemas/TaskNote.jsonhal'
  2614. required: true
  2615. deprecated: false
  2616. parameters: []
  2617. '/api/task_notes/{id}':
  2618. get:
  2619. operationId: api_task_notes_id_get
  2620. tags:
  2621. - TaskNote
  2622. responses:
  2623. 200:
  2624. description: 'TaskNote resource'
  2625. content:
  2626. application/ld+json:
  2627. schema:
  2628. $ref: '#/components/schemas/TaskNote.jsonld'
  2629. application/json:
  2630. schema:
  2631. $ref: '#/components/schemas/TaskNote'
  2632. text/html:
  2633. schema:
  2634. $ref: '#/components/schemas/TaskNote'
  2635. application/hal+json:
  2636. schema:
  2637. $ref: '#/components/schemas/TaskNote.jsonhal'
  2638. 404:
  2639. description: 'Resource not found'
  2640. summary: 'Retrieves a TaskNote resource.'
  2641. description: 'Retrieves a TaskNote resource.'
  2642. parameters:
  2643. -
  2644. name: id
  2645. in: path
  2646. description: 'TaskNoteApi identifier'
  2647. required: true
  2648. deprecated: false
  2649. allowEmptyValue: false
  2650. schema:
  2651. type: string
  2652. style: simple
  2653. explode: false
  2654. allowReserved: false
  2655. deprecated: false
  2656. patch:
  2657. operationId: api_task_notes_id_patch
  2658. tags:
  2659. - TaskNote
  2660. responses:
  2661. 200:
  2662. description: 'TaskNote resource updated'
  2663. content:
  2664. application/ld+json:
  2665. schema:
  2666. $ref: '#/components/schemas/TaskNote.jsonld'
  2667. application/json:
  2668. schema:
  2669. $ref: '#/components/schemas/TaskNote'
  2670. text/html:
  2671. schema:
  2672. $ref: '#/components/schemas/TaskNote'
  2673. application/hal+json:
  2674. schema:
  2675. $ref: '#/components/schemas/TaskNote.jsonhal'
  2676. links: { }
  2677. 400:
  2678. description: 'Invalid input'
  2679. 422:
  2680. description: 'Unprocessable entity'
  2681. 404:
  2682. description: 'Resource not found'
  2683. summary: 'Updates the TaskNote resource.'
  2684. description: 'Updates the TaskNote resource.'
  2685. parameters:
  2686. -
  2687. name: id
  2688. in: path
  2689. description: 'TaskNoteApi identifier'
  2690. required: true
  2691. deprecated: false
  2692. allowEmptyValue: false
  2693. schema:
  2694. type: string
  2695. style: simple
  2696. explode: false
  2697. allowReserved: false
  2698. requestBody:
  2699. description: 'The updated TaskNote resource'
  2700. content:
  2701. application/merge-patch+json:
  2702. schema:
  2703. $ref: '#/components/schemas/TaskNote'
  2704. required: true
  2705. deprecated: false
  2706. parameters: []
  2707. /api/tasks:
  2708. get:
  2709. operationId: api_tasks_get_collection
  2710. tags:
  2711. - Task
  2712. responses:
  2713. 200:
  2714. description: 'Task collection'
  2715. content:
  2716. application/ld+json:
  2717. schema:
  2718. type: object
  2719. properties:
  2720. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Task.jsonld' } }
  2721. 'hydra:totalItems': { type: integer, minimum: 0 }
  2722. '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 } }
  2723. '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 } } } } } }
  2724. required:
  2725. - 'hydra:member'
  2726. application/json:
  2727. schema:
  2728. type: array
  2729. items:
  2730. $ref: '#/components/schemas/Task'
  2731. text/html:
  2732. schema:
  2733. type: array
  2734. items:
  2735. $ref: '#/components/schemas/Task'
  2736. application/hal+json:
  2737. schema:
  2738. type: object
  2739. properties:
  2740. _embedded: { type: array, items: { $ref: '#/components/schemas/Task.jsonhal' } }
  2741. totalItems: { type: integer, minimum: 0 }
  2742. itemsPerPage: { type: integer, minimum: 0 }
  2743. _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 } } } } }
  2744. required:
  2745. - _links
  2746. - _embedded
  2747. summary: 'Retrieves the collection of Task resources.'
  2748. description: 'Retrieves the collection of Task resources.'
  2749. parameters:
  2750. -
  2751. name: page
  2752. in: query
  2753. description: 'The collection page number'
  2754. required: false
  2755. deprecated: false
  2756. allowEmptyValue: true
  2757. schema:
  2758. type: integer
  2759. default: 1
  2760. style: form
  2761. explode: false
  2762. allowReserved: false
  2763. -
  2764. name: itemsPerPage
  2765. in: query
  2766. description: 'The number of items per page'
  2767. required: false
  2768. deprecated: false
  2769. allowEmptyValue: true
  2770. schema:
  2771. type: integer
  2772. default: 10
  2773. minimum: 0
  2774. maximum: 50
  2775. style: form
  2776. explode: false
  2777. allowReserved: false
  2778. -
  2779. name: assignedTo
  2780. in: query
  2781. description: ''
  2782. required: false
  2783. deprecated: false
  2784. allowEmptyValue: true
  2785. schema:
  2786. type: string
  2787. style: form
  2788. explode: false
  2789. allowReserved: false
  2790. -
  2791. name: 'assignedTo[]'
  2792. in: query
  2793. description: ''
  2794. required: false
  2795. deprecated: false
  2796. allowEmptyValue: true
  2797. schema:
  2798. type: array
  2799. items:
  2800. type: string
  2801. style: form
  2802. explode: true
  2803. allowReserved: false
  2804. -
  2805. name: partner
  2806. in: query
  2807. description: ''
  2808. required: false
  2809. deprecated: false
  2810. allowEmptyValue: true
  2811. schema:
  2812. type: string
  2813. style: form
  2814. explode: false
  2815. allowReserved: false
  2816. -
  2817. name: 'partner[]'
  2818. in: query
  2819. description: ''
  2820. required: false
  2821. deprecated: false
  2822. allowEmptyValue: true
  2823. schema:
  2824. type: array
  2825. items:
  2826. type: string
  2827. style: form
  2828. explode: true
  2829. allowReserved: false
  2830. -
  2831. name: contact
  2832. in: query
  2833. description: ''
  2834. required: false
  2835. deprecated: false
  2836. allowEmptyValue: true
  2837. schema:
  2838. type: string
  2839. style: form
  2840. explode: false
  2841. allowReserved: false
  2842. -
  2843. name: 'contact[]'
  2844. in: query
  2845. description: ''
  2846. required: false
  2847. deprecated: false
  2848. allowEmptyValue: true
  2849. schema:
  2850. type: array
  2851. items:
  2852. type: string
  2853. style: form
  2854. explode: true
  2855. allowReserved: false
  2856. deprecated: false
  2857. post:
  2858. operationId: api_tasks_post
  2859. tags:
  2860. - Task
  2861. responses:
  2862. 201:
  2863. description: 'Task resource created'
  2864. content:
  2865. application/ld+json:
  2866. schema:
  2867. $ref: '#/components/schemas/Task.jsonld'
  2868. application/json:
  2869. schema:
  2870. $ref: '#/components/schemas/Task'
  2871. text/html:
  2872. schema:
  2873. $ref: '#/components/schemas/Task'
  2874. application/hal+json:
  2875. schema:
  2876. $ref: '#/components/schemas/Task.jsonhal'
  2877. links: { }
  2878. 400:
  2879. description: 'Invalid input'
  2880. 422:
  2881. description: 'Unprocessable entity'
  2882. summary: 'Creates a Task resource.'
  2883. description: 'Creates a Task resource.'
  2884. parameters: []
  2885. requestBody:
  2886. description: 'The new Task resource'
  2887. content:
  2888. application/ld+json:
  2889. schema:
  2890. $ref: '#/components/schemas/Task.jsonld'
  2891. application/json:
  2892. schema:
  2893. $ref: '#/components/schemas/Task'
  2894. text/html:
  2895. schema:
  2896. $ref: '#/components/schemas/Task'
  2897. application/hal+json:
  2898. schema:
  2899. $ref: '#/components/schemas/Task.jsonhal'
  2900. required: true
  2901. deprecated: false
  2902. parameters: []
  2903. '/api/tasks/{id}':
  2904. get:
  2905. operationId: api_tasks_id_get
  2906. tags:
  2907. - Task
  2908. responses:
  2909. 200:
  2910. description: 'Task resource'
  2911. content:
  2912. application/ld+json:
  2913. schema:
  2914. $ref: '#/components/schemas/Task.jsonld'
  2915. application/json:
  2916. schema:
  2917. $ref: '#/components/schemas/Task'
  2918. text/html:
  2919. schema:
  2920. $ref: '#/components/schemas/Task'
  2921. application/hal+json:
  2922. schema:
  2923. $ref: '#/components/schemas/Task.jsonhal'
  2924. 404:
  2925. description: 'Resource not found'
  2926. summary: 'Retrieves a Task resource.'
  2927. description: 'Retrieves a Task resource.'
  2928. parameters:
  2929. -
  2930. name: id
  2931. in: path
  2932. description: 'TaskApi identifier'
  2933. required: true
  2934. deprecated: false
  2935. allowEmptyValue: false
  2936. schema:
  2937. type: string
  2938. style: simple
  2939. explode: false
  2940. allowReserved: false
  2941. deprecated: false
  2942. patch:
  2943. operationId: api_tasks_id_patch
  2944. tags:
  2945. - Task
  2946. responses:
  2947. 200:
  2948. description: 'Task resource updated'
  2949. content:
  2950. application/ld+json:
  2951. schema:
  2952. $ref: '#/components/schemas/Task.jsonld'
  2953. application/json:
  2954. schema:
  2955. $ref: '#/components/schemas/Task'
  2956. text/html:
  2957. schema:
  2958. $ref: '#/components/schemas/Task'
  2959. application/hal+json:
  2960. schema:
  2961. $ref: '#/components/schemas/Task.jsonhal'
  2962. links: { }
  2963. 400:
  2964. description: 'Invalid input'
  2965. 422:
  2966. description: 'Unprocessable entity'
  2967. 404:
  2968. description: 'Resource not found'
  2969. summary: 'Updates the Task resource.'
  2970. description: 'Updates the Task resource.'
  2971. parameters:
  2972. -
  2973. name: id
  2974. in: path
  2975. description: 'TaskApi identifier'
  2976. required: true
  2977. deprecated: false
  2978. allowEmptyValue: false
  2979. schema:
  2980. type: string
  2981. style: simple
  2982. explode: false
  2983. allowReserved: false
  2984. requestBody:
  2985. description: 'The updated Task resource'
  2986. content:
  2987. application/merge-patch+json:
  2988. schema:
  2989. $ref: '#/components/schemas/Task'
  2990. required: true
  2991. deprecated: false
  2992. parameters: []
  2993. /api/users:
  2994. get:
  2995. operationId: api_users_get_collection
  2996. tags:
  2997. - User
  2998. responses:
  2999. 200:
  3000. description: 'User collection'
  3001. content:
  3002. application/ld+json:
  3003. schema:
  3004. type: object
  3005. properties:
  3006. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/User.jsonld' } }
  3007. 'hydra:totalItems': { type: integer, minimum: 0 }
  3008. '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 } }
  3009. '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 } } } } } }
  3010. required:
  3011. - 'hydra:member'
  3012. application/json:
  3013. schema:
  3014. type: array
  3015. items:
  3016. $ref: '#/components/schemas/User'
  3017. text/html:
  3018. schema:
  3019. type: array
  3020. items:
  3021. $ref: '#/components/schemas/User'
  3022. application/hal+json:
  3023. schema:
  3024. type: object
  3025. properties:
  3026. _embedded: { type: array, items: { $ref: '#/components/schemas/User.jsonhal' } }
  3027. totalItems: { type: integer, minimum: 0 }
  3028. itemsPerPage: { type: integer, minimum: 0 }
  3029. _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 } } } } }
  3030. required:
  3031. - _links
  3032. - _embedded
  3033. summary: 'Retrieves the collection of User resources.'
  3034. description: 'Retrieves the collection of User resources.'
  3035. parameters:
  3036. -
  3037. name: page
  3038. in: query
  3039. description: 'The collection page number'
  3040. required: false
  3041. deprecated: false
  3042. allowEmptyValue: true
  3043. schema:
  3044. type: integer
  3045. default: 1
  3046. style: form
  3047. explode: false
  3048. allowReserved: false
  3049. -
  3050. name: itemsPerPage
  3051. in: query
  3052. description: 'The number of items per page'
  3053. required: false
  3054. deprecated: false
  3055. allowEmptyValue: true
  3056. schema:
  3057. type: integer
  3058. default: 10
  3059. minimum: 0
  3060. maximum: 50
  3061. style: form
  3062. explode: false
  3063. allowReserved: false
  3064. -
  3065. name: firstName
  3066. in: query
  3067. description: ''
  3068. required: false
  3069. deprecated: false
  3070. allowEmptyValue: true
  3071. schema:
  3072. type: string
  3073. style: form
  3074. explode: false
  3075. allowReserved: false
  3076. -
  3077. name: lastName
  3078. in: query
  3079. description: ''
  3080. required: false
  3081. deprecated: false
  3082. allowEmptyValue: true
  3083. schema:
  3084. type: string
  3085. style: form
  3086. explode: false
  3087. allowReserved: false
  3088. deprecated: false
  3089. post:
  3090. operationId: api_users_post
  3091. tags:
  3092. - User
  3093. responses:
  3094. 201:
  3095. description: 'User resource created'
  3096. content:
  3097. application/ld+json:
  3098. schema:
  3099. $ref: '#/components/schemas/User.jsonld'
  3100. application/json:
  3101. schema:
  3102. $ref: '#/components/schemas/User'
  3103. text/html:
  3104. schema:
  3105. $ref: '#/components/schemas/User'
  3106. application/hal+json:
  3107. schema:
  3108. $ref: '#/components/schemas/User.jsonhal'
  3109. links: { }
  3110. 400:
  3111. description: 'Invalid input'
  3112. 422:
  3113. description: 'Unprocessable entity'
  3114. summary: 'Creates a User resource.'
  3115. description: 'Creates a User resource.'
  3116. parameters: []
  3117. requestBody:
  3118. description: 'The new User resource'
  3119. content:
  3120. application/ld+json:
  3121. schema:
  3122. $ref: '#/components/schemas/User.jsonld'
  3123. application/json:
  3124. schema:
  3125. $ref: '#/components/schemas/User'
  3126. text/html:
  3127. schema:
  3128. $ref: '#/components/schemas/User'
  3129. application/hal+json:
  3130. schema:
  3131. $ref: '#/components/schemas/User.jsonhal'
  3132. required: true
  3133. deprecated: false
  3134. parameters: []
  3135. '/api/users/{id}':
  3136. get:
  3137. operationId: api_users_id_get
  3138. tags:
  3139. - User
  3140. responses:
  3141. 200:
  3142. description: 'User resource'
  3143. content:
  3144. application/ld+json:
  3145. schema:
  3146. $ref: '#/components/schemas/User.jsonld'
  3147. application/json:
  3148. schema:
  3149. $ref: '#/components/schemas/User'
  3150. text/html:
  3151. schema:
  3152. $ref: '#/components/schemas/User'
  3153. application/hal+json:
  3154. schema:
  3155. $ref: '#/components/schemas/User.jsonhal'
  3156. 404:
  3157. description: 'Resource not found'
  3158. summary: 'Retrieves a User resource.'
  3159. description: 'Retrieves a User resource.'
  3160. parameters:
  3161. -
  3162. name: id
  3163. in: path
  3164. description: 'UserApi identifier'
  3165. required: true
  3166. deprecated: false
  3167. allowEmptyValue: false
  3168. schema:
  3169. type: string
  3170. style: simple
  3171. explode: false
  3172. allowReserved: false
  3173. deprecated: false
  3174. parameters: []
  3175. /auth:
  3176. post:
  3177. operationId: login_check_post
  3178. tags:
  3179. - 'Login Check'
  3180. responses:
  3181. 200:
  3182. description: 'User token created'
  3183. content:
  3184. application/json:
  3185. schema:
  3186. type: object
  3187. properties:
  3188. token: { readOnly: true, type: string, nullable: false }
  3189. required:
  3190. - token
  3191. summary: 'Creates a user token.'
  3192. description: 'Creates a user token.'
  3193. requestBody:
  3194. description: 'The login data'
  3195. content:
  3196. application/json:
  3197. schema:
  3198. type: object
  3199. properties:
  3200. email:
  3201. type: string
  3202. nullable: false
  3203. password:
  3204. type: string
  3205. nullable: false
  3206. required:
  3207. - email
  3208. - password
  3209. required: true
  3210. parameters: []
  3211. components:
  3212. schemas:
  3213. Comment:
  3214. type: object
  3215. description: ''
  3216. deprecated: false
  3217. required:
  3218. - message
  3219. properties:
  3220. message:
  3221. type:
  3222. - string
  3223. - 'null'
  3224. owner:
  3225. readOnly: true
  3226. 'owl:maxCardinality': 1
  3227. type:
  3228. - string
  3229. - 'null'
  3230. format: iri-reference
  3231. example: 'https://example.com/'
  3232. ownerName:
  3233. readOnly: true
  3234. type:
  3235. - string
  3236. - 'null'
  3237. post:
  3238. 'owl:maxCardinality': 1
  3239. type:
  3240. - string
  3241. - 'null'
  3242. format: iri-reference
  3243. example: 'https://example.com/'
  3244. createdAt:
  3245. readOnly: true
  3246. type:
  3247. - string
  3248. - 'null'
  3249. format: date-time
  3250. Comment.jsonhal:
  3251. type: object
  3252. description: ''
  3253. deprecated: false
  3254. required:
  3255. - message
  3256. properties:
  3257. _links:
  3258. type: object
  3259. properties:
  3260. self:
  3261. type: object
  3262. properties:
  3263. href:
  3264. type: string
  3265. format: iri-reference
  3266. message:
  3267. type:
  3268. - string
  3269. - 'null'
  3270. owner:
  3271. readOnly: true
  3272. 'owl:maxCardinality': 1
  3273. type:
  3274. - string
  3275. - 'null'
  3276. format: iri-reference
  3277. example: 'https://example.com/'
  3278. ownerName:
  3279. readOnly: true
  3280. type:
  3281. - string
  3282. - 'null'
  3283. post:
  3284. 'owl:maxCardinality': 1
  3285. type:
  3286. - string
  3287. - 'null'
  3288. format: iri-reference
  3289. example: 'https://example.com/'
  3290. createdAt:
  3291. readOnly: true
  3292. type:
  3293. - string
  3294. - 'null'
  3295. format: date-time
  3296. Comment.jsonld:
  3297. type: object
  3298. description: ''
  3299. deprecated: false
  3300. required:
  3301. - message
  3302. properties:
  3303. '@context':
  3304. readOnly: true
  3305. oneOf:
  3306. -
  3307. type: string
  3308. -
  3309. type: object
  3310. properties:
  3311. '@vocab':
  3312. type: string
  3313. hydra:
  3314. type: string
  3315. enum: ['http://www.w3.org/ns/hydra/core#']
  3316. required:
  3317. - '@vocab'
  3318. - hydra
  3319. additionalProperties: true
  3320. '@id':
  3321. readOnly: true
  3322. type: string
  3323. '@type':
  3324. readOnly: true
  3325. type: string
  3326. message:
  3327. type:
  3328. - string
  3329. - 'null'
  3330. owner:
  3331. readOnly: true
  3332. 'owl:maxCardinality': 1
  3333. type:
  3334. - string
  3335. - 'null'
  3336. format: iri-reference
  3337. example: 'https://example.com/'
  3338. ownerName:
  3339. readOnly: true
  3340. type:
  3341. - string
  3342. - 'null'
  3343. post:
  3344. 'owl:maxCardinality': 1
  3345. type:
  3346. - string
  3347. - 'null'
  3348. format: iri-reference
  3349. example: 'https://example.com/'
  3350. createdAt:
  3351. readOnly: true
  3352. type:
  3353. - string
  3354. - 'null'
  3355. format: date-time
  3356. Contact:
  3357. type: object
  3358. description: ''
  3359. deprecated: false
  3360. required:
  3361. - firstName
  3362. - lastName
  3363. - partner
  3364. properties:
  3365. firstName:
  3366. type:
  3367. - string
  3368. - 'null'
  3369. lastName:
  3370. type:
  3371. - string
  3372. - 'null'
  3373. partner:
  3374. 'owl:maxCardinality': 1
  3375. type:
  3376. - string
  3377. - 'null'
  3378. format: iri-reference
  3379. example: 'https://example.com/'
  3380. birthday:
  3381. type:
  3382. - string
  3383. - 'null'
  3384. format: date-time
  3385. image:
  3386. 'owl:maxCardinality': 1
  3387. type:
  3388. - string
  3389. - 'null'
  3390. format: iri-reference
  3391. example: 'https://example.com/'
  3392. imageUrl:
  3393. readOnly: true
  3394. type:
  3395. - string
  3396. - 'null'
  3397. position:
  3398. type:
  3399. - string
  3400. - 'null'
  3401. phone:
  3402. type:
  3403. - string
  3404. - 'null'
  3405. email:
  3406. format: email
  3407. externalDocs:
  3408. url: 'https://schema.org/email'
  3409. type:
  3410. - string
  3411. - 'null'
  3412. posts:
  3413. readOnly: true
  3414. type: array
  3415. items:
  3416. type: string
  3417. format: iri-reference
  3418. example: 'https://example.com/'
  3419. createdBy:
  3420. readOnly: true
  3421. 'owl:maxCardinality': 1
  3422. type:
  3423. - string
  3424. - 'null'
  3425. format: iri-reference
  3426. example: 'https://example.com/'
  3427. createdByName:
  3428. readOnly: true
  3429. type:
  3430. - string
  3431. - 'null'
  3432. createdAt:
  3433. readOnly: true
  3434. type:
  3435. - string
  3436. - 'null'
  3437. format: date-time
  3438. Contact.jsonhal:
  3439. type: object
  3440. description: ''
  3441. deprecated: false
  3442. required:
  3443. - firstName
  3444. - lastName
  3445. - partner
  3446. properties:
  3447. _links:
  3448. type: object
  3449. properties:
  3450. self:
  3451. type: object
  3452. properties:
  3453. href:
  3454. type: string
  3455. format: iri-reference
  3456. firstName:
  3457. type:
  3458. - string
  3459. - 'null'
  3460. lastName:
  3461. type:
  3462. - string
  3463. - 'null'
  3464. partner:
  3465. 'owl:maxCardinality': 1
  3466. type:
  3467. - string
  3468. - 'null'
  3469. format: iri-reference
  3470. example: 'https://example.com/'
  3471. birthday:
  3472. type:
  3473. - string
  3474. - 'null'
  3475. format: date-time
  3476. image:
  3477. 'owl:maxCardinality': 1
  3478. type:
  3479. - string
  3480. - 'null'
  3481. format: iri-reference
  3482. example: 'https://example.com/'
  3483. imageUrl:
  3484. readOnly: true
  3485. type:
  3486. - string
  3487. - 'null'
  3488. position:
  3489. type:
  3490. - string
  3491. - 'null'
  3492. phone:
  3493. type:
  3494. - string
  3495. - 'null'
  3496. email:
  3497. format: email
  3498. externalDocs:
  3499. url: 'https://schema.org/email'
  3500. type:
  3501. - string
  3502. - 'null'
  3503. posts:
  3504. readOnly: true
  3505. type: array
  3506. items:
  3507. type: string
  3508. format: iri-reference
  3509. example: 'https://example.com/'
  3510. createdBy:
  3511. readOnly: true
  3512. 'owl:maxCardinality': 1
  3513. type:
  3514. - string
  3515. - 'null'
  3516. format: iri-reference
  3517. example: 'https://example.com/'
  3518. createdByName:
  3519. readOnly: true
  3520. type:
  3521. - string
  3522. - 'null'
  3523. createdAt:
  3524. readOnly: true
  3525. type:
  3526. - string
  3527. - 'null'
  3528. format: date-time
  3529. Contact.jsonld:
  3530. type: object
  3531. description: ''
  3532. deprecated: false
  3533. required:
  3534. - firstName
  3535. - lastName
  3536. - partner
  3537. properties:
  3538. '@context':
  3539. readOnly: true
  3540. oneOf:
  3541. -
  3542. type: string
  3543. -
  3544. type: object
  3545. properties:
  3546. '@vocab':
  3547. type: string
  3548. hydra:
  3549. type: string
  3550. enum: ['http://www.w3.org/ns/hydra/core#']
  3551. required:
  3552. - '@vocab'
  3553. - hydra
  3554. additionalProperties: true
  3555. '@id':
  3556. readOnly: true
  3557. type: string
  3558. '@type':
  3559. readOnly: true
  3560. type: string
  3561. firstName:
  3562. type:
  3563. - string
  3564. - 'null'
  3565. lastName:
  3566. type:
  3567. - string
  3568. - 'null'
  3569. partner:
  3570. 'owl:maxCardinality': 1
  3571. type:
  3572. - string
  3573. - 'null'
  3574. format: iri-reference
  3575. example: 'https://example.com/'
  3576. birthday:
  3577. type:
  3578. - string
  3579. - 'null'
  3580. format: date-time
  3581. image:
  3582. 'owl:maxCardinality': 1
  3583. type:
  3584. - string
  3585. - 'null'
  3586. format: iri-reference
  3587. example: 'https://example.com/'
  3588. imageUrl:
  3589. readOnly: true
  3590. type:
  3591. - string
  3592. - 'null'
  3593. position:
  3594. type:
  3595. - string
  3596. - 'null'
  3597. phone:
  3598. type:
  3599. - string
  3600. - 'null'
  3601. email:
  3602. format: email
  3603. externalDocs:
  3604. url: 'https://schema.org/email'
  3605. type:
  3606. - string
  3607. - 'null'
  3608. posts:
  3609. readOnly: true
  3610. type: array
  3611. items:
  3612. type: string
  3613. format: iri-reference
  3614. example: 'https://example.com/'
  3615. createdBy:
  3616. readOnly: true
  3617. 'owl:maxCardinality': 1
  3618. type:
  3619. - string
  3620. - 'null'
  3621. format: iri-reference
  3622. example: 'https://example.com/'
  3623. createdByName:
  3624. readOnly: true
  3625. type:
  3626. - string
  3627. - 'null'
  3628. createdAt:
  3629. readOnly: true
  3630. type:
  3631. - string
  3632. - 'null'
  3633. format: date-time
  3634. Document:
  3635. type: object
  3636. description: ''
  3637. deprecated: false
  3638. required:
  3639. - name
  3640. - documentObject
  3641. properties:
  3642. name:
  3643. type:
  3644. - string
  3645. - 'null'
  3646. description:
  3647. type:
  3648. - string
  3649. - 'null'
  3650. partner:
  3651. 'owl:maxCardinality': 1
  3652. type:
  3653. - string
  3654. - 'null'
  3655. format: iri-reference
  3656. example: 'https://example.com/'
  3657. partnerName:
  3658. readOnly: true
  3659. type:
  3660. - string
  3661. - 'null'
  3662. product:
  3663. 'owl:maxCardinality': 1
  3664. type:
  3665. - string
  3666. - 'null'
  3667. format: iri-reference
  3668. example: 'https://example.com/'
  3669. productName:
  3670. readOnly: true
  3671. type:
  3672. - string
  3673. - 'null'
  3674. documentObject:
  3675. 'owl:maxCardinality': 1
  3676. type:
  3677. - string
  3678. - 'null'
  3679. format: iri-reference
  3680. example: 'https://example.com/'
  3681. documentUrl:
  3682. readOnly: true
  3683. type:
  3684. - string
  3685. - 'null'
  3686. createdBy:
  3687. readOnly: true
  3688. 'owl:maxCardinality': 1
  3689. type:
  3690. - string
  3691. - 'null'
  3692. format: iri-reference
  3693. example: 'https://example.com/'
  3694. createdByName:
  3695. readOnly: true
  3696. type:
  3697. - string
  3698. - 'null'
  3699. createdAt:
  3700. readOnly: true
  3701. type:
  3702. - string
  3703. - 'null'
  3704. format: date-time
  3705. Document.jsonhal:
  3706. type: object
  3707. description: ''
  3708. deprecated: false
  3709. required:
  3710. - name
  3711. - documentObject
  3712. properties:
  3713. _links:
  3714. type: object
  3715. properties:
  3716. self:
  3717. type: object
  3718. properties:
  3719. href:
  3720. type: string
  3721. format: iri-reference
  3722. name:
  3723. type:
  3724. - string
  3725. - 'null'
  3726. description:
  3727. type:
  3728. - string
  3729. - 'null'
  3730. partner:
  3731. 'owl:maxCardinality': 1
  3732. type:
  3733. - string
  3734. - 'null'
  3735. format: iri-reference
  3736. example: 'https://example.com/'
  3737. partnerName:
  3738. readOnly: true
  3739. type:
  3740. - string
  3741. - 'null'
  3742. product:
  3743. 'owl:maxCardinality': 1
  3744. type:
  3745. - string
  3746. - 'null'
  3747. format: iri-reference
  3748. example: 'https://example.com/'
  3749. productName:
  3750. readOnly: true
  3751. type:
  3752. - string
  3753. - 'null'
  3754. documentObject:
  3755. 'owl:maxCardinality': 1
  3756. type:
  3757. - string
  3758. - 'null'
  3759. format: iri-reference
  3760. example: 'https://example.com/'
  3761. documentUrl:
  3762. readOnly: true
  3763. type:
  3764. - string
  3765. - 'null'
  3766. createdBy:
  3767. readOnly: true
  3768. 'owl:maxCardinality': 1
  3769. type:
  3770. - string
  3771. - 'null'
  3772. format: iri-reference
  3773. example: 'https://example.com/'
  3774. createdByName:
  3775. readOnly: true
  3776. type:
  3777. - string
  3778. - 'null'
  3779. createdAt:
  3780. readOnly: true
  3781. type:
  3782. - string
  3783. - 'null'
  3784. format: date-time
  3785. Document.jsonld:
  3786. type: object
  3787. description: ''
  3788. deprecated: false
  3789. required:
  3790. - name
  3791. - documentObject
  3792. properties:
  3793. '@context':
  3794. readOnly: true
  3795. oneOf:
  3796. -
  3797. type: string
  3798. -
  3799. type: object
  3800. properties:
  3801. '@vocab':
  3802. type: string
  3803. hydra:
  3804. type: string
  3805. enum: ['http://www.w3.org/ns/hydra/core#']
  3806. required:
  3807. - '@vocab'
  3808. - hydra
  3809. additionalProperties: true
  3810. '@id':
  3811. readOnly: true
  3812. type: string
  3813. '@type':
  3814. readOnly: true
  3815. type: string
  3816. name:
  3817. type:
  3818. - string
  3819. - 'null'
  3820. description:
  3821. type:
  3822. - string
  3823. - 'null'
  3824. partner:
  3825. 'owl:maxCardinality': 1
  3826. type:
  3827. - string
  3828. - 'null'
  3829. format: iri-reference
  3830. example: 'https://example.com/'
  3831. partnerName:
  3832. readOnly: true
  3833. type:
  3834. - string
  3835. - 'null'
  3836. product:
  3837. 'owl:maxCardinality': 1
  3838. type:
  3839. - string
  3840. - 'null'
  3841. format: iri-reference
  3842. example: 'https://example.com/'
  3843. productName:
  3844. readOnly: true
  3845. type:
  3846. - string
  3847. - 'null'
  3848. documentObject:
  3849. 'owl:maxCardinality': 1
  3850. type:
  3851. - string
  3852. - 'null'
  3853. format: iri-reference
  3854. example: 'https://example.com/'
  3855. documentUrl:
  3856. readOnly: true
  3857. type:
  3858. - string
  3859. - 'null'
  3860. createdBy:
  3861. readOnly: true
  3862. 'owl:maxCardinality': 1
  3863. type:
  3864. - string
  3865. - 'null'
  3866. format: iri-reference
  3867. example: 'https://example.com/'
  3868. createdByName:
  3869. readOnly: true
  3870. type:
  3871. - string
  3872. - 'null'
  3873. createdAt:
  3874. readOnly: true
  3875. type:
  3876. - string
  3877. - 'null'
  3878. format: date-time
  3879. DocumentObject-document_object.read:
  3880. type: object
  3881. description: ''
  3882. deprecated: false
  3883. externalDocs:
  3884. url: 'https://schema.org/MediaObject'
  3885. properties:
  3886. contentUrl:
  3887. externalDocs:
  3888. url: 'https://schema.org/contentUrl'
  3889. type:
  3890. - string
  3891. - 'null'
  3892. DocumentObject.jsonhal-document_object.read:
  3893. type: object
  3894. description: ''
  3895. deprecated: false
  3896. externalDocs:
  3897. url: 'https://schema.org/MediaObject'
  3898. properties:
  3899. _links:
  3900. type: object
  3901. properties:
  3902. self:
  3903. type: object
  3904. properties:
  3905. href:
  3906. type: string
  3907. format: iri-reference
  3908. contentUrl:
  3909. externalDocs:
  3910. url: 'https://schema.org/contentUrl'
  3911. type:
  3912. - string
  3913. - 'null'
  3914. DocumentObject.jsonld-document_object.read:
  3915. type: object
  3916. description: ''
  3917. deprecated: false
  3918. externalDocs:
  3919. url: 'https://schema.org/MediaObject'
  3920. properties:
  3921. '@context':
  3922. readOnly: true
  3923. oneOf:
  3924. -
  3925. type: string
  3926. -
  3927. type: object
  3928. properties:
  3929. '@vocab':
  3930. type: string
  3931. hydra:
  3932. type: string
  3933. enum: ['http://www.w3.org/ns/hydra/core#']
  3934. required:
  3935. - '@vocab'
  3936. - hydra
  3937. additionalProperties: true
  3938. '@id':
  3939. readOnly: true
  3940. type: string
  3941. '@type':
  3942. readOnly: true
  3943. type: string
  3944. contentUrl:
  3945. externalDocs:
  3946. url: 'https://schema.org/contentUrl'
  3947. type:
  3948. - string
  3949. - 'null'
  3950. MediaObject-media_object.read:
  3951. type: object
  3952. description: ''
  3953. deprecated: false
  3954. externalDocs:
  3955. url: 'https://schema.org/MediaObject'
  3956. properties:
  3957. contentUrl:
  3958. externalDocs:
  3959. url: 'https://schema.org/contentUrl'
  3960. type:
  3961. - string
  3962. - 'null'
  3963. MediaObject.jsonhal-media_object.read:
  3964. type: object
  3965. description: ''
  3966. deprecated: false
  3967. externalDocs:
  3968. url: 'https://schema.org/MediaObject'
  3969. properties:
  3970. _links:
  3971. type: object
  3972. properties:
  3973. self:
  3974. type: object
  3975. properties:
  3976. href:
  3977. type: string
  3978. format: iri-reference
  3979. contentUrl:
  3980. externalDocs:
  3981. url: 'https://schema.org/contentUrl'
  3982. type:
  3983. - string
  3984. - 'null'
  3985. MediaObject.jsonld-media_object.read:
  3986. type: object
  3987. description: ''
  3988. deprecated: false
  3989. externalDocs:
  3990. url: 'https://schema.org/MediaObject'
  3991. properties:
  3992. '@context':
  3993. readOnly: true
  3994. oneOf:
  3995. -
  3996. type: string
  3997. -
  3998. type: object
  3999. properties:
  4000. '@vocab':
  4001. type: string
  4002. hydra:
  4003. type: string
  4004. enum: ['http://www.w3.org/ns/hydra/core#']
  4005. required:
  4006. - '@vocab'
  4007. - hydra
  4008. additionalProperties: true
  4009. '@id':
  4010. readOnly: true
  4011. type: string
  4012. '@type':
  4013. readOnly: true
  4014. type: string
  4015. contentUrl:
  4016. externalDocs:
  4017. url: 'https://schema.org/contentUrl'
  4018. type:
  4019. - string
  4020. - 'null'
  4021. Partner:
  4022. type: object
  4023. description: ''
  4024. deprecated: false
  4025. required:
  4026. - name
  4027. - partnerType
  4028. properties:
  4029. name:
  4030. type: string
  4031. partnerType:
  4032. type: string
  4033. enum:
  4034. - customer
  4035. - supplier
  4036. - service
  4037. description:
  4038. type:
  4039. - string
  4040. - 'null'
  4041. street:
  4042. type:
  4043. - string
  4044. - 'null'
  4045. streetNo:
  4046. type:
  4047. - string
  4048. - 'null'
  4049. zip:
  4050. type:
  4051. - string
  4052. - 'null'
  4053. city:
  4054. type:
  4055. - string
  4056. - 'null'
  4057. country:
  4058. type:
  4059. - string
  4060. - 'null'
  4061. website:
  4062. type:
  4063. - string
  4064. - 'null'
  4065. logo:
  4066. 'owl:maxCardinality': 1
  4067. type:
  4068. - string
  4069. - 'null'
  4070. format: iri-reference
  4071. example: 'https://example.com/'
  4072. logoUrl:
  4073. readOnly: true
  4074. type:
  4075. - string
  4076. - 'null'
  4077. createdBy:
  4078. readOnly: true
  4079. 'owl:maxCardinality': 1
  4080. type:
  4081. - string
  4082. - 'null'
  4083. format: iri-reference
  4084. example: 'https://example.com/'
  4085. createdByName:
  4086. readOnly: true
  4087. type:
  4088. - string
  4089. - 'null'
  4090. createdAt:
  4091. readOnly: true
  4092. type:
  4093. - string
  4094. - 'null'
  4095. format: date-time
  4096. posts:
  4097. readOnly: true
  4098. description: 'array<int, PostingApi>'
  4099. type: array
  4100. items:
  4101. type: string
  4102. contacts:
  4103. readOnly: true
  4104. type: array
  4105. items:
  4106. type: string
  4107. format: iri-reference
  4108. example: 'https://example.com/'
  4109. Partner.jsonhal:
  4110. type: object
  4111. description: ''
  4112. deprecated: false
  4113. required:
  4114. - name
  4115. - partnerType
  4116. properties:
  4117. _links:
  4118. type: object
  4119. properties:
  4120. self:
  4121. type: object
  4122. properties:
  4123. href:
  4124. type: string
  4125. format: iri-reference
  4126. name:
  4127. type: string
  4128. partnerType:
  4129. type: string
  4130. enum:
  4131. - customer
  4132. - supplier
  4133. - service
  4134. description:
  4135. type:
  4136. - string
  4137. - 'null'
  4138. street:
  4139. type:
  4140. - string
  4141. - 'null'
  4142. streetNo:
  4143. type:
  4144. - string
  4145. - 'null'
  4146. zip:
  4147. type:
  4148. - string
  4149. - 'null'
  4150. city:
  4151. type:
  4152. - string
  4153. - 'null'
  4154. country:
  4155. type:
  4156. - string
  4157. - 'null'
  4158. website:
  4159. type:
  4160. - string
  4161. - 'null'
  4162. logo:
  4163. 'owl:maxCardinality': 1
  4164. type:
  4165. - string
  4166. - 'null'
  4167. format: iri-reference
  4168. example: 'https://example.com/'
  4169. logoUrl:
  4170. readOnly: true
  4171. type:
  4172. - string
  4173. - 'null'
  4174. createdBy:
  4175. readOnly: true
  4176. 'owl:maxCardinality': 1
  4177. type:
  4178. - string
  4179. - 'null'
  4180. format: iri-reference
  4181. example: 'https://example.com/'
  4182. createdByName:
  4183. readOnly: true
  4184. type:
  4185. - string
  4186. - 'null'
  4187. createdAt:
  4188. readOnly: true
  4189. type:
  4190. - string
  4191. - 'null'
  4192. format: date-time
  4193. posts:
  4194. readOnly: true
  4195. description: 'array<int, PostingApi>'
  4196. type: array
  4197. items:
  4198. type: string
  4199. contacts:
  4200. readOnly: true
  4201. type: array
  4202. items:
  4203. type: string
  4204. format: iri-reference
  4205. example: 'https://example.com/'
  4206. Partner.jsonld:
  4207. type: object
  4208. description: ''
  4209. deprecated: false
  4210. required:
  4211. - name
  4212. - partnerType
  4213. properties:
  4214. '@context':
  4215. readOnly: true
  4216. oneOf:
  4217. -
  4218. type: string
  4219. -
  4220. type: object
  4221. properties:
  4222. '@vocab':
  4223. type: string
  4224. hydra:
  4225. type: string
  4226. enum: ['http://www.w3.org/ns/hydra/core#']
  4227. required:
  4228. - '@vocab'
  4229. - hydra
  4230. additionalProperties: true
  4231. '@id':
  4232. readOnly: true
  4233. type: string
  4234. '@type':
  4235. readOnly: true
  4236. type: string
  4237. name:
  4238. type: string
  4239. partnerType:
  4240. type: string
  4241. enum:
  4242. - customer
  4243. - supplier
  4244. - service
  4245. description:
  4246. type:
  4247. - string
  4248. - 'null'
  4249. street:
  4250. type:
  4251. - string
  4252. - 'null'
  4253. streetNo:
  4254. type:
  4255. - string
  4256. - 'null'
  4257. zip:
  4258. type:
  4259. - string
  4260. - 'null'
  4261. city:
  4262. type:
  4263. - string
  4264. - 'null'
  4265. country:
  4266. type:
  4267. - string
  4268. - 'null'
  4269. website:
  4270. type:
  4271. - string
  4272. - 'null'
  4273. logo:
  4274. 'owl:maxCardinality': 1
  4275. type:
  4276. - string
  4277. - 'null'
  4278. format: iri-reference
  4279. example: 'https://example.com/'
  4280. logoUrl:
  4281. readOnly: true
  4282. type:
  4283. - string
  4284. - 'null'
  4285. createdBy:
  4286. readOnly: true
  4287. 'owl:maxCardinality': 1
  4288. type:
  4289. - string
  4290. - 'null'
  4291. format: iri-reference
  4292. example: 'https://example.com/'
  4293. createdByName:
  4294. readOnly: true
  4295. type:
  4296. - string
  4297. - 'null'
  4298. createdAt:
  4299. readOnly: true
  4300. type:
  4301. - string
  4302. - 'null'
  4303. format: date-time
  4304. posts:
  4305. readOnly: true
  4306. description: 'array<int, PostingApi>'
  4307. type: array
  4308. items:
  4309. type: string
  4310. contacts:
  4311. readOnly: true
  4312. type: array
  4313. items:
  4314. type: string
  4315. format: iri-reference
  4316. example: 'https://example.com/'
  4317. PartnerFollow:
  4318. type: object
  4319. description: ''
  4320. deprecated: false
  4321. properties:
  4322. user:
  4323. readOnly: true
  4324. 'owl:maxCardinality': 1
  4325. type:
  4326. - string
  4327. - 'null'
  4328. format: iri-reference
  4329. example: 'https://example.com/'
  4330. userName:
  4331. readOnly: true
  4332. type:
  4333. - string
  4334. - 'null'
  4335. partner:
  4336. 'owl:maxCardinality': 1
  4337. type:
  4338. - string
  4339. - 'null'
  4340. format: iri-reference
  4341. example: 'https://example.com/'
  4342. partnerName:
  4343. readOnly: true
  4344. type:
  4345. - string
  4346. - 'null'
  4347. createdAt:
  4348. readOnly: true
  4349. type:
  4350. - string
  4351. - 'null'
  4352. format: date-time
  4353. required:
  4354. - partner
  4355. PartnerFollow.jsonhal:
  4356. type: object
  4357. description: ''
  4358. deprecated: false
  4359. properties:
  4360. _links:
  4361. type: object
  4362. properties:
  4363. self:
  4364. type: object
  4365. properties:
  4366. href:
  4367. type: string
  4368. format: iri-reference
  4369. user:
  4370. readOnly: true
  4371. 'owl:maxCardinality': 1
  4372. type:
  4373. - string
  4374. - 'null'
  4375. format: iri-reference
  4376. example: 'https://example.com/'
  4377. userName:
  4378. readOnly: true
  4379. type:
  4380. - string
  4381. - 'null'
  4382. partner:
  4383. 'owl:maxCardinality': 1
  4384. type:
  4385. - string
  4386. - 'null'
  4387. format: iri-reference
  4388. example: 'https://example.com/'
  4389. partnerName:
  4390. readOnly: true
  4391. type:
  4392. - string
  4393. - 'null'
  4394. createdAt:
  4395. readOnly: true
  4396. type:
  4397. - string
  4398. - 'null'
  4399. format: date-time
  4400. required:
  4401. - partner
  4402. PartnerFollow.jsonld:
  4403. type: object
  4404. description: ''
  4405. deprecated: false
  4406. properties:
  4407. '@context':
  4408. readOnly: true
  4409. oneOf:
  4410. -
  4411. type: string
  4412. -
  4413. type: object
  4414. properties:
  4415. '@vocab':
  4416. type: string
  4417. hydra:
  4418. type: string
  4419. enum: ['http://www.w3.org/ns/hydra/core#']
  4420. required:
  4421. - '@vocab'
  4422. - hydra
  4423. additionalProperties: true
  4424. '@id':
  4425. readOnly: true
  4426. type: string
  4427. '@type':
  4428. readOnly: true
  4429. type: string
  4430. user:
  4431. readOnly: true
  4432. 'owl:maxCardinality': 1
  4433. type:
  4434. - string
  4435. - 'null'
  4436. format: iri-reference
  4437. example: 'https://example.com/'
  4438. userName:
  4439. readOnly: true
  4440. type:
  4441. - string
  4442. - 'null'
  4443. partner:
  4444. 'owl:maxCardinality': 1
  4445. type:
  4446. - string
  4447. - 'null'
  4448. format: iri-reference
  4449. example: 'https://example.com/'
  4450. partnerName:
  4451. readOnly: true
  4452. type:
  4453. - string
  4454. - 'null'
  4455. createdAt:
  4456. readOnly: true
  4457. type:
  4458. - string
  4459. - 'null'
  4460. format: date-time
  4461. required:
  4462. - partner
  4463. Post:
  4464. type: object
  4465. description: ''
  4466. deprecated: false
  4467. required:
  4468. - headline
  4469. - message
  4470. properties:
  4471. headline:
  4472. type:
  4473. - string
  4474. - 'null'
  4475. message:
  4476. type:
  4477. - string
  4478. - 'null'
  4479. owner:
  4480. readOnly: true
  4481. 'owl:maxCardinality': 1
  4482. type:
  4483. - string
  4484. - 'null'
  4485. format: iri-reference
  4486. example: 'https://example.com/'
  4487. ownerName:
  4488. readOnly: true
  4489. type:
  4490. - string
  4491. - 'null'
  4492. partner:
  4493. 'owl:maxCardinality': 1
  4494. type:
  4495. - string
  4496. - 'null'
  4497. format: iri-reference
  4498. example: 'https://example.com/'
  4499. contact:
  4500. 'owl:maxCardinality': 1
  4501. type:
  4502. - string
  4503. - 'null'
  4504. format: iri-reference
  4505. example: 'https://example.com/'
  4506. sale:
  4507. 'owl:maxCardinality': 1
  4508. type:
  4509. - string
  4510. - 'null'
  4511. format: iri-reference
  4512. example: 'https://example.com/'
  4513. comments:
  4514. readOnly: true
  4515. description: 'array<int, CommentApi>'
  4516. type: array
  4517. items:
  4518. $ref: '#/components/schemas/Comment'
  4519. createdAt:
  4520. readOnly: true
  4521. type:
  4522. - string
  4523. - 'null'
  4524. format: date-time
  4525. Post-posting.create:
  4526. type: object
  4527. description: ''
  4528. deprecated: false
  4529. required:
  4530. - headline
  4531. - message
  4532. properties:
  4533. headline:
  4534. type:
  4535. - string
  4536. - 'null'
  4537. message:
  4538. type:
  4539. - string
  4540. - 'null'
  4541. partner:
  4542. 'owl:maxCardinality': 1
  4543. type:
  4544. - string
  4545. - 'null'
  4546. format: iri-reference
  4547. example: 'https://example.com/'
  4548. contact:
  4549. 'owl:maxCardinality': 1
  4550. type:
  4551. - string
  4552. - 'null'
  4553. format: iri-reference
  4554. example: 'https://example.com/'
  4555. sale:
  4556. 'owl:maxCardinality': 1
  4557. type:
  4558. - string
  4559. - 'null'
  4560. format: iri-reference
  4561. example: 'https://example.com/'
  4562. Post-posting.patch:
  4563. type: object
  4564. description: ''
  4565. deprecated: false
  4566. required:
  4567. - headline
  4568. - message
  4569. properties:
  4570. headline:
  4571. type:
  4572. - string
  4573. - 'null'
  4574. message:
  4575. type:
  4576. - string
  4577. - 'null'
  4578. Post.jsonhal:
  4579. type: object
  4580. description: ''
  4581. deprecated: false
  4582. required:
  4583. - headline
  4584. - message
  4585. properties:
  4586. _links:
  4587. type: object
  4588. properties:
  4589. self:
  4590. type: object
  4591. properties:
  4592. href:
  4593. type: string
  4594. format: iri-reference
  4595. headline:
  4596. type:
  4597. - string
  4598. - 'null'
  4599. message:
  4600. type:
  4601. - string
  4602. - 'null'
  4603. owner:
  4604. readOnly: true
  4605. 'owl:maxCardinality': 1
  4606. type:
  4607. - string
  4608. - 'null'
  4609. format: iri-reference
  4610. example: 'https://example.com/'
  4611. ownerName:
  4612. readOnly: true
  4613. type:
  4614. - string
  4615. - 'null'
  4616. partner:
  4617. 'owl:maxCardinality': 1
  4618. type:
  4619. - string
  4620. - 'null'
  4621. format: iri-reference
  4622. example: 'https://example.com/'
  4623. contact:
  4624. 'owl:maxCardinality': 1
  4625. type:
  4626. - string
  4627. - 'null'
  4628. format: iri-reference
  4629. example: 'https://example.com/'
  4630. sale:
  4631. 'owl:maxCardinality': 1
  4632. type:
  4633. - string
  4634. - 'null'
  4635. format: iri-reference
  4636. example: 'https://example.com/'
  4637. comments:
  4638. readOnly: true
  4639. description: 'array<int, CommentApi>'
  4640. type: array
  4641. items:
  4642. $ref: '#/components/schemas/Comment.jsonhal'
  4643. createdAt:
  4644. readOnly: true
  4645. type:
  4646. - string
  4647. - 'null'
  4648. format: date-time
  4649. Post.jsonhal-posting.create:
  4650. type: object
  4651. description: ''
  4652. deprecated: false
  4653. required:
  4654. - headline
  4655. - message
  4656. properties:
  4657. _links:
  4658. type: object
  4659. properties:
  4660. self:
  4661. type: object
  4662. properties:
  4663. href:
  4664. type: string
  4665. format: iri-reference
  4666. headline:
  4667. type:
  4668. - string
  4669. - 'null'
  4670. message:
  4671. type:
  4672. - string
  4673. - 'null'
  4674. partner:
  4675. 'owl:maxCardinality': 1
  4676. type:
  4677. - string
  4678. - 'null'
  4679. format: iri-reference
  4680. example: 'https://example.com/'
  4681. contact:
  4682. 'owl:maxCardinality': 1
  4683. type:
  4684. - string
  4685. - 'null'
  4686. format: iri-reference
  4687. example: 'https://example.com/'
  4688. sale:
  4689. 'owl:maxCardinality': 1
  4690. type:
  4691. - string
  4692. - 'null'
  4693. format: iri-reference
  4694. example: 'https://example.com/'
  4695. Post.jsonld:
  4696. type: object
  4697. description: ''
  4698. deprecated: false
  4699. required:
  4700. - headline
  4701. - message
  4702. properties:
  4703. '@context':
  4704. readOnly: true
  4705. oneOf:
  4706. -
  4707. type: string
  4708. -
  4709. type: object
  4710. properties:
  4711. '@vocab':
  4712. type: string
  4713. hydra:
  4714. type: string
  4715. enum: ['http://www.w3.org/ns/hydra/core#']
  4716. required:
  4717. - '@vocab'
  4718. - hydra
  4719. additionalProperties: true
  4720. '@id':
  4721. readOnly: true
  4722. type: string
  4723. '@type':
  4724. readOnly: true
  4725. type: string
  4726. headline:
  4727. type:
  4728. - string
  4729. - 'null'
  4730. message:
  4731. type:
  4732. - string
  4733. - 'null'
  4734. owner:
  4735. readOnly: true
  4736. 'owl:maxCardinality': 1
  4737. type:
  4738. - string
  4739. - 'null'
  4740. format: iri-reference
  4741. example: 'https://example.com/'
  4742. ownerName:
  4743. readOnly: true
  4744. type:
  4745. - string
  4746. - 'null'
  4747. partner:
  4748. 'owl:maxCardinality': 1
  4749. type:
  4750. - string
  4751. - 'null'
  4752. format: iri-reference
  4753. example: 'https://example.com/'
  4754. contact:
  4755. 'owl:maxCardinality': 1
  4756. type:
  4757. - string
  4758. - 'null'
  4759. format: iri-reference
  4760. example: 'https://example.com/'
  4761. sale:
  4762. 'owl:maxCardinality': 1
  4763. type:
  4764. - string
  4765. - 'null'
  4766. format: iri-reference
  4767. example: 'https://example.com/'
  4768. comments:
  4769. readOnly: true
  4770. description: 'array<int, CommentApi>'
  4771. type: array
  4772. items:
  4773. $ref: '#/components/schemas/Comment.jsonld'
  4774. createdAt:
  4775. readOnly: true
  4776. type:
  4777. - string
  4778. - 'null'
  4779. format: date-time
  4780. Post.jsonld-posting.create:
  4781. type: object
  4782. description: ''
  4783. deprecated: false
  4784. required:
  4785. - headline
  4786. - message
  4787. properties:
  4788. headline:
  4789. type:
  4790. - string
  4791. - 'null'
  4792. message:
  4793. type:
  4794. - string
  4795. - 'null'
  4796. partner:
  4797. 'owl:maxCardinality': 1
  4798. type:
  4799. - string
  4800. - 'null'
  4801. format: iri-reference
  4802. example: 'https://example.com/'
  4803. contact:
  4804. 'owl:maxCardinality': 1
  4805. type:
  4806. - string
  4807. - 'null'
  4808. format: iri-reference
  4809. example: 'https://example.com/'
  4810. sale:
  4811. 'owl:maxCardinality': 1
  4812. type:
  4813. - string
  4814. - 'null'
  4815. format: iri-reference
  4816. example: 'https://example.com/'
  4817. Product:
  4818. type: object
  4819. description: ''
  4820. deprecated: false
  4821. required:
  4822. - name
  4823. properties:
  4824. name:
  4825. type: string
  4826. description:
  4827. type:
  4828. - string
  4829. - 'null'
  4830. image:
  4831. 'owl:maxCardinality': 1
  4832. type:
  4833. - string
  4834. - 'null'
  4835. format: iri-reference
  4836. example: 'https://example.com/'
  4837. imageUrl:
  4838. readOnly: true
  4839. type:
  4840. - string
  4841. - 'null'
  4842. createdBy:
  4843. readOnly: true
  4844. 'owl:maxCardinality': 1
  4845. type:
  4846. - string
  4847. - 'null'
  4848. format: iri-reference
  4849. example: 'https://example.com/'
  4850. createdByName:
  4851. readOnly: true
  4852. type:
  4853. - string
  4854. - 'null'
  4855. createdAt:
  4856. type:
  4857. - string
  4858. - 'null'
  4859. format: date-time
  4860. Product.jsonhal:
  4861. type: object
  4862. description: ''
  4863. deprecated: false
  4864. required:
  4865. - name
  4866. properties:
  4867. _links:
  4868. type: object
  4869. properties:
  4870. self:
  4871. type: object
  4872. properties:
  4873. href:
  4874. type: string
  4875. format: iri-reference
  4876. name:
  4877. type: string
  4878. description:
  4879. type:
  4880. - string
  4881. - 'null'
  4882. image:
  4883. 'owl:maxCardinality': 1
  4884. type:
  4885. - string
  4886. - 'null'
  4887. format: iri-reference
  4888. example: 'https://example.com/'
  4889. imageUrl:
  4890. readOnly: true
  4891. type:
  4892. - string
  4893. - 'null'
  4894. createdBy:
  4895. readOnly: true
  4896. 'owl:maxCardinality': 1
  4897. type:
  4898. - string
  4899. - 'null'
  4900. format: iri-reference
  4901. example: 'https://example.com/'
  4902. createdByName:
  4903. readOnly: true
  4904. type:
  4905. - string
  4906. - 'null'
  4907. createdAt:
  4908. type:
  4909. - string
  4910. - 'null'
  4911. format: date-time
  4912. Product.jsonld:
  4913. type: object
  4914. description: ''
  4915. deprecated: false
  4916. required:
  4917. - name
  4918. properties:
  4919. '@context':
  4920. readOnly: true
  4921. oneOf:
  4922. -
  4923. type: string
  4924. -
  4925. type: object
  4926. properties:
  4927. '@vocab':
  4928. type: string
  4929. hydra:
  4930. type: string
  4931. enum: ['http://www.w3.org/ns/hydra/core#']
  4932. required:
  4933. - '@vocab'
  4934. - hydra
  4935. additionalProperties: true
  4936. '@id':
  4937. readOnly: true
  4938. type: string
  4939. '@type':
  4940. readOnly: true
  4941. type: string
  4942. name:
  4943. type: string
  4944. description:
  4945. type:
  4946. - string
  4947. - 'null'
  4948. image:
  4949. 'owl:maxCardinality': 1
  4950. type:
  4951. - string
  4952. - 'null'
  4953. format: iri-reference
  4954. example: 'https://example.com/'
  4955. imageUrl:
  4956. readOnly: true
  4957. type:
  4958. - string
  4959. - 'null'
  4960. createdBy:
  4961. readOnly: true
  4962. 'owl:maxCardinality': 1
  4963. type:
  4964. - string
  4965. - 'null'
  4966. format: iri-reference
  4967. example: 'https://example.com/'
  4968. createdByName:
  4969. readOnly: true
  4970. type:
  4971. - string
  4972. - 'null'
  4973. createdAt:
  4974. type:
  4975. - string
  4976. - 'null'
  4977. format: date-time
  4978. Sale:
  4979. type: object
  4980. description: ''
  4981. deprecated: false
  4982. properties:
  4983. owner:
  4984. readOnly: true
  4985. 'owl:maxCardinality': 1
  4986. type:
  4987. - string
  4988. - 'null'
  4989. format: iri-reference
  4990. example: 'https://example.com/'
  4991. ownerName:
  4992. readOnly: true
  4993. type:
  4994. - string
  4995. - 'null'
  4996. partner:
  4997. 'owl:maxCardinality': 1
  4998. type:
  4999. - string
  5000. - 'null'
  5001. format: iri-reference
  5002. example: 'https://example.com/'
  5003. partnerType:
  5004. readOnly: true
  5005. type: string
  5006. enum:
  5007. - customer
  5008. - supplier
  5009. - service
  5010. partnerName:
  5011. readOnly: true
  5012. type:
  5013. - string
  5014. - 'null'
  5015. product:
  5016. 'owl:maxCardinality': 1
  5017. type:
  5018. - string
  5019. - 'null'
  5020. format: iri-reference
  5021. example: 'https://example.com/'
  5022. productName:
  5023. readOnly: true
  5024. type:
  5025. - string
  5026. - 'null'
  5027. turnover:
  5028. type:
  5029. - integer
  5030. - 'null'
  5031. profit:
  5032. type:
  5033. - integer
  5034. - 'null'
  5035. comment:
  5036. type:
  5037. - string
  5038. - 'null'
  5039. createdAt:
  5040. readOnly: true
  5041. type:
  5042. - string
  5043. - 'null'
  5044. format: date-time
  5045. posts:
  5046. readOnly: true
  5047. description: 'array<int, PostingApi>'
  5048. type: array
  5049. items:
  5050. type: string
  5051. required:
  5052. - turnover
  5053. Sale.jsonhal:
  5054. type: object
  5055. description: ''
  5056. deprecated: false
  5057. properties:
  5058. _links:
  5059. type: object
  5060. properties:
  5061. self:
  5062. type: object
  5063. properties:
  5064. href:
  5065. type: string
  5066. format: iri-reference
  5067. owner:
  5068. readOnly: true
  5069. 'owl:maxCardinality': 1
  5070. type:
  5071. - string
  5072. - 'null'
  5073. format: iri-reference
  5074. example: 'https://example.com/'
  5075. ownerName:
  5076. readOnly: true
  5077. type:
  5078. - string
  5079. - 'null'
  5080. partner:
  5081. 'owl:maxCardinality': 1
  5082. type:
  5083. - string
  5084. - 'null'
  5085. format: iri-reference
  5086. example: 'https://example.com/'
  5087. partnerType:
  5088. readOnly: true
  5089. type: string
  5090. enum:
  5091. - customer
  5092. - supplier
  5093. - service
  5094. partnerName:
  5095. readOnly: true
  5096. type:
  5097. - string
  5098. - 'null'
  5099. product:
  5100. 'owl:maxCardinality': 1
  5101. type:
  5102. - string
  5103. - 'null'
  5104. format: iri-reference
  5105. example: 'https://example.com/'
  5106. productName:
  5107. readOnly: true
  5108. type:
  5109. - string
  5110. - 'null'
  5111. turnover:
  5112. type:
  5113. - integer
  5114. - 'null'
  5115. profit:
  5116. type:
  5117. - integer
  5118. - 'null'
  5119. comment:
  5120. type:
  5121. - string
  5122. - 'null'
  5123. createdAt:
  5124. readOnly: true
  5125. type:
  5126. - string
  5127. - 'null'
  5128. format: date-time
  5129. posts:
  5130. readOnly: true
  5131. description: 'array<int, PostingApi>'
  5132. type: array
  5133. items:
  5134. type: string
  5135. required:
  5136. - turnover
  5137. Sale.jsonld:
  5138. type: object
  5139. description: ''
  5140. deprecated: false
  5141. properties:
  5142. '@context':
  5143. readOnly: true
  5144. oneOf:
  5145. -
  5146. type: string
  5147. -
  5148. type: object
  5149. properties:
  5150. '@vocab':
  5151. type: string
  5152. hydra:
  5153. type: string
  5154. enum: ['http://www.w3.org/ns/hydra/core#']
  5155. required:
  5156. - '@vocab'
  5157. - hydra
  5158. additionalProperties: true
  5159. '@id':
  5160. readOnly: true
  5161. type: string
  5162. '@type':
  5163. readOnly: true
  5164. type: string
  5165. owner:
  5166. readOnly: true
  5167. 'owl:maxCardinality': 1
  5168. type:
  5169. - string
  5170. - 'null'
  5171. format: iri-reference
  5172. example: 'https://example.com/'
  5173. ownerName:
  5174. readOnly: true
  5175. type:
  5176. - string
  5177. - 'null'
  5178. partner:
  5179. 'owl:maxCardinality': 1
  5180. type:
  5181. - string
  5182. - 'null'
  5183. format: iri-reference
  5184. example: 'https://example.com/'
  5185. partnerType:
  5186. readOnly: true
  5187. type: string
  5188. enum:
  5189. - customer
  5190. - supplier
  5191. - service
  5192. partnerName:
  5193. readOnly: true
  5194. type:
  5195. - string
  5196. - 'null'
  5197. product:
  5198. 'owl:maxCardinality': 1
  5199. type:
  5200. - string
  5201. - 'null'
  5202. format: iri-reference
  5203. example: 'https://example.com/'
  5204. productName:
  5205. readOnly: true
  5206. type:
  5207. - string
  5208. - 'null'
  5209. turnover:
  5210. type:
  5211. - integer
  5212. - 'null'
  5213. profit:
  5214. type:
  5215. - integer
  5216. - 'null'
  5217. comment:
  5218. type:
  5219. - string
  5220. - 'null'
  5221. createdAt:
  5222. readOnly: true
  5223. type:
  5224. - string
  5225. - 'null'
  5226. format: date-time
  5227. posts:
  5228. readOnly: true
  5229. description: 'array<int, PostingApi>'
  5230. type: array
  5231. items:
  5232. type: string
  5233. required:
  5234. - turnover
  5235. SaleSummary:
  5236. type: object
  5237. description: ''
  5238. deprecated: false
  5239. properties:
  5240. owner:
  5241. 'owl:maxCardinality': 1
  5242. type:
  5243. - string
  5244. - 'null'
  5245. format: iri-reference
  5246. example: 'https://example.com/'
  5247. ownerName:
  5248. type:
  5249. - string
  5250. - 'null'
  5251. turnover:
  5252. type:
  5253. - integer
  5254. - 'null'
  5255. profit:
  5256. type:
  5257. - integer
  5258. - 'null'
  5259. SaleSummary.jsonhal:
  5260. type: object
  5261. description: ''
  5262. deprecated: false
  5263. properties:
  5264. _links:
  5265. type: object
  5266. properties:
  5267. self:
  5268. type: object
  5269. properties:
  5270. href:
  5271. type: string
  5272. format: iri-reference
  5273. owner:
  5274. 'owl:maxCardinality': 1
  5275. type:
  5276. - string
  5277. - 'null'
  5278. format: iri-reference
  5279. example: 'https://example.com/'
  5280. ownerName:
  5281. type:
  5282. - string
  5283. - 'null'
  5284. turnover:
  5285. type:
  5286. - integer
  5287. - 'null'
  5288. profit:
  5289. type:
  5290. - integer
  5291. - 'null'
  5292. SaleSummary.jsonld:
  5293. type: object
  5294. description: ''
  5295. deprecated: false
  5296. properties:
  5297. '@id':
  5298. readOnly: true
  5299. type: string
  5300. '@type':
  5301. readOnly: true
  5302. type: string
  5303. owner:
  5304. 'owl:maxCardinality': 1
  5305. type:
  5306. - string
  5307. - 'null'
  5308. format: iri-reference
  5309. example: 'https://example.com/'
  5310. ownerName:
  5311. type:
  5312. - string
  5313. - 'null'
  5314. turnover:
  5315. type:
  5316. - integer
  5317. - 'null'
  5318. profit:
  5319. type:
  5320. - integer
  5321. - 'null'
  5322. Task:
  5323. type: object
  5324. description: ''
  5325. deprecated: false
  5326. required:
  5327. - headline
  5328. - description
  5329. - assignedTo
  5330. - dueAt
  5331. - prio
  5332. - completed
  5333. properties:
  5334. headline:
  5335. type:
  5336. - string
  5337. - 'null'
  5338. description:
  5339. type:
  5340. - string
  5341. - 'null'
  5342. createdBy:
  5343. readOnly: true
  5344. 'owl:maxCardinality': 1
  5345. type:
  5346. - string
  5347. - 'null'
  5348. format: iri-reference
  5349. example: 'https://example.com/'
  5350. createdByName:
  5351. readOnly: true
  5352. type:
  5353. - string
  5354. - 'null'
  5355. assignedTo:
  5356. 'owl:maxCardinality': 1
  5357. type:
  5358. - string
  5359. - 'null'
  5360. format: iri-reference
  5361. example: 'https://example.com/'
  5362. assignedToName:
  5363. readOnly: true
  5364. type:
  5365. - string
  5366. - 'null'
  5367. dueAt:
  5368. type:
  5369. - string
  5370. - 'null'
  5371. format: date-time
  5372. partner:
  5373. 'owl:maxCardinality': 1
  5374. type:
  5375. - string
  5376. - 'null'
  5377. format: iri-reference
  5378. example: 'https://example.com/'
  5379. partnerName:
  5380. readOnly: true
  5381. type:
  5382. - string
  5383. - 'null'
  5384. contact:
  5385. 'owl:maxCardinality': 1
  5386. type:
  5387. - string
  5388. - 'null'
  5389. format: iri-reference
  5390. example: 'https://example.com/'
  5391. contactName:
  5392. readOnly: true
  5393. type:
  5394. - string
  5395. - 'null'
  5396. prio:
  5397. type: string
  5398. enum:
  5399. - low
  5400. - medium
  5401. - high
  5402. completed:
  5403. type:
  5404. - boolean
  5405. - 'null'
  5406. taskNotes:
  5407. readOnly: true
  5408. description: 'array<int, TaskNoteApi>'
  5409. type: array
  5410. items:
  5411. $ref: '#/components/schemas/TaskNote'
  5412. createdAt:
  5413. readOnly: true
  5414. type:
  5415. - string
  5416. - 'null'
  5417. format: date-time
  5418. Task.jsonhal:
  5419. type: object
  5420. description: ''
  5421. deprecated: false
  5422. required:
  5423. - headline
  5424. - description
  5425. - assignedTo
  5426. - dueAt
  5427. - prio
  5428. - completed
  5429. properties:
  5430. _links:
  5431. type: object
  5432. properties:
  5433. self:
  5434. type: object
  5435. properties:
  5436. href:
  5437. type: string
  5438. format: iri-reference
  5439. headline:
  5440. type:
  5441. - string
  5442. - 'null'
  5443. description:
  5444. type:
  5445. - string
  5446. - 'null'
  5447. createdBy:
  5448. readOnly: true
  5449. 'owl:maxCardinality': 1
  5450. type:
  5451. - string
  5452. - 'null'
  5453. format: iri-reference
  5454. example: 'https://example.com/'
  5455. createdByName:
  5456. readOnly: true
  5457. type:
  5458. - string
  5459. - 'null'
  5460. assignedTo:
  5461. 'owl:maxCardinality': 1
  5462. type:
  5463. - string
  5464. - 'null'
  5465. format: iri-reference
  5466. example: 'https://example.com/'
  5467. assignedToName:
  5468. readOnly: true
  5469. type:
  5470. - string
  5471. - 'null'
  5472. dueAt:
  5473. type:
  5474. - string
  5475. - 'null'
  5476. format: date-time
  5477. partner:
  5478. 'owl:maxCardinality': 1
  5479. type:
  5480. - string
  5481. - 'null'
  5482. format: iri-reference
  5483. example: 'https://example.com/'
  5484. partnerName:
  5485. readOnly: true
  5486. type:
  5487. - string
  5488. - 'null'
  5489. contact:
  5490. 'owl:maxCardinality': 1
  5491. type:
  5492. - string
  5493. - 'null'
  5494. format: iri-reference
  5495. example: 'https://example.com/'
  5496. contactName:
  5497. readOnly: true
  5498. type:
  5499. - string
  5500. - 'null'
  5501. prio:
  5502. type: string
  5503. enum:
  5504. - low
  5505. - medium
  5506. - high
  5507. completed:
  5508. type:
  5509. - boolean
  5510. - 'null'
  5511. taskNotes:
  5512. readOnly: true
  5513. description: 'array<int, TaskNoteApi>'
  5514. type: array
  5515. items:
  5516. $ref: '#/components/schemas/TaskNote.jsonhal'
  5517. createdAt:
  5518. readOnly: true
  5519. type:
  5520. - string
  5521. - 'null'
  5522. format: date-time
  5523. Task.jsonld:
  5524. type: object
  5525. description: ''
  5526. deprecated: false
  5527. required:
  5528. - headline
  5529. - description
  5530. - assignedTo
  5531. - dueAt
  5532. - prio
  5533. - completed
  5534. properties:
  5535. '@context':
  5536. readOnly: true
  5537. oneOf:
  5538. -
  5539. type: string
  5540. -
  5541. type: object
  5542. properties:
  5543. '@vocab':
  5544. type: string
  5545. hydra:
  5546. type: string
  5547. enum: ['http://www.w3.org/ns/hydra/core#']
  5548. required:
  5549. - '@vocab'
  5550. - hydra
  5551. additionalProperties: true
  5552. '@id':
  5553. readOnly: true
  5554. type: string
  5555. '@type':
  5556. readOnly: true
  5557. type: string
  5558. headline:
  5559. type:
  5560. - string
  5561. - 'null'
  5562. description:
  5563. type:
  5564. - string
  5565. - 'null'
  5566. createdBy:
  5567. readOnly: true
  5568. 'owl:maxCardinality': 1
  5569. type:
  5570. - string
  5571. - 'null'
  5572. format: iri-reference
  5573. example: 'https://example.com/'
  5574. createdByName:
  5575. readOnly: true
  5576. type:
  5577. - string
  5578. - 'null'
  5579. assignedTo:
  5580. 'owl:maxCardinality': 1
  5581. type:
  5582. - string
  5583. - 'null'
  5584. format: iri-reference
  5585. example: 'https://example.com/'
  5586. assignedToName:
  5587. readOnly: true
  5588. type:
  5589. - string
  5590. - 'null'
  5591. dueAt:
  5592. type:
  5593. - string
  5594. - 'null'
  5595. format: date-time
  5596. partner:
  5597. 'owl:maxCardinality': 1
  5598. type:
  5599. - string
  5600. - 'null'
  5601. format: iri-reference
  5602. example: 'https://example.com/'
  5603. partnerName:
  5604. readOnly: true
  5605. type:
  5606. - string
  5607. - 'null'
  5608. contact:
  5609. 'owl:maxCardinality': 1
  5610. type:
  5611. - string
  5612. - 'null'
  5613. format: iri-reference
  5614. example: 'https://example.com/'
  5615. contactName:
  5616. readOnly: true
  5617. type:
  5618. - string
  5619. - 'null'
  5620. prio:
  5621. type: string
  5622. enum:
  5623. - low
  5624. - medium
  5625. - high
  5626. completed:
  5627. type:
  5628. - boolean
  5629. - 'null'
  5630. taskNotes:
  5631. readOnly: true
  5632. description: 'array<int, TaskNoteApi>'
  5633. type: array
  5634. items:
  5635. $ref: '#/components/schemas/TaskNote.jsonld'
  5636. createdAt:
  5637. readOnly: true
  5638. type:
  5639. - string
  5640. - 'null'
  5641. format: date-time
  5642. TaskNote:
  5643. type: object
  5644. description: ''
  5645. deprecated: false
  5646. required:
  5647. - message
  5648. properties:
  5649. message:
  5650. type:
  5651. - string
  5652. - 'null'
  5653. owner:
  5654. readOnly: true
  5655. 'owl:maxCardinality': 1
  5656. type:
  5657. - string
  5658. - 'null'
  5659. format: iri-reference
  5660. example: 'https://example.com/'
  5661. ownerName:
  5662. readOnly: true
  5663. type:
  5664. - string
  5665. - 'null'
  5666. task:
  5667. 'owl:maxCardinality': 1
  5668. type:
  5669. - string
  5670. - 'null'
  5671. format: iri-reference
  5672. example: 'https://example.com/'
  5673. createdAt:
  5674. readOnly: true
  5675. type:
  5676. - string
  5677. - 'null'
  5678. format: date-time
  5679. TaskNote.jsonhal:
  5680. type: object
  5681. description: ''
  5682. deprecated: false
  5683. required:
  5684. - message
  5685. properties:
  5686. _links:
  5687. type: object
  5688. properties:
  5689. self:
  5690. type: object
  5691. properties:
  5692. href:
  5693. type: string
  5694. format: iri-reference
  5695. message:
  5696. type:
  5697. - string
  5698. - 'null'
  5699. owner:
  5700. readOnly: true
  5701. 'owl:maxCardinality': 1
  5702. type:
  5703. - string
  5704. - 'null'
  5705. format: iri-reference
  5706. example: 'https://example.com/'
  5707. ownerName:
  5708. readOnly: true
  5709. type:
  5710. - string
  5711. - 'null'
  5712. task:
  5713. 'owl:maxCardinality': 1
  5714. type:
  5715. - string
  5716. - 'null'
  5717. format: iri-reference
  5718. example: 'https://example.com/'
  5719. createdAt:
  5720. readOnly: true
  5721. type:
  5722. - string
  5723. - 'null'
  5724. format: date-time
  5725. TaskNote.jsonld:
  5726. type: object
  5727. description: ''
  5728. deprecated: false
  5729. required:
  5730. - message
  5731. properties:
  5732. '@context':
  5733. readOnly: true
  5734. oneOf:
  5735. -
  5736. type: string
  5737. -
  5738. type: object
  5739. properties:
  5740. '@vocab':
  5741. type: string
  5742. hydra:
  5743. type: string
  5744. enum: ['http://www.w3.org/ns/hydra/core#']
  5745. required:
  5746. - '@vocab'
  5747. - hydra
  5748. additionalProperties: true
  5749. '@id':
  5750. readOnly: true
  5751. type: string
  5752. '@type':
  5753. readOnly: true
  5754. type: string
  5755. message:
  5756. type:
  5757. - string
  5758. - 'null'
  5759. owner:
  5760. readOnly: true
  5761. 'owl:maxCardinality': 1
  5762. type:
  5763. - string
  5764. - 'null'
  5765. format: iri-reference
  5766. example: 'https://example.com/'
  5767. ownerName:
  5768. readOnly: true
  5769. type:
  5770. - string
  5771. - 'null'
  5772. task:
  5773. 'owl:maxCardinality': 1
  5774. type:
  5775. - string
  5776. - 'null'
  5777. format: iri-reference
  5778. example: 'https://example.com/'
  5779. createdAt:
  5780. readOnly: true
  5781. type:
  5782. - string
  5783. - 'null'
  5784. format: date-time
  5785. User:
  5786. type: object
  5787. description: ''
  5788. deprecated: false
  5789. required:
  5790. - email
  5791. - firstName
  5792. - lastName
  5793. properties:
  5794. email:
  5795. format: email
  5796. externalDocs:
  5797. url: 'https://schema.org/email'
  5798. type:
  5799. - string
  5800. - 'null'
  5801. firstName:
  5802. type:
  5803. - string
  5804. - 'null'
  5805. lastName:
  5806. type:
  5807. - string
  5808. - 'null'
  5809. image:
  5810. 'owl:maxCardinality': 1
  5811. type:
  5812. - string
  5813. - 'null'
  5814. format: iri-reference
  5815. example: 'https://example.com/'
  5816. password:
  5817. writeOnly: true
  5818. description: 'The plaintext password when being set or changed.'
  5819. type:
  5820. - string
  5821. - 'null'
  5822. active:
  5823. type: boolean
  5824. createdAt:
  5825. readOnly: true
  5826. type:
  5827. - string
  5828. - 'null'
  5829. format: date-time
  5830. User.jsonhal:
  5831. type: object
  5832. description: ''
  5833. deprecated: false
  5834. required:
  5835. - email
  5836. - firstName
  5837. - lastName
  5838. properties:
  5839. _links:
  5840. type: object
  5841. properties:
  5842. self:
  5843. type: object
  5844. properties:
  5845. href:
  5846. type: string
  5847. format: iri-reference
  5848. email:
  5849. format: email
  5850. externalDocs:
  5851. url: 'https://schema.org/email'
  5852. type:
  5853. - string
  5854. - 'null'
  5855. firstName:
  5856. type:
  5857. - string
  5858. - 'null'
  5859. lastName:
  5860. type:
  5861. - string
  5862. - 'null'
  5863. image:
  5864. 'owl:maxCardinality': 1
  5865. type:
  5866. - string
  5867. - 'null'
  5868. format: iri-reference
  5869. example: 'https://example.com/'
  5870. password:
  5871. writeOnly: true
  5872. description: 'The plaintext password when being set or changed.'
  5873. type:
  5874. - string
  5875. - 'null'
  5876. active:
  5877. type: boolean
  5878. createdAt:
  5879. readOnly: true
  5880. type:
  5881. - string
  5882. - 'null'
  5883. format: date-time
  5884. User.jsonld:
  5885. type: object
  5886. description: ''
  5887. deprecated: false
  5888. required:
  5889. - email
  5890. - firstName
  5891. - lastName
  5892. properties:
  5893. '@context':
  5894. readOnly: true
  5895. oneOf:
  5896. -
  5897. type: string
  5898. -
  5899. type: object
  5900. properties:
  5901. '@vocab':
  5902. type: string
  5903. hydra:
  5904. type: string
  5905. enum: ['http://www.w3.org/ns/hydra/core#']
  5906. required:
  5907. - '@vocab'
  5908. - hydra
  5909. additionalProperties: true
  5910. '@id':
  5911. readOnly: true
  5912. type: string
  5913. '@type':
  5914. readOnly: true
  5915. type: string
  5916. email:
  5917. format: email
  5918. externalDocs:
  5919. url: 'https://schema.org/email'
  5920. type:
  5921. - string
  5922. - 'null'
  5923. firstName:
  5924. type:
  5925. - string
  5926. - 'null'
  5927. lastName:
  5928. type:
  5929. - string
  5930. - 'null'
  5931. image:
  5932. 'owl:maxCardinality': 1
  5933. type:
  5934. - string
  5935. - 'null'
  5936. format: iri-reference
  5937. example: 'https://example.com/'
  5938. password:
  5939. writeOnly: true
  5940. description: 'The plaintext password when being set or changed.'
  5941. type:
  5942. - string
  5943. - 'null'
  5944. active:
  5945. type: boolean
  5946. createdAt:
  5947. readOnly: true
  5948. type:
  5949. - string
  5950. - 'null'
  5951. format: date-time
  5952. responses: { }
  5953. parameters: { }
  5954. examples: { }
  5955. requestBodies: { }
  5956. headers: { }
  5957. securitySchemes:
  5958. JWT:
  5959. type: http
  5960. scheme: bearer
  5961. bearerFormat: JWT
  5962. security:
  5963. -
  5964. JWT: []
  5965. tags: []