Register a submission request.
Create and save a submission request from a submission request dto.
Authorizations:
Request Body schema: application/jsonrequired
Submission request dto to be processed.
correlationId required | string [ 0 .. 255 ] characters Identifier to track this request during the entire workflow. It must be unique. |
datatype required | string [ 0 .. 255 ] characters Product datatype. Must be present in the lta-manager configuration. |
required | Array of objects (ProductFileDto) >= 1 [ items >= 1 ] Files linked to the product. At least one is required. |
object or null (IGeometry) Product geometry in GeoJSON RFC 7946 Format. | |
originRequestAppId | string Origin request app_id in amqp message (header property of amqp message) |
originRequestPriority | integer <int32> Origin request priority in amqp message (header property of amqp message |
originUrn | string or null [ 0 .. 255 ] characters Id of the product in the original catalog. |
owner | string Owner of submission request |
productId required | string [ 0 .. 255 ] characters Provider id of the OAIS product to generate. |
object or null Map of key/value properties. | |
replaceMode | boolean Default: false If true, overrides the product if it already exists. |
session | string or null [ 0 .. 128 ] characters Session to monitor the generation of the product. If not provided, a default session will be used. |
storePath | string or null [ 0 .. 255 ] characters ^[\w\/\-_:]*$ Path to store the product. If null, the storePath will be built from the lta-manager configuration. |
tags | Array of strings or null or null List of string tags. |
Responses
Request samples
- Payload
{- "correlationId": "string",
- "datatype": "string",
- "files": [
- {
- "checksumMd5": "string",
- "filename": "string",
- "mimeType": "string",
- "type": "ZIP",
- "url": "string"
}
], - "geometry": {
- "crs": "string",
- "type": "string"
}, - "originRequestAppId": "string",
- "originRequestPriority": 0,
- "originUrn": "string",
- "owner": "string",
- "productId": "string",
- "properties": {
- "property1": { },
- "property2": { }
}, - "replaceMode": false,
- "session": "string",
- "storePath": "string",
- "tags": [
- "string"
]
}
Response samples
- 201
{- "content": {
- "correlationId": "string",
- "expires": "2019-08-24T14:15:22Z",
- "message": "string",
- "productId": "string",
- "requestAppId": "string",
- "requestPriority": 0,
- "responseStatus": "GRANTED",
- "session": "string"
}, - "links": [
- {
- "deprecation": "string",
- "href": "string",
- "hreflang": "string",
- "media": "string",
- "name": "string",
- "profile": "string",
- "rel": "string",
- "title": "string",
- "type": "string"
}
]
}
Register a submission request with replacement if exists.
Create and save a submission request from a submission request dto. If the product already exists, it will be overridden
Authorizations:
Request Body schema: application/jsonrequired
Submission request dto to be processed.
correlationId required | string [ 0 .. 255 ] characters Identifier to track this request during the entire workflow. It must be unique. |
datatype required | string [ 0 .. 255 ] characters Product datatype. Must be present in the lta-manager configuration. |
required | Array of objects (ProductFileDto) >= 1 [ items >= 1 ] Files linked to the product. At least one is required. |
object or null (IGeometry) Product geometry in GeoJSON RFC 7946 Format. | |
originRequestAppId | string Origin request app_id in amqp message (header property of amqp message) |
originRequestPriority | integer <int32> Origin request priority in amqp message (header property of amqp message |
originUrn | string or null [ 0 .. 255 ] characters Id of the product in the original catalog. |
owner | string Owner of submission request |
productId required | string [ 0 .. 255 ] characters Provider id of the OAIS product to generate. |
object or null Map of key/value properties. | |
replaceMode | boolean Default: false If true, overrides the product if it already exists. |
session | string or null [ 0 .. 128 ] characters Session to monitor the generation of the product. If not provided, a default session will be used. |
storePath | string or null [ 0 .. 255 ] characters ^[\w\/\-_:]*$ Path to store the product. If null, the storePath will be built from the lta-manager configuration. |
tags | Array of strings or null or null List of string tags. |
Responses
Request samples
- Payload
{- "correlationId": "string",
- "datatype": "string",
- "files": [
- {
- "checksumMd5": "string",
- "filename": "string",
- "mimeType": "string",
- "type": "ZIP",
- "url": "string"
}
], - "geometry": {
- "crs": "string",
- "type": "string"
}, - "originRequestAppId": "string",
- "originRequestPriority": 0,
- "originUrn": "string",
- "owner": "string",
- "productId": "string",
- "properties": {
- "property1": { },
- "property2": { }
}, - "replaceMode": false,
- "session": "string",
- "storePath": "string",
- "tags": [
- "string"
]
}
Response samples
- 201
{- "content": {
- "correlationId": "string",
- "expires": "2019-08-24T14:15:22Z",
- "message": "string",
- "productId": "string",
- "requestAppId": "string",
- "requestPriority": 0,
- "responseStatus": "GRANTED",
- "session": "string"
}, - "links": [
- {
- "deprecation": "string",
- "href": "string",
- "hreflang": "string",
- "media": "string",
- "name": "string",
- "profile": "string",
- "rel": "string",
- "title": "string",
- "type": "string"
}
]
}
Search for submission requests with criteria
Authorizations:
query Parameters
required | object (Pageable) Sorting and page configuration |
Request Body schema: application/jsonrequired
Set of search criterion.
object or null (DatesRangeRestriction) Submission request last update date. | |
datatype | string or null Product datatype. |
object or null (ValuesRestrictionLong) Restricted ids (INCLUDED or EXCLUDED). | |
owner | string or null Request sender. |
session | string or null Submission request session |
object or null (DatesRangeRestriction) Submission request last update date. | |
object or null (ValuesRestrictionSubmissionRequestState) Included submission request states (only INCLUDED MODE is accepted). |
Responses
Request samples
- Payload
{- "creationDate": {
- "after": "2019-08-24T14:15:22Z",
- "before": "2019-08-24T14:15:22Z"
}, - "datatype": "string",
- "idsRestriction": {
- "ignoreCase": true,
- "matchMode": "STRICT",
- "mode": "INCLUDE",
- "values": [
- 0
]
}, - "owner": "string",
- "session": "string",
- "statusDate": {
- "after": "2019-08-24T14:15:22Z",
- "before": "2019-08-24T14:15:22Z"
}, - "statusesRestriction": {
- "ignoreCase": true,
- "matchMode": "STRICT",
- "mode": "INCLUDE",
- "values": [
- "VALIDATED"
]
}
}
Response samples
- 200
{- "content": [
- {
- "content": {
- "correlationId": "string",
- "creationDate": "2019-08-24T14:15:22Z",
- "id": 0,
- "message": "string",
- "model": "string",
- "owner": "string",
- "product": {
- "correlationId": "string",
- "datatype": "string",
- "files": [
- {
- "checksumMd5": "string",
- "filename": "string",
- "mimeType": "string",
- "type": "ZIP",
- "url": "string"
}
], - "geometry": {
- "type": "string"
}, - "originRequestAppId": "string",
- "originRequestPriority": 0,
- "originUrn": "string",
- "owner": "string",
- "productId": "string",
- "properties": {
- "property1": { },
- "property2": { }
}, - "replaceMode": false,
- "session": "string",
- "storePath": "string",
- "tags": [
- "string"
]
}, - "session": "string",
- "status": "VALIDATED",
- "statusDate": "2019-08-24T14:15:22Z",
- "storePath": "string"
}, - "links": [
- {
- "deprecation": "string",
- "href": "string",
- "hreflang": "string",
- "media": "string",
- "name": "string",
- "profile": "string",
- "rel": "string",
- "title": "string",
- "type": "string"
}
]
}
], - "links": [
- {
- "deprecation": "string",
- "href": "string",
- "hreflang": "string",
- "media": "string",
- "name": "string",
- "profile": "string",
- "rel": "string",
- "title": "string",
- "type": "string"
}
], - "page": {
- "number": 0,
- "size": 0,
- "totalElements": 0,
- "totalPages": 0
}
}
Retrieve submission request status.
Authorizations:
path Parameters
correlationId required | string Identifier of the submission request. |
Responses
Response samples
- 200
{- "content": {
- "correlationId": "string",
- "expires": "2019-08-24T14:15:22Z",
- "message": "string",
- "productId": "string",
- "requestAppId": "string",
- "requestPriority": 0,
- "responseStatus": "GRANTED",
- "session": "string"
}, - "links": [
- {
- "deprecation": "string",
- "href": "string",
- "hreflang": "string",
- "media": "string",
- "name": "string",
- "profile": "string",
- "rel": "string",
- "title": "string",
- "type": "string"
}
]
}
Asynchronously delete a selection of submission request.
Find and delete submission requests from criterias defined in request body.
Authorizations:
Request Body schema: application/jsonrequired
Set of search criterion.
object or null (DatesRangeRestriction) Submission request last update date. | |
datatype | string or null Product datatype. |
object or null (ValuesRestrictionLong) Restricted ids (INCLUDED or EXCLUDED). | |
owner | string or null Request sender. |
session | string or null Submission request session |
object or null (DatesRangeRestriction) Submission request last update date. | |
object or null (ValuesRestrictionSubmissionRequestState) Included submission request states (only INCLUDED MODE is accepted). |
Responses
Request samples
- Payload
{- "creationDate": {
- "after": "2019-08-24T14:15:22Z",
- "before": "2019-08-24T14:15:22Z"
}, - "datatype": "string",
- "idsRestriction": {
- "ignoreCase": true,
- "matchMode": "STRICT",
- "mode": "INCLUDE",
- "values": [
- 0
]
}, - "owner": "string",
- "session": "string",
- "statusDate": {
- "after": "2019-08-24T14:15:22Z",
- "before": "2019-08-24T14:15:22Z"
}, - "statusesRestriction": {
- "ignoreCase": true,
- "matchMode": "STRICT",
- "mode": "INCLUDE",
- "values": [
- "VALIDATED"
]
}
}
Calculate itemized state of a session
Authorizations:
path Parameters
session required | string |
query Parameters
required | object (Pageable) |
Responses
Response samples
- 200
- 404
{- "content": [
- { }
], - "globalStatus": "RUNNING",
- "links": [
- {
- "deprecation": "string",
- "href": "string",
- "hreflang": "string",
- "media": "string",
- "name": "string",
- "profile": "string",
- "rel": "string",
- "title": "string",
- "type": "string"
}
], - "page": {
- "number": 0,
- "size": 0,
- "totalElements": 0,
- "totalPages": 0
}
}
Response samples
- 200
[- {
- "autorizedRoles": [
- {
- "authority": "string",
- "authorizedIpAdresses": [
- "string"
], - "roleName": "string"
}
], - "controllerSimpleName": "string",
- "fullPath": "string",
- "method": "GET",
- "resourceAccess": { },
- "resourceMappingId": "string"
}
]
update
Authorizations:
path Parameters
name required | string |
Request Body schema: application/jsonrequired
defaultValue | object |
description | string |
name | string |
value | object |
Responses
Request samples
- Payload
{- "defaultValue": { },
- "description": "string",
- "name": "string",
- "value": { }
}