sandboxFiles

List sandbox files. Requires project.sandboxes.manage.

Arguments

  • sandboxIdID!required

  • pathString!required

  • cursorString

  • limitInt

Responses

query SandboxFiles($sandboxId: ID!, $path: String!) {  sandboxFiles(sandboxId: $sandboxId, path: $path) {    data {      path      type      sizeBytes    }    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor      self      first      next      prev    }  }}
{  "data": {    "sandboxFiles": {      "data": [        {          "path": "string",          "type": "file",          "sizeBytes": 0        }      ],      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string",        "self": "string",        "first": "string",        "next": "string",        "prev": "string"      }    }  }}

The SandboxFileCollection! in data.sandboxFiles.