Skip to main content

fileUpload Mutation

Upload a file. This mutation must be sent as a multipart request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec

Requires one of the following permissions: AUTHENTICATED_APPAUTHENTICATED_STAFF_USER
fileUpload(
file: Upload!
): FileUpload
Details
type FileUpload {
uploadedFile: File
uploadErrors: [UploadError!]! @deprecated
errors: [UploadError!]!
}

Arguments​

file ● Upload!​

Represents a file in a multipart request.

Type​

FileUpload​

Upload a file. This mutation must be sent as a multipart request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec

Requires one of the following permissions: AUTHENTICATED_APPAUTHENTICATED_STAFF_USER