|
|
|
@@ -8,6 +8,42 @@ servers: |
|
|
|
url: / |
|
|
|
description: '' |
|
|
|
paths: |
|
|
|
/api/auth: |
|
|
|
post: |
|
|
|
operationId: login_check_post |
|
|
|
tags: |
|
|
|
- 'Login Check' |
|
|
|
responses: |
|
|
|
200: |
|
|
|
description: 'User token created' |
|
|
|
content: |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
token: { readOnly: true, type: string, nullable: false } |
|
|
|
required: |
|
|
|
- token |
|
|
|
summary: 'Creates a user token.' |
|
|
|
description: 'Creates a user token.' |
|
|
|
requestBody: |
|
|
|
description: 'The login data' |
|
|
|
content: |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
email: |
|
|
|
type: string |
|
|
|
nullable: false |
|
|
|
password: |
|
|
|
type: string |
|
|
|
nullable: false |
|
|
|
required: |
|
|
|
- email |
|
|
|
- password |
|
|
|
required: true |
|
|
|
parameters: [] |
|
|
|
/api/comments: |
|
|
|
get: |
|
|
|
operationId: api_comments_get_collection |
|
|
|
@@ -774,22 +810,6 @@ paths: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
$ref: '#/components/schemas/DocumentObject-document_object.read' |
|
|
|
text/html: |
|
|
|
schema: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
$ref: '#/components/schemas/DocumentObject-document_object.read' |
|
|
|
application/hal+json: |
|
|
|
schema: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
_embedded: { type: array, items: { $ref: '#/components/schemas/DocumentObject.jsonhal-document_object.read' } } |
|
|
|
totalItems: { type: integer, minimum: 0 } |
|
|
|
itemsPerPage: { type: integer, minimum: 0 } |
|
|
|
_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 } } } } } |
|
|
|
required: |
|
|
|
- _links |
|
|
|
- _embedded |
|
|
|
summary: 'Retrieves the collection of DocumentObject resources.' |
|
|
|
description: 'Retrieves the collection of DocumentObject resources.' |
|
|
|
parameters: |
|
|
|
@@ -830,18 +850,12 @@ paths: |
|
|
|
201: |
|
|
|
description: 'DocumentObject resource created' |
|
|
|
content: |
|
|
|
application/ld+json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/DocumentObject.jsonld-document_object.read' |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/DocumentObject-document_object.read' |
|
|
|
text/html: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/DocumentObject-document_object.read' |
|
|
|
application/hal+json: |
|
|
|
application/ld+json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/DocumentObject.jsonhal-document_object.read' |
|
|
|
$ref: '#/components/schemas/DocumentObject.jsonld-document_object.read' |
|
|
|
links: { } |
|
|
|
400: |
|
|
|
description: 'Invalid input' |
|
|
|
@@ -878,12 +892,6 @@ paths: |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/DocumentObject-document_object.read' |
|
|
|
text/html: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/DocumentObject-document_object.read' |
|
|
|
application/hal+json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/DocumentObject.jsonhal-document_object.read' |
|
|
|
404: |
|
|
|
description: 'Resource not found' |
|
|
|
summary: 'Retrieves a DocumentObject resource.' |
|
|
|
@@ -1269,22 +1277,6 @@ paths: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
$ref: '#/components/schemas/MediaObject-media_object.read' |
|
|
|
text/html: |
|
|
|
schema: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
$ref: '#/components/schemas/MediaObject-media_object.read' |
|
|
|
application/hal+json: |
|
|
|
schema: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
_embedded: { type: array, items: { $ref: '#/components/schemas/MediaObject.jsonhal-media_object.read' } } |
|
|
|
totalItems: { type: integer, minimum: 0 } |
|
|
|
itemsPerPage: { type: integer, minimum: 0 } |
|
|
|
_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 } } } } } |
|
|
|
required: |
|
|
|
- _links |
|
|
|
- _embedded |
|
|
|
summary: 'Retrieves the collection of MediaObject resources.' |
|
|
|
description: 'Retrieves the collection of MediaObject resources.' |
|
|
|
parameters: |
|
|
|
@@ -1325,18 +1317,12 @@ paths: |
|
|
|
201: |
|
|
|
description: 'MediaObject resource created' |
|
|
|
content: |
|
|
|
application/ld+json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/MediaObject.jsonld-media_object.read' |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/MediaObject-media_object.read' |
|
|
|
text/html: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/MediaObject-media_object.read' |
|
|
|
application/hal+json: |
|
|
|
application/ld+json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/MediaObject.jsonhal-media_object.read' |
|
|
|
$ref: '#/components/schemas/MediaObject.jsonld-media_object.read' |
|
|
|
links: { } |
|
|
|
400: |
|
|
|
description: 'Invalid input' |
|
|
|
@@ -1373,12 +1359,6 @@ paths: |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/MediaObject-media_object.read' |
|
|
|
text/html: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/MediaObject-media_object.read' |
|
|
|
application/hal+json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/MediaObject.jsonhal-media_object.read' |
|
|
|
404: |
|
|
|
description: 'Resource not found' |
|
|
|
summary: 'Retrieves a MediaObject resource.' |
|
|
|
@@ -4467,42 +4447,6 @@ paths: |
|
|
|
allowReserved: false |
|
|
|
deprecated: false |
|
|
|
parameters: [] |
|
|
|
/auth: |
|
|
|
post: |
|
|
|
operationId: login_check_post |
|
|
|
tags: |
|
|
|
- 'Login Check' |
|
|
|
responses: |
|
|
|
200: |
|
|
|
description: 'User token created' |
|
|
|
content: |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
token: { readOnly: true, type: string, nullable: false } |
|
|
|
required: |
|
|
|
- token |
|
|
|
summary: 'Creates a user token.' |
|
|
|
description: 'Creates a user token.' |
|
|
|
requestBody: |
|
|
|
description: 'The login data' |
|
|
|
content: |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
email: |
|
|
|
type: string |
|
|
|
nullable: false |
|
|
|
password: |
|
|
|
type: string |
|
|
|
nullable: false |
|
|
|
required: |
|
|
|
- email |
|
|
|
- password |
|
|
|
required: true |
|
|
|
parameters: [] |
|
|
|
components: |
|
|
|
schemas: |
|
|
|
Comment: |
|
|
|
@@ -5237,28 +5181,6 @@ components: |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
DocumentObject.jsonhal-document_object.read: |
|
|
|
type: object |
|
|
|
description: '' |
|
|
|
deprecated: false |
|
|
|
externalDocs: |
|
|
|
url: 'https://schema.org/MediaObject' |
|
|
|
properties: |
|
|
|
_links: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
self: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
href: |
|
|
|
type: string |
|
|
|
format: iri-reference |
|
|
|
contentUrl: |
|
|
|
externalDocs: |
|
|
|
url: 'https://schema.org/contentUrl' |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
DocumentObject.jsonld-document_object.read: |
|
|
|
type: object |
|
|
|
description: '' |
|
|
|
@@ -5308,28 +5230,6 @@ components: |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
MediaObject.jsonhal-media_object.read: |
|
|
|
type: object |
|
|
|
description: '' |
|
|
|
deprecated: false |
|
|
|
externalDocs: |
|
|
|
url: 'https://schema.org/MediaObject' |
|
|
|
properties: |
|
|
|
_links: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
self: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
href: |
|
|
|
type: string |
|
|
|
format: iri-reference |
|
|
|
contentUrl: |
|
|
|
externalDocs: |
|
|
|
url: 'https://schema.org/contentUrl' |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
MediaObject.jsonld-media_object.read: |
|
|
|
type: object |
|
|
|
description: '' |
|
|
|
@@ -6698,11 +6598,11 @@ components: |
|
|
|
example: 'https://example.com/' |
|
|
|
turnover: |
|
|
|
type: |
|
|
|
- integer |
|
|
|
- number |
|
|
|
- 'null' |
|
|
|
profit: |
|
|
|
type: |
|
|
|
- integer |
|
|
|
- number |
|
|
|
- 'null' |
|
|
|
quantity: |
|
|
|
type: |
|
|
|
@@ -6764,11 +6664,11 @@ components: |
|
|
|
example: 'https://example.com/' |
|
|
|
turnover: |
|
|
|
type: |
|
|
|
- integer |
|
|
|
- number |
|
|
|
- 'null' |
|
|
|
profit: |
|
|
|
type: |
|
|
|
- integer |
|
|
|
- number |
|
|
|
- 'null' |
|
|
|
quantity: |
|
|
|
type: |
|
|
|
@@ -6844,11 +6744,11 @@ components: |
|
|
|
example: 'https://example.com/' |
|
|
|
turnover: |
|
|
|
type: |
|
|
|
- integer |
|
|
|
- number |
|
|
|
- 'null' |
|
|
|
profit: |
|
|
|
type: |
|
|
|
- integer |
|
|
|
- number |
|
|
|
- 'null' |
|
|
|
quantity: |
|
|
|
type: |