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

Update 0003 RFC GraphQL API for Duniter Clients.md

parent 58074aa3
No related branches found
No related tags found
1 merge request!3WIP: RFC 3 : GraphQL API for Duniter Client
...@@ -376,6 +376,57 @@ The SSL endpoint string is: ...@@ -376,6 +376,57 @@ The SSL endpoint string is:
GVAS [DNS] [IPv4] [IPv6] [PORT] [PATH] GVAS [DNS] [IPv4] [IPv6] [PORT] [PATH]
## API GraphQL Schema
```GraphQL
schema {
query: Query
mutation: Mutation
}
type Query {
node: Node
}
type Node {
summary: Summary
sandboxes: Sandboxes
}
type Summary {
software: String!
version: String!
forkWindowSize: Int!
}
interface Sandbox {
size: Int!
free: Int!
}
type IdentitiesSandbox implements Sandbox {
size: Int!
free: Int!
}
type MembershipsSandbox implements Sandbox {
size: Int!
free: Int!
}
type TransactionsSandbox implements Sandbox {
size: Int!
free: Int!
}
type Sandboxes {
identities: IdentitiesSandbox
memberships: MembershipsSandbox
transactions: TransactionsSandbox
}
```
--- ---
End of the document. End of the document.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment