-
Notifications
You must be signed in to change notification settings - Fork 4
Updating the GraphQL schema
David Knowles edited this page Dec 3, 2023
·
1 revision
Open https://app.hydrawise.com/config/dashboard and inspect calls using Chrome dev tools. Look for calls to the GraphQL api in the network tab. Copy the Authorization
header into a BEARER_TOKEN
bash variable.
Use https://github.com/jkmartindale/gql-sdl to dump the schema:
$ gql-sdl https://app.hydrawise.com/api/v2/graph -H "Authorization: $BEARER_TOKEN" > hydrawise.graphql