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. | |
originUrn | string or null [ 0 .. 255 ] characters Id of the product in the original catalog. |
productId required | string [ 0 .. 255 ] characters Provider id of the OAIS product to generate. |
object or null Map of key/value properties. | |
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 manually define the destination location for files on archival system. 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": "lta-product-100-000001",
- "datatype": "configured-datatype",
- "files": [
- {
- "checksumMd5": "d326ed75d1e9c1109a9dbabf114f6b61",
- "filename": "thumbnail.png",
- "mimeType": "image/png",
- "type": "THUMBNAIL",
- "url": "file:/input/file-lta-100.png"
}
], - "geometry": {
- "coordinates": [
- [
- [
- 51.57951867046327,
- 24.245497137951105
], - [
- 51.757440626844186,
- 24.29407298430547
], - [
- 51.79438927593287,
- 24.019826158132506
], - [
- 52.57708051942561,
- 24.177439276622707
], - [
- 53.404006788960146,
- 24.15131684009917
]
]
], - "type": "Polygon"
}, - "originUrn": "origin-lta-product-id",
- "productId": "lta-product-100",
- "properties": {
- "creation_date": "2023-05-01T00:00:00Z",
- "geolocalized": "invalidValueType",
- "name": "lta-product-100"
}, - "session": "lta-session-name",
- "storePath": "/2024/1/15/lta-product-100",
- "tags": [
- "lta",
- "amqp"
]
}
Response samples
- 201
{- "content": {
- "correlationId": "lta-product-100-000001",
- "expires": "2025-05-01T00:00:00Z",
- "message": "An error occurred while ...",
- "productId": "lta-product-100",
- "responseStatus": "GRANTED",
- "session": "LTA-session"
}, - "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. | |
originUrn | string or null [ 0 .. 255 ] characters Id of the product in the original catalog. |
productId required | string [ 0 .. 255 ] characters Provider id of the OAIS product to generate. |
object or null Map of key/value properties. | |
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 manually define the destination location for files on archival system. 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": "lta-product-100-000001",
- "datatype": "configured-datatype",
- "files": [
- {
- "checksumMd5": "d326ed75d1e9c1109a9dbabf114f6b61",
- "filename": "thumbnail.png",
- "mimeType": "image/png",
- "type": "THUMBNAIL",
- "url": "file:/input/file-lta-100.png"
}
], - "geometry": {
- "coordinates": [
- [
- [
- 51.57951867046327,
- 24.245497137951105
], - [
- 51.757440626844186,
- 24.29407298430547
], - [
- 51.79438927593287,
- 24.019826158132506
], - [
- 52.57708051942561,
- 24.177439276622707
], - [
- 53.404006788960146,
- 24.15131684009917
]
]
], - "type": "Polygon"
}, - "originUrn": "origin-lta-product-id",
- "productId": "lta-product-100",
- "properties": {
- "creation_date": "2023-05-01T00:00:00Z",
- "geolocalized": "invalidValueType",
- "name": "lta-product-100"
}, - "session": "lta-session-name",
- "storePath": "/2024/1/15/lta-product-100",
- "tags": [
- "lta",
- "amqp"
]
}
Response samples
- 201
{- "content": {
- "correlationId": "lta-product-100-000001",
- "expires": "2025-05-01T00:00:00Z",
- "message": "An error occurred while ...",
- "productId": "lta-product-100",
- "responseStatus": "GRANTED",
- "session": "LTA-session"
}, - "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": "lta-product-100-000001",
- "datatype": "configured-datatype",
- "files": [
- {
- "checksumMd5": "d326ed75d1e9c1109a9dbabf114f6b61",
- "filename": "thumbnail.png",
- "mimeType": "image/png",
- "type": "THUMBNAIL",
- "url": "file:/input/file-lta-100.png"
}
], - "geometry": {
- "coordinates": [
- [
- [
- 51.57951867046327,
- 24.245497137951105
], - [
- 51.757440626844186,
- 24.29407298430547
], - [
- 51.79438927593287,
- 24.019826158132506
], - [
- 52.57708051942561,
- 24.177439276622707
], - [
- 53.404006788960146,
- 24.15131684009917
]
]
], - "type": "Polygon"
}, - "originUrn": "origin-lta-product-id",
- "productId": "lta-product-100",
- "properties": {
- "creation_date": "2023-05-01T00:00:00Z",
- "geolocalized": "invalidValueType",
- "name": "lta-product-100"
}, - "session": "lta-session-name",
- "storePath": "/2024/1/15/lta-product-100",
- "tags": [
- "lta",
- "amqp"
]
}, - "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": "lta-product-100-000001",
- "expires": "2025-05-01T00:00:00Z",
- "message": "An error occurred while ...",
- "productId": "lta-product-100",
- "responseStatus": "GRANTED",
- "session": "LTA-session"
}, - "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": { }
}