About objects
Objects in GraphQL represent the resources you can access. An object can contain a list of fields, which are specifically typed.
For example, the Repository
object has a field called name
, which is a String
.
For more information, see Introduction to GraphQL.
ActorConnection
The connection type for Actor.
Fields for ActorConnection
Name | Description |
---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
ActorEdge
An edge in a connection.
ActorLocation
Location information for an actor.
AddedToMergeQueueEvent
Represents anadded_to_merge_queue
event on a given pull request.
AddedToMergeQueueEvent
Implements
Fields for AddedToMergeQueueEvent
Name | Description |
---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The user who added this Pull Request to the merge queue. |
| The Node ID of the AddedToMergeQueueEvent object. |
| The merge queue where this pull request was added to. |
| PullRequest referenced by event. |
AddedToProjectEvent
Represents aadded_to_project
event on a given issue or pull request.
AddedToProjectEvent
Implements
Fields for AddedToProjectEvent
Name | Description |
---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. Warning
Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. |
| The Node ID of the AddedToProjectEvent object. |
| Project referenced by event. Warning
Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. |
| Project card referenced by this project event. Warning
Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. |
| Column name referenced by this project event. Warning
Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/. Removal on 2025-04-01 UTC. |
AnnouncementBanner
An announcement banner for an enterprise or organization.
App
A GitHub App.
App
Implements
Fields for App
Name | Description |
---|---|
| The client ID of the app. |
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. |
| The description of the app. |
| The Node ID of the App object. |
| The IP addresses of the app. Arguments for
|
| The hex color code, without the leading '#', for the logo background. |
| A URL pointing to the app's logo. Arguments for
|
| The name of the app. |
| A slug based on the name of the app for use in URLs. |
| Identifies the date and time when the object was last updated. |
| The URL to the app's homepage. |
AssignedEvent
Represents anassigned
event on any assignable object.
AssignedEvent
Implements
Fields for AssignedEvent
Name | Description |
---|---|
| Identifies the actor who performed the event. |
| Identifies the assignable associated with the event. |
| Identifies the user or mannequin that was assigned. |
| Identifies the date and time when the object was created. |
| The Node ID of the AssignedEvent object. |
| Identifies the user who was assigned. Warning
Assignees can now be mannequins. Use the |
AssigneeConnection
The connection type for Assignee.
Fields for AssigneeConnection
Name | Description |
---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
AssigneeEdge
An edge in a connection.
AutoMergeDisabledEvent
Represents aauto_merge_disabled
event on a given pull request.
AutoMergeDisabledEvent
Implements
Fields for AutoMergeDisabledEvent
Name | Description |
---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The user who disabled auto-merge for this Pull Request. |
| The Node ID of the AutoMergeDisabledEvent object. |
| PullRequest referenced by event. |
| The reason auto-merge was disabled. |
| The reason_code relating to why auto-merge was disabled. |
AutoMergeEnabledEvent
Represents aauto_merge_enabled
event on a given pull request.
AutoMergeEnabledEvent
Implements
Fields for AutoMergeEnabledEvent
Name | Description |
---|---|
| Identifies the actor who performed the event. |
| Identifies the date and time when the object was created. |
| The user who enabled auto-merge for this Pull Request. |
| The Node ID of the AutoMergeEnabledEvent object. |
| PullRequest referenced by event. |
AutoMergeRequest
Represents an auto-merge request for a pull request.
Fields for AutoMergeRequest
Name | Description |
---|---|
| The email address of the author of this auto-merge request. |
| The commit message of the auto-merge request. If a merge queue is required by the base branch, this value will be set by the merge queue when merging. |
|