Discussion [object]
A discussion in a repository.
Implements
Closable [interface]
An object that can be closed
Attributes
Indicates if the object is closed (definition of closed may depend on type)
Identifies the date and time when the object was closed.
Indicates if the object can be closed by the viewer.
Indicates if the object can be reopened by the viewer.
Comment [interface]
Represents a comment.
Attributes
The actor who authored the comment.
Author's association with the subject of the comment.
The body as Markdown.
The body rendered to HTML.
The body rendered to text.
Identifies the date and time when the object was created.
Check if this comment was created via an email reply.
The actor who edited the comment.
The Node ID of the Comment object
Check if this comment was edited and includes an edit with the creation data
The moment the editor made the last edit
Identifies when the comment was published at.
Identifies the date and time when the object was last updated.
A list of edits to this content.
Did the viewer author this comment.
Deletable [interface]
Entities that can be deleted.
Attributes
Check if the current viewer can delete this object.
Labelable [interface]
An object that can have labels assigned to it.
Attributes
A list of labels associated with the object.
Lockable [interface]
An object that can be locked.
Attributes
Reason that the conversation was locked.
true
if the object is locked
Reactable [interface]
Represents a subject that can be reacted on.
Attributes
Identifies the primary key from the database.
The Node ID of the Reactable object
A list of reactions grouped by content left on the subject.
A list of Reactions left on the Issue.
Can user react to this subject
RepositoryNode [interface]
Represents a object that belongs to a repository.
Attributes
The repository associated with this node.
Subscribable [interface]
Entities that can be subscribed to for web and email notifications.
Attributes
The Node ID of the Subscribable object
Check if the viewer is able to change their subscription status for the repository.
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
Updatable [interface]
Entities that can be updated.
Attributes
Check if the current viewer can update this object.
Votable [interface]
A subject that may be upvoted.
Attributes
Number of upvotes that this subject has received.
Whether or not the current user can add or remove an upvote on this subject.
Whether or not the current user has already upvoted this subject.
Attributes
LockReason [enum]
The possible reasons that an issue or pull request was locked.
Possible values
The issue or pull request was locked because the conversation was off-topic.
The issue or pull request was locked because the conversation was resolved.
The issue or pull request was locked because the conversation was spam.
The issue or pull request was locked because the conversation was too heated.
Reason that the conversation was locked.
DiscussionComment [object]
A comment on a discussion.
Implements
Attributes
The actor who authored the comment.
Author's association with the subject of the comment.
The body as Markdown.
The body rendered to HTML.
The body rendered to text.
Identifies the date and time when the object was created.
Check if this comment was created via an email reply.
Identifies the primary key from the database.
The time when this replied-to comment was deleted
The discussion this comment was created in
The actor who edited the comment.
The Node ID of the DiscussionComment object
Check if this comment was edited and includes an edit with the creation data
Has this comment been chosen as the answer of its discussion?
Returns whether or not a comment has been minimized.
The moment the editor made the last edit
Returns why the comment was minimized. One of abuse
, off-topic
,outdated
, resolved
, duplicate
and spam
. Note that the case and
formatting of these values differs from the inputs to the MinimizeComment
mutation.
Identifies when the comment was published at.
A list of reactions grouped by content left on the subject.
A list of Reactions left on the Issue.
The threaded replies to this comment.
The discussion comment this comment is a reply to
The path for this discussion comment.
Identifies the date and time when the object was last updated.
Number of upvotes that this subject has received.
The URL for this discussion comment.
A list of edits to this content.
Check if the current viewer can delete this object.
Can the current user mark this comment as an answer?
Check if the current viewer can minimize this object.
Can user react to this subject
Can the current user unmark this comment as an answer?
Check if the current viewer can update this object.
Whether or not the current user can add or remove an upvote on this subject.
Reasons why the current viewer can not update this comment.
Did the viewer author this comment.
Whether or not the current user has already upvoted this subject.
The comment chosen as this discussion's answer, if any.
DateTime [scalar]
An ISO-8601 encoded UTC date string.
The time when a user chose this discussion's answer, if answered.
Actor [interface]
Represents an object which can take actions on GitHub. Typically a User or Bot.
Attributes
A URL pointing to the actor's public avatar.
The username of the actor.
The HTTP path for this actor.
The HTTP URL for this actor.
The user who chose this discussion's answer, if answered.
Actor [interface]
Represents an object which can take actions on GitHub. Typically a User or Bot.
Attributes
A URL pointing to the actor's public avatar.
The username of the actor.
The HTTP path for this actor.
The HTTP URL for this actor.
The actor who authored the comment.
CommentAuthorAssociation [enum]
A comment author association with repository.
Possible values
Author has been invited to collaborate on the repository.
Author has previously committed to the repository.
Author has not previously committed to GitHub.
Author has not previously committed to the repository.
Author is a placeholder for an unclaimed user.
Author is a member of the organization that owns the repository.
Author has no association with the repository.
Author is the owner of the repository.
Author's association with the subject of the comment.
String [scalar]
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
The main text of the discussion post.
The body rendered to HTML.
String [scalar]
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
The body rendered to text.
DiscussionCategory [object]
A category for discussions in a repository.
Implements
Attributes
Identifies the date and time when the object was created.
A description of this category.
An emoji representing this category.
This category's emoji rendered as HTML.
The Node ID of the DiscussionCategory object
Whether or not discussions in this category support choosing an answer with the markDiscussionCommentAsAnswer mutation.
The name of this category.
The repository associated with this node.
The slug of this category.
Identifies the date and time when the object was last updated.
The category for this discussion.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Indicates if the object is closed (definition of closed may depend on type)
Identifies the date and time when the object was closed.
DiscussionCommentConnection [object]
The connection type for DiscussionComment.
Attributes
A list of edges.
A list of nodes.
Information to aid in pagination.
Identifies the total count of items in the connection.
The replies to the discussion.
Identifies the date and time when the object was created.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Check if this comment was created via an email reply.
Int [scalar]
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Identifies the primary key from the database.
Actor [interface]
Represents an object which can take actions on GitHub. Typically a User or Bot.
Attributes
A URL pointing to the actor's public avatar.
The username of the actor.
The HTTP path for this actor.
The HTTP URL for this actor.
The actor who edited the comment.
ID [scalar]
The ID
scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4"
) or integer (such as 4
) input value will be accepted as an ID.
The Node ID of the Discussion object
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Check if this comment was edited and includes an edit with the creation data
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Only return answered/unanswered discussions
A list of labels associated with the object.
The moment the editor made the last edit
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
true
if the object is locked
Int [scalar]
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
The number identifying this discussion within the repository.
DiscussionPoll [object]
A poll for a discussion.
Implements
Attributes
The discussion that this poll belongs to.
The Node ID of the DiscussionPoll object
The options for this poll.
The question that is being asked by this poll.
The total number of votes that have been cast for this poll.
Indicates if the viewer has permission to vote in this poll.
Indicates if the viewer has voted for any option in this poll.
The poll associated with this discussion, if one exists.
Identifies when the comment was published at.
ReactionGroup [object]
A group of emoji reactions to a particular piece of content.
Attributes
Identifies the emoji reaction.
Identifies when the reaction was created.
Reactors to the reaction subject with the emotion represented by this reaction group.
The subject that was reacted to.
Users who have reacted to the reaction subject with the emotion represented by this reaction group
Whether or not the authenticated user has left a reaction on the subject.
A list of reactions grouped by content left on the subject.
ReactionConnection [object]
A list of reactions that have been left on the subject.
Attributes
A list of edges.
A list of nodes.
Information to aid in pagination.
Identifies the total count of items in the connection.
Whether or not the authenticated user has left a reaction on the subject.
A list of Reactions left on the Issue.
Repository [object]
A repository contains the content for a project.
Implements
Attributes
Whether or not a pull request head branch that is behind its base branch can
always be updated even if it is not required to be up to date before merging.
Identifies the date and time when the repository was archived.
A list of users that can be assigned to issues in this repository.
Whether or not Auto-merge can be enabled on pull requests in this repository.
A list of branch protection rules for this repository.
Returns the code of conduct for this repository
Information extracted from the repository's CODEOWNERS
file.
A list of collaborators associated with the repository.
A list of commit comments associated with the repository.
Returns a list of contact links associated to the repository
Returns the contributing guidelines for this repository.
Identifies the date and time when the object was created.
Identifies the primary key from the database.
The Ref associated with the repository's default branch.
Whether or not branches are automatically deleted when merged in this repository.
A list of dependency manifests contained in the repository
A list of deploy keys that are on this repository.
Deployments associated with the repository
The description of the repository.
The description of the repository rendered to HTML.
Returns a single discussion from the current repository by number.
A list of discussion categories that are available in the repository.
A discussion category by slug.
A list of discussions that have been opened in the repository.
The number of kilobytes this repository occupies on disk.
Returns a single active environment from the current repository by name.
A list of environments that are in this repository.
Returns how many forks there are of this repository in the whole network.
Whether this repository allows forks.
A list of direct forked repositories.
The funding links for this repository
Indicates if the repository has the Discussions feature enabled.
Indicates if the repository has issues feature enabled.
Indicates if the repository has the Projects feature enabled.
Indicates if the repository displays a Sponsor button for financial contributions.
Whether vulnerability alerts are enabled for the repository.
Indicates if the repository has wiki feature enabled.
The repository's URL.
The Node ID of the Repository object
The interaction ability settings for this repository.
Indicates if the repository is unmaintained.
Returns true if blank issue creation is allowed
Returns whether or not this repository disabled.
Returns whether or not this repository is empty.
Identifies if the repository is a fork.
Indicates if a repository is either owned by an organization, or is a private fork of an organization repository.
Indicates if the repository has been locked or not.
Identifies if the repository is a mirror.
Identifies if the repository is private or internal.
Returns true if this repository has a security policy
Identifies if the repository is a template that can be used to generate new repositories.
Is this repository a user configuration repository?
Returns a single issue from the current repository by number.
Returns a single issue-like object from the current repository by number.
Returns a list of issue templates associated to the repository
A list of issues that have been opened in the repository.
Returns a single label by name
A list of labels associated with the repository.
A list containing a breakdown of the language composition of the repository.
Get the latest release for the repository if one exists.
The license associated with the repository
The reason the repository has been locked.
A list of Users that can be mentioned in the context of the repository.
Whether or not PRs are merged with a merge commit on this repository.
How the default commit message will be generated when merging a pull request.
How the default commit title will be generated when merging a pull request.
The merge queue for a specified branch, otherwise the default branch if not provided.
Returns a single milestone from the current repository by number.
A list of milestones associated with the repository.
The repository's original mirror URL.
The name of the repository.
The repository's name with owner.
A Git object in the repository
The image used to represent this repository in Open Graph data.
The User owner of the repository.
A list of packages under the owner.
The repository parent, if this is a fork.
A list of discussions that have been pinned in this repository.
A list of pinned issues for this repository.
The primary language of the repository's code.
Find project by number.
Finds and returns the Project according to the provided Project number.
A list of projects under the owner.
The HTTP path listing the repository's projects
The HTTP URL listing the repository's projects
List of projects linked to this repository.
Returns a single pull request from the current repository by number.
Returns a list of pull request templates associated to the repository
A list of pull requests that have been opened in the repository.
Identifies the date and time when the repository was last pushed to.
Whether or not rebase-merging is enabled on this repository.
Recent projects that this user has modified in the context of the owner.
Fetch a given ref from the repository
Fetch a list of refs from the repository
Lookup a single release given various criteria.
List of releases which are dependent on this repository.
A list of applied repository-topic associations for this repository.
The HTTP path for this repository
Returns a single ruleset from the current repository by ID.
A list of rulesets for this repository.
The security policy URL.
A description of the repository, rendered to HTML without any links in it.
Whether or not squash-merging is enabled on this repository.
How the default commit message will be generated when squash merging a pull request.
How the default commit title will be generated when squash merging a pull request.
Whether a squash merge commit can use the pull request title as default.
The SSH URL to clone this repository
Returns a count of how many stargazers there are on this object
A list of users who have starred this starrable.
Returns a list of all submodules in this repository parsed from the
.gitmodules file as of the default branch's HEAD commit.
Temporary authentication token for cloning this repository.
The repository from which this repository was generated, if any.
Identifies the date and time when the object was last updated.
The HTTP URL for this repository
Whether this repository has a custom image to use with Open Graph as opposed to being represented by the owner's avatar.
Indicates whether the viewer has admin permissions on this repository.
Can the current viewer create new projects on this owner.
Check if the viewer is able to change their subscription status for the repository.
Indicates whether the viewer can update the topics of this repository.
The last commit email for the viewer.
The last used merge method by the viewer or the default for the repository.
Returns a boolean indicating whether the viewing user has starred this starrable.
The users permission level on the repository. Will return null if authenticated as an GitHub App.
A list of emails this viewer can commit with.
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
Indicates the repository's visibility level.
Returns a single vulnerability alert from the current repository by number.
A list of vulnerability alerts that are on this repository.
A list of users watching the repository.
Whether contributors are required to sign off on web-based commits in this repository.
The repository associated with this node.
URI [scalar]
An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.
The path for this discussion.
DiscussionStateReason [enum]
The possible state reasons of a discussion.
Possible values
The discussion is a duplicate of another
The discussion is no longer relevant
The discussion was reopened
The discussion has been resolved
Identifies the reason for the discussion's state.
String [scalar]
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
The title of this discussion.
Identifies the date and time when the object was last updated.
Int [scalar]
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Number of upvotes that this subject has received.
URI [scalar]
An RFC 3986, RFC 3987, and RFC 6570 (level 4) compliant URI string.
The URL for this discussion.
UserContentEditConnection [object]
A list of edits to content.
Attributes
A list of edges.
A list of nodes.
Information to aid in pagination.
Identifies the total count of items in the connection.
A list of edits to this content.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Indicates if the object can be closed by the viewer.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Check if the current viewer can delete this object.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Can user react to this subject
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Indicates if the object can be reopened by the viewer.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Check if the viewer is able to change their subscription status for the repository.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Check if the current viewer can update this object.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Whether or not the current user can add or remove an upvote on this subject.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Did the viewer author this comment.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Whether or not the current user has already upvoted this subject.
SubscriptionState [enum]
The possible states of a subscription.
Possible values
The User is never notified.
The User is notified of all conversations.
The User is only notified when participating or @mentioned.
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.