fetchListOfThirdPartyIssueFiles
Last updated
curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
"query": "query FetchListOfThirdPartyIssueFiles($requestId: String, $tool: String) { fetchListOfThirdPartyIssueFiles(requestId: $requestId, tool: $tool) { files { requestId tool status metadata { path message } } error } }",
"variables": {
"requestId": "example",
"tool": "example"
}
}'const query = 'query FetchListOfThirdPartyIssueFiles($requestId: String, $tool: String) { fetchListOfThirdPartyIssueFiles(requestId: $requestId, tool: $tool) { files { requestId tool status metadata { path message } } error } }';
fetch("https://api.cloud.ox.security/api/apollo-gateway", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "YOUR_API_TOKEN"
},
body: JSON.stringify({
query: query,
// This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
variables: {
requestId: "example",
tool: "example"
}
})
})
.then(response => response.json())
.then(result => console.log(JSON.stringify(result, null, 2)))
.catch(error => console.error('Error:', error));import requests
query = 'query FetchListOfThirdPartyIssueFiles($requestId: String, $tool: String) { fetchListOfThirdPartyIssueFiles(requestId: $requestId, tool: $tool) { files { requestId tool status metadata { path message } } error } }'
response = requests.post(
"https://api.cloud.ox.security/api/apollo-gateway",
headers={
"Content-Type": "application/json",
"Authorization": "YOUR_API_TOKEN"
},
json={
"query": query,
# This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
"variables": {
"requestId": "example",
"tool": "example"
}
}
)
if response.status_code == 200:
result = response.json()
print(result)
else:
print(f"Error: {response.status_code}")
print(response.text)