Skip to navigation

Get file access information

This endpoint returns the information needed to access files within your asset.

The storage account containing the asset must be configured with a valid SAS token.

The response includes

  • storageAccountName: the storage account name,
  • containerName: the name of the container within the storage account,
  • jwt: a token to be passed along with your request,
  • url: the URL to access the container.
  • subpath: the subpath to the location of the asset within the container.

Please see our online documentation for examples of how to use these.

RBAC Capability Required: ams.asset.create or ams.asset.update

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

project_namestringRequired
asset_namestringRequired

Response

Access Information
containerNamestring
The name of the container within the storage account.
jwtstring
A JWT token to authenticate the request.
storageAccountNamestring
The name of the storage account.
urlstring
The URL to use to access the container.
subPathstringOptional0-256 characters
Optional subpath for instances where your asset is not in the root of the container.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error