Skip to content

Commit c52348c

Browse files
authored
Merge pull request #5001 from github/openapi-update-f229a5df145ae279574b580e41fdf926cef85fad867b58f606aff40e313e8054
Update OpenAPI 3.1 Descriptions
2 parents 759a2a0 + 7a1171b commit c52348c

16 files changed

+13630
-10550
lines changed

descriptions-next/api.github.com/api.github.com.2022-11-28.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6335,15 +6335,15 @@
63356335
},
63366336
"/organizations/{org}/dependabot/repository-access": {
63376337
"get": {
6338-
"summary": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.",
6339-
"description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.",
6338+
"summary": "Lists the repositories Dependabot can access in an organization",
6339+
"description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.",
63406340
"tags": [
63416341
"dependabot"
63426342
],
63436343
"operationId": "dependabot/repository-access-for-org",
63446344
"externalDocs": {
63456345
"description": "API method documentation",
6346-
"url": "https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies"
6346+
"url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization"
63476347
},
63486348
"parameters": [
63496349
{
@@ -6404,15 +6404,15 @@
64046404
}
64056405
},
64066406
"patch": {
6407-
"summary": "Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.",
6408-
"description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```",
6407+
"summary": "Updates Dependabot's repository access list for an organization",
6408+
"description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```",
64096409
"tags": [
64106410
"dependabot"
64116411
],
64126412
"operationId": "dependabot/update-repository-access-for-org",
64136413
"externalDocs": {
64146414
"description": "API method documentation",
6415-
"url": "https://docs.github.com/rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies"
6415+
"url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization"
64166416
},
64176417
"parameters": [
64186418
{
@@ -6498,7 +6498,7 @@
64986498
"/organizations/{org}/dependabot/repository-access/default-level": {
64996499
"put": {
65006500
"summary": "Set the default repository access level for Dependabot",
6501-
"description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nSets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.",
6501+
"description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.",
65026502
"tags": [
65036503
"dependabot"
65046504
],

0 commit comments

Comments
 (0)