root.graphql

 1type Query {
 2    defaultRepository: Repository
 3    repository(id: String!): Repository
 4}
 5
 6type Mutation {
 7    newBug(repoRef: String, title: String!, message: String!, files: [Hash!]): Bug!
 8
 9    addComment(repoRef: String, prefix: String!, message: String!, files: [Hash!]): Bug!
10    changeLabels(repoRef: String, prefix: String!, added: [String!], removed: [String!]): Bug!
11    open(repoRef: String, prefix: String!): Bug!
12    close(repoRef: String, prefix: String!): Bug!
13    setTitle(repoRef: String, prefix: String!, title: String!): Bug!
14
15    commit(repoRef: String, prefix: String!): Bug!
16}