schema.gql docs

Docs for schema.gql

API Endpoints
https://github.com/HugoDF/spectaql-example

Queries

id

Response

Returns a String!

Example

Query
query Id {
  id
}
Response
{"data": {"id": "abc123"}}

type

Response

Returns an EnumValue!

Example

Query
query Type {
  type
}
Response
{"data": {"type": "TYPE_1"}}

Types

Boolean

Description

The Boolean scalar type represents true or false.

EnumValue

Values
Enum Value Description

TYPE_1

TYPE_2

Example
"TYPE_1"

String

Description

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Example
"abc123"