diff --git a/services/api/src/html/404.html b/services/api/src/html/404.html index 3e1f179..bfda5d1 100644 --- a/services/api/src/html/404.html +++ b/services/api/src/html/404.html @@ -17,6 +17,4 @@
- [home] [graphql playground] -
+[home]
diff --git a/services/api/src/html/index.html b/services/api/src/html/index.html index ee8fbed..b0e9446 100644 --- a/services/api/src/html/index.html +++ b/services/api/src/html/index.html @@ -14,39 +14,185 @@ color: #cead42; text-decoration: none; } + + .hidden { + display: none; + }+ This is a GraphQL API, which means you can query for exactly the data you + need. You can also use the GraphiQL interface to explore the data and build + your queries. +
{
+ health {
+ database
+ ingest
+ ingestReachable
+ }
+}
+ {
+ allWorlds {
+ name
+ population {
+ total
+ nc
+ tr
+ vs
+ }
+ }
+}
+ {
+ allWorlds {
+ name
+ classes {
+ combatMedic {
+ total
+ nc
+ tr
+ vs
+ }
+ }
+ vehicles {
+ total
+ sunderer {
+ total
+ nc
+ tr
+ vs
+ }
+ }
+ }
+}
+ {
+ zones {
+ all {
+ name
+ classes {
+ heavyAssault {
+ nc
+ tr
+ vs
+ }
+ lightAssault {
+ nc
+ tr
+ vs
+ }
+ }
+ vehicles {
+ vanguard {
+ total
+ }
+ prowler {
+ total
+ }
+ magrider {
+ total
+ }
+ lightning {
+ nc
+ vs
+ tr
+ }
+ chimera {
+ nc
+ vs
+ tr
+ }
+ }
+ }
+ }
+}
+ + This API supports two query methods, + GET + and + POST. + To view the JSON outputs, you can use a tool like + JSONView for Firefox + or + JSONVue for Chrome. +
All data is an aggregate of the last 15 minutes of Death and VehicleDestroy events, including both attacker and victim.
- +
This API is provided by Genudine Dynamics.
As always, we take no
responsibility for your use of this data... or our weapons. :)