Retrieve URL File Uploads
The following query gets the url file uploads for a given test suite:
- Query
- cURL
query GetTestSuiteURLFileUploads($testSuiteId: ObjectID!) {
node(id: $testSuiteId) {
... on TestSuite {
urlFileUploads(first: 100) {
nodes {
id
fileName
fileUrl
status
totalRows
}
}
}
}
}
curl -X POST -H "Content-Type: application/json" -H "apollographql-client-name: docs-example-client" -H "apollographql-client-version: 1.0.0" -H "x-auth-token: YOUR_API_SESSION_TOKEN" --data '{"query":"query GetTestSuiteURLFileUploads($testSuiteId: ObjectID!) { node(id: $testSuiteId) { ... on TestSuite { urlFileUploads(first: 100) { nodes { id fileName fileUrl status totalRows } } } } }"}' https://api.lumar.io/graphql