Creates a new AOI with specified parameters
curl --request POST \
--url https://api.pixxel.space/v0/aois \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "AOI-Bangalore",
"description": "This AOI contains images related to Bangalore",
"lens_satellite_id": "ce5dcc14-8291-4b0c-a278-8c05ec426d22",
"provider": "planetary",
"project_id": "ce5dcc14-8291-4b0c-a278-8c05ec426d18",
"geometry": {
"coordinates": [
[
[
123
]
]
],
"type": "<string>"
},
"item_ids": [
"TD0123233",
"TD01232344"
]
}'
{
"aoi_id": "e9767554-550e-4464-a677-b8cf096073ab",
"name": "AOI-Bangalore",
"description": "This AOI contains images related to Bangalore",
"lens_satellite_id": "ce5dcc14-8291-4b0c-a278-8c05ec426d22",
"project_id": "ce5dcc14-8291-4b0c-a278-8c05ec426d18",
"images": {},
"eo_bands": [
"B01",
"B02",
"B03"
],
"geometry": {
"coordinates": [
[
[
123
]
]
],
"type": "<string>"
},
"progress": 100,
"status": "success",
"is_favourite": false,
"created_at": "2022-11-14 12:55:49.125928+00:00",
"updated_at": "2022-11-14 12:55:49.125928+00:00",
"user_id": "user-123456",
"area_in_sq_m": 123456.78,
"centroid": [
77.55,
12.95
]
}
AOI Creation Request
The body is of type object
.
Created
The response is of type object
.
curl --request POST \
--url https://api.pixxel.space/v0/aois \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "AOI-Bangalore",
"description": "This AOI contains images related to Bangalore",
"lens_satellite_id": "ce5dcc14-8291-4b0c-a278-8c05ec426d22",
"provider": "planetary",
"project_id": "ce5dcc14-8291-4b0c-a278-8c05ec426d18",
"geometry": {
"coordinates": [
[
[
123
]
]
],
"type": "<string>"
},
"item_ids": [
"TD0123233",
"TD01232344"
]
}'
{
"aoi_id": "e9767554-550e-4464-a677-b8cf096073ab",
"name": "AOI-Bangalore",
"description": "This AOI contains images related to Bangalore",
"lens_satellite_id": "ce5dcc14-8291-4b0c-a278-8c05ec426d22",
"project_id": "ce5dcc14-8291-4b0c-a278-8c05ec426d18",
"images": {},
"eo_bands": [
"B01",
"B02",
"B03"
],
"geometry": {
"coordinates": [
[
[
123
]
]
],
"type": "<string>"
},
"progress": 100,
"status": "success",
"is_favourite": false,
"created_at": "2022-11-14 12:55:49.125928+00:00",
"updated_at": "2022-11-14 12:55:49.125928+00:00",
"user_id": "user-123456",
"area_in_sq_m": 123456.78,
"centroid": [
77.55,
12.95
]
}