repository.graphql

 1type Repository {
 2    """The name of the repository"""
 3    name: String
 4
 5    """URL-friendly slug for this repository. Named repos use their name;
 6    the default (unnamed) repo derives the slug from the directory basename."""
 7    slug: String!
 8
 9    """All the bugs"""
10    allBugs(
11        """Returns the elements in the list that come after the specified cursor."""
12        after: String
13        """Returns the elements in the list that come before the specified cursor."""
14        before: String
15        """Returns the first _n_ elements from the list."""
16        first: Int
17        """Returns the last _n_ elements from the list."""
18        last: Int
19        """A query to select and order bugs."""
20        query: String
21    ): BugConnection!
22
23    bug(prefix: String!): Bug
24
25    """All the identities"""
26    allIdentities(
27        """Returns the elements in the list that come after the specified cursor."""
28        after: String
29        """Returns the elements in the list that come before the specified cursor."""
30        before: String
31        """Returns the first _n_ elements from the list."""
32        first: Int
33        """Returns the last _n_ elements from the list."""
34        last: Int
35    ): IdentityConnection!
36
37    identity(prefix: String!): Identity
38
39    """The identity created or selected by the user as its own"""
40    userIdentity: Identity
41
42    """List of valid labels."""
43    validLabels(
44        """Returns the elements in the list that come after the specified cursor."""
45        after: String
46        """Returns the elements in the list that come before the specified cursor."""
47        before: String
48        """Returns the first _n_ elements from the list."""
49        first: Int
50        """Returns the last _n_ elements from the list."""
51        last: Int
52    ): LabelConnection!
53}
54
55type  RepositoryConnection {
56  edges: [RepositoryEdge!]!
57  nodes: [Repository!]!
58  pageInfo: PageInfo!
59  totalCount: Int!
60}
61
62type RepositoryEdge {
63  cursor: String!
64  node: Repository!
65}