Python - GraphQL Introspection
Last updated
Was this helpful?
Was this helpful?
{
__schema {
types {
name
}
}
}{
__type(name: "UserObject") {
name
fields {
name
type {
name
kind
ofType {
name
kind
}
}
}
}
}{
"data": {
"__type": {
"name": "UserObject",
"fields": [
{
"name": "uuid",
"type": {
"name": null,
"kind": "NON_NULL",
"ofType": {
"name": "ID",
"kind": "SCALAR"
}
}
},
{
"name": "username",
"type": {
"name": "String",
"kind": "SCALAR",
"ofType": null
}
},
{
"name": "isAdmin",
"type": {
"name": "Boolean",
"kind": "SCALAR",
"ofType": null
}
},
{
"name": "posts",
"type": {
"name": "PostObjectConnection",
"kind": "OBJECT",
"ofType": null
}
},
{
"name": "id",
"type": {
"name": null,
"kind": "NON_NULL",
"ofType": {
"name": "ID",
"kind": "SCALAR"
}
}
}
]
}
}
}query availableQueries {
__schema {
queryType {
fields {
name
description
}
}
}
}{
allUsers {
edges {
node {
username
isAdmin
}
}
}
}