Creates a new repository using a repository template. Use theDocumentation Index
Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
Use this file to discover all available pages before exploring further.
template_owner and template_repo route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository’s information using the Get a repository endpoint and check that the is_template key is true.
OAuth scope requirements
When using OAuth, authorizations must include:
public_reposcope orreposcope to create a public repository. Note: For GitHub AE, usereposcope to create an internal repository.reposcope to create a private repository.
External DocumentationTo learn more, visit the GitHub documentation.
Basic Parameters
| Parameter | Description |
|---|---|
| Description | A short description of the new repository. |
| Include All Branches | Set to true to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: false. |
| New Repo Name | The name of the new repository. |
| New Repo Owner | The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization. |
| Template Owner | The user who owns the template repo. |
| Template Repo | The name of the template repo. |
Advanced Parameters
| Parameter | Description |
|---|---|
| Private | Either true to create a new private repository or false to create a new public one. |