files(projectReference: String, ref: String, branch: String, branchId: String, limit: Int, cursor: String, sortBy: FileSortBy, sortOrder: FileSortOrder): FilesConnection
Arguments
Response
Returns FilesConnection. 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 Files($projectReference: String, $ref: String, $branch: String, $branchId: String, $limit: Int, $cursor: String, $sortBy: FileSortBy, $sortOrder: FileSortOrder) {
files(projectReference: $projectReference, ref: $ref, branch: $branch, branchId: $branchId, limit: $limit, cursor: $cursor, sortBy: $sortBy, sortOrder: $sortOrder) {
data {
id
createdAt
updatedAt
checksum
content
}
pageInfo {
hasNextPage
endCursor
hasPreviousPage
startCursor
}
}
}{
"projectReference": "00000000-0000-4000-8000-000000000001"
}