forked from cerc-io/laconic-console
36 lines
588 B
GraphQL
36 lines
588 B
GraphQL
#
|
|
# Copyright 2020 DXOS.org
|
|
#
|
|
|
|
# TODO(burdon): Replace generic results with schema.
|
|
type JSONResult {
|
|
timestamp: String!
|
|
json: String!
|
|
}
|
|
|
|
#
|
|
# Schema
|
|
#
|
|
|
|
type Query {
|
|
logs(service: String!, incremental: Boolean): JSONResult!
|
|
app_status: JSONResult!
|
|
ipfs_status: JSONResult!
|
|
ipfs_swarm_status: JSONResult!
|
|
service_status: JSONResult!
|
|
signal_status: JSONResult!
|
|
system_status: JSONResult!
|
|
wns_status: JSONResult!
|
|
bot_list: JSONResult!
|
|
addon_list: JSONResult!
|
|
}
|
|
|
|
type Mutation {
|
|
bot_kill(botId: String!): JSONResult!
|
|
}
|
|
|
|
schema {
|
|
query: Query
|
|
mutation: Mutation
|
|
}
|