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

StagedUploadInput input object

Version unstable

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

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

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.

Version 2019-10 (Unsupported)

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

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

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.