How to use get file access information

How to use get file access information

I would like to access a file from an asset so I can download a number of asset files. I thought the "Get file access information" API endpoint would be perfect for this. Although I'm unclear how to use it. It says in the docs:

"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."

But I can't find any resources that have examples and I'm unclear how to access the file once I have the url and jwt.

What I've done is try a GET request, using the url and appending a filename from the asset, and an Authorization header in the format  of "Bearer <jwt>" which doesn't yield an auth error but just a "404 page not found" response.

Can anyone point me to some docs with examples or knows how to use this endpoint successfully?

    • Topic Participants

    • Adam


    Features & Ideas

    Have an idea for a feature? Request a feature or an idea!