|
|
|
@@ -1301,6 +1301,241 @@ paths: |
|
|
|
allowReserved: false |
|
|
|
deprecated: false |
|
|
|
parameters: [] |
|
|
|
/api/partner_products: |
|
|
|
get: |
|
|
|
operationId: api_partner_products_get_collection |
|
|
|
tags: |
|
|
|
- PartnerProduct |
|
|
|
responses: |
|
|
|
200: |
|
|
|
description: 'PartnerProduct collection' |
|
|
|
content: |
|
|
|
application/ld+json: |
|
|
|
schema: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
'hydra:member': { type: array, items: { $ref: '#/components/schemas/PartnerProduct.jsonld' } } |
|
|
|
'hydra:totalItems': { type: integer, minimum: 0 } |
|
|
|
'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 } } |
|
|
|
'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 } } } } } } |
|
|
|
required: |
|
|
|
- 'hydra:member' |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
$ref: '#/components/schemas/PartnerProduct' |
|
|
|
text/html: |
|
|
|
schema: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
$ref: '#/components/schemas/PartnerProduct' |
|
|
|
application/hal+json: |
|
|
|
schema: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
_embedded: { type: array, items: { $ref: '#/components/schemas/PartnerProduct.jsonhal' } } |
|
|
|
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 PartnerProduct resources.' |
|
|
|
description: 'Retrieves the collection of PartnerProduct resources.' |
|
|
|
parameters: |
|
|
|
- |
|
|
|
name: page |
|
|
|
in: query |
|
|
|
description: 'The collection page number' |
|
|
|
required: false |
|
|
|
deprecated: false |
|
|
|
allowEmptyValue: true |
|
|
|
schema: |
|
|
|
type: integer |
|
|
|
default: 1 |
|
|
|
style: form |
|
|
|
explode: false |
|
|
|
allowReserved: false |
|
|
|
- |
|
|
|
name: itemsPerPage |
|
|
|
in: query |
|
|
|
description: 'The number of items per page' |
|
|
|
required: false |
|
|
|
deprecated: false |
|
|
|
allowEmptyValue: true |
|
|
|
schema: |
|
|
|
type: integer |
|
|
|
default: 10 |
|
|
|
minimum: 0 |
|
|
|
maximum: 50 |
|
|
|
style: form |
|
|
|
explode: false |
|
|
|
allowReserved: false |
|
|
|
- |
|
|
|
name: partner |
|
|
|
in: query |
|
|
|
description: '' |
|
|
|
required: false |
|
|
|
deprecated: false |
|
|
|
allowEmptyValue: true |
|
|
|
schema: |
|
|
|
type: string |
|
|
|
style: form |
|
|
|
explode: false |
|
|
|
allowReserved: false |
|
|
|
- |
|
|
|
name: 'partner[]' |
|
|
|
in: query |
|
|
|
description: '' |
|
|
|
required: false |
|
|
|
deprecated: false |
|
|
|
allowEmptyValue: true |
|
|
|
schema: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: string |
|
|
|
style: form |
|
|
|
explode: true |
|
|
|
allowReserved: false |
|
|
|
- |
|
|
|
name: product |
|
|
|
in: query |
|
|
|
description: '' |
|
|
|
required: false |
|
|
|
deprecated: false |
|
|
|
allowEmptyValue: true |
|
|
|
schema: |
|
|
|
type: string |
|
|
|
style: form |
|
|
|
explode: false |
|
|
|
allowReserved: false |
|
|
|
- |
|
|
|
name: 'product[]' |
|
|
|
in: query |
|
|
|
description: '' |
|
|
|
required: false |
|
|
|
deprecated: false |
|
|
|
allowEmptyValue: true |
|
|
|
schema: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: string |
|
|
|
style: form |
|
|
|
explode: true |
|
|
|
allowReserved: false |
|
|
|
deprecated: false |
|
|
|
post: |
|
|
|
operationId: api_partner_products_post |
|
|
|
tags: |
|
|
|
- PartnerProduct |
|
|
|
responses: |
|
|
|
201: |
|
|
|
description: 'PartnerProduct resource created' |
|
|
|
content: |
|
|
|
application/ld+json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/PartnerProduct.jsonld' |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/PartnerProduct' |
|
|
|
text/html: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/PartnerProduct' |
|
|
|
application/hal+json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/PartnerProduct.jsonhal' |
|
|
|
links: { } |
|
|
|
400: |
|
|
|
description: 'Invalid input' |
|
|
|
422: |
|
|
|
description: 'Unprocessable entity' |
|
|
|
summary: 'Creates a PartnerProduct resource.' |
|
|
|
description: 'Creates a PartnerProduct resource.' |
|
|
|
parameters: [] |
|
|
|
requestBody: |
|
|
|
description: 'The new PartnerProduct resource' |
|
|
|
content: |
|
|
|
application/ld+json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/PartnerProduct.jsonld' |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/PartnerProduct' |
|
|
|
text/html: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/PartnerProduct' |
|
|
|
application/hal+json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/PartnerProduct.jsonhal' |
|
|
|
required: true |
|
|
|
deprecated: false |
|
|
|
parameters: [] |
|
|
|
'/api/partner_products/{id}': |
|
|
|
get: |
|
|
|
operationId: api_partner_products_id_get |
|
|
|
tags: |
|
|
|
- PartnerProduct |
|
|
|
responses: |
|
|
|
200: |
|
|
|
description: 'PartnerProduct resource' |
|
|
|
content: |
|
|
|
application/ld+json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/PartnerProduct.jsonld' |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/PartnerProduct' |
|
|
|
text/html: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/PartnerProduct' |
|
|
|
application/hal+json: |
|
|
|
schema: |
|
|
|
$ref: '#/components/schemas/PartnerProduct.jsonhal' |
|
|
|
404: |
|
|
|
description: 'Resource not found' |
|
|
|
summary: 'Retrieves a PartnerProduct resource.' |
|
|
|
description: 'Retrieves a PartnerProduct resource.' |
|
|
|
parameters: |
|
|
|
- |
|
|
|
name: id |
|
|
|
in: path |
|
|
|
description: 'PartnerProductApi identifier' |
|
|
|
required: true |
|
|
|
deprecated: false |
|
|
|
allowEmptyValue: false |
|
|
|
schema: |
|
|
|
type: string |
|
|
|
style: simple |
|
|
|
explode: false |
|
|
|
allowReserved: false |
|
|
|
deprecated: false |
|
|
|
delete: |
|
|
|
operationId: api_partner_products_id_delete |
|
|
|
tags: |
|
|
|
- PartnerProduct |
|
|
|
responses: |
|
|
|
204: |
|
|
|
description: 'PartnerProduct resource deleted' |
|
|
|
404: |
|
|
|
description: 'Resource not found' |
|
|
|
summary: 'Removes the PartnerProduct resource.' |
|
|
|
description: 'Removes the PartnerProduct resource.' |
|
|
|
parameters: |
|
|
|
- |
|
|
|
name: id |
|
|
|
in: path |
|
|
|
description: 'PartnerProductApi identifier' |
|
|
|
required: true |
|
|
|
deprecated: false |
|
|
|
allowEmptyValue: false |
|
|
|
schema: |
|
|
|
type: string |
|
|
|
style: simple |
|
|
|
explode: false |
|
|
|
allowReserved: false |
|
|
|
deprecated: false |
|
|
|
parameters: [] |
|
|
|
/api/partners: |
|
|
|
get: |
|
|
|
operationId: api_partners_get_collection |
|
|
|
@@ -4106,6 +4341,13 @@ components: |
|
|
|
type: string |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
partnerProducts: |
|
|
|
readOnly: true |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: string |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
Partner.jsonhal: |
|
|
|
type: object |
|
|
|
description: '' |
|
|
|
@@ -4203,6 +4445,13 @@ components: |
|
|
|
type: string |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
partnerProducts: |
|
|
|
readOnly: true |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: string |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
Partner.jsonld: |
|
|
|
type: object |
|
|
|
description: '' |
|
|
|
@@ -4314,32 +4563,134 @@ components: |
|
|
|
type: string |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
partnerProducts: |
|
|
|
readOnly: true |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: string |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
PartnerFollow: |
|
|
|
type: object |
|
|
|
description: '' |
|
|
|
deprecated: false |
|
|
|
required: |
|
|
|
- contact |
|
|
|
- partnerProduct |
|
|
|
properties: |
|
|
|
user: |
|
|
|
contact: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
partnerProduct: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
productName: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
createdAt: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: date-time |
|
|
|
PartnerFollow.jsonhal: |
|
|
|
type: object |
|
|
|
description: '' |
|
|
|
deprecated: false |
|
|
|
required: |
|
|
|
- contact |
|
|
|
- partnerProduct |
|
|
|
properties: |
|
|
|
_links: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
self: |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
href: |
|
|
|
type: string |
|
|
|
format: iri-reference |
|
|
|
contact: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
partnerProduct: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
userName: |
|
|
|
productName: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
partner: |
|
|
|
createdAt: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: date-time |
|
|
|
PartnerFollow.jsonld: |
|
|
|
type: object |
|
|
|
description: '' |
|
|
|
deprecated: false |
|
|
|
required: |
|
|
|
- contact |
|
|
|
- partnerProduct |
|
|
|
properties: |
|
|
|
'@context': |
|
|
|
readOnly: true |
|
|
|
oneOf: |
|
|
|
- |
|
|
|
type: string |
|
|
|
- |
|
|
|
type: object |
|
|
|
properties: |
|
|
|
'@vocab': |
|
|
|
type: string |
|
|
|
hydra: |
|
|
|
type: string |
|
|
|
enum: ['http://www.w3.org/ns/hydra/core#'] |
|
|
|
required: |
|
|
|
- '@vocab' |
|
|
|
- hydra |
|
|
|
additionalProperties: true |
|
|
|
'@id': |
|
|
|
readOnly: true |
|
|
|
type: string |
|
|
|
'@type': |
|
|
|
readOnly: true |
|
|
|
type: string |
|
|
|
contact: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
partnerName: |
|
|
|
partnerProduct: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
productName: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
@@ -4350,12 +4701,51 @@ components: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: date-time |
|
|
|
PartnerProduct: |
|
|
|
type: object |
|
|
|
description: '' |
|
|
|
deprecated: false |
|
|
|
required: |
|
|
|
- partner |
|
|
|
PartnerFollow.jsonhal: |
|
|
|
- product |
|
|
|
properties: |
|
|
|
partner: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
partnerName: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
product: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
productName: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
createdAt: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: date-time |
|
|
|
PartnerProduct.jsonhal: |
|
|
|
type: object |
|
|
|
description: '' |
|
|
|
deprecated: false |
|
|
|
required: |
|
|
|
- partner |
|
|
|
- product |
|
|
|
properties: |
|
|
|
_links: |
|
|
|
type: object |
|
|
|
@@ -4366,27 +4756,26 @@ components: |
|
|
|
href: |
|
|
|
type: string |
|
|
|
format: iri-reference |
|
|
|
user: |
|
|
|
readOnly: true |
|
|
|
partner: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
userName: |
|
|
|
partnerName: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
partner: |
|
|
|
product: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
partnerName: |
|
|
|
productName: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
@@ -4397,12 +4786,13 @@ components: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: date-time |
|
|
|
required: |
|
|
|
- partner |
|
|
|
PartnerFollow.jsonld: |
|
|
|
PartnerProduct.jsonld: |
|
|
|
type: object |
|
|
|
description: '' |
|
|
|
deprecated: false |
|
|
|
required: |
|
|
|
- partner |
|
|
|
- product |
|
|
|
properties: |
|
|
|
'@context': |
|
|
|
readOnly: true |
|
|
|
@@ -4427,27 +4817,26 @@ components: |
|
|
|
'@type': |
|
|
|
readOnly: true |
|
|
|
type: string |
|
|
|
user: |
|
|
|
readOnly: true |
|
|
|
partner: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
userName: |
|
|
|
partnerName: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
partner: |
|
|
|
product: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: iri-reference |
|
|
|
example: 'https://example.com/' |
|
|
|
partnerName: |
|
|
|
productName: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
@@ -4458,8 +4847,6 @@ components: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
format: date-time |
|
|
|
required: |
|
|
|
- partner |
|
|
|
Post: |
|
|
|
type: object |
|
|
|
description: '' |
|
|
|
@@ -5471,6 +5858,16 @@ components: |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
partnerType: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
enum: |
|
|
|
- customer |
|
|
|
- supplier |
|
|
|
- service |
|
|
|
- null |
|
|
|
contact: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
@@ -5576,6 +5973,16 @@ components: |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
partnerType: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
enum: |
|
|
|
- customer |
|
|
|
- supplier |
|
|
|
- service |
|
|
|
- null |
|
|
|
contact: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
@@ -5695,6 +6102,16 @@ components: |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
partnerType: |
|
|
|
readOnly: true |
|
|
|
type: |
|
|
|
- string |
|
|
|
- 'null' |
|
|
|
enum: |
|
|
|
- customer |
|
|
|
- supplier |
|
|
|
- service |
|
|
|
- null |
|
|
|
contact: |
|
|
|
'owl:maxCardinality': 1 |
|
|
|
type: |
|
|
|
|