|
6379 | 6379 | "category": "dependabot", |
6380 | 6380 | "subcategory": "repository-access" |
6381 | 6381 | } |
| 6382 | + }, |
| 6383 | + "patch": { |
| 6384 | + "summary": "Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.", |
| 6385 | + "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.", |
| 6386 | + "tags": [ |
| 6387 | + "dependabot" |
| 6388 | + ], |
| 6389 | + "operationId": "dependabot/update-repository-access-for-org", |
| 6390 | + "externalDocs": { |
| 6391 | + "description": "API method documentation", |
| 6392 | + "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" |
| 6393 | + }, |
| 6394 | + "parameters": [ |
| 6395 | + { |
| 6396 | + "$ref": "#/components/parameters/org" |
| 6397 | + } |
| 6398 | + ], |
| 6399 | + "requestBody": { |
| 6400 | + "required": true, |
| 6401 | + "content": { |
| 6402 | + "application/json": { |
| 6403 | + "schema": { |
| 6404 | + "type": "object", |
| 6405 | + "oneOf": [ |
| 6406 | + { |
| 6407 | + "required": [ |
| 6408 | + "repository_ids_to_add" |
| 6409 | + ] |
| 6410 | + }, |
| 6411 | + { |
| 6412 | + "required": [ |
| 6413 | + "repository_ids_to_remove" |
| 6414 | + ] |
| 6415 | + } |
| 6416 | + ], |
| 6417 | + "properties": { |
| 6418 | + "repository_ids_to_add": { |
| 6419 | + "type": "array", |
| 6420 | + "items": { |
| 6421 | + "type": "integer" |
| 6422 | + } |
| 6423 | + }, |
| 6424 | + "repository_ids_to_remove": { |
| 6425 | + "type": "array", |
| 6426 | + "items": { |
| 6427 | + "type": "integer" |
| 6428 | + } |
| 6429 | + } |
| 6430 | + } |
| 6431 | + }, |
| 6432 | + "examples": { |
| 6433 | + "204": { |
| 6434 | + "summary": "Example with a 'succeeded' status." |
| 6435 | + } |
| 6436 | + } |
| 6437 | + } |
| 6438 | + } |
| 6439 | + }, |
| 6440 | + "responses": { |
| 6441 | + "204": { |
| 6442 | + "description": "Response" |
| 6443 | + }, |
| 6444 | + "403": { |
| 6445 | + "$ref": "#/components/responses/forbidden" |
| 6446 | + }, |
| 6447 | + "404": { |
| 6448 | + "$ref": "#/components/responses/not_found" |
| 6449 | + } |
| 6450 | + }, |
| 6451 | + "x-github": { |
| 6452 | + "githubCloudOnly": false, |
| 6453 | + "enabledForGitHubApps": true, |
| 6454 | + "category": "dependabot", |
| 6455 | + "subcategory": "repository-access" |
| 6456 | + } |
6382 | 6457 | } |
6383 | 6458 | }, |
6384 | 6459 | "/organizations/{org}/dependabot/repository-access/default-level": { |
|
0 commit comments