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

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-07 (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-04 (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-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.

Version 2020-10

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 2020-07

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 2020-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 2020-01 (Unsupported)

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 2019-10 (Unsupported)

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 2019-07 (Unsupported)

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 2019-04 (Unsupported)

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.