Download OpenAPI specification:Download
Manage the mixins schemas for miscellaneous types.
Key Features
Key Benefits
Creates a schema entity and generates json-schema representation which is then uploaded to cloudinary repository.
schema.schema_manage
- required for creating a schemaThe request was successful. The Schema has been created.
Unsupported content language provided.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
Conflict.
{- "name": {
- "en": "Product Custom Attributes"
}, - "types": [
- "PRODUCT"
], - "attributes": [
- {
- "key": "weight",
- "name": {
- "en": "Weight of a product"
}, - "description": {
- "en": "The exact weight of a product in grams."
}, - "type": "TEXT",
- "metadata": {
- "readOnly": true,
- "required": true
}
}, - {
- "key": "size",
- "name": {
- "en": "Size of a product"
}, - "description": {
- "en": "The exact size of a product. Possible values are S, M, L."
}, - "type": "ENUM",
- "metadata": {
- "readOnly": true,
- "required": true
}, - "values": [
- {
- "value": "S"
}, - {
- "value": "M"
}, - {
- "value": "L"
}
]
}, - {
- "key": "advertisement",
- "name": {
- "en": "Advertisement of a product"
}, - "description": {
- "en": "A localized advertisement of a product."
}, - "type": "TEXT",
- "metadata": {
- "localized": true,
- "required": true
}
}
]
}
{- "id": "e241dc9e-a3f6-4573-bb01-a8ae21d2d4ae"
}
Retrieves all schemas. You can filter the results with query parameters.
Unsupported language provided.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
[- {
- "id": "64d35aa7fa54121ca47db657",
- "name": {
- "en": "Product Custom Attributes"
}, - "attributes": [
- {
- "key": "weight",
- "name": {
- "en": "Weight of a product"
}, - "description": {
- "en": "The exact weight of a product in grams."
}, - "type": "NUMBER",
- "metadata": {
- "readOnly": true,
- "localized": false,
- "required": true
}
}
], - "types": [
- "PRODUCT"
], - "metadata": {
- "version": 1,
- "createdAt": "2023-08-09T09:21:42.693Z",
- "modifiedAt": "2023-08-09T09:21:42.693Z",
}
}
]
Retrieves a single schema.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
Given resource cannot be found.
{- "id": "64d35aa7fa54121ca47db657",
- "name": {
- "en": "Product Custom Attributes"
}, - "attributes": [
- {
- "key": "weight",
- "name": {
- "en": "Weight of a product"
}, - "description": {
- "en": "The exact weight of a product in grams."
}, - "type": "NUMBER",
- "metadata": {
- "readOnly": true,
- "localized": false,
- "required": true
}
}
], - "types": [
- "PRODUCT"
], - "metadata": {
- "version": 1,
- "createdAt": "2023-08-09T09:21:42.693Z",
- "modifiedAt": "2023-08-09T09:21:42.693Z",
}
}
Deletes a single schema. It deletes just a database entry. The cloudinary reference file remains untouched.
Required scopes
schema.schema_manage
No content
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
{- "fault": {
- "faultstring": "Invalid Access Token",
- "detail": {
- "errorcode": "keymanagement.service.invalid_access_token"
}
}
}
Updates a single schema. Each update releases a new version of json schema file.
Required scopes
schema.schema_manage
No content
Unsupported content language provided.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
Given resource cannot be found.
Conflict.
{- "name": {
- "en": "Product Custom Attributes"
}, - "types": [
- "PRODUCT"
], - "attributes": [
- {
- "key": "weight",
- "name": {
- "en": "Weight of a product"
}, - "description": {
- "en": "The exact weight of a product in grams."
}, - "type": "TEXT",
- "metadata": {
- "readOnly": true,
- "required": true
}
}, - {
- "key": "size",
- "name": {
- "en": "Size of a product"
}, - "description": {
- "en": "The exact size of a product. Possible values are S, M, L."
}, - "type": "ENUM",
- "metadata": {
- "readOnly": true,
- "required": true
}, - "values": [
- {
- "value": "S"
}, - {
- "value": "M"
}, - {
- "value": "L"
}
]
}, - {
- "key": "advertisement",
- "name": {
- "en": "Advertisement of a product"
}, - "description": {
- "en": "A localized advertisement of a product."
}, - "type": "TEXT",
- "metadata": {
- "localized": true,
- "required": true
}
}
], - "metadata": {
- "version": 1
}
}
{- "code": 400,
- "status": "Bad Request",
- "message": "Language header validation failed.",
- "details": [
- {
- "message": "Following languages are not supported: 'ru'"
}
]
}
Validates and parses provided json schema file. When the file is valid, it returns a json which can be used either to create a new schema via POST operation or to update an existing one via PUT operation when all the missing fields are provided. It doesn't create any file and it doesn't crease a database entity.
The request was successful. The file was validated and parsed correctly.
Unsupported content language provided.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
{- "id": "64d35aa7fa54121ca47db657",
- "name": {
- "en": "Product Custom Attributes"
}, - "attributes": [
- {
- "key": "weight",
- "type": "NUMBER",
- "metadata": {
- "readOnly": true,
- "localized": false,
- "required": true
}
}
], - "metadata": {
- "version": 1
}
}
Updates assigned types to the schema. It's allowed to change the assigned types to the newest schema as well as to the previous versions of the schema. This operation does not generate a new version of the schema.
Required scopes
schema.schema_manage
Type which the schema should be assigned to.
No content
Unsupported content language provided.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
Given resource cannot be found.
[- "PRODUCT",
- "ORDER"
]
{- "code": 400,
- "status": "Bad Request",
- "message": "Language header validation failed.",
- "details": [
- {
- "message": "Following languages are not supported: 'ru'"
}
]
}
Retrieves types which have at least one schema assigned.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
[- "ORDER",
- "PRODUCT",
- "QUOTE"
]
Creates a reference entity and uploads provided file to the cloudinary repository.
schema.schema_manage
- required for creating a referenceThe request was successful. The Reference has been created.
Unsupported content language provided.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
Conflict.
{ "file": { "externalValue": "https://res.cloudinary.com/saas-ag/raw/upload/schemata2/saastest2/653a30c0951b2b0665884f89_v1.json" }, "body": { "name": { "en": "Product Custom Attributes" }, "types": [ "PRODUCT" ] } }
{- "id": "e241dc9e-a3f6-4573-bb01-a8ae21d2d4ae"
}
Retrieves all references. You can filter the results with query parameters.
Unsupported language provided.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
[- {
- "id": "64d35aa7fa54121ca47db657",
- "name": {
- "en": "Product Custom Attributes"
}, - "types": [
- "PRODUCT"
], - "metadata": {
- "version": 1,
- "createdAt": "2023-08-09T09:21:42.693Z",
- "modifiedAt": "2023-08-09T09:21:42.693Z",
}
}
]
Retrieves a single reference.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
Given resource cannot be found.
{- "id": "64d35aa7fa54121ca47db657",
- "name": {
- "en": "Product Custom Attributes"
}, - "types": [
- "PRODUCT"
], - "metadata": {
- "version": 1,
- "createdAt": "2023-08-09T09:21:42.693Z",
- "modifiedAt": "2023-08-09T09:21:42.693Z",
}
}
Deletes a single reference. It deletes just a database entry. The cloudinary reference file remains untouched.
Required scopes
schema.schema_manage
No content
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
{- "fault": {
- "faultstring": "Invalid Access Token",
- "detail": {
- "errorcode": "keymanagement.service.invalid_access_token"
}
}
}
Updates a single reference.
Required scopes
schema.schema_manage
No content
Unsupported content language provided.
Given request is unauthorized - the authorization token is invalid or has expired. It usually means that the tenant from the token does not match tenant from path.
Permission denied due to insufficient rights. This may happen when the request does not contain sufficient scopes for the given query values.
Given resource cannot be found.
Conflict.
{ "file": { "externalValue": "https://res.cloudinary.com/saas-ag/raw/upload/schemata2/saastest2/653a30c0951b2b0665884f89_v1.json" }, "body": { "name": { "en": "Product Custom Attributes" }, "types": [ "PRODUCT" ], "metadata": { "version": 1 } } }
{- "code": 400,
- "status": "Bad Request",
- "message": "Language header validation failed.",
- "details": [
- {
- "message": "Following languages are not supported: 'ru'"
}
]
}