sandboxFiles(sandboxId: ID!, path: String!, cursor: String, limit: Int): SandboxFileCollection!
Requires project.sandboxes.manage.
Arguments
Response
Returns SandboxFileCollection!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
query SandboxFiles($sandboxId: ID!, $path: String!, $cursor: String, $limit: Int) {
sandboxFiles(sandboxId: $sandboxId, path: $path, cursor: $cursor, limit: $limit) {
data {
path
sizeBytes
type
}
pageInfo {
hasNextPage
endCursor
first
hasPreviousPage
next
}
}
}{
"sandboxId": "00000000-0000-4000-8000-000000000001",
"path": "example"
}