aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/schema/root.graphql
blob: 2d430aa501a763a2215dca126ad90b5f30ca13d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
type Query {
    defaultRepository: Repository
    repository(id: String!): Repository
}

type Mutation {
    newBug(repoRef: String, title: String!, message: String!, files: [Hash!]): Bug!

    addComment(repoRef: String, prefix: String!, message: String!, files: [Hash!]): Bug!
    changeLabels(repoRef: String, prefix: String!, added: [String!], removed: [String!]): Bug!
    open(repoRef: String, prefix: String!): Bug!
    close(repoRef: String, prefix: String!): Bug!
    setTitle(repoRef: String, prefix: String!, title: String!): Bug!

    commit(repoRef: String, prefix: String!): Bug!
}