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

CreateMediaInput input object

Version 2021-01 (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 2020-10 (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 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

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.