Last updated
query {
__schema {
types {
name
fields {
name
type {
name
kind
}
}
}
}
}query
βββ __schema β the entire schema of the API
βββ types β list of ALL types defined
βββ name β name of the type (e.g. "User", "Analytics")
βββ fields β list of fields on that type
βββ name β field name (e.g. "username", "password")
βββ type β what data type this field returns
βββ name β type name (e.g. "String", "Int")
βββ kind β category (SCALAR, OBJECT, NON_NULL, LIST)query {
user(id: 2) {
id
username
email
password
role
}
}