STAC Import

Stac Asset Sizes

Changed on

Look up the size of data assets whose item publishes no file:size.

Asks each asset's server for its length (HEAD, then a one-byte range request). A size the server does not report comes back as null.

post/services/stac/asset-sizes

Request

  • The document declares no server URL.
  • Auth: one of:
    • OAuth 2 (password, token URL /api/auth/login)
    • API key in header X-Api-Key
    • API key in query parameter api_key

Request body

urlstring required

STAC API root URL the assets were found in.

Response

Successful Response

Changes