From dc4613fe7afc8cf6f51ffdb906b6b1abb7412fb9 Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Wed, 3 Apr 2019 12:00:27 -0700 Subject: [PATCH] Updated GraphQL (markdown) --- GraphQL.md | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/GraphQL.md b/GraphQL.md index 2eddb58..ff63537 100644 --- a/GraphQL.md +++ b/GraphQL.md @@ -4,17 +4,6 @@ Statping implements the [GraphQL](https://graphql.org/) API interface so you can View schema.graphql

-### 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. \ No newline at end of file