Github API - Test Config

mutation cloneTemplateRepository
repos

Create a new repository with the same files and directory structure as a template repository.

Arguments
input CloneTemplateRepositoryInput

CloneTemplateRepositoryInput [input]

Autogenerated input type of CloneTemplateRepository

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

description String

A short description of the new repository.

includeAllBranches Boolean

Whether to copy all branches from the template to the new repository. Defaults
to copying only the default branch of the template.

name String

The name of the new repository.

ownerId ID

The ID of the owner for the new repository.

repositoryId ID

The Node ID of the template repository.

Indicates the repository's visibility level.

API:
Github GraphQL API

Parameters for CloneTemplateRepository

Returns
CloneTemplateRepositoryPayload

CloneTemplateRepositoryPayload [object]

Autogenerated return type of CloneTemplateRepository

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

repository Repository

The new repository.

API:
Github GraphQL API
API:
Github GraphQL API