Skip to main content
View as Markdown

Third-Party Data Import API Reference

API Reference (1.0.0)

Download OpenAPI specification:Download

Search data

Search data with Processing API-like interface.

Authorizations:
OAuth2
Request Body schema: application/json
One of
provider
required
string
Value: "MAXAR"

Specify this value to use data provider Maxar.

required
object (ProcessRequestInputBounds)

Defines the request bounds by specifying the bounding box and/or geometry for the request. If both are given, a request is made for a geometry and bbox is ignored.

required
Array of objects = 1 items

Responses

Request samples

Content type
application/json
{
  • "provider": "MAXAR",
  • "bounds": {
    },
  • "data": [
    ]
}

Response samples

Content type
application/json
{
  • "features": [ ]
}

Native search

Proxy search. All the fields not listed as required are passed verbatim to the data provider's search API, and the result from the latter is returned verbatim.

Authorizations:
OAuth2
Request Body schema: application/json
One of
provider
required
string
Value: "MAXAR"

Specify this value to use data provider Maxar.

property name*
additional property
any

Fields from request body of MAXAR search.

Responses

Request samples

Content type
application/json
{
  • "provider": "MAXAR",
  • "startDate": "2020-11-06T00:00:00.0Z",
  • "endDate": "2020-11-06T23:59:59.0Z",
  • "sensor": "WV03",
  • "aoiInGeoJson": {
    }
}

Response samples

Content type
application/json
{
  • "features": [ ]
}

Product

Get thumbnail of data product

Get a scaled-down, non-geolocated, non-clipped image of the data product

Authorizations:
OAuth2
path Parameters
collectionId
required
string
Value: "MAXAR_WORLDVIEW"

Collection ID

productId
required
string

ID of the product to get thumbnail of, typically returned by a previous search

Responses

Order

Create an order

Create a non-confirmed data order object, equivalent to a quote. After creation you can review the contents of the order and its quota requirements, and then choose to confirm it or not.

Data can be ordered by specifying a query (all items matching the query will be ordered) or item IDs (the specified items will be ordered).

Authorizations:
OAuth2
Request Body schema: application/json
One of
name
string

Order name. It's also used as a name for a new BYOC collection, if no collection is given in collectionId field.

collectionId
string <uuid>

BYOC collection ID. If given at order creation, requested data is imported into referenced collection, which must be compatible with the data being ordered - that is, must either be empty or contain the same bands as the data being ordered.

If not given at order creation, a new BYOC collection is created when the order is confirmed and its ID is returned in the response from the confirm endpoint.

required
object (MaxarSearchQuery)

Specification of the ordered data

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "collectionId": "0ffe69e2-b7af-4b1e-835c-867376165f50",
  • "input": {
    }
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  • "collectionId": "0ffe69e2-b7af-4b1e-835c-867376165f50",
  • "status": "CREATED",
  • "sqkm": 0,
  • "input": { }
}

Query orders

Authorizations:
OAuth2
query Parameters
status
string (OrderStatus)
Enum: "CREATED" "CANCELLED" "RUNNING" "DONE" "PARTIAL" "FAILED"

Filter orders by status. Omit to get all orders.

collectionId
string <uuid>

Filter orders by collectionId. Omit to get all orders.

count
integer <int32>

Upper limit to the number of items to retrieve. It cannot be larger than the endpoint-specific limit. If omitted, the endpoint-specific limit is used. For more records, use viewtoken to page through.

viewtoken
string

When the total number of items is larger than count, the response contains viewtoken. This viewtoken can be used in the next request to retrieve the next page of items.

The next page can be retrieved by repeating the query. However, replace your URL with the next URL in the returned links object.

search
string

Optional search query. Either a single word to search for or multiple words separated by the | (or) and & (and) operators. If omitted, all items are returned.

deleted
boolean
Default: false

If set to true the response will only return those orders that had been deleted by the user.

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "links": {}
}

Get an order

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  • "collectionId": "0ffe69e2-b7af-4b1e-835c-867376165f50",
  • "status": "CREATED",
  • "sqkm": 0,
  • "input": { }
}

Delete an order

CREATED orders will be permanently deleted.

CANCELLED , DONE or FAILED ones will be deleted for normal querying but will still be available.

PARTIAL or RUNNING orders cannot be deleted.

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

Responses

Response samples

Content type
application/json
{
  • "error": {
    }
}

Confirm an order

Confirm the order and start executing it. Requires sufficient quota for the order. Only orders with status CREATED can be confirmed.

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  • "collectionId": "0ffe69e2-b7af-4b1e-835c-867376165f50",
  • "status": "CREATED",
  • "sqkm": 0,
  • "input": { }
}

Order delivery

Get order deliveries

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

query Parameters
status
string (DeliveryStatus)
Enum: "WAITING" "DELIVERED" "DELIVERY_FAILED" "PREPARING" "INGESTING" "DONE" "IMPORT_FAILED" "NON_INGESTIBLE"

Filter deliveries by status. Omit to get all deliveries.

count
integer <int32>

Upper limit to the number of items to retrieve. It cannot be larger than the endpoint-specific limit. If omitted, the endpoint-specific limit is used. For more records, use viewtoken to page through.

viewtoken
string

When the total number of items is larger than count, the response contains viewtoken. This viewtoken can be used in the next request to retrieve the next page of items.

The next page can be retrieved by repeating the query. However, replace your URL with the next URL in the returned links object.

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "links": {}
}

Get an order delivery

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

deliveryId
required
string <uuid>

Delivery ID

Responses

Response samples

Content type
application/json
{
  • "provider": "MAXAR",
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "sqkm": 0,
  • "status": "WAITING",
  • "errorMessage": "string",
  • "selectedImages": [
    ]
}

List files of an order delivery

Lists all files delivered by the data provider.

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

deliveryId
required
string <uuid>

Delivery ID

Responses

Response samples

Content type
application/json
[
  • "VOL_PHR.XML",
  • "INDEX.HTM",
  • "IMG_PHR1A_P_001/IMG_PHR1A_P_202102240924289_ORT_15c5eeb9-53a1-4cdd-cca6-d265fb1bf0c6-001_R1C1.J2W",
  • "..."
]

Retrieve a delivery file

Download a single file delivered by the data provider.

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

deliveryId
required
string <uuid>

Delivery ID

file
required
string

File with full path as returned by the "List delivery files" endpoint.

header Parameters
Range
string <RFC 7223>
Example: bytes=16384-23473

Optional byte range to retrieve part of a file according to RFC 7233. Typically used with large files to resume interrupted downloads.

Responses

Response samples

Content type
application/json
{
  • "error": {
    }
}

Get delivery file size

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

deliveryId
required
string <uuid>

Delivery ID

file
required
string

File with full path as returned by the "List delivery files" endpoint.

Responses

Response samples

Content type
application/json
{
  • "error": {
    }
}

Request creation of delivery archive

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

deliveryId
required
string <uuid>

Delivery ID

query Parameters
format
string (DeliveryArchiveFormat)
Default: "zip"
Value: "zip"

One of supported archive formats. Currently only zip is supported.

Responses

Response samples

Content type
application/json
{
  • "deliveryId": "73dc828d-801d-4d29-b7e4-e046662a5901",
  • "format": "zip",
  • "requested": "2019-08-24T14:15:22Z",
  • "status": "WAITING",
  • "size": 0
}

Retrieve delivery archive

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

deliveryId
required
string <uuid>

Delivery ID

query Parameters
format
string (DeliveryArchiveFormat)
Default: "zip"
Value: "zip"

One of supported archive formats. Currently only zip is supported.

header Parameters
Range
string <RFC 7223>
Example: bytes=16384-23473

Optional byte range to retrieve part of the archive according to RFC 7233. Typically used to resume interrupted downloads.

Responses

Response samples

Content type
application/json
{
  • "error": {
    }
}

Get size of delivery archive

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

deliveryId
required
string <uuid>

Delivery ID

query Parameters
format
string (DeliveryArchiveFormat)
Default: "zip"
Value: "zip"

One of supported archive formats. Currently only zip is supported.

Responses

Response samples

Content type
application/json
{
  • "error": {
    }
}

Get status of delivery archive creation

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

deliveryId
required
string <uuid>

Delivery ID

query Parameters
format
string (DeliveryArchiveFormat)
Default: "zip"
Value: "zip"

One of supported archive formats. Currently only zip is supported.

Responses

Response samples

Content type
application/json
{
  • "deliveryId": "73dc828d-801d-4d29-b7e4-e046662a5901",
  • "format": "zip",
  • "requested": "2019-08-24T14:15:22Z",
  • "status": "WAITING",
  • "size": 0
}

Order delivery tile

Get the tiles of an order delivery

The delivery tiles correspond to BYOC tiles that were created during the ingestion of this delivery. Thus their corresponding IDs will match. While for most deliveries just one tile is created, for the largest ones there can be tens of tiles.

Only tiles from last 3 months can be retrieved.

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

deliveryId
required
string <uuid>

Delivery ID

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Get an order delivery tile.

Only tiles from last 3 months can be retrieved.

Authorizations:
OAuth2
path Parameters
orderId
required
string <uuid>

Order ID

deliveryId
required
string <uuid>

Delivery ID

tileId
required
string <uuid>

Tile ID

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "deliveryId": "73dc828d-801d-4d29-b7e4-e046662a5901",
  • "status": "WAITING"
}

Quota

Get import quotas

Get the list of your import quotas for all providers and collections

Authorizations:
OAuth2

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Get import quota

Get the import quota for the specified collection

Authorizations:
OAuth2
path Parameters
collectionId
required
string
Value: "MAXAR_WORLDVIEW"

Collection ID

Responses

Response samples

Content type
application/json
{
  • "collectionId": "MAXAR_WORLDVIEW",
  • "quotaSqkm": 0,
  • "quotaUsed": 0
}