Github API - Test Config

UpdateRefPayload [object]

Autogenerated return type of UpdateRef

Attributes
clientMutationId String

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.

API:
Github GraphQL API

A unique identifier for the client performing the mutation.

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 updated Ref.

API:
Github GraphQL API