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

issue #59 WIP: Add a mutation in graphql schema

parent 888d7e82
No related branches found
No related tags found
No related merge requests found
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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment