OBJECT
Query
The top level of Proskomma queries
link GraphQL Schema definition
- type Query {
- # The id of the processor, which is different for each Proskomma instance
- String! :
- # A string describing the processor class
- String! :
- # The NPM package version
- String! :
- # The selectors used to define docSets
- selectorSpec!]! : [
- # The number of docSets
- Int! :
- # The docSets in the processor
- #
- # Arguments
- # ids: A whitelist of ids of docSets to include
- # withSelectors: Only return docSets that match the list of
- # selector values
- # withBook: Only return docSets containing a document with the
- # specified bookCode
- # withTags: Only return docSets with all the specified tags
- # withoutTags: Only return docSets with none of the specified
- # tags
- (
- String!], : [
- InputKeyValue!], : [
- String, :
- String!], : [
- String!] : [
- ): [DocSet!]!
- # The docSet with the specified id
- #
- # Arguments
- # id: The id of the docSet
- String!): DocSet ( :
- # The number of documents in the processor
- Int! :
- # The documents in the processor
- #
- # Arguments
- # ids: A whitelist of ids of documents to include
- # withBook: Only return documents with the specified bookCode
- # withHeaderValues: Only return documents with the specified
- # header key/values
- # withTags: Only return documents with all the specified tags
- # withoutTags: Only return documents with none of the specified
- # tags
- # sortedBy: Sort returned documents by the designated method
- # (currently paratext, alpha, alpha2)
- (
- String!], : [
- String, :
- InputKeyValue!], : [
- String!], : [
- String!], : [
- String :
- ): [Document!]!
- # The document with the specified id, or the specified docSet and withBook
- #
- # Arguments
- # id: The id of the document
- # docSetId: The docSet of the document (use with withBook)
- # withBook: The book of the document (use with docSetId)
- String, : String, : String): Document ( :
- }
link Require by
This element is not required by anyone