Download UP42 assets

Download UP42 assets from fulfilled orders.


Overview

After an order is fulfilled, you can access your storage to download the delivered assets using the API.

You can also download orders through the console.

Download an asset

To download an asset from storage, call the /v2/assets/{asset-id}/ endpoint with the asset ID as a path parameter.

Request

GET /v2/assets/{asset-id} HTTP/1.1
Host: api.up42.com
Authorization: Bearer {token}

Response

If the response is successful, the response is the requested asset.

Create a download URL

To generate a pre-signed URL that can be used to download an asset without authentication, call the /v2/assets/{asset-id}/download-url endpoint with the asset ID as a path parameter.

The generated URL is valid for 30 seconds.

Request

POST /v2/assets/{asset-id}/download-url HTTP/1.1
Host: api.up42.com
Content-Type: application/json
Authorization: Bearer {token}

Response


See response example
{
  "url": "http://example.com"
}

ParameterOverview
urlstring
A temporary pre-signed URL that can be used to download an asset without authentication.