Skip to main content

Zarr Import API Reference

API Reference (1.0.0)

Download OpenAPI specification:Download

This page contains the documentation on how to use sentinel hub services through API calls.

Note: This documentation is not complete

Collection

Create a Zarr collection

Authorizations:
OAuth2
Request Body schema: application/json
name
required
string
s3Bucket
required
string

The S3 bucket where the Zarr is stored.

path
required
string

The prefix within the bucket where the Zarr is stored. Must end with '/' but not start with it and must contain a Zarr group.

crs
required
string

Native CRS of the Zarr. See also Sentinel Hub CRS support.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "s3Bucket": "string",
  • "path": "string",
  • "crs": "string",
  • "envelope": {
    }
}

Response samples

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

Query Zarr collections

Authorizations:
OAuth2
query Parameters
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 query to search Zarr collections by name. If omitted, all items are returned.

Responses

Response samples

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

Get a Zarr collection

Authorizations:
OAuth2
path Parameters
collectionId
required
string <uuid>

Responses

Response samples

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

Update Zarr collection

Authorizations:
OAuth2
path Parameters
collectionId
required
string <uuid>
Request Body schema: application/json
name
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "string"
}

Response samples

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

Delete Zarr collection

Authorizations:
OAuth2
path Parameters
collectionId
required
string <uuid>

Responses

Response samples

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

Reingest a Zarr collection

Authorizations:
OAuth2
path Parameters
collectionId
required
string <uuid>

Responses

Response samples

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

Arrays

Query Zarr collection's arrays

Authorizations:
OAuth2
path Parameters
collectionId
required
string <uuid>
query Parameters
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 query to search arrays by name. If omitted, all items are returned.

Responses

Response samples

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

Get a single Zarr array

Authorizations:
OAuth2
path Parameters
collectionId
required
string <uuid>
arrayName
required
string

Responses

Response samples

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