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

2659 lignes
76 KiB

  1. openapi: 3.1.0
  2. info:
  3. title: 'Matsen API Platform'
  4. description: ''
  5. version: 1.0.0
  6. servers:
  7. -
  8. url: /
  9. description: ''
  10. paths:
  11. /api/comments:
  12. get:
  13. operationId: api_comments_get_collection
  14. tags:
  15. - Comment
  16. responses:
  17. 200:
  18. description: 'Comment collection'
  19. content:
  20. application/ld+json:
  21. schema:
  22. type: object
  23. properties:
  24. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Comment.jsonld' } }
  25. 'hydra:totalItems': { type: integer, minimum: 0 }
  26. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  27. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  28. required:
  29. - 'hydra:member'
  30. application/json:
  31. schema:
  32. type: array
  33. items:
  34. $ref: '#/components/schemas/Comment'
  35. text/html:
  36. schema:
  37. type: array
  38. items:
  39. $ref: '#/components/schemas/Comment'
  40. application/hal+json:
  41. schema:
  42. type: object
  43. properties:
  44. _embedded: { type: array, items: { $ref: '#/components/schemas/Comment.jsonhal' } }
  45. totalItems: { type: integer, minimum: 0 }
  46. itemsPerPage: { type: integer, minimum: 0 }
  47. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  48. required:
  49. - _links
  50. - _embedded
  51. summary: 'Retrieves the collection of Comment resources.'
  52. description: 'Retrieves the collection of Comment resources.'
  53. parameters:
  54. -
  55. name: page
  56. in: query
  57. description: 'The collection page number'
  58. required: false
  59. deprecated: false
  60. allowEmptyValue: true
  61. schema:
  62. type: integer
  63. default: 1
  64. style: form
  65. explode: false
  66. allowReserved: false
  67. -
  68. name: itemsPerPage
  69. in: query
  70. description: 'The number of items per page'
  71. required: false
  72. deprecated: false
  73. allowEmptyValue: true
  74. schema:
  75. type: integer
  76. default: 10
  77. minimum: 0
  78. maximum: 50
  79. style: form
  80. explode: false
  81. allowReserved: false
  82. deprecated: false
  83. post:
  84. operationId: api_comments_post
  85. tags:
  86. - Comment
  87. responses:
  88. 201:
  89. description: 'Comment resource created'
  90. content:
  91. application/ld+json:
  92. schema:
  93. $ref: '#/components/schemas/Comment.jsonld'
  94. application/json:
  95. schema:
  96. $ref: '#/components/schemas/Comment'
  97. text/html:
  98. schema:
  99. $ref: '#/components/schemas/Comment'
  100. application/hal+json:
  101. schema:
  102. $ref: '#/components/schemas/Comment.jsonhal'
  103. links: { }
  104. 400:
  105. description: 'Invalid input'
  106. 422:
  107. description: 'Unprocessable entity'
  108. summary: 'Creates a Comment resource.'
  109. description: 'Creates a Comment resource.'
  110. parameters: []
  111. requestBody:
  112. description: 'The new Comment resource'
  113. content:
  114. application/ld+json:
  115. schema:
  116. $ref: '#/components/schemas/Comment.jsonld'
  117. application/json:
  118. schema:
  119. $ref: '#/components/schemas/Comment'
  120. text/html:
  121. schema:
  122. $ref: '#/components/schemas/Comment'
  123. application/hal+json:
  124. schema:
  125. $ref: '#/components/schemas/Comment.jsonhal'
  126. required: true
  127. deprecated: false
  128. parameters: []
  129. '/api/comments/{id}':
  130. get:
  131. operationId: api_comments_id_get
  132. tags:
  133. - Comment
  134. responses:
  135. 200:
  136. description: 'Comment resource'
  137. content:
  138. application/ld+json:
  139. schema:
  140. $ref: '#/components/schemas/Comment.jsonld'
  141. application/json:
  142. schema:
  143. $ref: '#/components/schemas/Comment'
  144. text/html:
  145. schema:
  146. $ref: '#/components/schemas/Comment'
  147. application/hal+json:
  148. schema:
  149. $ref: '#/components/schemas/Comment.jsonhal'
  150. 404:
  151. description: 'Resource not found'
  152. summary: 'Retrieves a Comment resource.'
  153. description: 'Retrieves a Comment resource.'
  154. parameters:
  155. -
  156. name: id
  157. in: path
  158. description: 'CommentApi identifier'
  159. required: true
  160. deprecated: false
  161. allowEmptyValue: false
  162. schema:
  163. type: string
  164. style: simple
  165. explode: false
  166. allowReserved: false
  167. deprecated: false
  168. delete:
  169. operationId: api_comments_id_delete
  170. tags:
  171. - Comment
  172. responses:
  173. 204:
  174. description: 'Comment resource deleted'
  175. 404:
  176. description: 'Resource not found'
  177. summary: 'Removes the Comment resource.'
  178. description: 'Removes the Comment resource.'
  179. parameters:
  180. -
  181. name: id
  182. in: path
  183. description: 'CommentApi identifier'
  184. required: true
  185. deprecated: false
  186. allowEmptyValue: false
  187. schema:
  188. type: string
  189. style: simple
  190. explode: false
  191. allowReserved: false
  192. deprecated: false
  193. patch:
  194. operationId: api_comments_id_patch
  195. tags:
  196. - Comment
  197. responses:
  198. 200:
  199. description: 'Comment resource updated'
  200. content:
  201. application/ld+json:
  202. schema:
  203. $ref: '#/components/schemas/Comment.jsonld'
  204. application/json:
  205. schema:
  206. $ref: '#/components/schemas/Comment'
  207. text/html:
  208. schema:
  209. $ref: '#/components/schemas/Comment'
  210. application/hal+json:
  211. schema:
  212. $ref: '#/components/schemas/Comment.jsonhal'
  213. links: { }
  214. 400:
  215. description: 'Invalid input'
  216. 422:
  217. description: 'Unprocessable entity'
  218. 404:
  219. description: 'Resource not found'
  220. summary: 'Updates the Comment resource.'
  221. description: 'Updates the Comment resource.'
  222. parameters:
  223. -
  224. name: id
  225. in: path
  226. description: 'CommentApi identifier'
  227. required: true
  228. deprecated: false
  229. allowEmptyValue: false
  230. schema:
  231. type: string
  232. style: simple
  233. explode: false
  234. allowReserved: false
  235. requestBody:
  236. description: 'The updated Comment resource'
  237. content:
  238. application/merge-patch+json:
  239. schema:
  240. $ref: '#/components/schemas/Comment'
  241. required: true
  242. deprecated: false
  243. parameters: []
  244. /api/contacts:
  245. get:
  246. operationId: api_contacts_get_collection
  247. tags:
  248. - Contact
  249. responses:
  250. 200:
  251. description: 'Contact collection'
  252. content:
  253. application/ld+json:
  254. schema:
  255. type: object
  256. properties:
  257. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Contact.jsonld' } }
  258. 'hydra:totalItems': { type: integer, minimum: 0 }
  259. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  260. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  261. required:
  262. - 'hydra:member'
  263. application/json:
  264. schema:
  265. type: array
  266. items:
  267. $ref: '#/components/schemas/Contact'
  268. text/html:
  269. schema:
  270. type: array
  271. items:
  272. $ref: '#/components/schemas/Contact'
  273. application/hal+json:
  274. schema:
  275. type: object
  276. properties:
  277. _embedded: { type: array, items: { $ref: '#/components/schemas/Contact.jsonhal' } }
  278. totalItems: { type: integer, minimum: 0 }
  279. itemsPerPage: { type: integer, minimum: 0 }
  280. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  281. required:
  282. - _links
  283. - _embedded
  284. summary: 'Retrieves the collection of Contact resources.'
  285. description: 'Retrieves the collection of Contact resources.'
  286. parameters:
  287. -
  288. name: page
  289. in: query
  290. description: 'The collection page number'
  291. required: false
  292. deprecated: false
  293. allowEmptyValue: true
  294. schema:
  295. type: integer
  296. default: 1
  297. style: form
  298. explode: false
  299. allowReserved: false
  300. -
  301. name: itemsPerPage
  302. in: query
  303. description: 'The number of items per page'
  304. required: false
  305. deprecated: false
  306. allowEmptyValue: true
  307. schema:
  308. type: integer
  309. default: 10
  310. minimum: 0
  311. maximum: 50
  312. style: form
  313. explode: false
  314. allowReserved: false
  315. -
  316. name: partner
  317. in: query
  318. description: ''
  319. required: false
  320. deprecated: false
  321. allowEmptyValue: true
  322. schema:
  323. type: string
  324. style: form
  325. explode: false
  326. allowReserved: false
  327. -
  328. name: 'partner[]'
  329. in: query
  330. description: ''
  331. required: false
  332. deprecated: false
  333. allowEmptyValue: true
  334. schema:
  335. type: array
  336. items:
  337. type: string
  338. style: form
  339. explode: true
  340. allowReserved: false
  341. deprecated: false
  342. post:
  343. operationId: api_contacts_post
  344. tags:
  345. - Contact
  346. responses:
  347. 201:
  348. description: 'Contact resource created'
  349. content:
  350. application/ld+json:
  351. schema:
  352. $ref: '#/components/schemas/Contact.jsonld'
  353. application/json:
  354. schema:
  355. $ref: '#/components/schemas/Contact'
  356. text/html:
  357. schema:
  358. $ref: '#/components/schemas/Contact'
  359. application/hal+json:
  360. schema:
  361. $ref: '#/components/schemas/Contact.jsonhal'
  362. links: { }
  363. 400:
  364. description: 'Invalid input'
  365. 422:
  366. description: 'Unprocessable entity'
  367. summary: 'Creates a Contact resource.'
  368. description: 'Creates a Contact resource.'
  369. parameters: []
  370. requestBody:
  371. description: 'The new Contact resource'
  372. content:
  373. application/ld+json:
  374. schema:
  375. $ref: '#/components/schemas/Contact.jsonld'
  376. application/json:
  377. schema:
  378. $ref: '#/components/schemas/Contact'
  379. text/html:
  380. schema:
  381. $ref: '#/components/schemas/Contact'
  382. application/hal+json:
  383. schema:
  384. $ref: '#/components/schemas/Contact.jsonhal'
  385. required: true
  386. deprecated: false
  387. parameters: []
  388. '/api/contacts/{id}':
  389. get:
  390. operationId: api_contacts_id_get
  391. tags:
  392. - Contact
  393. responses:
  394. 200:
  395. description: 'Contact resource'
  396. content:
  397. application/ld+json:
  398. schema:
  399. $ref: '#/components/schemas/Contact.jsonld'
  400. application/json:
  401. schema:
  402. $ref: '#/components/schemas/Contact'
  403. text/html:
  404. schema:
  405. $ref: '#/components/schemas/Contact'
  406. application/hal+json:
  407. schema:
  408. $ref: '#/components/schemas/Contact.jsonhal'
  409. 404:
  410. description: 'Resource not found'
  411. summary: 'Retrieves a Contact resource.'
  412. description: 'Retrieves a Contact resource.'
  413. parameters:
  414. -
  415. name: id
  416. in: path
  417. description: 'ContactApi identifier'
  418. required: true
  419. deprecated: false
  420. allowEmptyValue: false
  421. schema:
  422. type: string
  423. style: simple
  424. explode: false
  425. allowReserved: false
  426. deprecated: false
  427. delete:
  428. operationId: api_contacts_id_delete
  429. tags:
  430. - Contact
  431. responses:
  432. 204:
  433. description: 'Contact resource deleted'
  434. 404:
  435. description: 'Resource not found'
  436. summary: 'Removes the Contact resource.'
  437. description: 'Removes the Contact resource.'
  438. parameters:
  439. -
  440. name: id
  441. in: path
  442. description: 'ContactApi identifier'
  443. required: true
  444. deprecated: false
  445. allowEmptyValue: false
  446. schema:
  447. type: string
  448. style: simple
  449. explode: false
  450. allowReserved: false
  451. deprecated: false
  452. patch:
  453. operationId: api_contacts_id_patch
  454. tags:
  455. - Contact
  456. responses:
  457. 200:
  458. description: 'Contact resource updated'
  459. content:
  460. application/ld+json:
  461. schema:
  462. $ref: '#/components/schemas/Contact.jsonld'
  463. application/json:
  464. schema:
  465. $ref: '#/components/schemas/Contact'
  466. text/html:
  467. schema:
  468. $ref: '#/components/schemas/Contact'
  469. application/hal+json:
  470. schema:
  471. $ref: '#/components/schemas/Contact.jsonhal'
  472. links: { }
  473. 400:
  474. description: 'Invalid input'
  475. 422:
  476. description: 'Unprocessable entity'
  477. 404:
  478. description: 'Resource not found'
  479. summary: 'Updates the Contact resource.'
  480. description: 'Updates the Contact resource.'
  481. parameters:
  482. -
  483. name: id
  484. in: path
  485. description: 'ContactApi identifier'
  486. required: true
  487. deprecated: false
  488. allowEmptyValue: false
  489. schema:
  490. type: string
  491. style: simple
  492. explode: false
  493. allowReserved: false
  494. requestBody:
  495. description: 'The updated Contact resource'
  496. content:
  497. application/merge-patch+json:
  498. schema:
  499. $ref: '#/components/schemas/Contact'
  500. required: true
  501. deprecated: false
  502. parameters: []
  503. /api/medias:
  504. get:
  505. operationId: api_medias_get_collection
  506. tags:
  507. - Media
  508. responses:
  509. 200:
  510. description: 'Media collection'
  511. content:
  512. application/ld+json:
  513. schema:
  514. type: object
  515. properties:
  516. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Media.jsonld-media_object.read' } }
  517. 'hydra:totalItems': { type: integer, minimum: 0 }
  518. 'hydra:view': { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, 'hydra:first': { type: string, format: iri-reference }, 'hydra:last': { type: string, format: iri-reference }, 'hydra:previous': { type: string, format: iri-reference }, 'hydra:next': { type: string, format: iri-reference } }, example: { '@id': string, type: string, 'hydra:first': string, 'hydra:last': string, 'hydra:previous': string, 'hydra:next': string } }
  519. 'hydra:search': { type: object, properties: { '@type': { type: string }, 'hydra:template': { type: string }, 'hydra:variableRepresentation': { type: string }, 'hydra:mapping': { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  520. required:
  521. - 'hydra:member'
  522. application/json:
  523. schema:
  524. type: array
  525. items:
  526. $ref: '#/components/schemas/Media-media_object.read'
  527. text/html:
  528. schema:
  529. type: array
  530. items:
  531. $ref: '#/components/schemas/Media-media_object.read'
  532. application/hal+json:
  533. schema:
  534. type: object
  535. properties:
  536. _embedded: { type: array, items: { $ref: '#/components/schemas/Media.jsonhal-media_object.read' } }
  537. totalItems: { type: integer, minimum: 0 }
  538. itemsPerPage: { type: integer, minimum: 0 }
  539. _links: { type: object, properties: { self: { type: object, properties: { href: { type: string, format: iri-reference } } }, first: { type: object, properties: { href: { type: string, format: iri-reference } } }, last: { type: object, properties: { href: { type: string, format: iri-reference } } }, next: { type: object, properties: { href: { type: string, format: iri-reference } } }, previous: { type: object, properties: { href: { type: string, format: iri-reference } } } } }
  540. required:
  541. - _links
  542. - _embedded
  543. summary: 'Retrieves the collection of Media resources.'
  544. description: 'Retrieves the collection of Media resources.'
  545. parameters:
  546. -
  547. name: page
  548. in: query
  549. description: 'The collection page number'
  550. required: false
  551. deprecated: false
  552. allowEmptyValue: true
  553. schema:
  554. type: integer
  555. default: 1
  556. style: form
  557. explode: false
  558. allowReserved: false
  559. -
  560. name: itemsPerPage
  561. in: query
  562. description: 'The number of items per page'
  563. required: false
  564. deprecated: false
  565. allowEmptyValue: true
  566. schema:
  567. type: integer
  568. default: 10
  569. minimum: 0
  570. maximum: 50
  571. style: form
  572. explode: false
  573. allowReserved: false
  574. deprecated: false
  575. post:
  576. operationId: api_medias_post
  577. tags:
  578. - Media
  579. responses:
  580. 201:
  581. description: 'Media resource created'
  582. content:
  583. application/ld+json:
  584. schema:
  585. $ref: '#/components/schemas/Media.jsonld-media_object.read'
  586. application/json:
  587. schema:
  588. $ref: '#/components/schemas/Media-media_object.read'
  589. text/html:
  590. schema:
  591. $ref: '#/components/schemas/Media-media_object.read'
  592. application/hal+json:
  593. schema:
  594. $ref: '#/components/schemas/Media.jsonhal-media_object.read'
  595. links: { }
  596. 400:
  597. description: 'Invalid input'
  598. 422:
  599. description: 'Unprocessable entity'
  600. summary: 'Creates a Media resource.'
  601. description: 'Creates a Media resource.'
  602. parameters: []
  603. requestBody:
  604. description: ''
  605. content:
  606. multipart/form-data:
  607. schema:
  608. type: object
  609. properties:
  610. file:
  611. type: string
  612. format: binary
  613. required: false
  614. deprecated: false
  615. parameters: []
  616. '/api/medias/{id}':
  617. get:
  618. operationId: api_medias_id_get
  619. tags:
  620. - Media
  621. responses:
  622. 200:
  623. description: 'Media resource'
  624. content:
  625. application/ld+json:
  626. schema:
  627. $ref: '#/components/schemas/Media.jsonld-media_object.read'
  628. application/json:
  629. schema:
  630. $ref: '#/components/schemas/Media-media_object.read'
  631. text/html:
  632. schema:
  633. $ref: '#/components/schemas/Media-media_object.read'
  634. application/hal+json:
  635. schema:
  636. $ref: '#/components/schemas/Media.jsonhal-media_object.read'
  637. 404:
  638. description: 'Resource not found'
  639. summary: 'Retrieves a Media resource.'
  640. description: 'Retrieves a Media resource.'
  641. parameters:
  642. -
  643. name: id
  644. in: path
  645. description: 'MediaObject identifier'
  646. required: true
  647. deprecated: false
  648. allowEmptyValue: false
  649. schema:
  650. type: string
  651. style: simple
  652. explode: false
  653. allowReserved: false
  654. deprecated: false
  655. parameters: []
  656. /api/partners:
  657. get:
  658. operationId: api_partners_get_collection
  659. tags:
  660. - Partner
  661. responses:
  662. 200:
  663. description: 'Partner collection'
  664. content:
  665. application/ld+json:
  666. schema:
  667. type: object
  668. properties:
  669. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Partner.jsonld' } }
  670. 'hydra:totalItems': { type: integer, minimum: 0 }
  671. '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 } }
  672. '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 } } } } } }
  673. required:
  674. - 'hydra:member'
  675. application/json:
  676. schema:
  677. type: array
  678. items:
  679. $ref: '#/components/schemas/Partner'
  680. text/html:
  681. schema:
  682. type: array
  683. items:
  684. $ref: '#/components/schemas/Partner'
  685. application/hal+json:
  686. schema:
  687. type: object
  688. properties:
  689. _embedded: { type: array, items: { $ref: '#/components/schemas/Partner.jsonhal' } }
  690. totalItems: { type: integer, minimum: 0 }
  691. itemsPerPage: { type: integer, minimum: 0 }
  692. _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 } } } } }
  693. required:
  694. - _links
  695. - _embedded
  696. summary: 'Retrieves the collection of Partner resources.'
  697. description: 'Retrieves the collection of Partner resources.'
  698. parameters:
  699. -
  700. name: page
  701. in: query
  702. description: 'The collection page number'
  703. required: false
  704. deprecated: false
  705. allowEmptyValue: true
  706. schema:
  707. type: integer
  708. default: 1
  709. style: form
  710. explode: false
  711. allowReserved: false
  712. -
  713. name: itemsPerPage
  714. in: query
  715. description: 'The number of items per page'
  716. required: false
  717. deprecated: false
  718. allowEmptyValue: true
  719. schema:
  720. type: integer
  721. default: 10
  722. minimum: 0
  723. maximum: 50
  724. style: form
  725. explode: false
  726. allowReserved: false
  727. -
  728. name: type
  729. in: query
  730. description: ''
  731. required: false
  732. deprecated: false
  733. allowEmptyValue: true
  734. schema:
  735. type: string
  736. style: form
  737. explode: false
  738. allowReserved: false
  739. -
  740. name: 'type[]'
  741. in: query
  742. description: ''
  743. required: false
  744. deprecated: false
  745. allowEmptyValue: true
  746. schema:
  747. type: array
  748. items:
  749. type: string
  750. style: form
  751. explode: true
  752. allowReserved: false
  753. -
  754. name: 'order[name]'
  755. in: query
  756. description: ''
  757. required: false
  758. deprecated: false
  759. allowEmptyValue: true
  760. schema:
  761. type: string
  762. enum:
  763. - asc
  764. - desc
  765. style: form
  766. explode: false
  767. allowReserved: false
  768. -
  769. name: 'order[city]'
  770. in: query
  771. description: ''
  772. required: false
  773. deprecated: false
  774. allowEmptyValue: true
  775. schema:
  776. type: string
  777. enum:
  778. - asc
  779. - desc
  780. style: form
  781. explode: false
  782. allowReserved: false
  783. -
  784. name: 'order[website]'
  785. in: query
  786. description: ''
  787. required: false
  788. deprecated: false
  789. allowEmptyValue: true
  790. schema:
  791. type: string
  792. enum:
  793. - asc
  794. - desc
  795. style: form
  796. explode: false
  797. allowReserved: false
  798. deprecated: false
  799. post:
  800. operationId: api_partners_post
  801. tags:
  802. - Partner
  803. responses:
  804. 201:
  805. description: 'Partner resource created'
  806. content:
  807. application/ld+json:
  808. schema:
  809. $ref: '#/components/schemas/Partner.jsonld'
  810. application/json:
  811. schema:
  812. $ref: '#/components/schemas/Partner'
  813. text/html:
  814. schema:
  815. $ref: '#/components/schemas/Partner'
  816. application/hal+json:
  817. schema:
  818. $ref: '#/components/schemas/Partner.jsonhal'
  819. links: { }
  820. 400:
  821. description: 'Invalid input'
  822. 422:
  823. description: 'Unprocessable entity'
  824. summary: 'Creates a Partner resource.'
  825. description: 'Creates a Partner resource.'
  826. parameters: []
  827. requestBody:
  828. description: 'The new Partner resource'
  829. content:
  830. application/ld+json:
  831. schema:
  832. $ref: '#/components/schemas/Partner.jsonld'
  833. application/json:
  834. schema:
  835. $ref: '#/components/schemas/Partner'
  836. text/html:
  837. schema:
  838. $ref: '#/components/schemas/Partner'
  839. application/hal+json:
  840. schema:
  841. $ref: '#/components/schemas/Partner.jsonhal'
  842. required: true
  843. deprecated: false
  844. parameters: []
  845. '/api/partners/{id}':
  846. get:
  847. operationId: api_partners_id_get
  848. tags:
  849. - Partner
  850. responses:
  851. 200:
  852. description: 'Partner resource'
  853. content:
  854. application/ld+json:
  855. schema:
  856. $ref: '#/components/schemas/Partner.jsonld'
  857. application/json:
  858. schema:
  859. $ref: '#/components/schemas/Partner'
  860. text/html:
  861. schema:
  862. $ref: '#/components/schemas/Partner'
  863. application/hal+json:
  864. schema:
  865. $ref: '#/components/schemas/Partner.jsonhal'
  866. 404:
  867. description: 'Resource not found'
  868. summary: 'Retrieves a Partner resource.'
  869. description: 'Retrieves a Partner resource.'
  870. parameters:
  871. -
  872. name: id
  873. in: path
  874. description: 'PartnerApi identifier'
  875. required: true
  876. deprecated: false
  877. allowEmptyValue: false
  878. schema:
  879. type: string
  880. style: simple
  881. explode: false
  882. allowReserved: false
  883. deprecated: false
  884. delete:
  885. operationId: api_partners_id_delete
  886. tags:
  887. - Partner
  888. responses:
  889. 204:
  890. description: 'Partner resource deleted'
  891. 404:
  892. description: 'Resource not found'
  893. summary: 'Removes the Partner resource.'
  894. description: 'Removes the Partner resource.'
  895. parameters:
  896. -
  897. name: id
  898. in: path
  899. description: 'PartnerApi identifier'
  900. required: true
  901. deprecated: false
  902. allowEmptyValue: false
  903. schema:
  904. type: string
  905. style: simple
  906. explode: false
  907. allowReserved: false
  908. deprecated: false
  909. patch:
  910. operationId: api_partners_id_patch
  911. tags:
  912. - Partner
  913. responses:
  914. 200:
  915. description: 'Partner resource updated'
  916. content:
  917. application/ld+json:
  918. schema:
  919. $ref: '#/components/schemas/Partner.jsonld'
  920. application/json:
  921. schema:
  922. $ref: '#/components/schemas/Partner'
  923. text/html:
  924. schema:
  925. $ref: '#/components/schemas/Partner'
  926. application/hal+json:
  927. schema:
  928. $ref: '#/components/schemas/Partner.jsonhal'
  929. links: { }
  930. 400:
  931. description: 'Invalid input'
  932. 422:
  933. description: 'Unprocessable entity'
  934. 404:
  935. description: 'Resource not found'
  936. summary: 'Updates the Partner resource.'
  937. description: 'Updates the Partner resource.'
  938. parameters:
  939. -
  940. name: id
  941. in: path
  942. description: 'PartnerApi identifier'
  943. required: true
  944. deprecated: false
  945. allowEmptyValue: false
  946. schema:
  947. type: string
  948. style: simple
  949. explode: false
  950. allowReserved: false
  951. requestBody:
  952. description: 'The updated Partner resource'
  953. content:
  954. application/merge-patch+json:
  955. schema:
  956. $ref: '#/components/schemas/Partner'
  957. required: true
  958. deprecated: false
  959. parameters: []
  960. /api/posts:
  961. get:
  962. operationId: api_posts_get_collection
  963. tags:
  964. - Post
  965. responses:
  966. 200:
  967. description: 'Post collection'
  968. content:
  969. application/ld+json:
  970. schema:
  971. type: object
  972. properties:
  973. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Post.jsonld' } }
  974. 'hydra:totalItems': { type: integer, minimum: 0 }
  975. '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 } }
  976. '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 } } } } } }
  977. required:
  978. - 'hydra:member'
  979. application/json:
  980. schema:
  981. type: array
  982. items:
  983. $ref: '#/components/schemas/Post'
  984. text/html:
  985. schema:
  986. type: array
  987. items:
  988. $ref: '#/components/schemas/Post'
  989. application/hal+json:
  990. schema:
  991. type: object
  992. properties:
  993. _embedded: { type: array, items: { $ref: '#/components/schemas/Post.jsonhal' } }
  994. totalItems: { type: integer, minimum: 0 }
  995. itemsPerPage: { type: integer, minimum: 0 }
  996. _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 } } } } }
  997. required:
  998. - _links
  999. - _embedded
  1000. summary: 'Retrieves the collection of Post resources.'
  1001. description: 'Retrieves the collection of Post resources.'
  1002. parameters:
  1003. -
  1004. name: page
  1005. in: query
  1006. description: 'The collection page number'
  1007. required: false
  1008. deprecated: false
  1009. allowEmptyValue: true
  1010. schema:
  1011. type: integer
  1012. default: 1
  1013. style: form
  1014. explode: false
  1015. allowReserved: false
  1016. -
  1017. name: itemsPerPage
  1018. in: query
  1019. description: 'The number of items per page'
  1020. required: false
  1021. deprecated: false
  1022. allowEmptyValue: true
  1023. schema:
  1024. type: integer
  1025. default: 10
  1026. minimum: 0
  1027. maximum: 50
  1028. style: form
  1029. explode: false
  1030. allowReserved: false
  1031. -
  1032. name: partner
  1033. in: query
  1034. description: ''
  1035. required: false
  1036. deprecated: false
  1037. allowEmptyValue: true
  1038. schema:
  1039. type: string
  1040. style: form
  1041. explode: false
  1042. allowReserved: false
  1043. -
  1044. name: 'partner[]'
  1045. in: query
  1046. description: ''
  1047. required: false
  1048. deprecated: false
  1049. allowEmptyValue: true
  1050. schema:
  1051. type: array
  1052. items:
  1053. type: string
  1054. style: form
  1055. explode: true
  1056. allowReserved: false
  1057. -
  1058. name: contact
  1059. in: query
  1060. description: ''
  1061. required: false
  1062. deprecated: false
  1063. allowEmptyValue: true
  1064. schema:
  1065. type: string
  1066. style: form
  1067. explode: false
  1068. allowReserved: false
  1069. -
  1070. name: 'contact[]'
  1071. in: query
  1072. description: ''
  1073. required: false
  1074. deprecated: false
  1075. allowEmptyValue: true
  1076. schema:
  1077. type: array
  1078. items:
  1079. type: string
  1080. style: form
  1081. explode: true
  1082. allowReserved: false
  1083. deprecated: false
  1084. post:
  1085. operationId: api_posts_post
  1086. tags:
  1087. - Post
  1088. responses:
  1089. 201:
  1090. description: 'Post resource created'
  1091. content:
  1092. application/ld+json:
  1093. schema:
  1094. $ref: '#/components/schemas/Post.jsonld'
  1095. application/json:
  1096. schema:
  1097. $ref: '#/components/schemas/Post'
  1098. text/html:
  1099. schema:
  1100. $ref: '#/components/schemas/Post'
  1101. application/hal+json:
  1102. schema:
  1103. $ref: '#/components/schemas/Post.jsonhal'
  1104. links: { }
  1105. 400:
  1106. description: 'Invalid input'
  1107. 422:
  1108. description: 'Unprocessable entity'
  1109. summary: 'Creates a Post resource.'
  1110. description: 'Creates a Post resource.'
  1111. parameters: []
  1112. requestBody:
  1113. description: 'The new Post resource'
  1114. content:
  1115. application/ld+json:
  1116. schema:
  1117. $ref: '#/components/schemas/Post.jsonld-posting_create'
  1118. application/json:
  1119. schema:
  1120. $ref: '#/components/schemas/Post-posting_create'
  1121. text/html:
  1122. schema:
  1123. $ref: '#/components/schemas/Post-posting_create'
  1124. application/hal+json:
  1125. schema:
  1126. $ref: '#/components/schemas/Post.jsonhal-posting_create'
  1127. required: true
  1128. deprecated: false
  1129. parameters: []
  1130. '/api/posts/{id}':
  1131. get:
  1132. operationId: api_posts_id_get
  1133. tags:
  1134. - Post
  1135. responses:
  1136. 200:
  1137. description: 'Post resource'
  1138. content:
  1139. application/ld+json:
  1140. schema:
  1141. $ref: '#/components/schemas/Post.jsonld'
  1142. application/json:
  1143. schema:
  1144. $ref: '#/components/schemas/Post'
  1145. text/html:
  1146. schema:
  1147. $ref: '#/components/schemas/Post'
  1148. application/hal+json:
  1149. schema:
  1150. $ref: '#/components/schemas/Post.jsonhal'
  1151. 404:
  1152. description: 'Resource not found'
  1153. summary: 'Retrieves a Post resource.'
  1154. description: 'Retrieves a Post resource.'
  1155. parameters:
  1156. -
  1157. name: id
  1158. in: path
  1159. description: 'PostingApi identifier'
  1160. required: true
  1161. deprecated: false
  1162. allowEmptyValue: false
  1163. schema:
  1164. type: string
  1165. style: simple
  1166. explode: false
  1167. allowReserved: false
  1168. deprecated: false
  1169. delete:
  1170. operationId: api_posts_id_delete
  1171. tags:
  1172. - Post
  1173. responses:
  1174. 204:
  1175. description: 'Post resource deleted'
  1176. 404:
  1177. description: 'Resource not found'
  1178. summary: 'Removes the Post resource.'
  1179. description: 'Removes the Post resource.'
  1180. parameters:
  1181. -
  1182. name: id
  1183. in: path
  1184. description: 'PostingApi identifier'
  1185. required: true
  1186. deprecated: false
  1187. allowEmptyValue: false
  1188. schema:
  1189. type: string
  1190. style: simple
  1191. explode: false
  1192. allowReserved: false
  1193. deprecated: false
  1194. patch:
  1195. operationId: api_posts_id_patch
  1196. tags:
  1197. - Post
  1198. responses:
  1199. 200:
  1200. description: 'Post resource updated'
  1201. content:
  1202. application/ld+json:
  1203. schema:
  1204. $ref: '#/components/schemas/Post.jsonld'
  1205. application/json:
  1206. schema:
  1207. $ref: '#/components/schemas/Post'
  1208. text/html:
  1209. schema:
  1210. $ref: '#/components/schemas/Post'
  1211. application/hal+json:
  1212. schema:
  1213. $ref: '#/components/schemas/Post.jsonhal'
  1214. links: { }
  1215. 400:
  1216. description: 'Invalid input'
  1217. 422:
  1218. description: 'Unprocessable entity'
  1219. 404:
  1220. description: 'Resource not found'
  1221. summary: 'Updates the Post resource.'
  1222. description: 'Updates the Post resource.'
  1223. parameters:
  1224. -
  1225. name: id
  1226. in: path
  1227. description: 'PostingApi identifier'
  1228. required: true
  1229. deprecated: false
  1230. allowEmptyValue: false
  1231. schema:
  1232. type: string
  1233. style: simple
  1234. explode: false
  1235. allowReserved: false
  1236. requestBody:
  1237. description: 'The updated Post resource'
  1238. content:
  1239. application/merge-patch+json:
  1240. schema:
  1241. $ref: '#/components/schemas/Post-posting_patch'
  1242. required: true
  1243. deprecated: false
  1244. parameters: []
  1245. /api/users:
  1246. get:
  1247. operationId: api_users_get_collection
  1248. tags:
  1249. - User
  1250. responses:
  1251. 200:
  1252. description: 'User collection'
  1253. content:
  1254. application/ld+json:
  1255. schema:
  1256. type: object
  1257. properties:
  1258. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/User.jsonld' } }
  1259. 'hydra:totalItems': { type: integer, minimum: 0 }
  1260. '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 } }
  1261. '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 } } } } } }
  1262. required:
  1263. - 'hydra:member'
  1264. application/json:
  1265. schema:
  1266. type: array
  1267. items:
  1268. $ref: '#/components/schemas/User'
  1269. text/html:
  1270. schema:
  1271. type: array
  1272. items:
  1273. $ref: '#/components/schemas/User'
  1274. application/hal+json:
  1275. schema:
  1276. type: object
  1277. properties:
  1278. _embedded: { type: array, items: { $ref: '#/components/schemas/User.jsonhal' } }
  1279. totalItems: { type: integer, minimum: 0 }
  1280. itemsPerPage: { type: integer, minimum: 0 }
  1281. _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 } } } } }
  1282. required:
  1283. - _links
  1284. - _embedded
  1285. summary: 'Retrieves the collection of User resources.'
  1286. description: 'Retrieves the collection of User resources.'
  1287. parameters:
  1288. -
  1289. name: page
  1290. in: query
  1291. description: 'The collection page number'
  1292. required: false
  1293. deprecated: false
  1294. allowEmptyValue: true
  1295. schema:
  1296. type: integer
  1297. default: 1
  1298. style: form
  1299. explode: false
  1300. allowReserved: false
  1301. -
  1302. name: itemsPerPage
  1303. in: query
  1304. description: 'The number of items per page'
  1305. required: false
  1306. deprecated: false
  1307. allowEmptyValue: true
  1308. schema:
  1309. type: integer
  1310. default: 10
  1311. minimum: 0
  1312. maximum: 50
  1313. style: form
  1314. explode: false
  1315. allowReserved: false
  1316. deprecated: false
  1317. post:
  1318. operationId: api_users_post
  1319. tags:
  1320. - User
  1321. responses:
  1322. 201:
  1323. description: 'User resource created'
  1324. content:
  1325. application/ld+json:
  1326. schema:
  1327. $ref: '#/components/schemas/User.jsonld'
  1328. application/json:
  1329. schema:
  1330. $ref: '#/components/schemas/User'
  1331. text/html:
  1332. schema:
  1333. $ref: '#/components/schemas/User'
  1334. application/hal+json:
  1335. schema:
  1336. $ref: '#/components/schemas/User.jsonhal'
  1337. links: { }
  1338. 400:
  1339. description: 'Invalid input'
  1340. 422:
  1341. description: 'Unprocessable entity'
  1342. summary: 'Creates a User resource.'
  1343. description: 'Creates a User resource.'
  1344. parameters: []
  1345. requestBody:
  1346. description: 'The new User resource'
  1347. content:
  1348. application/ld+json:
  1349. schema:
  1350. $ref: '#/components/schemas/User.jsonld'
  1351. application/json:
  1352. schema:
  1353. $ref: '#/components/schemas/User'
  1354. text/html:
  1355. schema:
  1356. $ref: '#/components/schemas/User'
  1357. application/hal+json:
  1358. schema:
  1359. $ref: '#/components/schemas/User.jsonhal'
  1360. required: true
  1361. deprecated: false
  1362. parameters: []
  1363. '/api/users/{id}':
  1364. get:
  1365. operationId: api_users_id_get
  1366. tags:
  1367. - User
  1368. responses:
  1369. 200:
  1370. description: 'User resource'
  1371. content:
  1372. application/ld+json:
  1373. schema:
  1374. $ref: '#/components/schemas/User.jsonld'
  1375. application/json:
  1376. schema:
  1377. $ref: '#/components/schemas/User'
  1378. text/html:
  1379. schema:
  1380. $ref: '#/components/schemas/User'
  1381. application/hal+json:
  1382. schema:
  1383. $ref: '#/components/schemas/User.jsonhal'
  1384. 404:
  1385. description: 'Resource not found'
  1386. summary: 'Retrieves a User resource.'
  1387. description: 'Retrieves a User resource.'
  1388. parameters:
  1389. -
  1390. name: id
  1391. in: path
  1392. description: 'UserApi identifier'
  1393. required: true
  1394. deprecated: false
  1395. allowEmptyValue: false
  1396. schema:
  1397. type: string
  1398. style: simple
  1399. explode: false
  1400. allowReserved: false
  1401. deprecated: false
  1402. patch:
  1403. operationId: api_users_id_patch
  1404. tags:
  1405. - User
  1406. responses:
  1407. 200:
  1408. description: 'User resource updated'
  1409. content:
  1410. application/ld+json:
  1411. schema:
  1412. $ref: '#/components/schemas/User.jsonld'
  1413. application/json:
  1414. schema:
  1415. $ref: '#/components/schemas/User'
  1416. text/html:
  1417. schema:
  1418. $ref: '#/components/schemas/User'
  1419. application/hal+json:
  1420. schema:
  1421. $ref: '#/components/schemas/User.jsonhal'
  1422. links: { }
  1423. 400:
  1424. description: 'Invalid input'
  1425. 422:
  1426. description: 'Unprocessable entity'
  1427. 404:
  1428. description: 'Resource not found'
  1429. summary: 'Updates the User resource.'
  1430. description: 'Updates the User resource.'
  1431. parameters:
  1432. -
  1433. name: id
  1434. in: path
  1435. description: 'UserApi identifier'
  1436. required: true
  1437. deprecated: false
  1438. allowEmptyValue: false
  1439. schema:
  1440. type: string
  1441. style: simple
  1442. explode: false
  1443. allowReserved: false
  1444. requestBody:
  1445. description: 'The updated User resource'
  1446. content:
  1447. application/merge-patch+json:
  1448. schema:
  1449. $ref: '#/components/schemas/User'
  1450. required: true
  1451. deprecated: false
  1452. parameters: []
  1453. /auth:
  1454. post:
  1455. operationId: login_check_post
  1456. tags:
  1457. - 'Login Check'
  1458. responses:
  1459. 200:
  1460. description: 'User token created'
  1461. content:
  1462. application/json:
  1463. schema:
  1464. type: object
  1465. properties:
  1466. token: { readOnly: true, type: string, nullable: false }
  1467. required:
  1468. - token
  1469. summary: 'Creates a user token.'
  1470. description: 'Creates a user token.'
  1471. requestBody:
  1472. description: 'The login data'
  1473. content:
  1474. application/json:
  1475. schema:
  1476. type: object
  1477. properties:
  1478. email:
  1479. type: string
  1480. nullable: false
  1481. password:
  1482. type: string
  1483. nullable: false
  1484. required:
  1485. - email
  1486. - password
  1487. required: true
  1488. parameters: []
  1489. components:
  1490. schemas:
  1491. Comment:
  1492. type: object
  1493. description: ''
  1494. deprecated: false
  1495. required:
  1496. - message
  1497. properties:
  1498. message:
  1499. type:
  1500. - string
  1501. - 'null'
  1502. owner:
  1503. readOnly: true
  1504. 'owl:maxCardinality': 1
  1505. type:
  1506. - string
  1507. - 'null'
  1508. format: iri-reference
  1509. example: 'https://example.com/'
  1510. ownerName:
  1511. readOnly: true
  1512. type:
  1513. - string
  1514. - 'null'
  1515. post:
  1516. 'owl:maxCardinality': 1
  1517. type:
  1518. - string
  1519. - 'null'
  1520. format: iri-reference
  1521. example: 'https://example.com/'
  1522. createdAt:
  1523. readOnly: true
  1524. type:
  1525. - string
  1526. - 'null'
  1527. format: date-time
  1528. Comment.jsonhal:
  1529. type: object
  1530. description: ''
  1531. deprecated: false
  1532. required:
  1533. - message
  1534. properties:
  1535. _links:
  1536. type: object
  1537. properties:
  1538. self:
  1539. type: object
  1540. properties:
  1541. href:
  1542. type: string
  1543. format: iri-reference
  1544. message:
  1545. type:
  1546. - string
  1547. - 'null'
  1548. owner:
  1549. readOnly: true
  1550. 'owl:maxCardinality': 1
  1551. type:
  1552. - string
  1553. - 'null'
  1554. format: iri-reference
  1555. example: 'https://example.com/'
  1556. ownerName:
  1557. readOnly: true
  1558. type:
  1559. - string
  1560. - 'null'
  1561. post:
  1562. 'owl:maxCardinality': 1
  1563. type:
  1564. - string
  1565. - 'null'
  1566. format: iri-reference
  1567. example: 'https://example.com/'
  1568. createdAt:
  1569. readOnly: true
  1570. type:
  1571. - string
  1572. - 'null'
  1573. format: date-time
  1574. Comment.jsonld:
  1575. type: object
  1576. description: ''
  1577. deprecated: false
  1578. required:
  1579. - message
  1580. properties:
  1581. '@context':
  1582. readOnly: true
  1583. oneOf:
  1584. -
  1585. type: string
  1586. -
  1587. type: object
  1588. properties:
  1589. '@vocab':
  1590. type: string
  1591. hydra:
  1592. type: string
  1593. enum: ['http://www.w3.org/ns/hydra/core#']
  1594. required:
  1595. - '@vocab'
  1596. - hydra
  1597. additionalProperties: true
  1598. '@id':
  1599. readOnly: true
  1600. type: string
  1601. '@type':
  1602. readOnly: true
  1603. type: string
  1604. message:
  1605. type:
  1606. - string
  1607. - 'null'
  1608. owner:
  1609. readOnly: true
  1610. 'owl:maxCardinality': 1
  1611. type:
  1612. - string
  1613. - 'null'
  1614. format: iri-reference
  1615. example: 'https://example.com/'
  1616. ownerName:
  1617. readOnly: true
  1618. type:
  1619. - string
  1620. - 'null'
  1621. post:
  1622. 'owl:maxCardinality': 1
  1623. type:
  1624. - string
  1625. - 'null'
  1626. format: iri-reference
  1627. example: 'https://example.com/'
  1628. createdAt:
  1629. readOnly: true
  1630. type:
  1631. - string
  1632. - 'null'
  1633. format: date-time
  1634. Contact:
  1635. type: object
  1636. description: ''
  1637. deprecated: false
  1638. required:
  1639. - firstName
  1640. - lastName
  1641. - partner
  1642. properties:
  1643. firstName:
  1644. type:
  1645. - string
  1646. - 'null'
  1647. lastName:
  1648. type:
  1649. - string
  1650. - 'null'
  1651. partner:
  1652. 'owl:maxCardinality': 1
  1653. type:
  1654. - string
  1655. - 'null'
  1656. format: iri-reference
  1657. example: 'https://example.com/'
  1658. birthday:
  1659. type:
  1660. - string
  1661. - 'null'
  1662. format: date-time
  1663. image:
  1664. 'owl:maxCardinality': 1
  1665. type:
  1666. - string
  1667. - 'null'
  1668. format: iri-reference
  1669. example: 'https://example.com/'
  1670. imageUrl:
  1671. readOnly: true
  1672. type:
  1673. - string
  1674. - 'null'
  1675. position:
  1676. type:
  1677. - string
  1678. - 'null'
  1679. phone:
  1680. type:
  1681. - string
  1682. - 'null'
  1683. email:
  1684. format: email
  1685. externalDocs:
  1686. url: 'https://schema.org/email'
  1687. type:
  1688. - string
  1689. - 'null'
  1690. posts:
  1691. readOnly: true
  1692. type: array
  1693. items:
  1694. type: string
  1695. format: iri-reference
  1696. example: 'https://example.com/'
  1697. createdAt:
  1698. readOnly: true
  1699. type:
  1700. - string
  1701. - 'null'
  1702. format: date-time
  1703. Contact.jsonhal:
  1704. type: object
  1705. description: ''
  1706. deprecated: false
  1707. required:
  1708. - firstName
  1709. - lastName
  1710. - partner
  1711. properties:
  1712. _links:
  1713. type: object
  1714. properties:
  1715. self:
  1716. type: object
  1717. properties:
  1718. href:
  1719. type: string
  1720. format: iri-reference
  1721. firstName:
  1722. type:
  1723. - string
  1724. - 'null'
  1725. lastName:
  1726. type:
  1727. - string
  1728. - 'null'
  1729. partner:
  1730. 'owl:maxCardinality': 1
  1731. type:
  1732. - string
  1733. - 'null'
  1734. format: iri-reference
  1735. example: 'https://example.com/'
  1736. birthday:
  1737. type:
  1738. - string
  1739. - 'null'
  1740. format: date-time
  1741. image:
  1742. 'owl:maxCardinality': 1
  1743. type:
  1744. - string
  1745. - 'null'
  1746. format: iri-reference
  1747. example: 'https://example.com/'
  1748. imageUrl:
  1749. readOnly: true
  1750. type:
  1751. - string
  1752. - 'null'
  1753. position:
  1754. type:
  1755. - string
  1756. - 'null'
  1757. phone:
  1758. type:
  1759. - string
  1760. - 'null'
  1761. email:
  1762. format: email
  1763. externalDocs:
  1764. url: 'https://schema.org/email'
  1765. type:
  1766. - string
  1767. - 'null'
  1768. posts:
  1769. readOnly: true
  1770. type: array
  1771. items:
  1772. type: string
  1773. format: iri-reference
  1774. example: 'https://example.com/'
  1775. createdAt:
  1776. readOnly: true
  1777. type:
  1778. - string
  1779. - 'null'
  1780. format: date-time
  1781. Contact.jsonld:
  1782. type: object
  1783. description: ''
  1784. deprecated: false
  1785. required:
  1786. - firstName
  1787. - lastName
  1788. - partner
  1789. properties:
  1790. '@context':
  1791. readOnly: true
  1792. oneOf:
  1793. -
  1794. type: string
  1795. -
  1796. type: object
  1797. properties:
  1798. '@vocab':
  1799. type: string
  1800. hydra:
  1801. type: string
  1802. enum: ['http://www.w3.org/ns/hydra/core#']
  1803. required:
  1804. - '@vocab'
  1805. - hydra
  1806. additionalProperties: true
  1807. '@id':
  1808. readOnly: true
  1809. type: string
  1810. '@type':
  1811. readOnly: true
  1812. type: string
  1813. firstName:
  1814. type:
  1815. - string
  1816. - 'null'
  1817. lastName:
  1818. type:
  1819. - string
  1820. - 'null'
  1821. partner:
  1822. 'owl:maxCardinality': 1
  1823. type:
  1824. - string
  1825. - 'null'
  1826. format: iri-reference
  1827. example: 'https://example.com/'
  1828. birthday:
  1829. type:
  1830. - string
  1831. - 'null'
  1832. format: date-time
  1833. image:
  1834. 'owl:maxCardinality': 1
  1835. type:
  1836. - string
  1837. - 'null'
  1838. format: iri-reference
  1839. example: 'https://example.com/'
  1840. imageUrl:
  1841. readOnly: true
  1842. type:
  1843. - string
  1844. - 'null'
  1845. position:
  1846. type:
  1847. - string
  1848. - 'null'
  1849. phone:
  1850. type:
  1851. - string
  1852. - 'null'
  1853. email:
  1854. format: email
  1855. externalDocs:
  1856. url: 'https://schema.org/email'
  1857. type:
  1858. - string
  1859. - 'null'
  1860. posts:
  1861. readOnly: true
  1862. type: array
  1863. items:
  1864. type: string
  1865. format: iri-reference
  1866. example: 'https://example.com/'
  1867. createdAt:
  1868. readOnly: true
  1869. type:
  1870. - string
  1871. - 'null'
  1872. format: date-time
  1873. Media-media_object.read:
  1874. type: object
  1875. description: ''
  1876. deprecated: false
  1877. externalDocs:
  1878. url: 'https://schema.org/MediaObject'
  1879. properties:
  1880. contentUrl:
  1881. externalDocs:
  1882. url: 'https://schema.org/contentUrl'
  1883. type:
  1884. - string
  1885. - 'null'
  1886. Media.jsonhal-media_object.read:
  1887. type: object
  1888. description: ''
  1889. deprecated: false
  1890. externalDocs:
  1891. url: 'https://schema.org/MediaObject'
  1892. properties:
  1893. _links:
  1894. type: object
  1895. properties:
  1896. self:
  1897. type: object
  1898. properties:
  1899. href:
  1900. type: string
  1901. format: iri-reference
  1902. contentUrl:
  1903. externalDocs:
  1904. url: 'https://schema.org/contentUrl'
  1905. type:
  1906. - string
  1907. - 'null'
  1908. Media.jsonld-media_object.read:
  1909. type: object
  1910. description: ''
  1911. deprecated: false
  1912. externalDocs:
  1913. url: 'https://schema.org/MediaObject'
  1914. properties:
  1915. '@context':
  1916. readOnly: true
  1917. oneOf:
  1918. -
  1919. type: string
  1920. -
  1921. type: object
  1922. properties:
  1923. '@vocab':
  1924. type: string
  1925. hydra:
  1926. type: string
  1927. enum: ['http://www.w3.org/ns/hydra/core#']
  1928. required:
  1929. - '@vocab'
  1930. - hydra
  1931. additionalProperties: true
  1932. '@id':
  1933. readOnly: true
  1934. type: string
  1935. '@type':
  1936. readOnly: true
  1937. type: string
  1938. contentUrl:
  1939. externalDocs:
  1940. url: 'https://schema.org/contentUrl'
  1941. type:
  1942. - string
  1943. - 'null'
  1944. Partner:
  1945. type: object
  1946. description: ''
  1947. deprecated: false
  1948. required:
  1949. - name
  1950. - type
  1951. properties:
  1952. name:
  1953. type: string
  1954. type:
  1955. type: string
  1956. enum:
  1957. - customer
  1958. - supplier
  1959. - service
  1960. street:
  1961. type:
  1962. - string
  1963. - 'null'
  1964. streetNo:
  1965. type:
  1966. - string
  1967. - 'null'
  1968. zip:
  1969. type:
  1970. - string
  1971. - 'null'
  1972. city:
  1973. type:
  1974. - string
  1975. - 'null'
  1976. country:
  1977. type:
  1978. - string
  1979. - 'null'
  1980. website:
  1981. type:
  1982. - string
  1983. - 'null'
  1984. logo:
  1985. 'owl:maxCardinality': 1
  1986. type:
  1987. - string
  1988. - 'null'
  1989. format: iri-reference
  1990. example: 'https://example.com/'
  1991. logoUrl:
  1992. readOnly: true
  1993. type:
  1994. - string
  1995. - 'null'
  1996. createdAt:
  1997. type:
  1998. - string
  1999. - 'null'
  2000. format: date-time
  2001. contacts:
  2002. readOnly: true
  2003. type: array
  2004. items:
  2005. type: string
  2006. format: iri-reference
  2007. example: 'https://example.com/'
  2008. Partner.jsonhal:
  2009. type: object
  2010. description: ''
  2011. deprecated: false
  2012. required:
  2013. - name
  2014. - type
  2015. properties:
  2016. _links:
  2017. type: object
  2018. properties:
  2019. self:
  2020. type: object
  2021. properties:
  2022. href:
  2023. type: string
  2024. format: iri-reference
  2025. name:
  2026. type: string
  2027. type:
  2028. type: string
  2029. enum:
  2030. - customer
  2031. - supplier
  2032. - service
  2033. street:
  2034. type:
  2035. - string
  2036. - 'null'
  2037. streetNo:
  2038. type:
  2039. - string
  2040. - 'null'
  2041. zip:
  2042. type:
  2043. - string
  2044. - 'null'
  2045. city:
  2046. type:
  2047. - string
  2048. - 'null'
  2049. country:
  2050. type:
  2051. - string
  2052. - 'null'
  2053. website:
  2054. type:
  2055. - string
  2056. - 'null'
  2057. logo:
  2058. 'owl:maxCardinality': 1
  2059. type:
  2060. - string
  2061. - 'null'
  2062. format: iri-reference
  2063. example: 'https://example.com/'
  2064. logoUrl:
  2065. readOnly: true
  2066. type:
  2067. - string
  2068. - 'null'
  2069. createdAt:
  2070. type:
  2071. - string
  2072. - 'null'
  2073. format: date-time
  2074. contacts:
  2075. readOnly: true
  2076. type: array
  2077. items:
  2078. type: string
  2079. format: iri-reference
  2080. example: 'https://example.com/'
  2081. Partner.jsonld:
  2082. type: object
  2083. description: ''
  2084. deprecated: false
  2085. required:
  2086. - name
  2087. - type
  2088. properties:
  2089. '@context':
  2090. readOnly: true
  2091. oneOf:
  2092. -
  2093. type: string
  2094. -
  2095. type: object
  2096. properties:
  2097. '@vocab':
  2098. type: string
  2099. hydra:
  2100. type: string
  2101. enum: ['http://www.w3.org/ns/hydra/core#']
  2102. required:
  2103. - '@vocab'
  2104. - hydra
  2105. additionalProperties: true
  2106. '@id':
  2107. readOnly: true
  2108. type: string
  2109. '@type':
  2110. readOnly: true
  2111. type: string
  2112. name:
  2113. type: string
  2114. type:
  2115. type: string
  2116. enum:
  2117. - customer
  2118. - supplier
  2119. - service
  2120. street:
  2121. type:
  2122. - string
  2123. - 'null'
  2124. streetNo:
  2125. type:
  2126. - string
  2127. - 'null'
  2128. zip:
  2129. type:
  2130. - string
  2131. - 'null'
  2132. city:
  2133. type:
  2134. - string
  2135. - 'null'
  2136. country:
  2137. type:
  2138. - string
  2139. - 'null'
  2140. website:
  2141. type:
  2142. - string
  2143. - 'null'
  2144. logo:
  2145. 'owl:maxCardinality': 1
  2146. type:
  2147. - string
  2148. - 'null'
  2149. format: iri-reference
  2150. example: 'https://example.com/'
  2151. logoUrl:
  2152. readOnly: true
  2153. type:
  2154. - string
  2155. - 'null'
  2156. createdAt:
  2157. type:
  2158. - string
  2159. - 'null'
  2160. format: date-time
  2161. contacts:
  2162. readOnly: true
  2163. type: array
  2164. items:
  2165. type: string
  2166. format: iri-reference
  2167. example: 'https://example.com/'
  2168. Post:
  2169. type: object
  2170. description: ''
  2171. deprecated: false
  2172. required:
  2173. - headline
  2174. - message
  2175. properties:
  2176. headline:
  2177. type:
  2178. - string
  2179. - 'null'
  2180. message:
  2181. type:
  2182. - string
  2183. - 'null'
  2184. owner:
  2185. readOnly: true
  2186. 'owl:maxCardinality': 1
  2187. type:
  2188. - string
  2189. - 'null'
  2190. format: iri-reference
  2191. example: 'https://example.com/'
  2192. ownerName:
  2193. readOnly: true
  2194. type:
  2195. - string
  2196. - 'null'
  2197. partner:
  2198. 'owl:maxCardinality': 1
  2199. type:
  2200. - string
  2201. - 'null'
  2202. format: iri-reference
  2203. example: 'https://example.com/'
  2204. contact:
  2205. 'owl:maxCardinality': 1
  2206. type:
  2207. - string
  2208. - 'null'
  2209. format: iri-reference
  2210. example: 'https://example.com/'
  2211. comments:
  2212. readOnly: true
  2213. type: array
  2214. items:
  2215. $ref: '#/components/schemas/Comment'
  2216. createdAt:
  2217. readOnly: true
  2218. type:
  2219. - string
  2220. - 'null'
  2221. format: date-time
  2222. Post-posting_create:
  2223. type: object
  2224. description: ''
  2225. deprecated: false
  2226. required:
  2227. - headline
  2228. - message
  2229. properties:
  2230. headline:
  2231. type:
  2232. - string
  2233. - 'null'
  2234. message:
  2235. type:
  2236. - string
  2237. - 'null'
  2238. partner:
  2239. 'owl:maxCardinality': 1
  2240. type:
  2241. - string
  2242. - 'null'
  2243. format: iri-reference
  2244. example: 'https://example.com/'
  2245. contact:
  2246. 'owl:maxCardinality': 1
  2247. type:
  2248. - string
  2249. - 'null'
  2250. format: iri-reference
  2251. example: 'https://example.com/'
  2252. Post-posting_patch:
  2253. type: object
  2254. description: ''
  2255. deprecated: false
  2256. required:
  2257. - headline
  2258. - message
  2259. properties:
  2260. headline:
  2261. type:
  2262. - string
  2263. - 'null'
  2264. message:
  2265. type:
  2266. - string
  2267. - 'null'
  2268. Post.jsonhal:
  2269. type: object
  2270. description: ''
  2271. deprecated: false
  2272. required:
  2273. - headline
  2274. - message
  2275. properties:
  2276. _links:
  2277. type: object
  2278. properties:
  2279. self:
  2280. type: object
  2281. properties:
  2282. href:
  2283. type: string
  2284. format: iri-reference
  2285. headline:
  2286. type:
  2287. - string
  2288. - 'null'
  2289. message:
  2290. type:
  2291. - string
  2292. - 'null'
  2293. owner:
  2294. readOnly: true
  2295. 'owl:maxCardinality': 1
  2296. type:
  2297. - string
  2298. - 'null'
  2299. format: iri-reference
  2300. example: 'https://example.com/'
  2301. ownerName:
  2302. readOnly: true
  2303. type:
  2304. - string
  2305. - 'null'
  2306. partner:
  2307. 'owl:maxCardinality': 1
  2308. type:
  2309. - string
  2310. - 'null'
  2311. format: iri-reference
  2312. example: 'https://example.com/'
  2313. contact:
  2314. 'owl:maxCardinality': 1
  2315. type:
  2316. - string
  2317. - 'null'
  2318. format: iri-reference
  2319. example: 'https://example.com/'
  2320. comments:
  2321. readOnly: true
  2322. type: array
  2323. items:
  2324. $ref: '#/components/schemas/Comment.jsonhal'
  2325. createdAt:
  2326. readOnly: true
  2327. type:
  2328. - string
  2329. - 'null'
  2330. format: date-time
  2331. Post.jsonhal-posting_create:
  2332. type: object
  2333. description: ''
  2334. deprecated: false
  2335. required:
  2336. - headline
  2337. - message
  2338. properties:
  2339. _links:
  2340. type: object
  2341. properties:
  2342. self:
  2343. type: object
  2344. properties:
  2345. href:
  2346. type: string
  2347. format: iri-reference
  2348. headline:
  2349. type:
  2350. - string
  2351. - 'null'
  2352. message:
  2353. type:
  2354. - string
  2355. - 'null'
  2356. partner:
  2357. 'owl:maxCardinality': 1
  2358. type:
  2359. - string
  2360. - 'null'
  2361. format: iri-reference
  2362. example: 'https://example.com/'
  2363. contact:
  2364. 'owl:maxCardinality': 1
  2365. type:
  2366. - string
  2367. - 'null'
  2368. format: iri-reference
  2369. example: 'https://example.com/'
  2370. Post.jsonld:
  2371. type: object
  2372. description: ''
  2373. deprecated: false
  2374. required:
  2375. - headline
  2376. - message
  2377. properties:
  2378. '@context':
  2379. readOnly: true
  2380. oneOf:
  2381. -
  2382. type: string
  2383. -
  2384. type: object
  2385. properties:
  2386. '@vocab':
  2387. type: string
  2388. hydra:
  2389. type: string
  2390. enum: ['http://www.w3.org/ns/hydra/core#']
  2391. required:
  2392. - '@vocab'
  2393. - hydra
  2394. additionalProperties: true
  2395. '@id':
  2396. readOnly: true
  2397. type: string
  2398. '@type':
  2399. readOnly: true
  2400. type: string
  2401. headline:
  2402. type:
  2403. - string
  2404. - 'null'
  2405. message:
  2406. type:
  2407. - string
  2408. - 'null'
  2409. owner:
  2410. readOnly: true
  2411. 'owl:maxCardinality': 1
  2412. type:
  2413. - string
  2414. - 'null'
  2415. format: iri-reference
  2416. example: 'https://example.com/'
  2417. ownerName:
  2418. readOnly: true
  2419. type:
  2420. - string
  2421. - 'null'
  2422. partner:
  2423. 'owl:maxCardinality': 1
  2424. type:
  2425. - string
  2426. - 'null'
  2427. format: iri-reference
  2428. example: 'https://example.com/'
  2429. contact:
  2430. 'owl:maxCardinality': 1
  2431. type:
  2432. - string
  2433. - 'null'
  2434. format: iri-reference
  2435. example: 'https://example.com/'
  2436. comments:
  2437. readOnly: true
  2438. type: array
  2439. items:
  2440. $ref: '#/components/schemas/Comment.jsonld'
  2441. createdAt:
  2442. readOnly: true
  2443. type:
  2444. - string
  2445. - 'null'
  2446. format: date-time
  2447. Post.jsonld-posting_create:
  2448. type: object
  2449. description: ''
  2450. deprecated: false
  2451. required:
  2452. - headline
  2453. - message
  2454. properties:
  2455. headline:
  2456. type:
  2457. - string
  2458. - 'null'
  2459. message:
  2460. type:
  2461. - string
  2462. - 'null'
  2463. partner:
  2464. 'owl:maxCardinality': 1
  2465. type:
  2466. - string
  2467. - 'null'
  2468. format: iri-reference
  2469. example: 'https://example.com/'
  2470. contact:
  2471. 'owl:maxCardinality': 1
  2472. type:
  2473. - string
  2474. - 'null'
  2475. format: iri-reference
  2476. example: 'https://example.com/'
  2477. User:
  2478. type: object
  2479. description: ''
  2480. deprecated: false
  2481. required:
  2482. - email
  2483. - firstName
  2484. - lastName
  2485. properties:
  2486. email:
  2487. format: email
  2488. externalDocs:
  2489. url: 'https://schema.org/email'
  2490. type:
  2491. - string
  2492. - 'null'
  2493. firstName:
  2494. type:
  2495. - string
  2496. - 'null'
  2497. lastName:
  2498. type:
  2499. - string
  2500. - 'null'
  2501. password:
  2502. writeOnly: true
  2503. description: 'The plaintext password when being set or changed.'
  2504. type:
  2505. - string
  2506. - 'null'
  2507. active:
  2508. type: boolean
  2509. posts:
  2510. readOnly: true
  2511. type: array
  2512. items:
  2513. type: string
  2514. format: iri-reference
  2515. example: 'https://example.com/'
  2516. createdAt:
  2517. readOnly: true
  2518. type:
  2519. - string
  2520. - 'null'
  2521. format: date-time
  2522. User.jsonhal:
  2523. type: object
  2524. description: ''
  2525. deprecated: false
  2526. required:
  2527. - email
  2528. - firstName
  2529. - lastName
  2530. properties:
  2531. _links:
  2532. type: object
  2533. properties:
  2534. self:
  2535. type: object
  2536. properties:
  2537. href:
  2538. type: string
  2539. format: iri-reference
  2540. email:
  2541. format: email
  2542. externalDocs:
  2543. url: 'https://schema.org/email'
  2544. type:
  2545. - string
  2546. - 'null'
  2547. firstName:
  2548. type:
  2549. - string
  2550. - 'null'
  2551. lastName:
  2552. type:
  2553. - string
  2554. - 'null'
  2555. password:
  2556. writeOnly: true
  2557. description: 'The plaintext password when being set or changed.'
  2558. type:
  2559. - string
  2560. - 'null'
  2561. active:
  2562. type: boolean
  2563. posts:
  2564. readOnly: true
  2565. type: array
  2566. items:
  2567. type: string
  2568. format: iri-reference
  2569. example: 'https://example.com/'
  2570. createdAt:
  2571. readOnly: true
  2572. type:
  2573. - string
  2574. - 'null'
  2575. format: date-time
  2576. User.jsonld:
  2577. type: object
  2578. description: ''
  2579. deprecated: false
  2580. required:
  2581. - email
  2582. - firstName
  2583. - lastName
  2584. properties:
  2585. '@context':
  2586. readOnly: true
  2587. oneOf:
  2588. -
  2589. type: string
  2590. -
  2591. type: object
  2592. properties:
  2593. '@vocab':
  2594. type: string
  2595. hydra:
  2596. type: string
  2597. enum: ['http://www.w3.org/ns/hydra/core#']
  2598. required:
  2599. - '@vocab'
  2600. - hydra
  2601. additionalProperties: true
  2602. '@id':
  2603. readOnly: true
  2604. type: string
  2605. '@type':
  2606. readOnly: true
  2607. type: string
  2608. email:
  2609. format: email
  2610. externalDocs:
  2611. url: 'https://schema.org/email'
  2612. type:
  2613. - string
  2614. - 'null'
  2615. firstName:
  2616. type:
  2617. - string
  2618. - 'null'
  2619. lastName:
  2620. type:
  2621. - string
  2622. - 'null'
  2623. password:
  2624. writeOnly: true
  2625. description: 'The plaintext password when being set or changed.'
  2626. type:
  2627. - string
  2628. - 'null'
  2629. active:
  2630. type: boolean
  2631. posts:
  2632. readOnly: true
  2633. type: array
  2634. items:
  2635. type: string
  2636. format: iri-reference
  2637. example: 'https://example.com/'
  2638. createdAt:
  2639. readOnly: true
  2640. type:
  2641. - string
  2642. - 'null'
  2643. format: date-time
  2644. responses: { }
  2645. parameters: { }
  2646. examples: { }
  2647. requestBodies: { }
  2648. headers: { }
  2649. securitySchemes:
  2650. JWT:
  2651. type: http
  2652. scheme: bearer
  2653. bearerFormat: JWT
  2654. security:
  2655. -
  2656. JWT: []
  2657. tags: []