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

deps: upgrade gva

parent 0f6af484
No related branches found
No related tags found
No related merge requests found
...@@ -896,7 +896,7 @@ dependencies = [ ...@@ -896,7 +896,7 @@ dependencies = [
[[package]] [[package]]
name = "duniter-bda" name = "duniter-bda"
version = "0.1.0" version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6" source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arrayvec 0.7.0", "arrayvec 0.7.0",
...@@ -1054,7 +1054,7 @@ dependencies = [ ...@@ -1054,7 +1054,7 @@ dependencies = [
[[package]] [[package]]
name = "duniter-gva" name = "duniter-gva"
version = "0.1.0" version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6" source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arrayvec 0.7.0", "arrayvec 0.7.0",
...@@ -1084,7 +1084,7 @@ dependencies = [ ...@@ -1084,7 +1084,7 @@ dependencies = [
[[package]] [[package]]
name = "duniter-gva-conf" name = "duniter-gva-conf"
version = "0.1.0" version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6" source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"duniter-core", "duniter-core",
...@@ -1096,7 +1096,7 @@ dependencies = [ ...@@ -1096,7 +1096,7 @@ dependencies = [
[[package]] [[package]]
name = "duniter-gva-db" name = "duniter-gva-db"
version = "0.1.0" version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6" source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [ dependencies = [
"bincode", "bincode",
"chrono", "chrono",
...@@ -1112,7 +1112,7 @@ dependencies = [ ...@@ -1112,7 +1112,7 @@ dependencies = [
[[package]] [[package]]
name = "duniter-gva-dbs-reader" name = "duniter-gva-dbs-reader"
version = "0.1.0" version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6" source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arrayvec 0.7.0", "arrayvec 0.7.0",
...@@ -1126,7 +1126,7 @@ dependencies = [ ...@@ -1126,7 +1126,7 @@ dependencies = [
[[package]] [[package]]
name = "duniter-gva-gql" name = "duniter-gva-gql"
version = "0.1.0" version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6" source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arrayvec 0.7.0", "arrayvec 0.7.0",
...@@ -1146,7 +1146,7 @@ dependencies = [ ...@@ -1146,7 +1146,7 @@ dependencies = [
[[package]] [[package]]
name = "duniter-gva-indexer" name = "duniter-gva-indexer"
version = "0.1.0" version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6" source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bincode", "bincode",
......
...@@ -6,18 +6,18 @@ GVA is a [graphql] API. ...@@ -6,18 +6,18 @@ GVA is a [graphql] API.
Each Duniter node with GVA enabled have three endpoints : Each Duniter node with GVA enabled have three endpoints :
| Prefix in peer card | Default path | Usage | | Path | Usage |
|:-:|:-:|:-:| |:-|:-:|
| `GVA` | `/gva` | for graphql queries and mutations | | `/gva` | for graphql queries and mutations |
| `GVASUB` | `/gva` | for graphql subscriptions | | `/gva/subscription` | for graphql subscriptions |
| n/a | `/gva-playground` | for [graphql playground] | | `/gva/playground` | for [graphql playground] |
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. 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.
## List of known GVA playgrounds ## List of known GVA playgrounds
* https://g1.librelois.fr/gva-playground * https://g1.librelois.fr/gva/playground
* https://duniter-g1.p2p.legal/gva-playground * https://duniter-g1.p2p.legal/gva/playground
## Schema ## Schema
...@@ -43,7 +43,7 @@ These limitations apply only to non-whitelisted IPs: ...@@ -43,7 +43,7 @@ These limitations apply only to non-whitelisted IPs:
### Send a transaction ### Send a transaction
``` ```graphql
mutation { mutation {
tx( tx(
rawTx: "Raw transaction..." rawTx: "Raw transaction..."
...@@ -55,7 +55,7 @@ mutation { ...@@ -55,7 +55,7 @@ mutation {
### Get transactions ### Get transactions
``` ```graphql
query { query {
txsHistoryBc(script: "78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8") { txsHistoryBc(script: "78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8") {
both { both {
...@@ -87,7 +87,7 @@ query { ...@@ -87,7 +87,7 @@ query {
### Batch request ### Batch request
``` ```json
[ [
{"query": "{ {"query": "{
idty(pubkey: \"D2meevcAHFTS2gQMvmRW5Hzi25jDdikk4nC4u1FkwRaU\") { idty(pubkey: \"D2meevcAHFTS2gQMvmRW5Hzi25jDdikk4nC4u1FkwRaU\") {
......
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