Skip to main content

Download File by Id

GET 

/api/workspaces/:workspace_id/files/:id/download/

Download a file by its id.

Request

Path Parameters

    workspace_id stringrequired
    id integerrequired

    A unique integer value identifying this field file.

Query Parameters

    editor_session uuid

    UUID of the editor session. This field is only required when used from public endpoints.

    redirect boolean

    Default value: true

    Should the response be a redirect response to the file resource? This field is true on default.

Responses

Schema

    temp_download_url string

    Possible values: non-empty

    Temporary download url (if 'redirect=false').

Loading...