From dbc89a0232434575f48939f374d0c05d9402ce8b Mon Sep 17 00:00:00 2001 From: librelois <c@elo.tf> Date: Sat, 13 Mar 2021 17:22:08 +0100 Subject: [PATCH] [doc] add gva doc --- doc/api/gva.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/api/gva.md diff --git a/doc/api/gva.md b/doc/api/gva.md new file mode 100644 index 000000000..6d32250e7 --- /dev/null +++ b/doc/api/gva.md @@ -0,0 +1,24 @@ +# GVA API + +GVA is a [graphql] API. + +## Schema + +See the playground of a GVA node: + +* https://g1.librelois.fr/gva +* https://duniter-g1.p2p.legal/gva + +## Batch support + +It is possible to send a batch of graphql requests. The size of a batch is limited to 5 requests (No limit for whitelisted ip). + +## Anti-spam limitations + +These limitations apply only to non-whitelisted IPs: + +* The maximum number of requests per 20 seconds is 10. +* The size of a batch is limited to 5 requests. +* For paged requests, the pageSize parameter must be between 1 and 1000. + +[graphql]: https://graphql.org/ -- GitLab