Skip to content

Asset Get Handler

Allows to retrieve a list of pre-signed url to access multiple assets.

typescript
type handlers = {
  GetAsset: { 
    handle(context: Context): Promise<Response> 
  }
}

Endpoint

Method: POST Path: /your-endpoint/api/asset/get/sign

Payload:

typescript
type Payload = {
  /**
   * A list of assets paths to sign
   */
  paths: string[]
}