Ergonode docs
Search…
Schema
The entire GraphQL schema is available to fetch from the API itself. It's called introspection.
As with every other query, introspection of the Ergonode API requires authentication.
The simplest way to discover the GraphQL API is to use supporting HTTP clients like Insomnia. On one hand, they do support scoping through documentation schema, and on the other provide autocomplete functionality which makes writing queries really straightforward.
Alternatively, in order to obtain the full types definition download the schema
integration_api_graphpql_introspection.json
321KB
Code
or just query the API:
1
{
2
__schema {
3
queryType {
4
name
5
}
6
mutationType {
7
name
8
}
9
subscriptionType {
10
name
11
}
12
types {
13
...FullType
14
}
15
directives {
16
name
17
description
18
locations
19
args {
20
...InputValue
21
}
22
}
23
}
24
}
25
fragment FullType on __Type {
26
kind
27
name
28
description
29
fields(includeDeprecated: true) {
30
name
31
description
32
args {
33
...InputValue
34
}
35
type {
36
...TypeRef
37
}
38
isDeprecated
39
deprecationReason
40
}
41
inputFields {
42
...InputValue
43
}
44
interfaces {
45
...TypeRef
46
}
47
enumValues(includeDeprecated: true) {
48
name
49
description
50
isDeprecated
51
deprecationReason
52
}
53
possibleTypes {
54
...TypeRef
55
}
56
}
57
fragment InputValue on __InputValue {
58
name
59
description
60
type {
61
...TypeRef
62
}
63
defaultValue
64
}
65
fragment TypeRef on __Type {
66
kind
67
name
68
ofType {
69
kind
70
name
71
ofType {
72
kind
73
name
74
ofType {
75
kind
76
name
77
ofType
78
{
79
kind
80
name
81
ofType {
82
kind
83
name
84
ofType {
85
kind
86
name
87
ofType {
88
kind
89
name
90
}
91
}
92
}
93
}
94
}
95
}
96
}
97
}
Copied!
Copy link