Updated GraphQL (markdown)

master
Hunter Long 2019-04-03 12:00:27 -07:00
parent fe54528f61
commit dc4613fe7a
1 changed files with 19 additions and 11 deletions

@ -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.