Created
September 6, 2021 16:39
-
-
Save alongubkin/c00ddeb130b72d5b3f7deac63ab770bf to your computer and use it in GitHub Desktop.
Get models & versions through GraphQL API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --request POST \ | |
--url <APORIA_HOST>/v1/tenant-hasura/v1/graphql \ | |
--header 'Authorization: Bearer <TOKEN>' \ | |
--header 'Content-Type: application/json' \ | |
--data \ | |
'{ | |
"query": "query { models { id name versions { id name } } }", | |
"variables": {} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example output: