Fetching Records

The API automatically generates queries for fetching both single and multiple instances of each defined content type.

For example, if we defined a book content type, the following queries would be generated by the API:

  • bookItem
  • bookCollection

Fetching a Single Record

If you wanted to retrieve a specific book, you could use the following request:

query {
  bookItem(id: "1234") {
    title
  }
}

Fetching Multiple Records

In the event that you wanted to retrieve multiple books, you could send the following:

query {
  bookCollection {
    items {
      title
    }
  }
}
Integrates with your favourite tools and frameworks

© 2022 Status200 Ltd.