Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

2520 Zeilen
73 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/media_objects:
  504. get:
  505. operationId: api_media_objects_get_collection
  506. tags:
  507. - MediaObject
  508. responses:
  509. 200:
  510. description: 'MediaObject collection'
  511. content:
  512. application/ld+json:
  513. schema:
  514. type: object
  515. properties:
  516. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/MediaObject.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/MediaObject-media_object.read'
  527. text/html:
  528. schema:
  529. type: array
  530. items:
  531. $ref: '#/components/schemas/MediaObject-media_object.read'
  532. application/hal+json:
  533. schema:
  534. type: object
  535. properties:
  536. _embedded: { type: array, items: { $ref: '#/components/schemas/MediaObject.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 MediaObject resources.'
  544. description: 'Retrieves the collection of MediaObject 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_media_objects_post
  577. tags:
  578. - MediaObject
  579. responses:
  580. 201:
  581. description: 'MediaObject resource created'
  582. content:
  583. application/ld+json:
  584. schema:
  585. $ref: '#/components/schemas/MediaObject.jsonld-media_object.read'
  586. application/json:
  587. schema:
  588. $ref: '#/components/schemas/MediaObject-media_object.read'
  589. text/html:
  590. schema:
  591. $ref: '#/components/schemas/MediaObject-media_object.read'
  592. application/hal+json:
  593. schema:
  594. $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read'
  595. links: { }
  596. 400:
  597. description: 'Invalid input'
  598. 422:
  599. description: 'Unprocessable entity'
  600. summary: 'Creates a MediaObject resource.'
  601. description: 'Creates a MediaObject 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/media_objects/{id}':
  617. get:
  618. operationId: api_media_objects_id_get
  619. tags:
  620. - MediaObject
  621. responses:
  622. 200:
  623. description: 'MediaObject resource'
  624. content:
  625. application/ld+json:
  626. schema:
  627. $ref: '#/components/schemas/MediaObject.jsonld-media_object.read'
  628. application/json:
  629. schema:
  630. $ref: '#/components/schemas/MediaObject-media_object.read'
  631. text/html:
  632. schema:
  633. $ref: '#/components/schemas/MediaObject-media_object.read'
  634. application/hal+json:
  635. schema:
  636. $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read'
  637. 404:
  638. description: 'Resource not found'
  639. summary: 'Retrieves a MediaObject resource.'
  640. description: 'Retrieves a MediaObject 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'
  1118. application/json:
  1119. schema:
  1120. $ref: '#/components/schemas/Post'
  1121. text/html:
  1122. schema:
  1123. $ref: '#/components/schemas/Post'
  1124. application/hal+json:
  1125. schema:
  1126. $ref: '#/components/schemas/Post.jsonhal'
  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'
  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. 'owl:maxCardinality': 1
  1504. type:
  1505. - string
  1506. - 'null'
  1507. format: iri-reference
  1508. example: 'https://example.com/'
  1509. ownerName:
  1510. readOnly: true
  1511. type:
  1512. - string
  1513. - 'null'
  1514. posting:
  1515. 'owl:maxCardinality': 1
  1516. type:
  1517. - string
  1518. - 'null'
  1519. format: iri-reference
  1520. example: 'https://example.com/'
  1521. createdAt:
  1522. readOnly: true
  1523. type:
  1524. - string
  1525. - 'null'
  1526. format: date-time
  1527. Comment.jsonhal:
  1528. type: object
  1529. description: ''
  1530. deprecated: false
  1531. required:
  1532. - message
  1533. properties:
  1534. _links:
  1535. type: object
  1536. properties:
  1537. self:
  1538. type: object
  1539. properties:
  1540. href:
  1541. type: string
  1542. format: iri-reference
  1543. message:
  1544. type:
  1545. - string
  1546. - 'null'
  1547. owner:
  1548. 'owl:maxCardinality': 1
  1549. type:
  1550. - string
  1551. - 'null'
  1552. format: iri-reference
  1553. example: 'https://example.com/'
  1554. ownerName:
  1555. readOnly: true
  1556. type:
  1557. - string
  1558. - 'null'
  1559. posting:
  1560. 'owl:maxCardinality': 1
  1561. type:
  1562. - string
  1563. - 'null'
  1564. format: iri-reference
  1565. example: 'https://example.com/'
  1566. createdAt:
  1567. readOnly: true
  1568. type:
  1569. - string
  1570. - 'null'
  1571. format: date-time
  1572. Comment.jsonld:
  1573. type: object
  1574. description: ''
  1575. deprecated: false
  1576. required:
  1577. - message
  1578. properties:
  1579. '@context':
  1580. readOnly: true
  1581. oneOf:
  1582. -
  1583. type: string
  1584. -
  1585. type: object
  1586. properties:
  1587. '@vocab':
  1588. type: string
  1589. hydra:
  1590. type: string
  1591. enum: ['http://www.w3.org/ns/hydra/core#']
  1592. required:
  1593. - '@vocab'
  1594. - hydra
  1595. additionalProperties: true
  1596. '@id':
  1597. readOnly: true
  1598. type: string
  1599. '@type':
  1600. readOnly: true
  1601. type: string
  1602. message:
  1603. type:
  1604. - string
  1605. - 'null'
  1606. owner:
  1607. 'owl:maxCardinality': 1
  1608. type:
  1609. - string
  1610. - 'null'
  1611. format: iri-reference
  1612. example: 'https://example.com/'
  1613. ownerName:
  1614. readOnly: true
  1615. type:
  1616. - string
  1617. - 'null'
  1618. posting:
  1619. 'owl:maxCardinality': 1
  1620. type:
  1621. - string
  1622. - 'null'
  1623. format: iri-reference
  1624. example: 'https://example.com/'
  1625. createdAt:
  1626. readOnly: true
  1627. type:
  1628. - string
  1629. - 'null'
  1630. format: date-time
  1631. Contact:
  1632. type: object
  1633. description: ''
  1634. deprecated: false
  1635. required:
  1636. - firstName
  1637. - lastName
  1638. properties:
  1639. firstName:
  1640. type:
  1641. - string
  1642. - 'null'
  1643. lastName:
  1644. type:
  1645. - string
  1646. - 'null'
  1647. partner:
  1648. 'owl:maxCardinality': 1
  1649. type:
  1650. - string
  1651. - 'null'
  1652. format: iri-reference
  1653. example: 'https://example.com/'
  1654. birthday:
  1655. type:
  1656. - string
  1657. - 'null'
  1658. format: date-time
  1659. image:
  1660. 'owl:maxCardinality': 1
  1661. type:
  1662. - string
  1663. - 'null'
  1664. format: iri-reference
  1665. example: 'https://example.com/'
  1666. imageUrl:
  1667. readOnly: true
  1668. type:
  1669. - string
  1670. - 'null'
  1671. position:
  1672. type:
  1673. - string
  1674. - 'null'
  1675. phone:
  1676. type:
  1677. - string
  1678. - 'null'
  1679. email:
  1680. format: email
  1681. externalDocs:
  1682. url: 'https://schema.org/email'
  1683. type:
  1684. - string
  1685. - 'null'
  1686. postings:
  1687. type: array
  1688. items:
  1689. type: string
  1690. format: iri-reference
  1691. example: 'https://example.com/'
  1692. createdAt:
  1693. type:
  1694. - string
  1695. - 'null'
  1696. format: date-time
  1697. Contact.jsonhal:
  1698. type: object
  1699. description: ''
  1700. deprecated: false
  1701. required:
  1702. - firstName
  1703. - lastName
  1704. properties:
  1705. _links:
  1706. type: object
  1707. properties:
  1708. self:
  1709. type: object
  1710. properties:
  1711. href:
  1712. type: string
  1713. format: iri-reference
  1714. firstName:
  1715. type:
  1716. - string
  1717. - 'null'
  1718. lastName:
  1719. type:
  1720. - string
  1721. - 'null'
  1722. partner:
  1723. 'owl:maxCardinality': 1
  1724. type:
  1725. - string
  1726. - 'null'
  1727. format: iri-reference
  1728. example: 'https://example.com/'
  1729. birthday:
  1730. type:
  1731. - string
  1732. - 'null'
  1733. format: date-time
  1734. image:
  1735. 'owl:maxCardinality': 1
  1736. type:
  1737. - string
  1738. - 'null'
  1739. format: iri-reference
  1740. example: 'https://example.com/'
  1741. imageUrl:
  1742. readOnly: true
  1743. type:
  1744. - string
  1745. - 'null'
  1746. position:
  1747. type:
  1748. - string
  1749. - 'null'
  1750. phone:
  1751. type:
  1752. - string
  1753. - 'null'
  1754. email:
  1755. format: email
  1756. externalDocs:
  1757. url: 'https://schema.org/email'
  1758. type:
  1759. - string
  1760. - 'null'
  1761. postings:
  1762. type: array
  1763. items:
  1764. type: string
  1765. format: iri-reference
  1766. example: 'https://example.com/'
  1767. createdAt:
  1768. type:
  1769. - string
  1770. - 'null'
  1771. format: date-time
  1772. Contact.jsonld:
  1773. type: object
  1774. description: ''
  1775. deprecated: false
  1776. required:
  1777. - firstName
  1778. - lastName
  1779. properties:
  1780. '@context':
  1781. readOnly: true
  1782. oneOf:
  1783. -
  1784. type: string
  1785. -
  1786. type: object
  1787. properties:
  1788. '@vocab':
  1789. type: string
  1790. hydra:
  1791. type: string
  1792. enum: ['http://www.w3.org/ns/hydra/core#']
  1793. required:
  1794. - '@vocab'
  1795. - hydra
  1796. additionalProperties: true
  1797. '@id':
  1798. readOnly: true
  1799. type: string
  1800. '@type':
  1801. readOnly: true
  1802. type: string
  1803. firstName:
  1804. type:
  1805. - string
  1806. - 'null'
  1807. lastName:
  1808. type:
  1809. - string
  1810. - 'null'
  1811. partner:
  1812. 'owl:maxCardinality': 1
  1813. type:
  1814. - string
  1815. - 'null'
  1816. format: iri-reference
  1817. example: 'https://example.com/'
  1818. birthday:
  1819. type:
  1820. - string
  1821. - 'null'
  1822. format: date-time
  1823. image:
  1824. 'owl:maxCardinality': 1
  1825. type:
  1826. - string
  1827. - 'null'
  1828. format: iri-reference
  1829. example: 'https://example.com/'
  1830. imageUrl:
  1831. readOnly: true
  1832. type:
  1833. - string
  1834. - 'null'
  1835. position:
  1836. type:
  1837. - string
  1838. - 'null'
  1839. phone:
  1840. type:
  1841. - string
  1842. - 'null'
  1843. email:
  1844. format: email
  1845. externalDocs:
  1846. url: 'https://schema.org/email'
  1847. type:
  1848. - string
  1849. - 'null'
  1850. postings:
  1851. type: array
  1852. items:
  1853. type: string
  1854. format: iri-reference
  1855. example: 'https://example.com/'
  1856. createdAt:
  1857. type:
  1858. - string
  1859. - 'null'
  1860. format: date-time
  1861. MediaObject-media_object.read:
  1862. type: object
  1863. description: ''
  1864. deprecated: false
  1865. externalDocs:
  1866. url: 'https://schema.org/MediaObject'
  1867. properties:
  1868. contentUrl:
  1869. externalDocs:
  1870. url: 'https://schema.org/contentUrl'
  1871. type:
  1872. - string
  1873. - 'null'
  1874. MediaObject.jsonhal-media_object.read:
  1875. type: object
  1876. description: ''
  1877. deprecated: false
  1878. externalDocs:
  1879. url: 'https://schema.org/MediaObject'
  1880. properties:
  1881. _links:
  1882. type: object
  1883. properties:
  1884. self:
  1885. type: object
  1886. properties:
  1887. href:
  1888. type: string
  1889. format: iri-reference
  1890. contentUrl:
  1891. externalDocs:
  1892. url: 'https://schema.org/contentUrl'
  1893. type:
  1894. - string
  1895. - 'null'
  1896. MediaObject.jsonld-media_object.read:
  1897. type: object
  1898. description: ''
  1899. deprecated: false
  1900. externalDocs:
  1901. url: 'https://schema.org/MediaObject'
  1902. properties:
  1903. '@context':
  1904. readOnly: true
  1905. oneOf:
  1906. -
  1907. type: string
  1908. -
  1909. type: object
  1910. properties:
  1911. '@vocab':
  1912. type: string
  1913. hydra:
  1914. type: string
  1915. enum: ['http://www.w3.org/ns/hydra/core#']
  1916. required:
  1917. - '@vocab'
  1918. - hydra
  1919. additionalProperties: true
  1920. '@id':
  1921. readOnly: true
  1922. type: string
  1923. '@type':
  1924. readOnly: true
  1925. type: string
  1926. contentUrl:
  1927. externalDocs:
  1928. url: 'https://schema.org/contentUrl'
  1929. type:
  1930. - string
  1931. - 'null'
  1932. Partner:
  1933. type: object
  1934. description: ''
  1935. deprecated: false
  1936. required:
  1937. - name
  1938. - type
  1939. properties:
  1940. name:
  1941. type: string
  1942. type:
  1943. type: string
  1944. enum:
  1945. - customer
  1946. - supplier
  1947. - service
  1948. street:
  1949. type:
  1950. - string
  1951. - 'null'
  1952. streetNo:
  1953. type:
  1954. - string
  1955. - 'null'
  1956. zip:
  1957. type:
  1958. - string
  1959. - 'null'
  1960. city:
  1961. type:
  1962. - string
  1963. - 'null'
  1964. country:
  1965. type:
  1966. - string
  1967. - 'null'
  1968. website:
  1969. type:
  1970. - string
  1971. - 'null'
  1972. logo:
  1973. 'owl:maxCardinality': 1
  1974. type:
  1975. - string
  1976. - 'null'
  1977. format: iri-reference
  1978. example: 'https://example.com/'
  1979. logoUrl:
  1980. readOnly: true
  1981. type:
  1982. - string
  1983. - 'null'
  1984. createdAt:
  1985. type:
  1986. - string
  1987. - 'null'
  1988. format: date-time
  1989. contacts:
  1990. type: array
  1991. items:
  1992. type: string
  1993. format: iri-reference
  1994. example: 'https://example.com/'
  1995. Partner.jsonhal:
  1996. type: object
  1997. description: ''
  1998. deprecated: false
  1999. required:
  2000. - name
  2001. - type
  2002. properties:
  2003. _links:
  2004. type: object
  2005. properties:
  2006. self:
  2007. type: object
  2008. properties:
  2009. href:
  2010. type: string
  2011. format: iri-reference
  2012. name:
  2013. type: string
  2014. type:
  2015. type: string
  2016. enum:
  2017. - customer
  2018. - supplier
  2019. - service
  2020. street:
  2021. type:
  2022. - string
  2023. - 'null'
  2024. streetNo:
  2025. type:
  2026. - string
  2027. - 'null'
  2028. zip:
  2029. type:
  2030. - string
  2031. - 'null'
  2032. city:
  2033. type:
  2034. - string
  2035. - 'null'
  2036. country:
  2037. type:
  2038. - string
  2039. - 'null'
  2040. website:
  2041. type:
  2042. - string
  2043. - 'null'
  2044. logo:
  2045. 'owl:maxCardinality': 1
  2046. type:
  2047. - string
  2048. - 'null'
  2049. format: iri-reference
  2050. example: 'https://example.com/'
  2051. logoUrl:
  2052. readOnly: true
  2053. type:
  2054. - string
  2055. - 'null'
  2056. createdAt:
  2057. type:
  2058. - string
  2059. - 'null'
  2060. format: date-time
  2061. contacts:
  2062. type: array
  2063. items:
  2064. type: string
  2065. format: iri-reference
  2066. example: 'https://example.com/'
  2067. Partner.jsonld:
  2068. type: object
  2069. description: ''
  2070. deprecated: false
  2071. required:
  2072. - name
  2073. - type
  2074. properties:
  2075. '@context':
  2076. readOnly: true
  2077. oneOf:
  2078. -
  2079. type: string
  2080. -
  2081. type: object
  2082. properties:
  2083. '@vocab':
  2084. type: string
  2085. hydra:
  2086. type: string
  2087. enum: ['http://www.w3.org/ns/hydra/core#']
  2088. required:
  2089. - '@vocab'
  2090. - hydra
  2091. additionalProperties: true
  2092. '@id':
  2093. readOnly: true
  2094. type: string
  2095. '@type':
  2096. readOnly: true
  2097. type: string
  2098. name:
  2099. type: string
  2100. type:
  2101. type: string
  2102. enum:
  2103. - customer
  2104. - supplier
  2105. - service
  2106. street:
  2107. type:
  2108. - string
  2109. - 'null'
  2110. streetNo:
  2111. type:
  2112. - string
  2113. - 'null'
  2114. zip:
  2115. type:
  2116. - string
  2117. - 'null'
  2118. city:
  2119. type:
  2120. - string
  2121. - 'null'
  2122. country:
  2123. type:
  2124. - string
  2125. - 'null'
  2126. website:
  2127. type:
  2128. - string
  2129. - 'null'
  2130. logo:
  2131. 'owl:maxCardinality': 1
  2132. type:
  2133. - string
  2134. - 'null'
  2135. format: iri-reference
  2136. example: 'https://example.com/'
  2137. logoUrl:
  2138. readOnly: true
  2139. type:
  2140. - string
  2141. - 'null'
  2142. createdAt:
  2143. type:
  2144. - string
  2145. - 'null'
  2146. format: date-time
  2147. contacts:
  2148. type: array
  2149. items:
  2150. type: string
  2151. format: iri-reference
  2152. example: 'https://example.com/'
  2153. Post:
  2154. type: object
  2155. description: ''
  2156. deprecated: false
  2157. required:
  2158. - headline
  2159. - message
  2160. properties:
  2161. headline:
  2162. type:
  2163. - string
  2164. - 'null'
  2165. message:
  2166. type:
  2167. - string
  2168. - 'null'
  2169. owner:
  2170. 'owl:maxCardinality': 1
  2171. type:
  2172. - string
  2173. - 'null'
  2174. format: iri-reference
  2175. example: 'https://example.com/'
  2176. ownerName:
  2177. readOnly: true
  2178. type:
  2179. - string
  2180. - 'null'
  2181. partner:
  2182. 'owl:maxCardinality': 1
  2183. type:
  2184. - string
  2185. - 'null'
  2186. format: iri-reference
  2187. example: 'https://example.com/'
  2188. contact:
  2189. 'owl:maxCardinality': 1
  2190. type:
  2191. - string
  2192. - 'null'
  2193. format: iri-reference
  2194. example: 'https://example.com/'
  2195. comments:
  2196. type: array
  2197. items:
  2198. $ref: '#/components/schemas/Comment'
  2199. createdAt:
  2200. readOnly: true
  2201. type:
  2202. - string
  2203. - 'null'
  2204. format: date-time
  2205. Post.jsonhal:
  2206. type: object
  2207. description: ''
  2208. deprecated: false
  2209. required:
  2210. - headline
  2211. - message
  2212. properties:
  2213. _links:
  2214. type: object
  2215. properties:
  2216. self:
  2217. type: object
  2218. properties:
  2219. href:
  2220. type: string
  2221. format: iri-reference
  2222. headline:
  2223. type:
  2224. - string
  2225. - 'null'
  2226. message:
  2227. type:
  2228. - string
  2229. - 'null'
  2230. owner:
  2231. 'owl:maxCardinality': 1
  2232. type:
  2233. - string
  2234. - 'null'
  2235. format: iri-reference
  2236. example: 'https://example.com/'
  2237. ownerName:
  2238. readOnly: true
  2239. type:
  2240. - string
  2241. - 'null'
  2242. partner:
  2243. 'owl:maxCardinality': 1
  2244. type:
  2245. - string
  2246. - 'null'
  2247. format: iri-reference
  2248. example: 'https://example.com/'
  2249. contact:
  2250. 'owl:maxCardinality': 1
  2251. type:
  2252. - string
  2253. - 'null'
  2254. format: iri-reference
  2255. example: 'https://example.com/'
  2256. comments:
  2257. type: array
  2258. items:
  2259. $ref: '#/components/schemas/Comment.jsonhal'
  2260. createdAt:
  2261. readOnly: true
  2262. type:
  2263. - string
  2264. - 'null'
  2265. format: date-time
  2266. Post.jsonld:
  2267. type: object
  2268. description: ''
  2269. deprecated: false
  2270. required:
  2271. - headline
  2272. - message
  2273. properties:
  2274. '@context':
  2275. readOnly: true
  2276. oneOf:
  2277. -
  2278. type: string
  2279. -
  2280. type: object
  2281. properties:
  2282. '@vocab':
  2283. type: string
  2284. hydra:
  2285. type: string
  2286. enum: ['http://www.w3.org/ns/hydra/core#']
  2287. required:
  2288. - '@vocab'
  2289. - hydra
  2290. additionalProperties: true
  2291. '@id':
  2292. readOnly: true
  2293. type: string
  2294. '@type':
  2295. readOnly: true
  2296. type: string
  2297. headline:
  2298. type:
  2299. - string
  2300. - 'null'
  2301. message:
  2302. type:
  2303. - string
  2304. - 'null'
  2305. owner:
  2306. 'owl:maxCardinality': 1
  2307. type:
  2308. - string
  2309. - 'null'
  2310. format: iri-reference
  2311. example: 'https://example.com/'
  2312. ownerName:
  2313. readOnly: true
  2314. type:
  2315. - string
  2316. - 'null'
  2317. partner:
  2318. 'owl:maxCardinality': 1
  2319. type:
  2320. - string
  2321. - 'null'
  2322. format: iri-reference
  2323. example: 'https://example.com/'
  2324. contact:
  2325. 'owl:maxCardinality': 1
  2326. type:
  2327. - string
  2328. - 'null'
  2329. format: iri-reference
  2330. example: 'https://example.com/'
  2331. comments:
  2332. type: array
  2333. items:
  2334. $ref: '#/components/schemas/Comment.jsonld'
  2335. createdAt:
  2336. readOnly: true
  2337. type:
  2338. - string
  2339. - 'null'
  2340. format: date-time
  2341. User:
  2342. type: object
  2343. description: ''
  2344. deprecated: false
  2345. required:
  2346. - email
  2347. - firstName
  2348. - lastName
  2349. properties:
  2350. email:
  2351. format: email
  2352. externalDocs:
  2353. url: 'https://schema.org/email'
  2354. type:
  2355. - string
  2356. - 'null'
  2357. firstName:
  2358. type:
  2359. - string
  2360. - 'null'
  2361. lastName:
  2362. type:
  2363. - string
  2364. - 'null'
  2365. password:
  2366. writeOnly: true
  2367. description: 'The plaintext password when being set or changed.'
  2368. type:
  2369. - string
  2370. - 'null'
  2371. active:
  2372. type: boolean
  2373. postings:
  2374. type: array
  2375. items:
  2376. type: string
  2377. format: iri-reference
  2378. example: 'https://example.com/'
  2379. createdAt:
  2380. readOnly: true
  2381. type:
  2382. - string
  2383. - 'null'
  2384. format: date-time
  2385. User.jsonhal:
  2386. type: object
  2387. description: ''
  2388. deprecated: false
  2389. required:
  2390. - email
  2391. - firstName
  2392. - lastName
  2393. properties:
  2394. _links:
  2395. type: object
  2396. properties:
  2397. self:
  2398. type: object
  2399. properties:
  2400. href:
  2401. type: string
  2402. format: iri-reference
  2403. email:
  2404. format: email
  2405. externalDocs:
  2406. url: 'https://schema.org/email'
  2407. type:
  2408. - string
  2409. - 'null'
  2410. firstName:
  2411. type:
  2412. - string
  2413. - 'null'
  2414. lastName:
  2415. type:
  2416. - string
  2417. - 'null'
  2418. password:
  2419. writeOnly: true
  2420. description: 'The plaintext password when being set or changed.'
  2421. type:
  2422. - string
  2423. - 'null'
  2424. active:
  2425. type: boolean
  2426. postings:
  2427. type: array
  2428. items:
  2429. type: string
  2430. format: iri-reference
  2431. example: 'https://example.com/'
  2432. createdAt:
  2433. readOnly: true
  2434. type:
  2435. - string
  2436. - 'null'
  2437. format: date-time
  2438. User.jsonld:
  2439. type: object
  2440. description: ''
  2441. deprecated: false
  2442. required:
  2443. - email
  2444. - firstName
  2445. - lastName
  2446. properties:
  2447. '@context':
  2448. readOnly: true
  2449. oneOf:
  2450. -
  2451. type: string
  2452. -
  2453. type: object
  2454. properties:
  2455. '@vocab':
  2456. type: string
  2457. hydra:
  2458. type: string
  2459. enum: ['http://www.w3.org/ns/hydra/core#']
  2460. required:
  2461. - '@vocab'
  2462. - hydra
  2463. additionalProperties: true
  2464. '@id':
  2465. readOnly: true
  2466. type: string
  2467. '@type':
  2468. readOnly: true
  2469. type: string
  2470. email:
  2471. format: email
  2472. externalDocs:
  2473. url: 'https://schema.org/email'
  2474. type:
  2475. - string
  2476. - 'null'
  2477. firstName:
  2478. type:
  2479. - string
  2480. - 'null'
  2481. lastName:
  2482. type:
  2483. - string
  2484. - 'null'
  2485. password:
  2486. writeOnly: true
  2487. description: 'The plaintext password when being set or changed.'
  2488. type:
  2489. - string
  2490. - 'null'
  2491. active:
  2492. type: boolean
  2493. postings:
  2494. type: array
  2495. items:
  2496. type: string
  2497. format: iri-reference
  2498. example: 'https://example.com/'
  2499. createdAt:
  2500. readOnly: true
  2501. type:
  2502. - string
  2503. - 'null'
  2504. format: date-time
  2505. responses: { }
  2506. parameters: { }
  2507. examples: { }
  2508. requestBodies: { }
  2509. headers: { }
  2510. securitySchemes:
  2511. JWT:
  2512. type: http
  2513. scheme: bearer
  2514. bearerFormat: JWT
  2515. security:
  2516. -
  2517. JWT: []
  2518. tags: []