uploadThirdPartyFile
Upload a file with third party issues for future processing. Returns a requestId that can be used to track the upload status.
Examples
mutation UploadThirdPartyFile($tool: String!, $file: Upload!) {
uploadThirdPartyFile(tool: $tool, file: $file) {
requestId
success
}
}Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"tool": "example",
"file": "example"
}curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
"query": "mutation UploadThirdPartyFile($tool: String!, $file: Upload!) { uploadThirdPartyFile(tool: $tool, file: $file) { requestId success } }",
"variables": {
"tool": "example",
"file": "example"
}
}'Arguments
You can use the following argument(s) to customize your uploadThirdPartyFile mutation.
tool String! required
Tool name used to generate file
file Upload! required
Fields
Return type: UploadFileResponse!
You can use the following field(s) to specify what information your uploadThirdPartyFile mutation will return. Please note that some fields may have their own subfields.
requestId String!
Unique identifier for tracking the upload request
success Boolean!
Indicates whether the file upload was successful
Last updated
