stagedUploadTargetsGenerate mutation

Version 2020-01 (Release candidate)

Uploads multiple images.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

input ( [StageImageInput!]! ) required

StageImageInput fields

filename (String!) Required

Image filename.

httpMethod (StagedUploadHttpMethodType)

HTTP method to be used by the Staged Upload.

mimeType (String!) Required

Image MIME type.

resource (StagedUploadTargetGenerateUploadResource!) Required

Image resource.

Return fields

urls ([StagedUploadTarget!])

The staged upload targets that were generated.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Latest)

Uploads multiple images.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

input ( [StageImageInput!]! ) required

StageImageInput fields

filename (String!) Required

Image filename.

httpMethod (StagedUploadHttpMethodType)

HTTP method to be used by the Staged Upload.

mimeType (String!) Required

Image MIME type.

resource (StagedUploadTargetGenerateUploadResource!) Required

Image resource.

Return fields

urls ([StagedUploadTarget!])

The staged upload targets that were generated.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07

Uploads multiple images.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

input ( [StageImageInput!]! ) required

StageImageInput fields

filename (String!) Required

Image filename.

httpMethod (StagedUploadHttpMethodType)

HTTP method to be used by the Staged Upload.

mimeType (String!) Required

Image MIME type.

resource (StagedUploadTargetGenerateUploadResource!) Required

Image resource.

Return fields

urls ([StagedUploadTarget!])

The staged upload targets that were generated.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-04

Uploads multiple images.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

input ( [StageImageInput!]! ) required

StageImageInput fields

filename (String!) Required

Image filename.

httpMethod (StagedUploadHttpMethodType)

HTTP method to be used by the Staged Upload.

mimeType (String!) Required

Image MIME type.

resource (StagedUploadTargetGenerateUploadResource!) Required

Image resource.

Return fields

urls ([StagedUploadTarget!])

The staged upload targets that were generated.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up