Skip to content
Snippets Groups Projects
Commit 0f6af484 authored by Éloïs's avatar Éloïs
Browse files

doc(api):gva: precise three endpoints types

parent 58b06c87
No related branches found
No related tags found
No related merge requests found
...@@ -2,12 +2,26 @@ ...@@ -2,12 +2,26 @@
GVA is a [graphql] API. GVA is a [graphql] API.
## Schema ## Endpoints
Each Duniter node with GVA enabled have three endpoints :
| Prefix in peer card | Default path | Usage |
|:-:|:-:|:-:|
| `GVA` | `/gva` | for graphql queries and mutations |
| `GVASUB` | `/gva` | for graphql subscriptions |
| n/a | `/gva-playground` | for [graphql playground] |
See the playground of a GVA node: To learn how to use the GVA API, we recommend you to use the playground, which provides you with a documentation of all requests in the DOCS tab on the right of the screen.
* https://g1.librelois.fr/gva ## List of known GVA playgrounds
* https://duniter-g1.p2p.legal/gva
* https://g1.librelois.fr/gva-playground
* https://duniter-g1.p2p.legal/gva-playground
## Schema
See the tab SCHEMA of a GVA playground.
## Batch support ## Batch support
...@@ -25,8 +39,6 @@ These limitations apply only to non-whitelisted IPs: ...@@ -25,8 +39,6 @@ These limitations apply only to non-whitelisted IPs:
* The size of a batch is limited to 5 requests. * The size of a batch is limited to 5 requests.
* For paged requests, the pageSize parameter must be between 1 and 1000. * For paged requests, the pageSize parameter must be between 1 and 1000.
[graphql]: https://graphql.org/
## Examples ## Examples
### Send a transaction ### Send a transaction
...@@ -91,3 +103,6 @@ query { ...@@ -91,3 +103,6 @@ query {
}"} }"}
] ]
``` ```
[graphql]: https://graphql.org/
[graphql playground]: https://github.com/graphql/graphql-playground
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment