documents
getting a list of documents. this is used if you are not loading particular document and rather everything with certain criteria. Used in the app for when in a folder and for the search. Limited to 250 documents at a time
documents(
after: String
first: Int
sortAfter: DocumentSortAfter = CREATED_AT
sortDirection: SortDirection = DESC
afterValue: String
filter: DocumentFilterInput
): RootDocumentsConnection
Arguments
documents.after ● String scalar
Returns the items in the list that come after the specified cursor.
documents.first ● Int scalar
Returns the first n items from the list.
documents.sortAfter ● DocumentSortAfter enum
documents.sortDirection ● SortDirection enum
documents.afterValue ● String scalar
documents.filter ● DocumentFilterInput input
Type
RootDocumentsConnection object
A connection to a list of items.