Object GitHub::Label

A label for categorizing Issues or Milestones with a given Repository.

Fields

color: String!

Identifies the label color.

createdAt: DateTime

Identifies the date and time when the label was created.

description: String

A brief description of this label.

id: ID!

isDefault: Boolean!

Indicates whether or not this is a default label.

issues(orderBy: IssueOrder, labels: [String!], states: [IssueState!], filterBy: IssueFilters, after: String, before: String, first: Int, last: Int): IssueConnection!

A list of issues associated with this label.

Args

orderBy: IssueOrder

Ordering options for issues returned from the connection.

labels: [String!]

A list of label names to filter the pull requests by.

states: [IssueState!]

A list of states to filter the issues by.

filterBy: IssueFilters

Filtering options for issues returned from the connection.

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

name: String!

Identifies the label name.

pullRequests(states: [PullRequestState!], labels: [String!], headRefName: String, baseRefName: String, orderBy: IssueOrder, after: String, before: String, first: Int, last: Int): PullRequestConnection!

A list of pull requests associated with this label.

Args

states: [PullRequestState!]

A list of states to filter the pull requests by.

labels: [String!]

A list of label names to filter the pull requests by.

headRefName: String

The head ref name to filter the pull requests by.

baseRefName: String

The base ref name to filter the pull requests by.

orderBy: IssueOrder

Ordering options for pull requests returned from the connection.

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

repository: Repository!

The repository associated with this label.

resourcePath: URI!

The HTTP path for this label.

updatedAt: DateTime

Identifies the date and time when the label was last updated.

url: URI!

The HTTP URL for this label.

Uses

LabelConnection.nodes

LabelEdge.node

LabeledEvent.label

Repository.label

UnlabeledEvent.label

Node