Files

Get a file

A file's details. Its content is downloaded through the file proxy.

get/v1/workspaces/{workspace_id}/files/{file_id}

Request

  • Base URL
    https://api.stacksync.com
  • URL
    https://api.stacksync.com/v1/workspaces/{workspace_id}/files/{file_id}
  • Auth
    HTTP bearer

Path parameters

workspace_idinteger required

The workspace. List the ones your key can reach with GET /v1/workspaces.

file_idstring uuid required

The file.

Query parameters

region'besg' | 'usnv' required

Region of the file: besg (Europe) or usnv (United States)

Response

OK

file_idstring required
namestring required
mime_typestring nullable required
size_bytesinteger nullable required
tagsstring[] required
sourcestring nullable required
source_refstring nullable required

Id of the resource the file belongs to, null when it belongs to none

created_atstring nullable required
regionstring required

Changes

No recorded changes to this operation across all 1 revision of this API.