Skip to content

Commit

Permalink
Merge pull request github#33421 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Jun 10, 2024
2 parents 83aa95c + 3173aa9 commit bd69e57
Show file tree
Hide file tree
Showing 31 changed files with 107 additions and 2,921 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3976,7 +3976,7 @@
"requestPath": "/repos/{template_owner}/{template_repo}/generate",
"access": "write",
"user-to-server": true,
"server-to-server": false,
"server-to-server": true,
"additional-permissions": false
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3942,6 +3942,12 @@
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/zipball/{ref}"
},
{
"slug": "create-a-repository-using-a-template",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{template_owner}/{template_repo}/generate"
},
{
"slug": "list-public-repositories",
"subcategory": "repos",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4824,7 +4824,7 @@
"requestPath": "/repos/{template_owner}/{template_repo}/generate",
"access": "write",
"user-to-server": true,
"server-to-server": false,
"server-to-server": true,
"additional-permissions": false
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4270,6 +4270,12 @@
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/zipball/{ref}"
},
{
"slug": "create-a-repository-using-a-template",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{template_owner}/{template_repo}/generate"
},
{
"slug": "list-public-repositories",
"subcategory": "repos",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3556,7 +3556,7 @@
"requestPath": "/repos/{template_owner}/{template_repo}/generate",
"access": "write",
"user-to-server": true,
"server-to-server": false,
"server-to-server": true,
"additional-permissions": false
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3580,6 +3580,12 @@
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/zipball/{ref}"
},
{
"slug": "create-a-repository-using-a-template",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{template_owner}/{template_repo}/generate"
},
{
"slug": "list-public-repositories",
"subcategory": "repos",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3644,7 +3644,7 @@
"requestPath": "/repos/{template_owner}/{template_repo}/generate",
"access": "write",
"user-to-server": true,
"server-to-server": false,
"server-to-server": true,
"additional-permissions": false
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3652,6 +3652,12 @@
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/zipball/{ref}"
},
{
"slug": "create-a-repository-using-a-template",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{template_owner}/{template_repo}/generate"
},
{
"slug": "list-public-repositories",
"subcategory": "repos",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3699,7 +3699,7 @@
"requestPath": "/repos/{template_owner}/{template_repo}/generate",
"access": "write",
"user-to-server": true,
"server-to-server": false,
"server-to-server": true,
"additional-permissions": false
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3682,6 +3682,12 @@
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/zipball/{ref}"
},
{
"slug": "create-a-repository-using-a-template",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{template_owner}/{template_repo}/generate"
},
{
"slug": "list-public-repositories",
"subcategory": "repos",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3942,7 +3942,7 @@
"requestPath": "/repos/{template_owner}/{template_repo}/generate",
"access": "write",
"user-to-server": true,
"server-to-server": false,
"server-to-server": true,
"additional-permissions": false
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3832,6 +3832,12 @@
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/zipball/{ref}"
},
{
"slug": "create-a-repository-using-a-template",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{template_owner}/{template_repo}/generate"
},
{
"slug": "list-public-repositories",
"subcategory": "repos",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3368,7 +3368,7 @@
"requestPath": "/repos/{template_owner}/{template_repo}/generate",
"access": "write",
"user-to-server": true,
"server-to-server": false,
"server-to-server": true,
"additional-permissions": false
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3478,6 +3478,12 @@
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/zipball/{ref}"
},
{
"slug": "create-a-repository-using-a-template",
"subcategory": "repos",
"verb": "post",
"requestPath": "/repos/{template_owner}/{template_repo}/generate"
},
{
"slug": "list-public-repositories",
"subcategory": "repos",
Expand Down
2 changes: 1 addition & 1 deletion src/github-apps/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
"2022-11-28"
]
},
"sha": "4adfd3e5dd6abe3d8e334ba494079071d78c7fd4"
"sha": "0305b93e5aebf14aeb7548bd4d4d53adcf054386"
}
16 changes: 8 additions & 8 deletions src/rest/data/fpt-2022-11-28/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -85922,7 +85922,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify\nwhich repositories the token can access and which permissions are granted to the\ntoken.</p>\n<p>Invalid tokens will return <code>404 NOT FOUND</code>.</p>\n<p>You must use <a href=\"https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication\">Basic Authentication</a>\nwhen accessing this endpoint, using the <code>client_id</code> and <code>client_secret</code> of the GitHub App\nas the username and password.</p>",
"descriptionHTML": "<p>Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify\nwhich repositories the token can access and which permissions are granted to the\ntoken.</p>\n<p>Invalid tokens will return <code>404 NOT FOUND</code>.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
Expand Down Expand Up @@ -93138,7 +93138,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Add a single repository to an installation. The authenticated user must have admin access to the repository.</p>",
"descriptionHTML": "<p>Add a single repository to an installation. The authenticated user must have admin access to the repository.</p>\n<p>This endpoint only works for PATs (classic) with the <code>repo</code> scope.</p>",
"statusCodes": [
{
"httpStatusCode": "204",
Expand Down Expand Up @@ -93215,7 +93215,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the <code>repository_selection</code> of <code>selected</code>.</p>",
"descriptionHTML": "<p>Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the <code>repository_selection</code> of <code>selected</code>.</p>\n<p>This endpoint only works for PATs (classic) with the <code>repo</code> scope.</p>",
"statusCodes": [
{
"httpStatusCode": "204",
Expand Down Expand Up @@ -96171,7 +96171,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use <a href=\"https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication\">Basic Authentication</a> when accessing this endpoint, using the OAuth application's <code>client_id</code> and <code>client_secret</code> as the username and password. You must also provide a valid OAuth <code>access_token</code> as an input parameter and the grant for the token's owner will be deleted.\nDeleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on <a href=\"https://github.com/settings/applications#authorized\">the application authorizations settings screen within GitHub</a>.</p>",
"descriptionHTML": "<p>OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth <code>access_token</code> as an input parameter and the grant for the token's owner will be deleted.\nDeleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on <a href=\"https://github.com/settings/applications#authorized\">the application authorizations settings screen within GitHub</a>.</p>",
"statusCodes": [
{
"httpStatusCode": "204",
Expand Down Expand Up @@ -97178,7 +97178,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use <a href=\"https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication\">Basic Authentication</a> to use this endpoint, where the username is the application <code>client_id</code> and the password is its <code>client_secret</code>. Invalid tokens will return <code>404 NOT FOUND</code>.</p>",
"descriptionHTML": "<p>OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. Invalid tokens will return <code>404 NOT FOUND</code>.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
Expand Down Expand Up @@ -98189,7 +98189,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use <a href=\"https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication\">Basic Authentication</a> when accessing this endpoint, using the application's <code>client_id</code> and <code>client_secret</code> as the username and password. Invalid tokens will return <code>404 NOT FOUND</code>.</p>",
"descriptionHTML": "<p>OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. Invalid tokens will return <code>404 NOT FOUND</code>.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
Expand Down Expand Up @@ -98261,7 +98261,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use <a href=\"https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication\">Basic Authentication</a> when accessing this endpoint, using the application's <code>client_id</code> and <code>client_secret</code> as the username and password.</p>",
"descriptionHTML": "<p>OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization.</p>",
"statusCodes": [
{
"httpStatusCode": "204",
Expand Down Expand Up @@ -458832,7 +458832,7 @@
],
"progAccess": {
"userToServerRest": true,
"serverToServer": false,
"serverToServer": true,
"fineGrainedPat": true,
"permissions": [
{
Expand Down
16 changes: 8 additions & 8 deletions src/rest/data/ghec-2022-11-28/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -95532,7 +95532,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify\nwhich repositories the token can access and which permissions are granted to the\ntoken.</p>\n<p>Invalid tokens will return <code>404 NOT FOUND</code>.</p>\n<p>You must use <a href=\"https://docs.github.com/enterprise-cloud@latest//rest/authentication/authenticating-to-the-rest-api#using-basic-authentication\">Basic Authentication</a>\nwhen accessing this endpoint, using the <code>client_id</code> and <code>client_secret</code> of the GitHub App\nas the username and password.</p>",
"descriptionHTML": "<p>Use a non-scoped user access token to create a repository-scoped and/or permission-scoped user access token. You can specify\nwhich repositories the token can access and which permissions are granted to the\ntoken.</p>\n<p>Invalid tokens will return <code>404 NOT FOUND</code>.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
Expand Down Expand Up @@ -102748,7 +102748,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Add a single repository to an installation. The authenticated user must have admin access to the repository.</p>",
"descriptionHTML": "<p>Add a single repository to an installation. The authenticated user must have admin access to the repository.</p>\n<p>This endpoint only works for PATs (classic) with the <code>repo</code> scope.</p>",
"statusCodes": [
{
"httpStatusCode": "204",
Expand Down Expand Up @@ -102825,7 +102825,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the <code>repository_selection</code> of <code>selected</code>.</p>",
"descriptionHTML": "<p>Remove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the <code>repository_selection</code> of <code>selected</code>.</p>\n<p>This endpoint only works for PATs (classic) with the <code>repo</code> scope.</p>",
"statusCodes": [
{
"httpStatusCode": "204",
Expand Down Expand Up @@ -105781,7 +105781,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use <a href=\"https://docs.github.com/enterprise-cloud@latest//rest/authentication/authenticating-to-the-rest-api#using-basic-authentication\">Basic Authentication</a> when accessing this endpoint, using the OAuth application's <code>client_id</code> and <code>client_secret</code> as the username and password. You must also provide a valid OAuth <code>access_token</code> as an input parameter and the grant for the token's owner will be deleted.\nDeleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on <a href=\"https://github.com/settings/applications#authorized\">the application authorizations settings screen within GitHub</a>.</p>",
"descriptionHTML": "<p>OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must provide a valid OAuth <code>access_token</code> as an input parameter and the grant for the token's owner will be deleted.\nDeleting an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on <a href=\"https://github.com/settings/applications#authorized\">the application authorizations settings screen within GitHub</a>.</p>",
"statusCodes": [
{
"httpStatusCode": "204",
Expand Down Expand Up @@ -106788,7 +106788,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use <a href=\"https://docs.github.com/enterprise-cloud@latest//rest/authentication/authenticating-to-the-rest-api#using-basic-authentication\">Basic Authentication</a> to use this endpoint, where the username is the application <code>client_id</code> and the password is its <code>client_secret</code>. Invalid tokens will return <code>404 NOT FOUND</code>.</p>",
"descriptionHTML": "<p>OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. Invalid tokens will return <code>404 NOT FOUND</code>.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
Expand Down Expand Up @@ -107799,7 +107799,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use <a href=\"https://docs.github.com/enterprise-cloud@latest//rest/authentication/authenticating-to-the-rest-api#using-basic-authentication\">Basic Authentication</a> when accessing this endpoint, using the application's <code>client_id</code> and <code>client_secret</code> as the username and password. Invalid tokens will return <code>404 NOT FOUND</code>.</p>",
"descriptionHTML": "<p>OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. Invalid tokens will return <code>404 NOT FOUND</code>.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
Expand Down Expand Up @@ -107871,7 +107871,7 @@
}
],
"previews": [],
"descriptionHTML": "<p>OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization. You must use <a href=\"https://docs.github.com/enterprise-cloud@latest//rest/authentication/authenticating-to-the-rest-api#using-basic-authentication\">Basic Authentication</a> when accessing this endpoint, using the application's <code>client_id</code> and <code>client_secret</code> as the username and password.</p>",
"descriptionHTML": "<p>OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization.</p>",
"statusCodes": [
{
"httpStatusCode": "204",
Expand Down Expand Up @@ -482323,7 +482323,7 @@
],
"progAccess": {
"userToServerRest": true,
"serverToServer": false,
"serverToServer": true,
"fineGrainedPat": true,
"permissions": [
{
Expand Down
Loading

0 comments on commit bd69e57

Please sign in to comment.