API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

GenericFile object

Version unstable

A generic file.

Required access

read_files access scope. Also: Requires files permission.

Fields

  • alt (String)

    A word or phrase to describe the contents or the function of a file.

  • createdAt (DateTime!)

    The date and time (ISO 8601 format) when the product was created.

  • fileErrors ([FileError!]!)

    Any errors that have occurred on the file.

  • fileStatus (FileStatus!)

    The status of the file.

  • id (ID!)

    Globally unique identifier.

  • preview (MediaPreviewImage)

    The preview image for the media.

  • url (URL)

    The URL of the file.

Implements

Version 2021-07 (Release candidate)

A generic file.

Required access

read_files access scope. Also: Requires files permission.

Fields

  • alt (String)

    A word or phrase to describe the contents or the function of a file.

  • createdAt (DateTime!)

    The date and time (ISO 8601 format) when the product was created.

  • fileErrors ([FileError!]!)

    Any errors that have occurred on the file.

  • fileStatus (FileStatus!)

    The status of the file.

  • id (ID!)

    Globally unique identifier.

  • preview (MediaPreviewImage)

    The preview image for the media.

  • url (URL)

    The URL of the file.

Implements