Downloading a file
To download a file, you must first ask the File API for a pre-signed download URL. See below for examples of doing this.
Once you have retrieved the download URL, you may fetch the URL and write to a file, open a new
browser window with that URL, embed the URL in a button in a web page, etc.
Pre-signed download URLs will be valid for 30 minutes, and do not require the regular Authorization header like other
Seequent Evo API calls do.
Download file by path/UUID
By path
GET https://<service_host>/file/v2/orgs/<org_id>/workspaces/<workspace_id>/files/path/<file_path>?version=<version_id>
By UUID
GET https://<service_host>/file/v2/orgs/<org_id>/workspaces/<workspace_id>/files/<file_id>?version=<version_id>
You can retrieve a file's data by its path or UUID. This will include a pre-signed URL to download the file from blob storage.
Parameters:
version: a version ID, in order to retrieve a specific version of a file. If not provided, the latest version will be used.include_versions: the response will include a complete list of available file versions.
A successful response will include the file's metadata, as well as a pre-signed download URL: