Github API - Test Config

LinkedBranch [object]

A branch linked to an issue.

Implements
Node

Node [interface]

An object with an ID.

Attributes
id ID

ID of the object.

API:
Github GraphQL API
Attributes
id ID

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.

API:
Github GraphQL API

The Node ID of the LinkedBranch object

ref Ref

Ref [object]

Represents a Git reference.

Implements
Node
Attributes
associatedPullRequests PullRequestConnection

A list of pull requests with this ref as the head ref.

branchProtectionRule BranchProtectionRule

Branch protection rules for this ref

compare Comparison

Compares the current ref as a base ref to another head ref, if the comparison can be made.

id ID

The Node ID of the Ref object

name String

The ref name.

prefix String

The ref's prefix, such as refs/heads/ or refs/tags/.

refUpdateRule RefUpdateRule

Branch protection rules that are viewable by non-admins

repository Repository

The repository the ref belongs to.

A list of rules from active Repository and Organization rulesets that apply to this ref.

target GitObject

The object the ref points to. Returns null when object does not exist.

API:
Github GraphQL API

The branch's ref.

API:
Github GraphQL API