Github API - Test Config

mutation updateRef

Update a Git Ref.

Arguments
input UpdateRefInput

UpdateRefInput [input]

Autogenerated input type of UpdateRef

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

force Boolean

Permit updates of branch Refs that are not fast-forwards?

The GitObjectID that the Ref shall be updated to target.

refId ID

The Node ID of the Ref to be updated.

API:
Github GraphQL API

Parameters for UpdateRef

Returns
UpdateRefPayload

UpdateRefPayload [object]

Autogenerated return type of UpdateRef

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

ref Ref

The updated Ref.

API:
Github GraphQL API
API:
Github GraphQL API