#
# 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!
}

schema {
  query: Query
}
