GraphQL Front End API

You can access the SonicJs GraphQL API at: http://localhost:3018/graphql

You should see the graphQL UI:

Clicking on "RootQueryType" will expand the list of queries:

Here is an example of getting all site content of type "page":

{
  contents(sessionID: "Fsjf-npf77LG8Z1bGuD5hei5dyZTIAIq" contentTypeId:"page") {
    id
    contentTypeId
    data
    createdByUserId
    createdOn
    lastUpdatedByUserId
    updatedOn
  }
}