Basically something like this:
curl -H "Content-Type: application/dql" localhost:8080/query -XPOST -d '{
schema {}
}' | python -m json.tool | less
See more at https://dgraph.io/docs/query-language/schema/#querying-schema
Basically something like this:
curl -H "Content-Type: application/dql" localhost:8080/query -XPOST -d '{
schema {}
}' | python -m json.tool | less
See more at https://dgraph.io/docs/query-language/schema/#querying-schema