Github API - Test Config

mutation updateRepository
repos

Update information about a repository.

Arguments
input UpdateRepositoryInput

UpdateRepositoryInput [input]

Autogenerated input type of UpdateRepository

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

description String

A new description for the repository. Pass an empty string to erase the existing description.

hasDiscussionsEnabled Boolean

Indicates if the repository should have the discussions feature enabled.

hasIssuesEnabled Boolean

Indicates if the repository should have the issues feature enabled.

hasProjectsEnabled Boolean

Indicates if the repository should have the project boards feature enabled.

hasSponsorshipsEnabled Boolean

Indicates if the repository displays a Sponsor button for financial contributions.

hasWikiEnabled Boolean

Indicates if the repository should have the wiki feature enabled.

homepageUrl URI

The URL for a web page about this repository. Pass an empty string to erase the existing URL.

name String

The new name of the repository.

repositoryId ID

The ID of the repository to update.

template Boolean

Whether this repository should be marked as a template such that anyone who
can access it can create new repositories with the same files and directory structure.

API:
Github GraphQL API

Parameters for UpdateRepository

Returns
UpdateRepositoryPayload

UpdateRepositoryPayload [object]

Autogenerated return type of UpdateRepository

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

repository Repository

The updated repository.

API:
Github GraphQL API
API:
Github GraphQL API