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 { schema {
query: Query query: Query
mutation: Mutation
} }
type Query { #################################
node: Node # NODE types
} #################################
type Node { type Node {
summary: Summary summary: Summary
...@@ -27,3 +28,35 @@ type Sandboxes { ...@@ -27,3 +28,35 @@ type Sandboxes {
memberships: Sandbox! memberships: Sandbox!
transactions: 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