Skip to content
Snippets Groups Projects

WIP: RFC 3 : GraphQL API for Duniter Client

Open nanocryk requested to merge graphql_api_rfc into master
1 file
+ 22
1
Compare changes
  • Side-by-side
  • Inline
@@ -193,6 +193,23 @@ type Revocation {
written: Boolean!
}
# The only field that must be supported is "out",
# all other fields may be null if the server does not implement them.
type Distance {
# Is the member outdistanced ?
out: Boolean!
# Referring members count
sentries: Int
# Count referring members reached
success: Int
# Count referring members reached at border
successAtBorder: Int
# Count members reached
reached: Int,
# Count members reached at border
reachedAtBorder: Int
}
type Identity {
version: Int!
type: String!
@@ -203,7 +220,11 @@ type Identity {
signature: String!
raw: String!
written: Boolean!
membership: Membership
distance: Distance!
# Membership
mb: Membership
# Pending memberships
pMbs: [Membership!]!
# Received certifications
recvCerts: [Certification!]!
# Identity revocation document (=null when identity not revoked)
Loading