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

FileCreateInput input object

Version unstable

The input fields that are required to create a file object.

Input fields

  • alt (String)

    The alt text associated with the file.

  • contentType (FileContentType)

    The file content type.

  • originalSource (String!) Required

    An external URL or a signed upload URL of the file object.

Version 2021-07 (Release candidate)

The input fields that are required to create a file object.

Input fields

  • alt (String)

    The alt text associated with the file.

  • contentType (FileContentType)

    The file content type.

  • originalSource (String!) Required

    An external URL or a signed upload URL of the file object.