CreateMediaInput input object

Version 2020-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 2020-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 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.