Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 

2789 rindas
78 KiB

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