root.graphql

 1type Query {
 2    """Access a repository by reference/name. If no ref is given, the default repository is returned if any."""
 3    repository(ref: String): Repository
 4}
 5
 6type Mutation {
 7    """Create a new bug"""
 8    newBug(input: NewBugInput!): NewBugPayload!
 9    """Add a new comment to a bug"""
10    addComment(input: AddCommentInput!): AddCommentPayload!
11    """Add or remove a set of label on a bug"""
12    changeLabels(input: ChangeLabelInput): ChangeLabelPayload!
13    """Change a bug's status to open"""
14    openBug(input: OpenBugInput!): OpenBugPayload!
15    """Change a bug's status to closed"""
16    closeBug(input: CloseBugInput!): CloseBugPayload!
17    """Change a bug's title"""
18    setTitle(input: SetTitleInput!): SetTitlePayload!
19}