uploadThirdPartyFileBase64
Upload a file with third party issues for future processing. Returns a requestId that can be used to track the upload status.
Examples
mutation UploadThirdPartyFileBase64($data: String!, $tool: String!, $fileType: ThirdPartyUploadDataType) {
uploadThirdPartyFileBase64(data: $data, tool: $tool, fileType: $fileType) {
requestId
success
}
}Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"data": "example",
"tool": "example",
"fileType": "JSON"
}curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
"query": "mutation UploadThirdPartyFileBase64($data: String!, $tool: String!, $fileType: ThirdPartyUploadDataType) { uploadThirdPartyFileBase64(data: $data, tool: $tool, fileType: $fileType) { requestId success } }",
"variables": {
"data": "example",
"tool": "example",
"fileType": "JSON"
}
}'Arguments
You can use the following argument(s) to customize your uploadThirdPartyFileBase64 mutation.
data String! required
File content to upload, must be encoded as base64
tool String! required
Tool Name
fileType ThirdPartyUploadDataType
Type of file being uploaded. If not specified, defaults to Policy file
Fields
Return type: UploadFileResponse!
You can use the following field(s) to specify what information your uploadThirdPartyFileBase64 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
