OBJECT
Ref
Represents a Git reference.
link GraphQL Schema definition
- type Ref implements Node {
- # A list of pull requests with this ref as the head ref.
- #
- # Arguments
- # first: Returns the first _n_ elements from the list.
- # after: Returns the elements in the list that come after the
- # specified global ID.
- # last: Returns the last _n_ elements from the list.
- # before: Returns the elements in the list that come before the
- # specified global ID.
- # states: A list of states to filter the pull requests by.
- (
- Int, :
- String, :
- Int, :
- String, :
- PullRequestState!] : [
- ): PullRequestConnection!
- ID! :
- # The ref name.
- String! :
- # The ref's prefix, such as `refs/heads/` or `refs/tags/`.
- String! :
- # The repository the ref belongs to.
- Repository! :
- # The object the ref points to.
- GitObject! :
- }
link Require by
- BaseRefForcePushedEventRepresents a 'base_ref_force_pushed' event on a given pull request.
- DeployedEventRepresents a 'deployed' event on a given issue or pull request.
- HeadRefDeletedEventRepresents a 'head_ref_deleted' event on a given pull request.
- HeadRefForcePushedEventRepresents a 'head_ref_force_pushed' event on a given pull request.
- MergedEventRepresents a 'merged' event on a given pull request.
- PullRequestA repository pull request.
- RefConnectionThe connection type for Ref.
- RefEdgeAn edge in a connection.
- ReleaseA release contains the content for a release.
- RepositoryA repository contains the content for a project.
- RepositoryInfoA subset of repository info.
- RepositoryInvitationRepositoryA subset of repository info shared with potential collaborators.