Skip to content

Commit

Permalink
TinaCMS content update
Browse files Browse the repository at this point in the history
  • Loading branch information
tina-cloud-app[bot] authored Jul 15, 2024
1 parent 14c991b commit 45d533b
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions content/docs/graphql/queries.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Querying the GraphQL API
id: /docs/graphql/queries
title: Querying the GraphQL API
prev: /docs/graphql/cli
next: /docs/graphql/queries/get-document
---

Expand All @@ -12,25 +13,25 @@ The GraphQL API will generate queries which are specific to the schema you defin

**Available queries**:

- `<collection>`
- `<collection>Connection`
* `<collection>`
* `<collection>Connection`

**Available mutations**

- `update<collection>`
- `addPendingDocument`
* `update<collection>`
* `addPendingDocument`

For a given collection, it's `name` will be used to generate `<collection>` and `<collection>Connection` queries, and the `update<collection>` mutation.

### General queries

As an alternative to the schema-specific queries, the GraphQL API also makes the following general queries available:

- document
- collection
- collections
- addPendingDocument
- updateDocument
* document
* collection
* collections
* addPendingDocument
* updateDocument

## Example schema

Expand Down

0 comments on commit 45d533b

Please sign in to comment.