diff --git a/duniterpy/api/gva/schema.qraphql b/duniterpy/api/gva/schema.qraphql index 558e8ad44d9b2e13763fe62323c656dd8031d90c..d12e5b2bb590e061cce96043eeff5e5f992dcf17 100644 --- a/duniterpy/api/gva/schema.qraphql +++ b/duniterpy/api/gva/schema.qraphql @@ -1,10 +1,11 @@ schema { query: Query + mutation: Mutation } -type Query { - node: Node -} +################################# +# NODE types +################################# type Node { summary: Summary @@ -27,3 +28,35 @@ type Sandboxes { memberships: Sandbox! transactions: Sandbox! } + +################################# +# WOT types +################################# + +type Identity { + version: Int! + type: String! + currency: String! + issuer: String! + uniqueID: String! + timestamp: String! + signature: String! +} + +################################# +# NODE queries +################################# + +type Query { + node: Node +} + +################################# +# WOT mutations +################################# + +type Mutation { + addIdentity ( + signedRaw: String! + ): Identity +}