CreateMediaInput input object

Version unstable

Specifies the input fields required to create a media object.

Input fields

  • alt (String)

    The alt text associated to the media.

  • mediaContentType (MediaContentType!) Required

    The media content type.

  • originalSource (String!) Required

    The original source of the media object. May be an external URL or signed upload URL.

Version 2021-10 (Release candidate)

Specifies the input fields required to create a media object.

Input fields

  • alt (String)

    The alt text associated to the media.

  • mediaContentType (MediaContentType!) Required

    The media content type.

  • originalSource (String!) Required

    The original source of the media object. May be an external URL or signed upload URL.

Version 2021-07 (Latest)

Specifies the input fields required to create a media object.

Input fields

  • alt (String)

    The alt text associated to the media.

  • mediaContentType (MediaContentType!) Required

    The media content type.

  • originalSource (String!) Required

    The original source of the media object. May be an external URL or signed upload URL.

Version 2021-04

Specifies the input fields required to create a media object.

Input fields

  • alt (String)

    The alt text associated to the media.

  • mediaContentType (MediaContentType!) Required

    The media content type.

  • originalSource (String!) Required

    The original source of the media object. May be an external URL or signed upload URL.

Version 2021-01

Specifies the input fields required to create a media object.

Input fields

  • alt (String)

    The alt text associated to the media.

  • mediaContentType (MediaContentType!) Required

    The media content type.

  • originalSource (String!) Required

    The original source of the media object. May be an external URL or signed upload URL.