Skip to content
Snippets Groups Projects
Commit ea46dea6 authored by Vincent Texier's avatar Vincent Texier
Browse files

Add mutation addIdentity in schema

parent 63ae6a08
No related branches found
No related tags found
1 merge request!3WIP: RFC 3 : GraphQL API for Duniter Client
......@@ -381,11 +381,12 @@ The SSL endpoint string is:
```graphql
schema {
query: Query
mutation: Mutation
}
type Query {
node: Node
}
#################################
# NODE types
#################################
type Node {
summary: Summary
......@@ -409,6 +410,38 @@ type Sandboxes {
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
}
```
---
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment