storage

Get a safe file download URL

Changed on

Authenticate to obtain downloadUrl, then GET that URL without X-API-Key, Authorization, or other platform credentials. The response is not cacheable. The URL expires at expiresAt (or earlier if its storage credentials expire).

get/storage/{storage_id}/file-download-url/{path}

Request

  • Base URL
    https://api.cloud.wherobots.com
  • URL
    https://api.cloud.wherobots.com/storage/{storage_id}/file-download-url/{path}
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

storage_idstring required
pathstring required

Response

Successful Response

downloadUrlstring required
expiresAtstring date-time required

Changes

    • warning

      added the new SCRIPT_OWNER_MISMATCH enum value to the // response property for the response status

    • warning

      added the new SCRIPT_OWNER_MISMATCH enum value to the // response property for the response status

    • warning

      added the new SCRIPT_OWNER_MISMATCH enum value to the // response property for the response status

    • warning

      added the new SCRIPT_OWNER_MISMATCH enum value to the // response property for the response status

    • warning

      added the new SCRIPT_OWNER_MISMATCH enum value to the // response property for the response status

    • warning

      added the new SCRIPT_OWNER_MISMATCH enum value to the // response property for the response status

    • warning

      added the new SCRIPT_OWNER_MISMATCH enum value to the // response property for the response status

    • info

      endpoint added