|
6341 | 6341 | "category": "dependabot", |
6342 | 6342 | "subcategory": "repository-access" |
6343 | 6343 | } |
| 6344 | + }, |
| 6345 | + "patch": { |
| 6346 | + "summary": "Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.", |
| 6347 | + "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.", |
| 6348 | + "tags": [ |
| 6349 | + "dependabot" |
| 6350 | + ], |
| 6351 | + "operationId": "dependabot/update-repository-access-for-org", |
| 6352 | + "externalDocs": { |
| 6353 | + "description": "API method documentation", |
| 6354 | + "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" |
| 6355 | + }, |
| 6356 | + "parameters": [ |
| 6357 | + { |
| 6358 | + "$ref": "#/components/parameters/org" |
| 6359 | + } |
| 6360 | + ], |
| 6361 | + "requestBody": { |
| 6362 | + "required": true, |
| 6363 | + "content": { |
| 6364 | + "application/json": { |
| 6365 | + "schema": { |
| 6366 | + "type": "object", |
| 6367 | + "oneOf": [ |
| 6368 | + { |
| 6369 | + "required": [ |
| 6370 | + "repository_ids_to_add" |
| 6371 | + ] |
| 6372 | + }, |
| 6373 | + { |
| 6374 | + "required": [ |
| 6375 | + "repository_ids_to_remove" |
| 6376 | + ] |
| 6377 | + } |
| 6378 | + ], |
| 6379 | + "properties": { |
| 6380 | + "repository_ids_to_add": { |
| 6381 | + "type": "array", |
| 6382 | + "items": { |
| 6383 | + "type": "integer" |
| 6384 | + } |
| 6385 | + }, |
| 6386 | + "repository_ids_to_remove": { |
| 6387 | + "type": "array", |
| 6388 | + "items": { |
| 6389 | + "type": "integer" |
| 6390 | + } |
| 6391 | + } |
| 6392 | + } |
| 6393 | + }, |
| 6394 | + "examples": { |
| 6395 | + "204": { |
| 6396 | + "summary": "Example with a 'succeeded' status." |
| 6397 | + } |
| 6398 | + } |
| 6399 | + } |
| 6400 | + } |
| 6401 | + }, |
| 6402 | + "responses": { |
| 6403 | + "204": { |
| 6404 | + "description": "Response" |
| 6405 | + }, |
| 6406 | + "403": { |
| 6407 | + "$ref": "#/components/responses/forbidden" |
| 6408 | + }, |
| 6409 | + "404": { |
| 6410 | + "$ref": "#/components/responses/not_found" |
| 6411 | + } |
| 6412 | + }, |
| 6413 | + "x-github": { |
| 6414 | + "githubCloudOnly": false, |
| 6415 | + "enabledForGitHubApps": true, |
| 6416 | + "category": "dependabot", |
| 6417 | + "subcategory": "repository-access" |
| 6418 | + } |
6344 | 6419 | } |
6345 | 6420 | }, |
6346 | 6421 | "/organizations/{org}/dependabot/repository-access/default-level": { |
|
0 commit comments