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

stagedUploadTargetsGenerate mutation

Version unstable

Deprecation warning

Use stagedUploadsCreate instead

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

The input fields for generating staged uploads.

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 2021-01 (Release candidate)

Deprecation warning

Use stagedUploadsCreate instead

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

The input fields for generating staged uploads.

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 2020-10 (Latest)

Deprecation warning

Use stagedUploadsCreate instead

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

The input fields for generating staged uploads.

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 2020-07

Deprecation warning

Use stagedUploadsCreate instead

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

The input fields for generating staged uploads.

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 2020-04

Deprecation warning

Use stagedUploadsCreate instead

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

The input fields for generating staged uploads.

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 2020-01

Deprecation warning

Use stagedUploadsCreate instead

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

The input fields for generating staged uploads.

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

Deprecation warning

Use stagedUploadsCreate instead

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

The input fields for generating staged uploads.

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

Deprecation warning

Use stagedUploadsCreate instead

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

The input fields for generating staged uploads.

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

Deprecation warning

Use stagedUploadsCreate instead

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

The input fields for generating staged uploads.

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.