Skip to main content

Retrieve a File

GET 

/files/:file_id

Retrieve a file uploaded by the authenticated client or user

Request

Path Parameters

    file_id cuidrequired

    GET /files/:file_id parameter

Responses

GET /files/:file_id Successful response

Schema
    version stringrequired

    Possible values: [1.0]

    The version of the response schema

    result_type stringrequired

    Possible values: [single]

    A single object of the file resource.

    resource_type stringrequired

    Possible values: [file]

    Data contains the file resource.

    data objectrequired

    The resource data.

    id cuidrequired

    The unique identifier of the file

    resource_type stringrequired

    Possible values: [file]

    filename stringrequired

    Possible values: non-empty

    The complete filename including the file extension

    mime_type stringrequired

    Possible values: non-empty

    The mime type of the file

    url url

    The signed read url of the file

    metadata object
    lookup_key stringrequired

    A provided lookup key provided by you to help you identify the file.

    created_at stringrequired

    UTC datetime ISO string

    updated_at stringrequired

    UTC datetime ISO string

Loading...