StagedUploadInput input object

Version 2020-07 (Release candidate)

Media to be uploaded.

Input fields

fileSize (UnsignedInt64)

Size of the file to upload, in bytes. This is required for VIDEO and MODEL_3D resources.

filename (String!) Required

Media filename.

httpMethod (StagedUploadHttpMethodType)

HTTP method to be used by the Staged Upload.

mimeType (String!) Required

Media MIME type.

resource (StagedUploadTargetGenerateUploadResource!) Required

Media resource.

Version 2020-04 (Latest)

Media to be uploaded.

Input fields

fileSize (UnsignedInt64)

Size of the file to upload, in bytes. This is required for VIDEO and MODEL_3D resources.

filename (String!) Required

Media filename.

httpMethod (StagedUploadHttpMethodType)

HTTP method to be used by the Staged Upload.

mimeType (String!) Required

Media MIME type.

resource (StagedUploadTargetGenerateUploadResource!) Required

Media resource.

Version 2020-01

Media to be uploaded.

Input fields

fileSize (UnsignedInt64)

Size of the file to upload, in bytes. This is required for VIDEO and MODEL_3D resources.

filename (String!) Required

Media filename.

httpMethod (StagedUploadHttpMethodType)

HTTP method to be used by the Staged Upload.

mimeType (String!) Required

Media MIME type.

resource (StagedUploadTargetGenerateUploadResource!) Required

Media resource.