Upload
The Upload type represents file which can be used in mutation. It is value is a name of file send in multipart form.
Here is an example of curl request using Upload type:
curl https://api.app.qualio.com/pa/ \
-H "Authorization: Bearer $1" \
-F operations='{ "query": "mutation ($file: Upload!) { uploadAttachment(file:
$file) { errors{ __typename ... on MutationError {message} ... on
MutationInputError {field messages}}, attachment{id} } }", "variables": {
"file": null } }' \
-F map='{ "0": ["variables.file"] }' \
-F 0=@$2