OBJECT

DocumentQuery

link GraphQL Schema definition

  • type DocumentQuery {
  • # Generates a hyperlink to which document can be uploaded.
  • # If user pass optional ID filed, it will be an UPSERT operation otherwise INSERT
  • #
  • # Arguments
  • # category: [Not documented]
  • # id: [Not documented]
  • # name: [Not documented]
  • # tags: [Not documented]
  • # type: [Not documented]
  • generateUploadHyperlink(
  • category: DocumentCategory!,
  • id: ID,
  • name: String!,
  • tags: [TagInput!],
  • type: DocumentType
  • ): HyperLink
  • # Query documents for a given list of document IDs or by documentType
  • #
  • # **NOTE:** This API/functionality is in Alpha, This functionality can be unstable
  • # and schema elements may change over future iterations.
  • #
  • # Arguments
  • # after: Return records after the given cursor, as per GraphQL
  • # Relay spec
  • # category: Mandatory Document category filter
  • # filter: Optional additional field filters.
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • # id: Optional ID filed to query document
  • # name: Name of the document
  • # sort: Results sort order
  • # tag: Document metadata key or key-value pair filter
  • queryDocuments(
  • after: String,
  • category: DocumentCategory,
  • filter: QueryFilter,
  • first: Int,
  • id: [ID!],
  • name: [String!],
  • sort: [QuerySort!],
  • tag: TagInput
  • ): DocumentConnection!
  • }

link Require by