List external files

externalFiles(input: ExternalStorageListInput!): ExternalStorageFileList!

Requires project.integrations.read.

Arguments

ArgumentTypeRequired
inputExternalStorageListInput!Yes

Input fields

input

ExternalStorageListInput

FieldTypeRequiredDescription
providerString!YesStorage provider accessed through the caller's own personal connection. A human caller is required; agent, run, and service-account credentials are refused.
projectReferenceStringNoProject ID or slug. Requires project.integrations.read through the caller's own personal provider connection.
folderIdStringNoFolder item ID; the provider root when omitted.
pathStringNo
queryStringNoSearch text; searches below folderId when both are set.
cursorStringNo
limitIntNo

Response

Returns ExternalStorageFileList!. 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.graphql
query ExternalFiles($input: ExternalStorageListInput!) {  externalFiles(input: $input) {    data {      id      name      etag      kind      mimeType    }    pageInfo {      first      next      prev      self    }  }}
variables.json
{  "input": {    "provider": "drive",    "projectReference": "example-project"  }}