Skip to content

files

Served by: file

Name Type Description
after Cursor Returns the elements in the list that come after the specified cursor.
first Int Returns the first n elements from the list.
before Cursor Returns the elements in the list that come before the specified cursor.
last Int Returns the last n elements from the list.
orderBy FileOrder Ordering options for Files returned from the connection.
where FileWhereInput Filtering options for Files returned from the connection.

FileConnection!

Retrieves a paginated list of files. Results can be filtered by any FileWhereInput field and ordered by available FileOrder fields.

query GetFiles($after: Cursor, $first: Int, $before: Cursor, $last: Int, $orderBy: FileOrder, $where: FileWhereInput) {
files(after: $after, first: $first, before: $before, last: $last, orderBy: $orderBy, where: $where) {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
contentType
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
description
id
name
publicAlias
publicURL
refid
reftype
size
tenantID
updatedAt
updatedBy
url
}
}
}
}

Variables

{
"where": {
"reftype": "supplier"
}
}