The /status
returns additional links:
rel: results
with the link to the/results
of the OCG API Processesrel: collection
with the link to a STAC collection with an asset with the processing result catalog and all the information to consume it via thestorage
STAC extension
{
"jobID": "2e2e794c-c85d-11ed-8512-4230b2a19c26",
"started": "2023-03-22T02:56:45.066492Z",
"finished": "2023-03-22T03:10:21.343129Z",
"status": "successful",
"message": "Done",
"progress": "100",
"links": [
{
"href": "http://ades.disasterscharter.org/charter/watchjob/processes/opt-calibration-0_10_3/jobs/2e2e794c-c85d-11ed-8512-4230b2a19c26",
"rel": "self",
"type": "application/json",
"title": "get Status"
},
{
"href": "http://ades.disasterscharter.org/charter/watchjob/processes/opt-calibration-0_10_3/jobs/2e2e794c-c85d-11ed-8512-4230b2a19c26/results",
"rel": "results",
"type": "application/json",
"title": "get Result"
},
{
"href": "http://ades.disasterscharter.org/charter/watchjob/processes/opt-calibration-0_10_3/jobs/2e2e794c-c85d-11ed-8512-4230b2a19c26/collection",
"rel": "collection",
"type": "application/json",
"title": "get Result Collection"
}
]
}
The /results
then contains the STAC Catalog:
{
"wf_outputs": {
"id": "examples",
"type": "Catalog",
"title": "Example Catalog",
"stac_version": "1.0.0",
"description": "This catalog is a simple demonstration of an example catalog that is used to organize a hierarchy of collections and their items.",
"links": [
{
"rel": "root",
"href": "./catalog.json",
"type": "application/json"
},
{
"rel": "child",
"href": "./extensions-collection/collection.json",
"type": "application/json",
"title": "Collection Demonstrating STAC Extensions"
},
{
"rel": "child",
"href": "./collection-only/collection.json",
"type": "application/json",
"title": "Collection with no items (standalone)"
},
{
"rel": "child",
"href": "./collection-only/collection-with-schemas.json",
"type": "application/json",
"title": "Collection with no items (standalone with JSON Schemas)"
},
{
"rel": "item",
"href": "./collectionless-item.json",
"type": "application/json",
"title": "Collection with no items (standalone)"
},
{
"rel": "self",
"href": "https://raw.githubusercontent.com/radiantearth/stac-spec/v1.0.0/examples/catalog.json",
"type": "application/json"
}
]
}
}
The ADES gets a new /collection
route to return the STAC Collection that returns:
{
"id": "548c86e3-3f4e-4a9f-9d2e-056e10825a13",
"stac_version": "1.0.0",
"stac_extensions": [
"https://stac-extensions.github.io/storage/v1.0.0/schema.json"
],
"links": [
{
"type": "application/json",
"rel": "self",
"title": "Collection for processing execution 548c86e3-3f4e-4a9f-9d2e-056e10825a13",
"href": "https://ades-01.terradue.com/ogc-api/processes/v1/548c86e3-3f4e-4a9f-9d2e-056e10825a13"
}
],
"type": "Collection",
"extent": {
"spatial": {
"bbox": [
[
105.59583,
-6.7233333,
107.97361,
-5.2877778
]
]
},
"temporal": {
"interval": [
[
"2017-03-18T11:14:54Z",
"2018-12-26T11:15:08Z"
]
]
}
},
"keywords": [],
"assets": {
"results": {
"type": "application/application/geo+json",
"roles": [],
"title": "Results STAC Catalog for processing execution 548c86e3-3f4e-4a9f-9d2e-056e10825a13",
"href": "s3://a-bucket/548c86e3-3f4e-4a9f-9d2e-056e10825a13/catalog.json",
"storage:platform": "Terradue",
"storage:region": "fr-par",
"storage:requester_pays": false,
"storage:tier": "Standard",
"storage:endpoint": "https://s3.fr-par.scw.cloud"
}
},
"license": "proprietary",
"description": "Results for processing execution 548c86e3-3f4e-4a9f-9d2e-056e10825a13",
"title": "Results for processing execution 548c86e3-3f4e-4a9f-9d2e-056e10825a13"
}
Pour l'end-point suivant
/jobs/<JobId>/collection
, on obtiendrait