mirror of https://github.com/statping/statping
Updated GraphQL (markdown)
parent
fe54528f61
commit
dc4613fe7a
30
GraphQL.md
30
GraphQL.md
|
@ -4,17 +4,6 @@ Statping implements the [GraphQL](https://graphql.org/) API interface so you can
|
|||
<a href="https://github.com/hunterlong/statping/blob/master/handlers/graphql/schema.graphql">View schema.graphql</a>
|
||||
</p>
|
||||
|
||||
### GraphQL Integration Checklist
|
||||
- [ ] Core (read)
|
||||
- [ ] Services (read)
|
||||
- [ ] Groups (read)
|
||||
- [ ] Users (read)
|
||||
- [ ] Messages (read)
|
||||
|
||||
- [ ] Services (update/create)
|
||||
- [ ] Services (update/create)
|
||||
|
||||
|
||||
***
|
||||
|
||||
### Example Queries
|
||||
|
@ -45,5 +34,24 @@ Retrieve the `id`, `name`, and `public` parameters from `service` #2.
|
|||
|
||||
***
|
||||
|
||||
### GraphQL Integration Checklist
|
||||
- [x] Core (read)
|
||||
- [x] Services (read)
|
||||
- [x] Groups (read)
|
||||
- [x] Users (read)
|
||||
- [x] Messages (read)
|
||||
- [x] Failures (read)
|
||||
- [x] Checkins (read)
|
||||
|
||||
- [ ] Core (update)
|
||||
- [ ] Services (update/create)
|
||||
- [ ] Groups (update/create)
|
||||
- [ ] Users (update/create)
|
||||
- [ ] Messages (update/create)
|
||||
- [ ] Failures (update/create)
|
||||
- [ ] Checkins (update/create)
|
||||
|
||||
***
|
||||
|
||||
|
||||
The code for handling GraphQL requests is in [handlers/graphql](https://github.com/hunterlong/statping/tree/master/handlers/graphql) and is using [gqlgen](https://github.com/99designs/gqlgen) to automatically generate the schema based on the golang structs.
|
Loading…
Reference in New Issue