Handle false default values in the decorator (#31665)

Co-authored-by: Sarah Edwards <skedwards88@github.com>
This commit is contained in:
Robert Sese 2022-10-14 16:26:57 -05:00 коммит произвёл GitHub
Родитель 827669543b
Коммит d65deba270
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
10 изменённых файлов: 796 добавлений и 396 удалений

Просмотреть файл

@ -57,7 +57,11 @@ export function ParameterRow({
<span>{t('default')}: </span>
<code>
{typeof rowParams.default === 'string'
? rowParams.default
? // In the schema, the default value for strings can
// potentially be the empty string so we handle this case
// in particular by rendering it as "". Otherwise we would
// display an empty code block which could be confusing.
rowParams.default || '""'
: JSON.stringify(rowParams.default)}
</code>
</p>

Просмотреть файл

@ -8342,13 +8342,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -8640,13 +8642,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -9892,13 +9896,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -10209,13 +10215,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -26730,7 +26738,8 @@
"type": "boolean",
"name": "enable_debug_logging",
"in": "body",
"description": "<p>Whether to enable debug logging for the re-run.</p>"
"description": "<p>Whether to enable debug logging for the re-run.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -36736,7 +36745,8 @@
"type": "boolean",
"name": "enable_debug_logging",
"in": "body",
"description": "<p>Whether to enable debug logging for the re-run.</p>"
"description": "<p>Whether to enable debug logging for the re-run.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -36819,7 +36829,8 @@
"type": "boolean",
"name": "enable_debug_logging",
"in": "body",
"description": "<p>Whether to enable debug logging for the re-run.</p>"
"description": "<p>Whether to enable debug logging for the re-run.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -79348,7 +79359,8 @@
"type": "boolean",
"name": "ignored",
"in": "body",
"description": "<p>Whether to block all notifications from a thread.</p>"
"description": "<p>Whether to block all notifications from a thread.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -215453,13 +215465,15 @@
"type": "string or null",
"name": "description",
"in": "body",
"description": "<p>Short description of the deployment.</p>"
"description": "<p>Short description of the deployment.</p>",
"default": ""
},
{
"type": "boolean",
"name": "transient_environment",
"in": "body",
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>"
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>",
"default": false
},
{
"type": "boolean",
@ -220731,19 +220745,22 @@
"type": "string",
"name": "target_url",
"in": "body",
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>"
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>",
"default": ""
},
{
"type": "string",
"name": "log_url",
"in": "body",
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>"
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "string",
"name": "description",
"in": "body",
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>"
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>",
"default": ""
},
{
"type": "string",
@ -220760,7 +220777,8 @@
"type": "string",
"name": "environment_url",
"in": "body",
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>"
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "boolean",
@ -240052,7 +240070,8 @@
"type": "boolean",
"name": "force",
"in": "body",
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>"
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -321968,43 +321987,50 @@
"type": "boolean",
"name": "lock_repositories",
"in": "body",
"description": "<p>Indicates whether repositories should be locked (to prevent manipulation) while migrating data.</p>"
"description": "<p>Indicates whether repositories should be locked (to prevent manipulation) while migrating data.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_metadata",
"in": "body",
"description": "<p>Indicates whether metadata should be excluded and only git source should be included for the migration.</p>"
"description": "<p>Indicates whether metadata should be excluded and only git source should be included for the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_git_data",
"in": "body",
"description": "<p>Indicates whether the repository git data should be excluded from the migration.</p>"
"description": "<p>Indicates whether the repository git data should be excluded from the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_attachments",
"in": "body",
"description": "<p>Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).</p>"
"description": "<p>Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_releases",
"in": "body",
"description": "<p>Indicates whether releases should be excluded from the migration (to reduce migration archive file size).</p>"
"description": "<p>Indicates whether releases should be excluded from the migration (to reduce migration archive file size).</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_owner_projects",
"in": "body",
"description": "<p>Indicates whether projects owned by the organization or users should be excluded. from the migration.</p>"
"description": "<p>Indicates whether projects owned by the organization or users should be excluded. from the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "org_metadata_only",
"in": "body",
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>"
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>",
"default": false
},
{
"type": "array of strings",
@ -330818,7 +330844,8 @@
"type": "boolean",
"name": "org_metadata_only",
"in": "body",
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>"
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>",
"default": false
},
{
"type": "array of strings",
@ -336667,13 +336694,15 @@
"type": "boolean",
"name": "members_can_fork_private_repositories",
"in": "body",
"description": "<p>Whether organization members can fork private organization repositories.</p>"
"description": "<p>Whether organization members can fork private organization repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "web_commit_signoff_required",
"in": "body",
"description": "<p>Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.</p>"
"description": "<p>Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.</p>",
"default": false
},
{
"type": "string",
@ -345369,7 +345398,8 @@
"type": "boolean",
"name": "async",
"in": "body",
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>"
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -413977,13 +414007,15 @@
"type": "boolean",
"name": "draft",
"in": "body",
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>"
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>",
"default": false
},
{
"type": "boolean",
"name": "prerelease",
"in": "body",
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>"
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>",
"default": false
},
{
"type": "string",
@ -413995,7 +414027,8 @@
"type": "boolean",
"name": "generate_release_notes",
"in": "body",
"description": "<p>Whether to automatically generate the name and body for this release. If <code>name</code> is specified, the specified name will be used; otherwise, a name will be automatically generated. If <code>body</code> is specified, the body will be pre-pended to the automatically generated notes.</p>"
"description": "<p>Whether to automatically generate the name and body for this release. If <code>name</code> is specified, the specified name will be used; otherwise, a name will be automatically generated. If <code>body</code> is specified, the body will be pre-pended to the automatically generated notes.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -420346,7 +420379,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "string",
@ -420384,7 +420418,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "integer",
@ -420396,7 +420431,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>"
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>",
"default": false
},
{
"type": "string",
@ -420435,19 +420471,22 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -428308,7 +428347,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>"
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>",
"default": false
},
{
"type": "string",
@ -428390,7 +428430,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "string",
@ -428423,25 +428464,29 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_update_branch",
"in": "body",
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>"
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -428489,19 +428534,22 @@
"type": "boolean",
"name": "archived",
"in": "body",
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>"
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_forking",
"in": "body",
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>"
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>",
"default": false
},
{
"type": "boolean",
"name": "web_commit_signoff_required",
"in": "body",
"description": "<p>Either <code>true</code> to require contributors to sign off on web-based commits, or <code>false</code> to not require contributors to sign off on web-based commits.</p>"
"description": "<p>Either <code>true</code> to require contributors to sign off on web-based commits, or <code>false</code> to not require contributors to sign off on web-based commits.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -437238,13 +437286,15 @@
"type": "boolean",
"name": "include_all_branches",
"in": "body",
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>"
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>",
"default": false
},
{
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>"
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -441508,7 +441558,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "boolean",
@ -441541,7 +441592,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Whether the repository is initialized with a minimal README.</p>"
"description": "<p>Whether the repository is initialized with a minimal README.</p>",
"default": false
},
{
"type": "string",
@ -441580,13 +441632,15 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>"
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Whether to delete head branches when pull requests are merged</p>"
"description": "<p>Whether to delete head branches when pull requests are merged</p>",
"default": false
},
{
"type": "string",
@ -441641,7 +441695,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>"
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -488154,7 +488209,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -490132,7 +490188,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,

Просмотреть файл

@ -8727,13 +8727,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -9025,13 +9027,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -10277,13 +10281,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -10594,13 +10600,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -27180,7 +27188,8 @@
"type": "boolean",
"name": "enable_debug_logging",
"in": "body",
"description": "<p>Whether to enable debug logging for the re-run.</p>"
"description": "<p>Whether to enable debug logging for the re-run.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -37186,7 +37195,8 @@
"type": "boolean",
"name": "enable_debug_logging",
"in": "body",
"description": "<p>Whether to enable debug logging for the re-run.</p>"
"description": "<p>Whether to enable debug logging for the re-run.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -37269,7 +37279,8 @@
"type": "boolean",
"name": "enable_debug_logging",
"in": "body",
"description": "<p>Whether to enable debug logging for the re-run.</p>"
"description": "<p>Whether to enable debug logging for the re-run.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -79798,7 +79809,8 @@
"type": "boolean",
"name": "ignored",
"in": "body",
"description": "<p>Whether to block all notifications from a thread.</p>"
"description": "<p>Whether to block all notifications from a thread.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -215903,13 +215915,15 @@
"type": "string or null",
"name": "description",
"in": "body",
"description": "<p>Short description of the deployment.</p>"
"description": "<p>Short description of the deployment.</p>",
"default": ""
},
{
"type": "boolean",
"name": "transient_environment",
"in": "body",
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>"
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>",
"default": false
},
{
"type": "boolean",
@ -221181,19 +221195,22 @@
"type": "string",
"name": "target_url",
"in": "body",
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>"
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>",
"default": ""
},
{
"type": "string",
"name": "log_url",
"in": "body",
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>"
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "string",
"name": "description",
"in": "body",
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>"
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>",
"default": ""
},
{
"type": "string",
@ -221210,7 +221227,8 @@
"type": "string",
"name": "environment_url",
"in": "body",
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>"
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "boolean",
@ -241437,7 +241455,8 @@
"type": "boolean",
"name": "force",
"in": "body",
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>"
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -323353,43 +323372,50 @@
"type": "boolean",
"name": "lock_repositories",
"in": "body",
"description": "<p>Indicates whether repositories should be locked (to prevent manipulation) while migrating data.</p>"
"description": "<p>Indicates whether repositories should be locked (to prevent manipulation) while migrating data.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_metadata",
"in": "body",
"description": "<p>Indicates whether metadata should be excluded and only git source should be included for the migration.</p>"
"description": "<p>Indicates whether metadata should be excluded and only git source should be included for the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_git_data",
"in": "body",
"description": "<p>Indicates whether the repository git data should be excluded from the migration.</p>"
"description": "<p>Indicates whether the repository git data should be excluded from the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_attachments",
"in": "body",
"description": "<p>Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).</p>"
"description": "<p>Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_releases",
"in": "body",
"description": "<p>Indicates whether releases should be excluded from the migration (to reduce migration archive file size).</p>"
"description": "<p>Indicates whether releases should be excluded from the migration (to reduce migration archive file size).</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_owner_projects",
"in": "body",
"description": "<p>Indicates whether projects owned by the organization or users should be excluded. from the migration.</p>"
"description": "<p>Indicates whether projects owned by the organization or users should be excluded. from the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "org_metadata_only",
"in": "body",
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>"
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>",
"default": false
},
{
"type": "array of strings",
@ -332203,7 +332229,8 @@
"type": "boolean",
"name": "org_metadata_only",
"in": "body",
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>"
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>",
"default": false
},
{
"type": "array of strings",
@ -338052,13 +338079,15 @@
"type": "boolean",
"name": "members_can_fork_private_repositories",
"in": "body",
"description": "<p>Whether organization members can fork private organization repositories.</p>"
"description": "<p>Whether organization members can fork private organization repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "web_commit_signoff_required",
"in": "body",
"description": "<p>Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.</p>"
"description": "<p>Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.</p>",
"default": false
},
{
"type": "string",
@ -347327,7 +347356,8 @@
"type": "boolean",
"name": "async",
"in": "body",
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>"
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -415935,13 +415965,15 @@
"type": "boolean",
"name": "draft",
"in": "body",
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>"
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>",
"default": false
},
{
"type": "boolean",
"name": "prerelease",
"in": "body",
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>"
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>",
"default": false
},
{
"type": "string",
@ -415953,7 +415985,8 @@
"type": "boolean",
"name": "generate_release_notes",
"in": "body",
"description": "<p>Whether to automatically generate the name and body for this release. If <code>name</code> is specified, the specified name will be used; otherwise, a name will be automatically generated. If <code>body</code> is specified, the body will be pre-pended to the automatically generated notes.</p>"
"description": "<p>Whether to automatically generate the name and body for this release. If <code>name</code> is specified, the specified name will be used; otherwise, a name will be automatically generated. If <code>body</code> is specified, the body will be pre-pended to the automatically generated notes.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -422304,7 +422337,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "string",
@ -422342,7 +422376,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "integer",
@ -422354,7 +422389,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>"
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>",
"default": false
},
{
"type": "string",
@ -422393,19 +422429,22 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -430266,7 +430305,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>"
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>",
"default": false
},
{
"type": "string",
@ -430348,7 +430388,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "string",
@ -430381,25 +430422,29 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_update_branch",
"in": "body",
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>"
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -430447,19 +430492,22 @@
"type": "boolean",
"name": "archived",
"in": "body",
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>"
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_forking",
"in": "body",
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>"
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>",
"default": false
},
{
"type": "boolean",
"name": "web_commit_signoff_required",
"in": "body",
"description": "<p>Either <code>true</code> to require contributors to sign off on web-based commits, or <code>false</code> to not require contributors to sign off on web-based commits.</p>"
"description": "<p>Either <code>true</code> to require contributors to sign off on web-based commits, or <code>false</code> to not require contributors to sign off on web-based commits.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -439196,13 +439244,15 @@
"type": "boolean",
"name": "include_all_branches",
"in": "body",
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>"
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>",
"default": false
},
{
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>"
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -443466,7 +443516,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "boolean",
@ -443499,7 +443550,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Whether the repository is initialized with a minimal README.</p>"
"description": "<p>Whether the repository is initialized with a minimal README.</p>",
"default": false
},
{
"type": "string",
@ -443538,13 +443590,15 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>"
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Whether to delete head branches when pull requests are merged</p>"
"description": "<p>Whether to delete head branches when pull requests are merged</p>",
"default": false
},
{
"type": "string",
@ -443599,7 +443653,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>"
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -492472,7 +492527,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -494450,7 +494506,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,

Просмотреть файл

@ -6768,7 +6768,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -7002,7 +7003,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -8173,7 +8175,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -8426,7 +8429,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -68811,7 +68815,8 @@
"type": "boolean",
"name": "ignored",
"in": "body",
"description": "<p>Whether to block all notifications from a thread.</p>"
"description": "<p>Whether to block all notifications from a thread.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -156249,13 +156254,15 @@
"type": "string or null",
"name": "description",
"in": "body",
"description": "<p>Short description of the deployment.</p>"
"description": "<p>Short description of the deployment.</p>",
"default": ""
},
{
"type": "boolean",
"name": "transient_environment",
"in": "body",
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code><br>\n<strong>Note:</strong> This parameter requires you to use the <a href=\"https://docs.github.com/enterprise-server@3.2/rest/overview/api-previews#enhanced-deployments\"><code>application/vnd.github.ant-man-preview+json</code></a> custom media type.</p>"
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code><br>\n<strong>Note:</strong> This parameter requires you to use the <a href=\"https://docs.github.com/enterprise-server@3.2/rest/overview/api-previews#enhanced-deployments\"><code>application/vnd.github.ant-man-preview+json</code></a> custom media type.</p>",
"default": false
},
{
"type": "boolean",
@ -161535,19 +161542,22 @@
"type": "string",
"name": "target_url",
"in": "body",
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>"
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>",
"default": ""
},
{
"type": "string",
"name": "log_url",
"in": "body",
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code><br>\n<strong>Note:</strong> This parameter requires you to use the <a href=\"https://docs.github.com/enterprise-server@3.2/rest/overview/api-previews#enhanced-deployments\"><code>application/vnd.github.ant-man-preview+json</code></a> custom media type.</p>"
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code><br>\n<strong>Note:</strong> This parameter requires you to use the <a href=\"https://docs.github.com/enterprise-server@3.2/rest/overview/api-previews#enhanced-deployments\"><code>application/vnd.github.ant-man-preview+json</code></a> custom media type.</p>",
"default": ""
},
{
"type": "string",
"name": "description",
"in": "body",
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>"
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>",
"default": ""
},
{
"type": "string",
@ -161564,7 +161574,8 @@
"type": "string",
"name": "environment_url",
"in": "body",
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code><br>\n<strong>Note:</strong> This parameter requires you to use the <a href=\"https://docs.github.com/enterprise-server@3.2/rest/overview/api-previews#enhanced-deployments\"><code>application/vnd.github.ant-man-preview+json</code></a> custom media type.</p>"
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code><br>\n<strong>Note:</strong> This parameter requires you to use the <a href=\"https://docs.github.com/enterprise-server@3.2/rest/overview/api-previews#enhanced-deployments\"><code>application/vnd.github.ant-man-preview+json</code></a> custom media type.</p>",
"default": ""
},
{
"type": "boolean",
@ -189953,7 +189964,8 @@
"type": "boolean",
"name": "force",
"in": "body",
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>"
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -280357,7 +280369,8 @@
"type": "boolean",
"name": "async",
"in": "body",
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>"
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -338248,13 +338261,15 @@
"type": "boolean",
"name": "draft",
"in": "body",
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>"
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>",
"default": false
},
{
"type": "boolean",
"name": "prerelease",
"in": "body",
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>"
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -344437,7 +344452,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "string",
@ -344475,7 +344491,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "integer",
@ -344487,7 +344504,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>"
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>",
"default": false
},
{
"type": "string",
@ -344526,13 +344544,15 @@
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -357690,7 +357710,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>"
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>",
"default": false
},
{
"type": "string",
@ -357772,7 +357793,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "string",
@ -357805,19 +357827,22 @@
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_update_branch",
"in": "body",
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>"
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -357865,13 +357890,15 @@
"type": "boolean",
"name": "archived",
"in": "body",
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>"
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_forking",
"in": "body",
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>"
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -365809,13 +365836,15 @@
"type": "boolean",
"name": "include_all_branches",
"in": "body",
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>"
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>",
"default": false
},
{
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>"
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -369898,7 +369927,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "boolean",
@ -369931,7 +369961,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Whether the repository is initialized with a minimal README.</p>"
"description": "<p>Whether the repository is initialized with a minimal README.</p>",
"default": false
},
{
"type": "string",
@ -369970,7 +370001,8 @@
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Whether to delete head branches when pull requests are merged</p>"
"description": "<p>Whether to delete head branches when pull requests are merged</p>",
"default": false
},
{
"type": "string",
@ -370025,7 +370057,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>"
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -411175,7 +411208,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -413161,7 +413195,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,

Просмотреть файл

@ -6779,7 +6779,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -7013,7 +7014,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -8184,7 +8186,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -8437,7 +8440,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -69124,7 +69128,8 @@
"type": "boolean",
"name": "ignored",
"in": "body",
"description": "<p>Whether to block all notifications from a thread.</p>"
"description": "<p>Whether to block all notifications from a thread.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -156804,13 +156809,15 @@
"type": "string or null",
"name": "description",
"in": "body",
"description": "<p>Short description of the deployment.</p>"
"description": "<p>Short description of the deployment.</p>",
"default": ""
},
{
"type": "boolean",
"name": "transient_environment",
"in": "body",
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>"
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>",
"default": false
},
{
"type": "boolean",
@ -162082,19 +162089,22 @@
"type": "string",
"name": "target_url",
"in": "body",
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>"
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>",
"default": ""
},
{
"type": "string",
"name": "log_url",
"in": "body",
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>"
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "string",
"name": "description",
"in": "body",
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>"
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>",
"default": ""
},
{
"type": "string",
@ -162111,7 +162121,8 @@
"type": "string",
"name": "environment_url",
"in": "body",
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>"
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "boolean",
@ -190809,7 +190820,8 @@
"type": "boolean",
"name": "force",
"in": "body",
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>"
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -281709,7 +281721,8 @@
"type": "boolean",
"name": "async",
"in": "body",
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>"
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -339533,19 +339546,22 @@
"type": "boolean",
"name": "draft",
"in": "body",
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>"
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>",
"default": false
},
{
"type": "boolean",
"name": "prerelease",
"in": "body",
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>"
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>",
"default": false
},
{
"type": "boolean",
"name": "generate_release_notes",
"in": "body",
"description": "<p>Whether to automatically generate the name and body for this release. If <code>name</code> is specified, the specified name will be used; otherwise, a name will be automatically generated. If <code>body</code> is specified, the body will be pre-pended to the automatically generated notes.</p>"
"description": "<p>Whether to automatically generate the name and body for this release. If <code>name</code> is specified, the specified name will be used; otherwise, a name will be automatically generated. If <code>body</code> is specified, the body will be pre-pended to the automatically generated notes.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -345845,7 +345861,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "string",
@ -345883,7 +345900,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "integer",
@ -345895,7 +345913,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>"
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>",
"default": false
},
{
"type": "string",
@ -345934,19 +345953,22 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -353421,7 +353443,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>"
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>",
"default": false
},
{
"type": "string",
@ -353503,7 +353526,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "string",
@ -353536,25 +353560,29 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_update_branch",
"in": "body",
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>"
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -353602,13 +353630,15 @@
"type": "boolean",
"name": "archived",
"in": "body",
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>"
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_forking",
"in": "body",
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>"
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -361580,13 +361610,15 @@
"type": "boolean",
"name": "include_all_branches",
"in": "body",
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>"
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>",
"default": false
},
{
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>"
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -365693,7 +365725,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "boolean",
@ -365726,7 +365759,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Whether the repository is initialized with a minimal README.</p>"
"description": "<p>Whether the repository is initialized with a minimal README.</p>",
"default": false
},
{
"type": "string",
@ -365765,13 +365799,15 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>"
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Whether to delete head branches when pull requests are merged</p>"
"description": "<p>Whether to delete head branches when pull requests are merged</p>",
"default": false
},
{
"type": "string",
@ -365826,7 +365862,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>"
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -408890,7 +408927,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -410868,7 +410906,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,

Просмотреть файл

@ -6779,7 +6779,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -7013,7 +7014,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -8184,7 +8186,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -8437,7 +8440,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -71209,7 +71213,8 @@
"type": "boolean",
"name": "ignored",
"in": "body",
"description": "<p>Whether to block all notifications from a thread.</p>"
"description": "<p>Whether to block all notifications from a thread.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -164333,13 +164338,15 @@
"type": "string or null",
"name": "description",
"in": "body",
"description": "<p>Short description of the deployment.</p>"
"description": "<p>Short description of the deployment.</p>",
"default": ""
},
{
"type": "boolean",
"name": "transient_environment",
"in": "body",
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>"
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>",
"default": false
},
{
"type": "boolean",
@ -169611,19 +169618,22 @@
"type": "string",
"name": "target_url",
"in": "body",
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>"
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>",
"default": ""
},
{
"type": "string",
"name": "log_url",
"in": "body",
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>"
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "string",
"name": "description",
"in": "body",
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>"
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>",
"default": ""
},
{
"type": "string",
@ -169640,7 +169650,8 @@
"type": "string",
"name": "environment_url",
"in": "body",
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>"
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "boolean",
@ -198494,7 +198505,8 @@
"type": "boolean",
"name": "force",
"in": "body",
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>"
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -277332,43 +277344,50 @@
"type": "boolean",
"name": "lock_repositories",
"in": "body",
"description": "<p>Indicates whether repositories should be locked (to prevent manipulation) while migrating data.</p>"
"description": "<p>Indicates whether repositories should be locked (to prevent manipulation) while migrating data.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_metadata",
"in": "body",
"description": "<p>Indicates whether metadata should be excluded and only git source should be included for the migration.</p>"
"description": "<p>Indicates whether metadata should be excluded and only git source should be included for the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_git_data",
"in": "body",
"description": "<p>Indicates whether the repository git data should be excluded from the migration.</p>"
"description": "<p>Indicates whether the repository git data should be excluded from the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_attachments",
"in": "body",
"description": "<p>Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).</p>"
"description": "<p>Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_releases",
"in": "body",
"description": "<p>Indicates whether releases should be excluded from the migration (to reduce migration archive file size).</p>"
"description": "<p>Indicates whether releases should be excluded from the migration (to reduce migration archive file size).</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_owner_projects",
"in": "body",
"description": "<p>Indicates whether projects owned by the organization or users should be excluded. from the migration.</p>"
"description": "<p>Indicates whether projects owned by the organization or users should be excluded. from the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "org_metadata_only",
"in": "body",
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>"
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>",
"default": false
},
{
"type": "array of strings",
@ -283038,7 +283057,8 @@
"type": "boolean",
"name": "org_metadata_only",
"in": "body",
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>"
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>",
"default": false
},
{
"type": "array of strings",
@ -294171,7 +294191,8 @@
"type": "boolean",
"name": "members_can_fork_private_repositories",
"in": "body",
"description": "<p>Whether organization members can fork private organization repositories.</p>"
"description": "<p>Whether organization members can fork private organization repositories.</p>",
"default": false
},
{
"type": "string",
@ -299910,7 +299931,8 @@
"type": "boolean",
"name": "async",
"in": "body",
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>"
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -357734,19 +357756,22 @@
"type": "boolean",
"name": "draft",
"in": "body",
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>"
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>",
"default": false
},
{
"type": "boolean",
"name": "prerelease",
"in": "body",
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>"
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>",
"default": false
},
{
"type": "boolean",
"name": "generate_release_notes",
"in": "body",
"description": "<p>Whether to automatically generate the name and body for this release. If <code>name</code> is specified, the specified name will be used; otherwise, a name will be automatically generated. If <code>body</code> is specified, the body will be pre-pended to the automatically generated notes.</p>"
"description": "<p>Whether to automatically generate the name and body for this release. If <code>name</code> is specified, the specified name will be used; otherwise, a name will be automatically generated. If <code>body</code> is specified, the body will be pre-pended to the automatically generated notes.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -364046,7 +364071,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "string",
@ -364084,7 +364110,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "integer",
@ -364096,7 +364123,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>"
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>",
"default": false
},
{
"type": "string",
@ -364135,19 +364163,22 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -371622,7 +371653,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>"
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>",
"default": false
},
{
"type": "string",
@ -371704,7 +371736,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "string",
@ -371737,25 +371770,29 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_update_branch",
"in": "body",
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>"
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -371803,13 +371840,15 @@
"type": "boolean",
"name": "archived",
"in": "body",
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>"
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_forking",
"in": "body",
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>"
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -379931,13 +379970,15 @@
"type": "boolean",
"name": "include_all_branches",
"in": "body",
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>"
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>",
"default": false
},
{
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>"
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -384044,7 +384085,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "boolean",
@ -384077,7 +384119,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Whether the repository is initialized with a minimal README.</p>"
"description": "<p>Whether the repository is initialized with a minimal README.</p>",
"default": false
},
{
"type": "string",
@ -384116,13 +384159,15 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>"
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Whether to delete head branches when pull requests are merged</p>"
"description": "<p>Whether to delete head branches when pull requests are merged</p>",
"default": false
},
{
"type": "string",
@ -384177,7 +384222,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>"
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -428431,7 +428477,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -430409,7 +430456,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,

Просмотреть файл

@ -7743,13 +7743,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -8041,13 +8043,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -9284,13 +9288,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -9601,13 +9607,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -76859,7 +76867,8 @@
"type": "boolean",
"name": "ignored",
"in": "body",
"description": "<p>Whether to block all notifications from a thread.</p>"
"description": "<p>Whether to block all notifications from a thread.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -171489,13 +171498,15 @@
"type": "string or null",
"name": "description",
"in": "body",
"description": "<p>Short description of the deployment.</p>"
"description": "<p>Short description of the deployment.</p>",
"default": ""
},
{
"type": "boolean",
"name": "transient_environment",
"in": "body",
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>"
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>",
"default": false
},
{
"type": "boolean",
@ -176767,19 +176778,22 @@
"type": "string",
"name": "target_url",
"in": "body",
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>"
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>",
"default": ""
},
{
"type": "string",
"name": "log_url",
"in": "body",
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>"
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "string",
"name": "description",
"in": "body",
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>"
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>",
"default": ""
},
{
"type": "string",
@ -176796,7 +176810,8 @@
"type": "string",
"name": "environment_url",
"in": "body",
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>"
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "boolean",
@ -205650,7 +205665,8 @@
"type": "boolean",
"name": "force",
"in": "body",
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>"
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -284488,43 +284504,50 @@
"type": "boolean",
"name": "lock_repositories",
"in": "body",
"description": "<p>Indicates whether repositories should be locked (to prevent manipulation) while migrating data.</p>"
"description": "<p>Indicates whether repositories should be locked (to prevent manipulation) while migrating data.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_metadata",
"in": "body",
"description": "<p>Indicates whether metadata should be excluded and only git source should be included for the migration.</p>"
"description": "<p>Indicates whether metadata should be excluded and only git source should be included for the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_git_data",
"in": "body",
"description": "<p>Indicates whether the repository git data should be excluded from the migration.</p>"
"description": "<p>Indicates whether the repository git data should be excluded from the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_attachments",
"in": "body",
"description": "<p>Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).</p>"
"description": "<p>Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_releases",
"in": "body",
"description": "<p>Indicates whether releases should be excluded from the migration (to reduce migration archive file size).</p>"
"description": "<p>Indicates whether releases should be excluded from the migration (to reduce migration archive file size).</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_owner_projects",
"in": "body",
"description": "<p>Indicates whether projects owned by the organization or users should be excluded. from the migration.</p>"
"description": "<p>Indicates whether projects owned by the organization or users should be excluded. from the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "org_metadata_only",
"in": "body",
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>"
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>",
"default": false
},
{
"type": "array of strings",
@ -290194,7 +290217,8 @@
"type": "boolean",
"name": "org_metadata_only",
"in": "body",
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>"
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>",
"default": false
},
{
"type": "array of strings",
@ -301333,7 +301357,8 @@
"type": "boolean",
"name": "members_can_fork_private_repositories",
"in": "body",
"description": "<p>Whether organization members can fork private organization repositories.</p>"
"description": "<p>Whether organization members can fork private organization repositories.</p>",
"default": false
},
{
"type": "string",
@ -307072,7 +307097,8 @@
"type": "boolean",
"name": "async",
"in": "body",
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>"
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -364835,19 +364861,22 @@
"type": "boolean",
"name": "draft",
"in": "body",
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>"
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>",
"default": false
},
{
"type": "boolean",
"name": "prerelease",
"in": "body",
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>"
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>",
"default": false
},
{
"type": "boolean",
"name": "generate_release_notes",
"in": "body",
"description": "<p>Whether to automatically generate the name and body for this release. If <code>name</code> is specified, the specified name will be used; otherwise, a name will be automatically generated. If <code>body</code> is specified, the body will be pre-pended to the automatically generated notes.</p>"
"description": "<p>Whether to automatically generate the name and body for this release. If <code>name</code> is specified, the specified name will be used; otherwise, a name will be automatically generated. If <code>body</code> is specified, the body will be pre-pended to the automatically generated notes.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -371153,7 +371182,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "string",
@ -371191,7 +371221,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "integer",
@ -371203,7 +371234,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>"
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>",
"default": false
},
{
"type": "string",
@ -371242,19 +371274,22 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -378729,7 +378764,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>"
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>",
"default": false
},
{
"type": "string",
@ -378811,7 +378847,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "string",
@ -378844,25 +378881,29 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_update_branch",
"in": "body",
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>"
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -378910,13 +378951,15 @@
"type": "boolean",
"name": "archived",
"in": "body",
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>"
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_forking",
"in": "body",
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>"
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -387212,13 +387255,15 @@
"type": "boolean",
"name": "include_all_branches",
"in": "body",
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>"
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>",
"default": false
},
{
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>"
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -391331,7 +391376,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "boolean",
@ -391364,7 +391410,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Whether the repository is initialized with a minimal README.</p>"
"description": "<p>Whether the repository is initialized with a minimal README.</p>",
"default": false
},
{
"type": "string",
@ -391403,13 +391450,15 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>"
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Whether to delete head branches when pull requests are merged</p>"
"description": "<p>Whether to delete head branches when pull requests are merged</p>",
"default": false
},
{
"type": "string",
@ -391464,7 +391513,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>"
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -436099,7 +436149,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -438077,7 +438128,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,

Просмотреть файл

@ -8175,13 +8175,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -8473,13 +8475,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -9725,13 +9729,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -10042,13 +10048,15 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "restricted_to_workflows",
"in": "body",
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>"
"description": "<p>If <code>true</code>, the runner group will be restricted to running only the workflows specified in the <code>selected_workflows</code> array.</p>",
"default": false
},
{
"type": "array of strings",
@ -26658,7 +26666,8 @@
"type": "boolean",
"name": "enable_debug_logging",
"in": "body",
"description": "<p>Whether to enable debug logging for the re-run.</p>"
"description": "<p>Whether to enable debug logging for the re-run.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -36548,7 +36557,8 @@
"type": "boolean",
"name": "enable_debug_logging",
"in": "body",
"description": "<p>Whether to enable debug logging for the re-run.</p>"
"description": "<p>Whether to enable debug logging for the re-run.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -36631,7 +36641,8 @@
"type": "boolean",
"name": "enable_debug_logging",
"in": "body",
"description": "<p>Whether to enable debug logging for the re-run.</p>"
"description": "<p>Whether to enable debug logging for the re-run.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -78781,7 +78792,8 @@
"type": "boolean",
"name": "ignored",
"in": "body",
"description": "<p>Whether to block all notifications from a thread.</p>"
"description": "<p>Whether to block all notifications from a thread.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -174524,13 +174536,15 @@
"type": "string or null",
"name": "description",
"in": "body",
"description": "<p>Short description of the deployment.</p>"
"description": "<p>Short description of the deployment.</p>",
"default": ""
},
{
"type": "boolean",
"name": "transient_environment",
"in": "body",
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>"
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>",
"default": false
},
{
"type": "boolean",
@ -179802,19 +179816,22 @@
"type": "string",
"name": "target_url",
"in": "body",
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>"
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>",
"default": ""
},
{
"type": "string",
"name": "log_url",
"in": "body",
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>"
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "string",
"name": "description",
"in": "body",
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>"
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>",
"default": ""
},
{
"type": "string",
@ -179831,7 +179848,8 @@
"type": "string",
"name": "environment_url",
"in": "body",
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>"
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "boolean",
@ -213578,7 +213596,8 @@
"type": "boolean",
"name": "force",
"in": "body",
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>"
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -293482,43 +293501,50 @@
"type": "boolean",
"name": "lock_repositories",
"in": "body",
"description": "<p>Indicates whether repositories should be locked (to prevent manipulation) while migrating data.</p>"
"description": "<p>Indicates whether repositories should be locked (to prevent manipulation) while migrating data.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_metadata",
"in": "body",
"description": "<p>Indicates whether metadata should be excluded and only git source should be included for the migration.</p>"
"description": "<p>Indicates whether metadata should be excluded and only git source should be included for the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_git_data",
"in": "body",
"description": "<p>Indicates whether the repository git data should be excluded from the migration.</p>"
"description": "<p>Indicates whether the repository git data should be excluded from the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_attachments",
"in": "body",
"description": "<p>Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).</p>"
"description": "<p>Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_releases",
"in": "body",
"description": "<p>Indicates whether releases should be excluded from the migration (to reduce migration archive file size).</p>"
"description": "<p>Indicates whether releases should be excluded from the migration (to reduce migration archive file size).</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_owner_projects",
"in": "body",
"description": "<p>Indicates whether projects owned by the organization or users should be excluded. from the migration.</p>"
"description": "<p>Indicates whether projects owned by the organization or users should be excluded. from the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "org_metadata_only",
"in": "body",
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>"
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>",
"default": false
},
{
"type": "array of strings",
@ -299434,7 +299460,8 @@
"type": "boolean",
"name": "org_metadata_only",
"in": "body",
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>"
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>",
"default": false
},
{
"type": "array of strings",
@ -310667,13 +310694,15 @@
"type": "boolean",
"name": "members_can_fork_private_repositories",
"in": "body",
"description": "<p>Whether organization members can fork private organization repositories.</p>"
"description": "<p>Whether organization members can fork private organization repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "web_commit_signoff_required",
"in": "body",
"description": "<p>Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.</p>"
"description": "<p>Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.</p>",
"default": false
},
{
"type": "string",
@ -316419,7 +316448,8 @@
"type": "boolean",
"name": "async",
"in": "body",
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>"
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -374692,19 +374722,22 @@
"type": "boolean",
"name": "draft",
"in": "body",
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>"
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>",
"default": false
},
{
"type": "boolean",
"name": "prerelease",
"in": "body",
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>"
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>",
"default": false
},
{
"type": "boolean",
"name": "generate_release_notes",
"in": "body",
"description": "<p>Whether to automatically generate the name and body for this release. If <code>name</code> is specified, the specified name will be used; otherwise, a name will be automatically generated. If <code>body</code> is specified, the body will be pre-pended to the automatically generated notes.</p>"
"description": "<p>Whether to automatically generate the name and body for this release. If <code>name</code> is specified, the specified name will be used; otherwise, a name will be automatically generated. If <code>body</code> is specified, the body will be pre-pended to the automatically generated notes.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -381016,7 +381049,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "string",
@ -381054,7 +381088,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "integer",
@ -381066,7 +381101,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>"
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>",
"default": false
},
{
"type": "string",
@ -381105,19 +381141,22 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -388978,7 +389017,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>"
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>",
"default": false
},
{
"type": "string",
@ -389060,7 +389100,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "string",
@ -389093,25 +389134,29 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_update_branch",
"in": "body",
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>"
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -389159,19 +389204,22 @@
"type": "boolean",
"name": "archived",
"in": "body",
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>"
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_forking",
"in": "body",
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>"
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>",
"default": false
},
{
"type": "boolean",
"name": "web_commit_signoff_required",
"in": "body",
"description": "<p>Either <code>true</code> to require contributors to sign off on web-based commits, or <code>false</code> to not require contributors to sign off on web-based commits.</p>"
"description": "<p>Either <code>true</code> to require contributors to sign off on web-based commits, or <code>false</code> to not require contributors to sign off on web-based commits.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -397779,13 +397827,15 @@
"type": "boolean",
"name": "include_all_branches",
"in": "body",
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>"
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>",
"default": false
},
{
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>"
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -402068,7 +402118,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "boolean",
@ -402101,7 +402152,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Whether the repository is initialized with a minimal README.</p>"
"description": "<p>Whether the repository is initialized with a minimal README.</p>",
"default": false
},
{
"type": "string",
@ -402140,13 +402192,15 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>"
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Whether to delete head branches when pull requests are merged</p>"
"description": "<p>Whether to delete head branches when pull requests are merged</p>",
"default": false
},
{
"type": "string",
@ -402201,7 +402255,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>"
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -448577,7 +448632,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -450555,7 +450611,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,

Просмотреть файл

@ -6321,7 +6321,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -6555,7 +6556,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -7319,7 +7321,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -7572,7 +7575,8 @@
"type": "boolean",
"name": "allows_public_repositories",
"in": "body",
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>"
"description": "<p>Whether the runner group can be used by <code>public</code> repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -46118,7 +46122,8 @@
"type": "boolean",
"name": "ignored",
"in": "body",
"description": "<p>Whether to block all notifications from a thread.</p>"
"description": "<p>Whether to block all notifications from a thread.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -133891,13 +133896,15 @@
"type": "string or null",
"name": "description",
"in": "body",
"description": "<p>Short description of the deployment.</p>"
"description": "<p>Short description of the deployment.</p>",
"default": ""
},
{
"type": "boolean",
"name": "transient_environment",
"in": "body",
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>"
"description": "<p>Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: <code>false</code></p>",
"default": false
},
{
"type": "boolean",
@ -139169,19 +139176,22 @@
"type": "string",
"name": "target_url",
"in": "body",
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>"
"description": "<p>The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. <strong>Note:</strong> It's recommended to use the <code>log_url</code> parameter, which replaces <code>target_url</code>.</p>",
"default": ""
},
{
"type": "string",
"name": "log_url",
"in": "body",
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>"
"description": "<p>The full URL of the deployment's output. This parameter replaces <code>target_url</code>. We will continue to accept <code>target_url</code> to support legacy uses, but we recommend replacing <code>target_url</code> with <code>log_url</code>. Setting <code>log_url</code> will automatically set <code>target_url</code> to the same value. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "string",
"name": "description",
"in": "body",
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>"
"description": "<p>A short description of the status. The maximum description length is 140 characters.</p>",
"default": ""
},
{
"type": "string",
@ -139198,7 +139208,8 @@
"type": "string",
"name": "environment_url",
"in": "body",
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>"
"description": "<p>Sets the URL for accessing your environment. Default: <code>\"\"</code></p>",
"default": ""
},
{
"type": "boolean",
@ -163842,7 +163853,8 @@
"type": "boolean",
"name": "force",
"in": "body",
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>"
"description": "<p>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to <code>false</code> will make sure you're not overwriting work.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -242853,43 +242865,50 @@
"type": "boolean",
"name": "lock_repositories",
"in": "body",
"description": "<p>Indicates whether repositories should be locked (to prevent manipulation) while migrating data.</p>"
"description": "<p>Indicates whether repositories should be locked (to prevent manipulation) while migrating data.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_metadata",
"in": "body",
"description": "<p>Indicates whether metadata should be excluded and only git source should be included for the migration.</p>"
"description": "<p>Indicates whether metadata should be excluded and only git source should be included for the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_git_data",
"in": "body",
"description": "<p>Indicates whether the repository git data should be excluded from the migration.</p>"
"description": "<p>Indicates whether the repository git data should be excluded from the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_attachments",
"in": "body",
"description": "<p>Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).</p>"
"description": "<p>Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_releases",
"in": "body",
"description": "<p>Indicates whether releases should be excluded from the migration (to reduce migration archive file size).</p>"
"description": "<p>Indicates whether releases should be excluded from the migration (to reduce migration archive file size).</p>",
"default": false
},
{
"type": "boolean",
"name": "exclude_owner_projects",
"in": "body",
"description": "<p>Indicates whether projects owned by the organization or users should be excluded. from the migration.</p>"
"description": "<p>Indicates whether projects owned by the organization or users should be excluded. from the migration.</p>",
"default": false
},
{
"type": "boolean",
"name": "org_metadata_only",
"in": "body",
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>"
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>",
"default": false
},
{
"type": "array of strings",
@ -248574,7 +248593,8 @@
"type": "boolean",
"name": "org_metadata_only",
"in": "body",
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>"
"description": "<p>Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).</p>",
"default": false
},
{
"type": "array of strings",
@ -252250,13 +252270,15 @@
"type": "boolean",
"name": "members_can_fork_private_repositories",
"in": "body",
"description": "<p>Whether organization members can fork private organization repositories.</p>"
"description": "<p>Whether organization members can fork private organization repositories.</p>",
"default": false
},
{
"type": "boolean",
"name": "web_commit_signoff_required",
"in": "body",
"description": "<p>Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.</p>"
"description": "<p>Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.</p>",
"default": false
},
{
"type": "string",
@ -257548,7 +257570,8 @@
"type": "boolean",
"name": "async",
"in": "body",
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>"
"description": "<p>When set to <code>true</code>, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -314065,13 +314088,15 @@
"type": "boolean",
"name": "draft",
"in": "body",
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>"
"description": "<p><code>true</code> to create a draft (unpublished) release, <code>false</code> to create a published one.</p>",
"default": false
},
{
"type": "boolean",
"name": "prerelease",
"in": "body",
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>"
"description": "<p><code>true</code> to identify the release as a prerelease. <code>false</code> to identify the release as a full release.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -320287,7 +320312,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "string",
@ -320325,7 +320351,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "integer",
@ -320337,7 +320364,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>"
"description": "<p>Pass <code>true</code> to create an initial commit with empty README.</p>",
"default": false
},
{
"type": "string",
@ -320376,19 +320404,22 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -327895,7 +327926,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>"
"description": "<p>Either <code>true</code> to make the repository private or <code>false</code> to make it public. Default: <code>false</code>.<br>\n<strong>Note</strong>: You will get a <code>422</code> error if the organization restricts <a href=\"https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories\">changing repository visibility</a> to organization owners and a non-owner tries to change the value of private.</p>",
"default": false
},
{
"type": "string",
@ -327977,7 +328009,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>"
"description": "<p>Either <code>true</code> to make this repo available as a template repository or <code>false</code> to prevent it.</p>",
"default": false
},
{
"type": "string",
@ -328010,25 +328043,29 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>"
"description": "<p>Either <code>true</code> to allow auto-merge on pull requests, or <code>false</code> to disallow auto-merge.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>"
"description": "<p>Either <code>true</code> to allow automatically deleting head branches when pull requests are merged, or <code>false</code> to prevent automatic deletion.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_update_branch",
"in": "body",
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>"
"description": "<p>Either <code>true</code> to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.</p>",
"default": false
},
{
"type": "boolean",
"name": "use_squash_pr_title_as_default",
"in": "body",
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>"
"description": "<p>Either <code>true</code> to allow squash-merge commits to use pull request title, or <code>false</code> to use commit message. **This property has been deprecated. Please use <code>squash_merge_commit_title</code> instead.</p>",
"default": false
},
{
"type": "string",
@ -328076,19 +328113,22 @@
"type": "boolean",
"name": "archived",
"in": "body",
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>"
"description": "<p><code>true</code> to archive this repository. <strong>Note</strong>: You cannot unarchive repositories through the API.</p>",
"default": false
},
{
"type": "boolean",
"name": "allow_forking",
"in": "body",
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>"
"description": "<p>Either <code>true</code> to allow private forks, or <code>false</code> to prevent private forks.</p>",
"default": false
},
{
"type": "boolean",
"name": "web_commit_signoff_required",
"in": "body",
"description": "<p>Either <code>true</code> to require contributors to sign off on web-based commits, or <code>false</code> to not require contributors to sign off on web-based commits.</p>"
"description": "<p>Either <code>true</code> to require contributors to sign off on web-based commits, or <code>false</code> to not require contributors to sign off on web-based commits.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -336269,13 +336309,15 @@
"type": "boolean",
"name": "include_all_branches",
"in": "body",
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>"
"description": "<p>Set to <code>true</code> to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: <code>false</code>.</p>",
"default": false
},
{
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>"
"description": "<p>Either <code>true</code> to create a new private repository or <code>false</code> to create a new public one.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -339517,7 +339559,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Whether the repository is private.</p>"
"description": "<p>Whether the repository is private.</p>",
"default": false
},
{
"type": "boolean",
@ -339550,7 +339593,8 @@
"type": "boolean",
"name": "auto_init",
"in": "body",
"description": "<p>Whether the repository is initialized with a minimal README.</p>"
"description": "<p>Whether the repository is initialized with a minimal README.</p>",
"default": false
},
{
"type": "string",
@ -339589,13 +339633,15 @@
"type": "boolean",
"name": "allow_auto_merge",
"in": "body",
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>"
"description": "<p>Whether to allow Auto-merge to be used on pull requests.</p>",
"default": false
},
{
"type": "boolean",
"name": "delete_branch_on_merge",
"in": "body",
"description": "<p>Whether to delete head branches when pull requests are merged</p>"
"description": "<p>Whether to delete head branches when pull requests are merged</p>",
"default": false
},
{
"type": "string",
@ -339650,7 +339696,8 @@
"type": "boolean",
"name": "is_template",
"in": "body",
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>"
"description": "<p>Whether this repository acts as a template that can be used to generate new repositories.</p>",
"default": false
}
],
"enabledForGitHubApps": false,
@ -381662,7 +381709,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,
@ -383640,7 +383688,8 @@
"type": "boolean",
"name": "private",
"in": "body",
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>"
"description": "<p>Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to <code>true</code> to create a private post.</p>",
"default": false
}
],
"enabledForGitHubApps": true,

Просмотреть файл

@ -141,7 +141,9 @@ export async function getBodyParams(schema, topLevel = false) {
if (param.enum) {
paramDecorated.enum = param.enum
}
if (param.default) {
// we also want to catch default values of `false` for booleans
if (param.default !== undefined) {
paramDecorated.default = param.default
}