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

2014 řádky
58 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/contacts:
  12. get:
  13. operationId: api_contacts_get_collection
  14. tags:
  15. - Contact
  16. responses:
  17. 200:
  18. description: 'Contact collection'
  19. content:
  20. application/ld+json:
  21. schema:
  22. type: object
  23. properties:
  24. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Contact.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/Contact'
  35. text/html:
  36. schema:
  37. type: array
  38. items:
  39. $ref: '#/components/schemas/Contact'
  40. application/hal+json:
  41. schema:
  42. type: object
  43. properties:
  44. _embedded: { type: array, items: { $ref: '#/components/schemas/Contact.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 Contact resources.'
  52. description: 'Retrieves the collection of Contact resources.'
  53. parameters:
  54. -
  55. name: page
  56. in: query
  57. description: 'The collection page number'
  58. required: false
  59. deprecated: false
  60. allowEmptyValue: true
  61. schema:
  62. type: integer
  63. default: 1
  64. style: form
  65. explode: false
  66. allowReserved: false
  67. -
  68. name: itemsPerPage
  69. in: query
  70. description: 'The number of items per page'
  71. required: false
  72. deprecated: false
  73. allowEmptyValue: true
  74. schema:
  75. type: integer
  76. default: 10
  77. minimum: 0
  78. maximum: 50
  79. style: form
  80. explode: false
  81. allowReserved: false
  82. -
  83. name: partner
  84. in: query
  85. description: ''
  86. required: false
  87. deprecated: false
  88. allowEmptyValue: true
  89. schema:
  90. type: string
  91. style: form
  92. explode: false
  93. allowReserved: false
  94. -
  95. name: 'partner[]'
  96. in: query
  97. description: ''
  98. required: false
  99. deprecated: false
  100. allowEmptyValue: true
  101. schema:
  102. type: array
  103. items:
  104. type: string
  105. style: form
  106. explode: true
  107. allowReserved: false
  108. deprecated: false
  109. post:
  110. operationId: api_contacts_post
  111. tags:
  112. - Contact
  113. responses:
  114. 201:
  115. description: 'Contact resource created'
  116. content:
  117. application/ld+json:
  118. schema:
  119. $ref: '#/components/schemas/Contact.jsonld'
  120. application/json:
  121. schema:
  122. $ref: '#/components/schemas/Contact'
  123. text/html:
  124. schema:
  125. $ref: '#/components/schemas/Contact'
  126. application/hal+json:
  127. schema:
  128. $ref: '#/components/schemas/Contact.jsonhal'
  129. links: { }
  130. 400:
  131. description: 'Invalid input'
  132. 422:
  133. description: 'Unprocessable entity'
  134. summary: 'Creates a Contact resource.'
  135. description: 'Creates a Contact resource.'
  136. parameters: []
  137. requestBody:
  138. description: 'The new Contact resource'
  139. content:
  140. application/ld+json:
  141. schema:
  142. $ref: '#/components/schemas/Contact.jsonld'
  143. application/json:
  144. schema:
  145. $ref: '#/components/schemas/Contact'
  146. text/html:
  147. schema:
  148. $ref: '#/components/schemas/Contact'
  149. application/hal+json:
  150. schema:
  151. $ref: '#/components/schemas/Contact.jsonhal'
  152. required: true
  153. deprecated: false
  154. parameters: []
  155. '/api/contacts/{id}':
  156. get:
  157. operationId: api_contacts_id_get
  158. tags:
  159. - Contact
  160. responses:
  161. 200:
  162. description: 'Contact resource'
  163. content:
  164. application/ld+json:
  165. schema:
  166. $ref: '#/components/schemas/Contact.jsonld'
  167. application/json:
  168. schema:
  169. $ref: '#/components/schemas/Contact'
  170. text/html:
  171. schema:
  172. $ref: '#/components/schemas/Contact'
  173. application/hal+json:
  174. schema:
  175. $ref: '#/components/schemas/Contact.jsonhal'
  176. 404:
  177. description: 'Resource not found'
  178. summary: 'Retrieves a Contact resource.'
  179. description: 'Retrieves a Contact resource.'
  180. parameters:
  181. -
  182. name: id
  183. in: path
  184. description: 'ContactApi identifier'
  185. required: true
  186. deprecated: false
  187. allowEmptyValue: false
  188. schema:
  189. type: string
  190. style: simple
  191. explode: false
  192. allowReserved: false
  193. deprecated: false
  194. delete:
  195. operationId: api_contacts_id_delete
  196. tags:
  197. - Contact
  198. responses:
  199. 204:
  200. description: 'Contact resource deleted'
  201. 404:
  202. description: 'Resource not found'
  203. summary: 'Removes the Contact resource.'
  204. description: 'Removes the Contact resource.'
  205. parameters:
  206. -
  207. name: id
  208. in: path
  209. description: 'ContactApi identifier'
  210. required: true
  211. deprecated: false
  212. allowEmptyValue: false
  213. schema:
  214. type: string
  215. style: simple
  216. explode: false
  217. allowReserved: false
  218. deprecated: false
  219. patch:
  220. operationId: api_contacts_id_patch
  221. tags:
  222. - Contact
  223. responses:
  224. 200:
  225. description: 'Contact resource updated'
  226. content:
  227. application/ld+json:
  228. schema:
  229. $ref: '#/components/schemas/Contact.jsonld'
  230. application/json:
  231. schema:
  232. $ref: '#/components/schemas/Contact'
  233. text/html:
  234. schema:
  235. $ref: '#/components/schemas/Contact'
  236. application/hal+json:
  237. schema:
  238. $ref: '#/components/schemas/Contact.jsonhal'
  239. links: { }
  240. 400:
  241. description: 'Invalid input'
  242. 422:
  243. description: 'Unprocessable entity'
  244. 404:
  245. description: 'Resource not found'
  246. summary: 'Updates the Contact resource.'
  247. description: 'Updates the Contact resource.'
  248. parameters:
  249. -
  250. name: id
  251. in: path
  252. description: 'ContactApi identifier'
  253. required: true
  254. deprecated: false
  255. allowEmptyValue: false
  256. schema:
  257. type: string
  258. style: simple
  259. explode: false
  260. allowReserved: false
  261. requestBody:
  262. description: 'The updated Contact resource'
  263. content:
  264. application/merge-patch+json:
  265. schema:
  266. $ref: '#/components/schemas/Contact'
  267. required: true
  268. deprecated: false
  269. parameters: []
  270. /api/media_objects:
  271. get:
  272. operationId: api_media_objects_get_collection
  273. tags:
  274. - MediaObject
  275. responses:
  276. 200:
  277. description: 'MediaObject collection'
  278. content:
  279. application/ld+json:
  280. schema:
  281. type: object
  282. properties:
  283. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/MediaObject.jsonld-media_object.read' } }
  284. 'hydra:totalItems': { type: integer, minimum: 0 }
  285. '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 } }
  286. '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 } } } } } }
  287. required:
  288. - 'hydra:member'
  289. application/json:
  290. schema:
  291. type: array
  292. items:
  293. $ref: '#/components/schemas/MediaObject-media_object.read'
  294. text/html:
  295. schema:
  296. type: array
  297. items:
  298. $ref: '#/components/schemas/MediaObject-media_object.read'
  299. application/hal+json:
  300. schema:
  301. type: object
  302. properties:
  303. _embedded: { type: array, items: { $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read' } }
  304. totalItems: { type: integer, minimum: 0 }
  305. itemsPerPage: { type: integer, minimum: 0 }
  306. _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 } } } } }
  307. required:
  308. - _links
  309. - _embedded
  310. summary: 'Retrieves the collection of MediaObject resources.'
  311. description: 'Retrieves the collection of MediaObject resources.'
  312. parameters:
  313. -
  314. name: page
  315. in: query
  316. description: 'The collection page number'
  317. required: false
  318. deprecated: false
  319. allowEmptyValue: true
  320. schema:
  321. type: integer
  322. default: 1
  323. style: form
  324. explode: false
  325. allowReserved: false
  326. -
  327. name: itemsPerPage
  328. in: query
  329. description: 'The number of items per page'
  330. required: false
  331. deprecated: false
  332. allowEmptyValue: true
  333. schema:
  334. type: integer
  335. default: 10
  336. minimum: 0
  337. maximum: 50
  338. style: form
  339. explode: false
  340. allowReserved: false
  341. deprecated: false
  342. post:
  343. operationId: api_media_objects_post
  344. tags:
  345. - MediaObject
  346. responses:
  347. 201:
  348. description: 'MediaObject resource created'
  349. content:
  350. application/ld+json:
  351. schema:
  352. $ref: '#/components/schemas/MediaObject.jsonld-media_object.read'
  353. application/json:
  354. schema:
  355. $ref: '#/components/schemas/MediaObject-media_object.read'
  356. text/html:
  357. schema:
  358. $ref: '#/components/schemas/MediaObject-media_object.read'
  359. application/hal+json:
  360. schema:
  361. $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read'
  362. links: { }
  363. 400:
  364. description: 'Invalid input'
  365. 422:
  366. description: 'Unprocessable entity'
  367. summary: 'Creates a MediaObject resource.'
  368. description: 'Creates a MediaObject resource.'
  369. parameters: []
  370. requestBody:
  371. description: ''
  372. content:
  373. multipart/form-data:
  374. schema:
  375. type: object
  376. properties:
  377. file:
  378. type: string
  379. format: binary
  380. required: false
  381. deprecated: false
  382. parameters: []
  383. '/api/media_objects/{id}':
  384. get:
  385. operationId: api_media_objects_id_get
  386. tags:
  387. - MediaObject
  388. responses:
  389. 200:
  390. description: 'MediaObject resource'
  391. content:
  392. application/ld+json:
  393. schema:
  394. $ref: '#/components/schemas/MediaObject.jsonld-media_object.read'
  395. application/json:
  396. schema:
  397. $ref: '#/components/schemas/MediaObject-media_object.read'
  398. text/html:
  399. schema:
  400. $ref: '#/components/schemas/MediaObject-media_object.read'
  401. application/hal+json:
  402. schema:
  403. $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read'
  404. 404:
  405. description: 'Resource not found'
  406. summary: 'Retrieves a MediaObject resource.'
  407. description: 'Retrieves a MediaObject resource.'
  408. parameters:
  409. -
  410. name: id
  411. in: path
  412. description: 'MediaObject identifier'
  413. required: true
  414. deprecated: false
  415. allowEmptyValue: false
  416. schema:
  417. type: string
  418. style: simple
  419. explode: false
  420. allowReserved: false
  421. deprecated: false
  422. parameters: []
  423. /api/partners:
  424. get:
  425. operationId: api_partners_get_collection
  426. tags:
  427. - Partner
  428. responses:
  429. 200:
  430. description: 'Partner collection'
  431. content:
  432. application/ld+json:
  433. schema:
  434. type: object
  435. properties:
  436. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Partner.jsonld' } }
  437. 'hydra:totalItems': { type: integer, minimum: 0 }
  438. '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 } }
  439. '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 } } } } } }
  440. required:
  441. - 'hydra:member'
  442. application/json:
  443. schema:
  444. type: array
  445. items:
  446. $ref: '#/components/schemas/Partner'
  447. text/html:
  448. schema:
  449. type: array
  450. items:
  451. $ref: '#/components/schemas/Partner'
  452. application/hal+json:
  453. schema:
  454. type: object
  455. properties:
  456. _embedded: { type: array, items: { $ref: '#/components/schemas/Partner.jsonhal' } }
  457. totalItems: { type: integer, minimum: 0 }
  458. itemsPerPage: { type: integer, minimum: 0 }
  459. _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 } } } } }
  460. required:
  461. - _links
  462. - _embedded
  463. summary: 'Retrieves the collection of Partner resources.'
  464. description: 'Retrieves the collection of Partner resources.'
  465. parameters:
  466. -
  467. name: page
  468. in: query
  469. description: 'The collection page number'
  470. required: false
  471. deprecated: false
  472. allowEmptyValue: true
  473. schema:
  474. type: integer
  475. default: 1
  476. style: form
  477. explode: false
  478. allowReserved: false
  479. -
  480. name: itemsPerPage
  481. in: query
  482. description: 'The number of items per page'
  483. required: false
  484. deprecated: false
  485. allowEmptyValue: true
  486. schema:
  487. type: integer
  488. default: 10
  489. minimum: 0
  490. maximum: 50
  491. style: form
  492. explode: false
  493. allowReserved: false
  494. -
  495. name: type
  496. in: query
  497. description: ''
  498. required: false
  499. deprecated: false
  500. allowEmptyValue: true
  501. schema:
  502. type: string
  503. style: form
  504. explode: false
  505. allowReserved: false
  506. -
  507. name: 'type[]'
  508. in: query
  509. description: ''
  510. required: false
  511. deprecated: false
  512. allowEmptyValue: true
  513. schema:
  514. type: array
  515. items:
  516. type: string
  517. style: form
  518. explode: true
  519. allowReserved: false
  520. -
  521. name: 'order[name]'
  522. in: query
  523. description: ''
  524. required: false
  525. deprecated: false
  526. allowEmptyValue: true
  527. schema:
  528. type: string
  529. enum:
  530. - asc
  531. - desc
  532. style: form
  533. explode: false
  534. allowReserved: false
  535. -
  536. name: 'order[city]'
  537. in: query
  538. description: ''
  539. required: false
  540. deprecated: false
  541. allowEmptyValue: true
  542. schema:
  543. type: string
  544. enum:
  545. - asc
  546. - desc
  547. style: form
  548. explode: false
  549. allowReserved: false
  550. -
  551. name: 'order[website]'
  552. in: query
  553. description: ''
  554. required: false
  555. deprecated: false
  556. allowEmptyValue: true
  557. schema:
  558. type: string
  559. enum:
  560. - asc
  561. - desc
  562. style: form
  563. explode: false
  564. allowReserved: false
  565. deprecated: false
  566. post:
  567. operationId: api_partners_post
  568. tags:
  569. - Partner
  570. responses:
  571. 201:
  572. description: 'Partner resource created'
  573. content:
  574. application/ld+json:
  575. schema:
  576. $ref: '#/components/schemas/Partner.jsonld'
  577. application/json:
  578. schema:
  579. $ref: '#/components/schemas/Partner'
  580. text/html:
  581. schema:
  582. $ref: '#/components/schemas/Partner'
  583. application/hal+json:
  584. schema:
  585. $ref: '#/components/schemas/Partner.jsonhal'
  586. links: { }
  587. 400:
  588. description: 'Invalid input'
  589. 422:
  590. description: 'Unprocessable entity'
  591. summary: 'Creates a Partner resource.'
  592. description: 'Creates a Partner resource.'
  593. parameters: []
  594. requestBody:
  595. description: 'The new Partner resource'
  596. content:
  597. application/ld+json:
  598. schema:
  599. $ref: '#/components/schemas/Partner.jsonld'
  600. application/json:
  601. schema:
  602. $ref: '#/components/schemas/Partner'
  603. text/html:
  604. schema:
  605. $ref: '#/components/schemas/Partner'
  606. application/hal+json:
  607. schema:
  608. $ref: '#/components/schemas/Partner.jsonhal'
  609. required: true
  610. deprecated: false
  611. parameters: []
  612. '/api/partners/{id}':
  613. get:
  614. operationId: api_partners_id_get
  615. tags:
  616. - Partner
  617. responses:
  618. 200:
  619. description: 'Partner resource'
  620. content:
  621. application/ld+json:
  622. schema:
  623. $ref: '#/components/schemas/Partner.jsonld'
  624. application/json:
  625. schema:
  626. $ref: '#/components/schemas/Partner'
  627. text/html:
  628. schema:
  629. $ref: '#/components/schemas/Partner'
  630. application/hal+json:
  631. schema:
  632. $ref: '#/components/schemas/Partner.jsonhal'
  633. 404:
  634. description: 'Resource not found'
  635. summary: 'Retrieves a Partner resource.'
  636. description: 'Retrieves a Partner resource.'
  637. parameters:
  638. -
  639. name: id
  640. in: path
  641. description: 'PartnerApi identifier'
  642. required: true
  643. deprecated: false
  644. allowEmptyValue: false
  645. schema:
  646. type: string
  647. style: simple
  648. explode: false
  649. allowReserved: false
  650. deprecated: false
  651. delete:
  652. operationId: api_partners_id_delete
  653. tags:
  654. - Partner
  655. responses:
  656. 204:
  657. description: 'Partner resource deleted'
  658. 404:
  659. description: 'Resource not found'
  660. summary: 'Removes the Partner resource.'
  661. description: 'Removes the Partner resource.'
  662. parameters:
  663. -
  664. name: id
  665. in: path
  666. description: 'PartnerApi identifier'
  667. required: true
  668. deprecated: false
  669. allowEmptyValue: false
  670. schema:
  671. type: string
  672. style: simple
  673. explode: false
  674. allowReserved: false
  675. deprecated: false
  676. patch:
  677. operationId: api_partners_id_patch
  678. tags:
  679. - Partner
  680. responses:
  681. 200:
  682. description: 'Partner resource updated'
  683. content:
  684. application/ld+json:
  685. schema:
  686. $ref: '#/components/schemas/Partner.jsonld'
  687. application/json:
  688. schema:
  689. $ref: '#/components/schemas/Partner'
  690. text/html:
  691. schema:
  692. $ref: '#/components/schemas/Partner'
  693. application/hal+json:
  694. schema:
  695. $ref: '#/components/schemas/Partner.jsonhal'
  696. links: { }
  697. 400:
  698. description: 'Invalid input'
  699. 422:
  700. description: 'Unprocessable entity'
  701. 404:
  702. description: 'Resource not found'
  703. summary: 'Updates the Partner resource.'
  704. description: 'Updates the Partner resource.'
  705. parameters:
  706. -
  707. name: id
  708. in: path
  709. description: 'PartnerApi identifier'
  710. required: true
  711. deprecated: false
  712. allowEmptyValue: false
  713. schema:
  714. type: string
  715. style: simple
  716. explode: false
  717. allowReserved: false
  718. requestBody:
  719. description: 'The updated Partner resource'
  720. content:
  721. application/merge-patch+json:
  722. schema:
  723. $ref: '#/components/schemas/Partner'
  724. required: true
  725. deprecated: false
  726. parameters: []
  727. /api/posts:
  728. get:
  729. operationId: api_posts_get_collection
  730. tags:
  731. - Post
  732. responses:
  733. 200:
  734. description: 'Post collection'
  735. content:
  736. application/ld+json:
  737. schema:
  738. type: object
  739. properties:
  740. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/Post.jsonld' } }
  741. 'hydra:totalItems': { type: integer, minimum: 0 }
  742. '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 } }
  743. '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 } } } } } }
  744. required:
  745. - 'hydra:member'
  746. application/json:
  747. schema:
  748. type: array
  749. items:
  750. $ref: '#/components/schemas/Post'
  751. text/html:
  752. schema:
  753. type: array
  754. items:
  755. $ref: '#/components/schemas/Post'
  756. application/hal+json:
  757. schema:
  758. type: object
  759. properties:
  760. _embedded: { type: array, items: { $ref: '#/components/schemas/Post.jsonhal' } }
  761. totalItems: { type: integer, minimum: 0 }
  762. itemsPerPage: { type: integer, minimum: 0 }
  763. _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 } } } } }
  764. required:
  765. - _links
  766. - _embedded
  767. summary: 'Retrieves the collection of Post resources.'
  768. description: 'Retrieves the collection of Post resources.'
  769. parameters:
  770. -
  771. name: page
  772. in: query
  773. description: 'The collection page number'
  774. required: false
  775. deprecated: false
  776. allowEmptyValue: true
  777. schema:
  778. type: integer
  779. default: 1
  780. style: form
  781. explode: false
  782. allowReserved: false
  783. -
  784. name: itemsPerPage
  785. in: query
  786. description: 'The number of items per page'
  787. required: false
  788. deprecated: false
  789. allowEmptyValue: true
  790. schema:
  791. type: integer
  792. default: 10
  793. minimum: 0
  794. maximum: 50
  795. style: form
  796. explode: false
  797. allowReserved: false
  798. deprecated: false
  799. post:
  800. operationId: api_posts_post
  801. tags:
  802. - Post
  803. responses:
  804. 201:
  805. description: 'Post resource created'
  806. content:
  807. application/ld+json:
  808. schema:
  809. $ref: '#/components/schemas/Post.jsonld'
  810. application/json:
  811. schema:
  812. $ref: '#/components/schemas/Post'
  813. text/html:
  814. schema:
  815. $ref: '#/components/schemas/Post'
  816. application/hal+json:
  817. schema:
  818. $ref: '#/components/schemas/Post.jsonhal'
  819. links: { }
  820. 400:
  821. description: 'Invalid input'
  822. 422:
  823. description: 'Unprocessable entity'
  824. summary: 'Creates a Post resource.'
  825. description: 'Creates a Post resource.'
  826. parameters: []
  827. requestBody:
  828. description: 'The new Post resource'
  829. content:
  830. application/ld+json:
  831. schema:
  832. $ref: '#/components/schemas/Post.jsonld'
  833. application/json:
  834. schema:
  835. $ref: '#/components/schemas/Post'
  836. text/html:
  837. schema:
  838. $ref: '#/components/schemas/Post'
  839. application/hal+json:
  840. schema:
  841. $ref: '#/components/schemas/Post.jsonhal'
  842. required: true
  843. deprecated: false
  844. parameters: []
  845. '/api/posts/{id}':
  846. get:
  847. operationId: api_posts_id_get
  848. tags:
  849. - Post
  850. responses:
  851. 200:
  852. description: 'Post resource'
  853. content:
  854. application/ld+json:
  855. schema:
  856. $ref: '#/components/schemas/Post.jsonld'
  857. application/json:
  858. schema:
  859. $ref: '#/components/schemas/Post'
  860. text/html:
  861. schema:
  862. $ref: '#/components/schemas/Post'
  863. application/hal+json:
  864. schema:
  865. $ref: '#/components/schemas/Post.jsonhal'
  866. 404:
  867. description: 'Resource not found'
  868. summary: 'Retrieves a Post resource.'
  869. description: 'Retrieves a Post resource.'
  870. parameters:
  871. -
  872. name: id
  873. in: path
  874. description: 'PostingApi 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_posts_id_delete
  886. tags:
  887. - Post
  888. responses:
  889. 204:
  890. description: 'Post resource deleted'
  891. 404:
  892. description: 'Resource not found'
  893. summary: 'Removes the Post resource.'
  894. description: 'Removes the Post resource.'
  895. parameters:
  896. -
  897. name: id
  898. in: path
  899. description: 'PostingApi 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_posts_id_patch
  911. tags:
  912. - Post
  913. responses:
  914. 200:
  915. description: 'Post resource updated'
  916. content:
  917. application/ld+json:
  918. schema:
  919. $ref: '#/components/schemas/Post.jsonld'
  920. application/json:
  921. schema:
  922. $ref: '#/components/schemas/Post'
  923. text/html:
  924. schema:
  925. $ref: '#/components/schemas/Post'
  926. application/hal+json:
  927. schema:
  928. $ref: '#/components/schemas/Post.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 Post resource.'
  937. description: 'Updates the Post resource.'
  938. parameters:
  939. -
  940. name: id
  941. in: path
  942. description: 'PostingApi 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 Post resource'
  953. content:
  954. application/merge-patch+json:
  955. schema:
  956. $ref: '#/components/schemas/Post'
  957. required: true
  958. deprecated: false
  959. parameters: []
  960. /api/users:
  961. get:
  962. operationId: api_users_get_collection
  963. tags:
  964. - User
  965. responses:
  966. 200:
  967. description: 'User collection'
  968. content:
  969. application/ld+json:
  970. schema:
  971. type: object
  972. properties:
  973. 'hydra:member': { type: array, items: { $ref: '#/components/schemas/User.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/User'
  984. text/html:
  985. schema:
  986. type: array
  987. items:
  988. $ref: '#/components/schemas/User'
  989. application/hal+json:
  990. schema:
  991. type: object
  992. properties:
  993. _embedded: { type: array, items: { $ref: '#/components/schemas/User.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 User resources.'
  1001. description: 'Retrieves the collection of User 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. deprecated: false
  1032. post:
  1033. operationId: api_users_post
  1034. tags:
  1035. - User
  1036. responses:
  1037. 201:
  1038. description: 'User resource created'
  1039. content:
  1040. application/ld+json:
  1041. schema:
  1042. $ref: '#/components/schemas/User.jsonld'
  1043. application/json:
  1044. schema:
  1045. $ref: '#/components/schemas/User'
  1046. text/html:
  1047. schema:
  1048. $ref: '#/components/schemas/User'
  1049. application/hal+json:
  1050. schema:
  1051. $ref: '#/components/schemas/User.jsonhal'
  1052. links: { }
  1053. 400:
  1054. description: 'Invalid input'
  1055. 422:
  1056. description: 'Unprocessable entity'
  1057. summary: 'Creates a User resource.'
  1058. description: 'Creates a User resource.'
  1059. parameters: []
  1060. requestBody:
  1061. description: 'The new User resource'
  1062. content:
  1063. application/ld+json:
  1064. schema:
  1065. $ref: '#/components/schemas/User.jsonld'
  1066. application/json:
  1067. schema:
  1068. $ref: '#/components/schemas/User'
  1069. text/html:
  1070. schema:
  1071. $ref: '#/components/schemas/User'
  1072. application/hal+json:
  1073. schema:
  1074. $ref: '#/components/schemas/User.jsonhal'
  1075. required: true
  1076. deprecated: false
  1077. parameters: []
  1078. '/api/users/{id}':
  1079. get:
  1080. operationId: api_users_id_get
  1081. tags:
  1082. - User
  1083. responses:
  1084. 200:
  1085. description: 'User resource'
  1086. content:
  1087. application/ld+json:
  1088. schema:
  1089. $ref: '#/components/schemas/User.jsonld'
  1090. application/json:
  1091. schema:
  1092. $ref: '#/components/schemas/User'
  1093. text/html:
  1094. schema:
  1095. $ref: '#/components/schemas/User'
  1096. application/hal+json:
  1097. schema:
  1098. $ref: '#/components/schemas/User.jsonhal'
  1099. 404:
  1100. description: 'Resource not found'
  1101. summary: 'Retrieves a User resource.'
  1102. description: 'Retrieves a User resource.'
  1103. parameters:
  1104. -
  1105. name: id
  1106. in: path
  1107. description: 'UserApi identifier'
  1108. required: true
  1109. deprecated: false
  1110. allowEmptyValue: false
  1111. schema:
  1112. type: string
  1113. style: simple
  1114. explode: false
  1115. allowReserved: false
  1116. deprecated: false
  1117. patch:
  1118. operationId: api_users_id_patch
  1119. tags:
  1120. - User
  1121. responses:
  1122. 200:
  1123. description: 'User resource updated'
  1124. content:
  1125. application/ld+json:
  1126. schema:
  1127. $ref: '#/components/schemas/User.jsonld'
  1128. application/json:
  1129. schema:
  1130. $ref: '#/components/schemas/User'
  1131. text/html:
  1132. schema:
  1133. $ref: '#/components/schemas/User'
  1134. application/hal+json:
  1135. schema:
  1136. $ref: '#/components/schemas/User.jsonhal'
  1137. links: { }
  1138. 400:
  1139. description: 'Invalid input'
  1140. 422:
  1141. description: 'Unprocessable entity'
  1142. 404:
  1143. description: 'Resource not found'
  1144. summary: 'Updates the User resource.'
  1145. description: 'Updates the User resource.'
  1146. parameters:
  1147. -
  1148. name: id
  1149. in: path
  1150. description: 'UserApi identifier'
  1151. required: true
  1152. deprecated: false
  1153. allowEmptyValue: false
  1154. schema:
  1155. type: string
  1156. style: simple
  1157. explode: false
  1158. allowReserved: false
  1159. requestBody:
  1160. description: 'The updated User resource'
  1161. content:
  1162. application/merge-patch+json:
  1163. schema:
  1164. $ref: '#/components/schemas/User'
  1165. required: true
  1166. deprecated: false
  1167. parameters: []
  1168. /auth:
  1169. post:
  1170. operationId: login_check_post
  1171. tags:
  1172. - 'Login Check'
  1173. responses:
  1174. 200:
  1175. description: 'User token created'
  1176. content:
  1177. application/json:
  1178. schema:
  1179. type: object
  1180. properties:
  1181. token: { readOnly: true, type: string, nullable: false }
  1182. required:
  1183. - token
  1184. summary: 'Creates a user token.'
  1185. description: 'Creates a user token.'
  1186. requestBody:
  1187. description: 'The login data'
  1188. content:
  1189. application/json:
  1190. schema:
  1191. type: object
  1192. properties:
  1193. email:
  1194. type: string
  1195. nullable: false
  1196. password:
  1197. type: string
  1198. nullable: false
  1199. required:
  1200. - email
  1201. - password
  1202. required: true
  1203. parameters: []
  1204. components:
  1205. schemas:
  1206. Contact:
  1207. type: object
  1208. description: ''
  1209. deprecated: false
  1210. required:
  1211. - firstName
  1212. - lastName
  1213. properties:
  1214. firstName:
  1215. type:
  1216. - string
  1217. - 'null'
  1218. lastName:
  1219. type:
  1220. - string
  1221. - 'null'
  1222. partner:
  1223. 'owl:maxCardinality': 1
  1224. type:
  1225. - string
  1226. - 'null'
  1227. format: iri-reference
  1228. example: 'https://example.com/'
  1229. birthday:
  1230. type:
  1231. - string
  1232. - 'null'
  1233. format: date-time
  1234. image:
  1235. 'owl:maxCardinality': 1
  1236. type:
  1237. - string
  1238. - 'null'
  1239. format: iri-reference
  1240. example: 'https://example.com/'
  1241. imageUrl:
  1242. type:
  1243. - string
  1244. - 'null'
  1245. position:
  1246. type:
  1247. - string
  1248. - 'null'
  1249. phone:
  1250. type:
  1251. - string
  1252. - 'null'
  1253. email:
  1254. type:
  1255. - string
  1256. - 'null'
  1257. createdAt:
  1258. type:
  1259. - string
  1260. - 'null'
  1261. format: date-time
  1262. Contact.jsonhal:
  1263. type: object
  1264. description: ''
  1265. deprecated: false
  1266. required:
  1267. - firstName
  1268. - lastName
  1269. properties:
  1270. _links:
  1271. type: object
  1272. properties:
  1273. self:
  1274. type: object
  1275. properties:
  1276. href:
  1277. type: string
  1278. format: iri-reference
  1279. firstName:
  1280. type:
  1281. - string
  1282. - 'null'
  1283. lastName:
  1284. type:
  1285. - string
  1286. - 'null'
  1287. partner:
  1288. 'owl:maxCardinality': 1
  1289. type:
  1290. - string
  1291. - 'null'
  1292. format: iri-reference
  1293. example: 'https://example.com/'
  1294. birthday:
  1295. type:
  1296. - string
  1297. - 'null'
  1298. format: date-time
  1299. image:
  1300. 'owl:maxCardinality': 1
  1301. type:
  1302. - string
  1303. - 'null'
  1304. format: iri-reference
  1305. example: 'https://example.com/'
  1306. imageUrl:
  1307. type:
  1308. - string
  1309. - 'null'
  1310. position:
  1311. type:
  1312. - string
  1313. - 'null'
  1314. phone:
  1315. type:
  1316. - string
  1317. - 'null'
  1318. email:
  1319. type:
  1320. - string
  1321. - 'null'
  1322. createdAt:
  1323. type:
  1324. - string
  1325. - 'null'
  1326. format: date-time
  1327. Contact.jsonld:
  1328. type: object
  1329. description: ''
  1330. deprecated: false
  1331. required:
  1332. - firstName
  1333. - lastName
  1334. properties:
  1335. '@context':
  1336. readOnly: true
  1337. oneOf:
  1338. -
  1339. type: string
  1340. -
  1341. type: object
  1342. properties:
  1343. '@vocab':
  1344. type: string
  1345. hydra:
  1346. type: string
  1347. enum: ['http://www.w3.org/ns/hydra/core#']
  1348. required:
  1349. - '@vocab'
  1350. - hydra
  1351. additionalProperties: true
  1352. '@id':
  1353. readOnly: true
  1354. type: string
  1355. '@type':
  1356. readOnly: true
  1357. type: string
  1358. firstName:
  1359. type:
  1360. - string
  1361. - 'null'
  1362. lastName:
  1363. type:
  1364. - string
  1365. - 'null'
  1366. partner:
  1367. 'owl:maxCardinality': 1
  1368. type:
  1369. - string
  1370. - 'null'
  1371. format: iri-reference
  1372. example: 'https://example.com/'
  1373. birthday:
  1374. type:
  1375. - string
  1376. - 'null'
  1377. format: date-time
  1378. image:
  1379. 'owl:maxCardinality': 1
  1380. type:
  1381. - string
  1382. - 'null'
  1383. format: iri-reference
  1384. example: 'https://example.com/'
  1385. imageUrl:
  1386. type:
  1387. - string
  1388. - 'null'
  1389. position:
  1390. type:
  1391. - string
  1392. - 'null'
  1393. phone:
  1394. type:
  1395. - string
  1396. - 'null'
  1397. email:
  1398. type:
  1399. - string
  1400. - 'null'
  1401. createdAt:
  1402. type:
  1403. - string
  1404. - 'null'
  1405. format: date-time
  1406. MediaObject-media_object.read:
  1407. type: object
  1408. description: ''
  1409. deprecated: false
  1410. externalDocs:
  1411. url: 'https://schema.org/MediaObject'
  1412. properties:
  1413. contentUrl:
  1414. externalDocs:
  1415. url: 'https://schema.org/contentUrl'
  1416. type:
  1417. - string
  1418. - 'null'
  1419. MediaObject.jsonhal-media_object.read:
  1420. type: object
  1421. description: ''
  1422. deprecated: false
  1423. externalDocs:
  1424. url: 'https://schema.org/MediaObject'
  1425. properties:
  1426. _links:
  1427. type: object
  1428. properties:
  1429. self:
  1430. type: object
  1431. properties:
  1432. href:
  1433. type: string
  1434. format: iri-reference
  1435. contentUrl:
  1436. externalDocs:
  1437. url: 'https://schema.org/contentUrl'
  1438. type:
  1439. - string
  1440. - 'null'
  1441. MediaObject.jsonld-media_object.read:
  1442. type: object
  1443. description: ''
  1444. deprecated: false
  1445. externalDocs:
  1446. url: 'https://schema.org/MediaObject'
  1447. properties:
  1448. '@context':
  1449. readOnly: true
  1450. oneOf:
  1451. -
  1452. type: string
  1453. -
  1454. type: object
  1455. properties:
  1456. '@vocab':
  1457. type: string
  1458. hydra:
  1459. type: string
  1460. enum: ['http://www.w3.org/ns/hydra/core#']
  1461. required:
  1462. - '@vocab'
  1463. - hydra
  1464. additionalProperties: true
  1465. '@id':
  1466. readOnly: true
  1467. type: string
  1468. '@type':
  1469. readOnly: true
  1470. type: string
  1471. contentUrl:
  1472. externalDocs:
  1473. url: 'https://schema.org/contentUrl'
  1474. type:
  1475. - string
  1476. - 'null'
  1477. Partner:
  1478. type: object
  1479. description: ''
  1480. deprecated: false
  1481. required:
  1482. - name
  1483. - type
  1484. properties:
  1485. name:
  1486. type: string
  1487. type:
  1488. type: string
  1489. enum:
  1490. - customer
  1491. - supplier
  1492. - service
  1493. street:
  1494. type:
  1495. - string
  1496. - 'null'
  1497. streetNo:
  1498. type:
  1499. - string
  1500. - 'null'
  1501. zip:
  1502. type:
  1503. - string
  1504. - 'null'
  1505. city:
  1506. type:
  1507. - string
  1508. - 'null'
  1509. country:
  1510. type:
  1511. - string
  1512. - 'null'
  1513. website:
  1514. type:
  1515. - string
  1516. - 'null'
  1517. logo:
  1518. 'owl:maxCardinality': 1
  1519. type:
  1520. - string
  1521. - 'null'
  1522. format: iri-reference
  1523. example: 'https://example.com/'
  1524. logoUrl:
  1525. type:
  1526. - string
  1527. - 'null'
  1528. createdAt:
  1529. type:
  1530. - string
  1531. - 'null'
  1532. format: date-time
  1533. contacts:
  1534. type: array
  1535. items:
  1536. type: string
  1537. format: iri-reference
  1538. example: 'https://example.com/'
  1539. Partner.jsonhal:
  1540. type: object
  1541. description: ''
  1542. deprecated: false
  1543. required:
  1544. - name
  1545. - type
  1546. properties:
  1547. _links:
  1548. type: object
  1549. properties:
  1550. self:
  1551. type: object
  1552. properties:
  1553. href:
  1554. type: string
  1555. format: iri-reference
  1556. name:
  1557. type: string
  1558. type:
  1559. type: string
  1560. enum:
  1561. - customer
  1562. - supplier
  1563. - service
  1564. street:
  1565. type:
  1566. - string
  1567. - 'null'
  1568. streetNo:
  1569. type:
  1570. - string
  1571. - 'null'
  1572. zip:
  1573. type:
  1574. - string
  1575. - 'null'
  1576. city:
  1577. type:
  1578. - string
  1579. - 'null'
  1580. country:
  1581. type:
  1582. - string
  1583. - 'null'
  1584. website:
  1585. type:
  1586. - string
  1587. - 'null'
  1588. logo:
  1589. 'owl:maxCardinality': 1
  1590. type:
  1591. - string
  1592. - 'null'
  1593. format: iri-reference
  1594. example: 'https://example.com/'
  1595. logoUrl:
  1596. type:
  1597. - string
  1598. - 'null'
  1599. createdAt:
  1600. type:
  1601. - string
  1602. - 'null'
  1603. format: date-time
  1604. contacts:
  1605. type: array
  1606. items:
  1607. type: string
  1608. format: iri-reference
  1609. example: 'https://example.com/'
  1610. Partner.jsonld:
  1611. type: object
  1612. description: ''
  1613. deprecated: false
  1614. required:
  1615. - name
  1616. - type
  1617. properties:
  1618. '@context':
  1619. readOnly: true
  1620. oneOf:
  1621. -
  1622. type: string
  1623. -
  1624. type: object
  1625. properties:
  1626. '@vocab':
  1627. type: string
  1628. hydra:
  1629. type: string
  1630. enum: ['http://www.w3.org/ns/hydra/core#']
  1631. required:
  1632. - '@vocab'
  1633. - hydra
  1634. additionalProperties: true
  1635. '@id':
  1636. readOnly: true
  1637. type: string
  1638. '@type':
  1639. readOnly: true
  1640. type: string
  1641. name:
  1642. type: string
  1643. type:
  1644. type: string
  1645. enum:
  1646. - customer
  1647. - supplier
  1648. - service
  1649. street:
  1650. type:
  1651. - string
  1652. - 'null'
  1653. streetNo:
  1654. type:
  1655. - string
  1656. - 'null'
  1657. zip:
  1658. type:
  1659. - string
  1660. - 'null'
  1661. city:
  1662. type:
  1663. - string
  1664. - 'null'
  1665. country:
  1666. type:
  1667. - string
  1668. - 'null'
  1669. website:
  1670. type:
  1671. - string
  1672. - 'null'
  1673. logo:
  1674. 'owl:maxCardinality': 1
  1675. type:
  1676. - string
  1677. - 'null'
  1678. format: iri-reference
  1679. example: 'https://example.com/'
  1680. logoUrl:
  1681. type:
  1682. - string
  1683. - 'null'
  1684. createdAt:
  1685. type:
  1686. - string
  1687. - 'null'
  1688. format: date-time
  1689. contacts:
  1690. type: array
  1691. items:
  1692. type: string
  1693. format: iri-reference
  1694. example: 'https://example.com/'
  1695. Post:
  1696. type: object
  1697. description: ''
  1698. deprecated: false
  1699. required:
  1700. - message
  1701. properties:
  1702. message:
  1703. type:
  1704. - string
  1705. - 'null'
  1706. owner:
  1707. 'owl:maxCardinality': 1
  1708. type:
  1709. - string
  1710. - 'null'
  1711. format: iri-reference
  1712. example: 'https://example.com/'
  1713. partner:
  1714. anyOf:
  1715. -
  1716. $ref: '#/components/schemas/Partner'
  1717. -
  1718. type: 'null'
  1719. contact:
  1720. anyOf:
  1721. -
  1722. $ref: '#/components/schemas/Contact'
  1723. -
  1724. type: 'null'
  1725. createdAt:
  1726. readOnly: true
  1727. type:
  1728. - string
  1729. - 'null'
  1730. format: date-time
  1731. Post.jsonhal:
  1732. type: object
  1733. description: ''
  1734. deprecated: false
  1735. required:
  1736. - message
  1737. properties:
  1738. _links:
  1739. type: object
  1740. properties:
  1741. self:
  1742. type: object
  1743. properties:
  1744. href:
  1745. type: string
  1746. format: iri-reference
  1747. message:
  1748. type:
  1749. - string
  1750. - 'null'
  1751. owner:
  1752. 'owl:maxCardinality': 1
  1753. type:
  1754. - string
  1755. - 'null'
  1756. format: iri-reference
  1757. example: 'https://example.com/'
  1758. partner:
  1759. anyOf:
  1760. -
  1761. $ref: '#/components/schemas/Partner.jsonhal'
  1762. -
  1763. type: 'null'
  1764. contact:
  1765. anyOf:
  1766. -
  1767. $ref: '#/components/schemas/Contact.jsonhal'
  1768. -
  1769. type: 'null'
  1770. createdAt:
  1771. readOnly: true
  1772. type:
  1773. - string
  1774. - 'null'
  1775. format: date-time
  1776. Post.jsonld:
  1777. type: object
  1778. description: ''
  1779. deprecated: false
  1780. required:
  1781. - message
  1782. properties:
  1783. '@context':
  1784. readOnly: true
  1785. oneOf:
  1786. -
  1787. type: string
  1788. -
  1789. type: object
  1790. properties:
  1791. '@vocab':
  1792. type: string
  1793. hydra:
  1794. type: string
  1795. enum: ['http://www.w3.org/ns/hydra/core#']
  1796. required:
  1797. - '@vocab'
  1798. - hydra
  1799. additionalProperties: true
  1800. '@id':
  1801. readOnly: true
  1802. type: string
  1803. '@type':
  1804. readOnly: true
  1805. type: string
  1806. message:
  1807. type:
  1808. - string
  1809. - 'null'
  1810. owner:
  1811. 'owl:maxCardinality': 1
  1812. type:
  1813. - string
  1814. - 'null'
  1815. format: iri-reference
  1816. example: 'https://example.com/'
  1817. partner:
  1818. anyOf:
  1819. -
  1820. $ref: '#/components/schemas/Partner.jsonld'
  1821. -
  1822. type: 'null'
  1823. contact:
  1824. anyOf:
  1825. -
  1826. $ref: '#/components/schemas/Contact.jsonld'
  1827. -
  1828. type: 'null'
  1829. createdAt:
  1830. readOnly: true
  1831. type:
  1832. - string
  1833. - 'null'
  1834. format: date-time
  1835. User:
  1836. type: object
  1837. description: ''
  1838. deprecated: false
  1839. required:
  1840. - email
  1841. - firstName
  1842. - lastName
  1843. properties:
  1844. email:
  1845. format: email
  1846. externalDocs:
  1847. url: 'https://schema.org/email'
  1848. type:
  1849. - string
  1850. - 'null'
  1851. firstName:
  1852. type:
  1853. - string
  1854. - 'null'
  1855. lastName:
  1856. type:
  1857. - string
  1858. - 'null'
  1859. password:
  1860. writeOnly: true
  1861. description: 'The plaintext password when being set or changed.'
  1862. type:
  1863. - string
  1864. - 'null'
  1865. active:
  1866. type: boolean
  1867. createdAt:
  1868. readOnly: true
  1869. type:
  1870. - string
  1871. - 'null'
  1872. format: date-time
  1873. postings:
  1874. type: array
  1875. items:
  1876. type: string
  1877. format: iri-reference
  1878. example: 'https://example.com/'
  1879. User.jsonhal:
  1880. type: object
  1881. description: ''
  1882. deprecated: false
  1883. required:
  1884. - email
  1885. - firstName
  1886. - lastName
  1887. properties:
  1888. _links:
  1889. type: object
  1890. properties:
  1891. self:
  1892. type: object
  1893. properties:
  1894. href:
  1895. type: string
  1896. format: iri-reference
  1897. email:
  1898. format: email
  1899. externalDocs:
  1900. url: 'https://schema.org/email'
  1901. type:
  1902. - string
  1903. - 'null'
  1904. firstName:
  1905. type:
  1906. - string
  1907. - 'null'
  1908. lastName:
  1909. type:
  1910. - string
  1911. - 'null'
  1912. password:
  1913. writeOnly: true
  1914. description: 'The plaintext password when being set or changed.'
  1915. type:
  1916. - string
  1917. - 'null'
  1918. active:
  1919. type: boolean
  1920. createdAt:
  1921. readOnly: true
  1922. type:
  1923. - string
  1924. - 'null'
  1925. format: date-time
  1926. postings:
  1927. type: array
  1928. items:
  1929. type: string
  1930. format: iri-reference
  1931. example: 'https://example.com/'
  1932. User.jsonld:
  1933. type: object
  1934. description: ''
  1935. deprecated: false
  1936. required:
  1937. - email
  1938. - firstName
  1939. - lastName
  1940. properties:
  1941. '@context':
  1942. readOnly: true
  1943. oneOf:
  1944. -
  1945. type: string
  1946. -
  1947. type: object
  1948. properties:
  1949. '@vocab':
  1950. type: string
  1951. hydra:
  1952. type: string
  1953. enum: ['http://www.w3.org/ns/hydra/core#']
  1954. required:
  1955. - '@vocab'
  1956. - hydra
  1957. additionalProperties: true
  1958. '@id':
  1959. readOnly: true
  1960. type: string
  1961. '@type':
  1962. readOnly: true
  1963. type: string
  1964. email:
  1965. format: email
  1966. externalDocs:
  1967. url: 'https://schema.org/email'
  1968. type:
  1969. - string
  1970. - 'null'
  1971. firstName:
  1972. type:
  1973. - string
  1974. - 'null'
  1975. lastName:
  1976. type:
  1977. - string
  1978. - 'null'
  1979. password:
  1980. writeOnly: true
  1981. description: 'The plaintext password when being set or changed.'
  1982. type:
  1983. - string
  1984. - 'null'
  1985. active:
  1986. type: boolean
  1987. createdAt:
  1988. readOnly: true
  1989. type:
  1990. - string
  1991. - 'null'
  1992. format: date-time
  1993. postings:
  1994. type: array
  1995. items:
  1996. type: string
  1997. format: iri-reference
  1998. example: 'https://example.com/'
  1999. responses: { }
  2000. parameters: { }
  2001. examples: { }
  2002. requestBodies: { }
  2003. headers: { }
  2004. securitySchemes:
  2005. JWT:
  2006. type: http
  2007. scheme: bearer
  2008. bearerFormat: JWT
  2009. security:
  2010. -
  2011. JWT: []
  2012. tags: []