Overview
This endpoint allows user to get status of download request made of assets in an AOI. A successful request returns a list of download id and signed url to download the assets. Authentication via API key is mandatory, and errors like 404 or 500 return standard error messages with relevant codes and details.
-
Method:
GET -
URL:
/v0/aois/{aoi_id}/downloads/{download_id} - Operation: Get status of download request of assets in an AOI
- Authentication Required: Yes
Authorization
You need the api key which you can get from the API tab in Workspace Settings. The api key is required in almost all the commands
Path Parameters
The aoi_id and download_id identifies the exact AOI whose download request status is to be returned.
| Field | Type | Required | Description |
|---|---|---|---|
aoi_id | string | Yes | Unique identifier of the AOI |
download_id | string | Yes | Unique identifier of the requested download |
Response
Successful Response – 200 OK
A 200 OK response from the Get status of a download request endpoint indicates that the request was successful. It returns a download id, signed url and status.Refer to the table below for the detailed breakdown of each field in the API response:AOI Object Fields| Field | Type | Description |
|---|---|---|
download_id | string | Unique identifier for the Download request. |
signed_url | string | URL to download the requested asset |
status | string | Current status of the download request (e.g., "success"). |
200
- If you recieve a Not Found error (404) or the Internal Server Error (500), you will get the following response:
404 500
How to use endpoint
-
Construct your Request:
Add your API key to theAuthorizationheader and add the path parameter. -
Send the Request:
Include the json body with correct path parameter and send the request to: https://api.pixxel.space/v0/aois/{aoi_id}/downloads/{download_id}. -
Examine the Response:
A successful response (200 OK) returns astatuswhich describess the downlaod status. In case of failure (404, 500), structured error messages withcode,message, anddetailswill be returned.