Download products on the Cloud Archive
Some of the products available on the ONDA Catalogue are stored on our ONDA Cloud Archive. Those products are visible on the ONDA Catalogue and are accessible by all users through the ONDA Catalogue and the OData API, but with a different latency.
To download a product stored on the Cloud Archive, a user must first order the product by using an Order action.
The url looks like the following:
Note: It is mandatory to use HTTP POST to use this action.
When the action is triggered:
- If the product is online (offline=false), nothing happens. An Order status is returned indicating that the product is already online.
- If the product is archived (offline=true), the product is requested from the Cloud Archive. An indication of when the product restore will be completed is returned to the user.
Data recovery times vary from a few minutes to some hours.
Once the product is restored, its status will be offline=false and it will be available again to all users for direct download, through the usual download request. The product will then remain available for fast access for a predefined time period after the user request.
|ONDA OData Order request example:|
curl -u : -H “Content-Type:application/json” -X POST “https://catalogue.onda-dias.eu/dias-catalogue/Products(f25042ce-92c2-4641-86af5c68cb1cb380)/Ens.Order”
“Estimated Time” – please note that the estimated time is shown in UTC.
“Status” – possible results are as follows:
- IN_PROGRESS(0, “IN_PROGRESS”, “The order is in progress”),
- FAILED(1, “FAILED”, “The order failed due to an error”),
- COMPLETED(2, “COMPLETED”, “The order completed. The product is available”),
- COMPLETED_ALREADY_ONLINE(3, “COMPLETED_ALREADY_ONLINE”, “The product is already available”),
- UNKNOWN(4, “UNKNWON”, “Unknwon status”);