8000 Update OpenAPI 3.0 Descriptions by github-openapi-bot · Pull Request #4883 · github/rest-api-description · GitHub
[go: up one dir, main page]

Skip to content

Update OpenAPI 3.0 Descriptions #4883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions descriptions/api.github.com/api.github.com.2022-11-28.json
Original file line number Diff line number Diff line change
Expand Up @@ -6341,6 +6341,81 @@
"category": "dependabot",
"subcategory": "repository-access"
}
},
"patch": {
"summary": "Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.",
"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.",
"tags": [
"dependabot"
],
"operationId": "dependabot/update-repository-access-for-org",
"externalDocs": {
"description": "API method documentation",
"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"
},
"parameters": [
{
"$ref": "#/components/parameters/org"
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"oneOf": [
{
"required": [
"repository_ids_to_add"
]
},
{
"required": [
"repository_ids_to_remove"
]
}
],
"properties": {
8000 "repository_ids_to_add": {
"type": "array",
"items": {
"type": "integer"
}
},
"repository_ids_to_remove": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"examples": {
"204": {
"summary": "Example with a 'succeeded' status."
}
}
}
}
},
"responses": {
"204": {
"description": "Response"
},
"403": {
"$ref": "#/components/responses/forbidden"
},
"404": {
"$ref": "#/components/responses/not_found"
}
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"category": "dependabot",
"subcategory": "repository-access"
}
}
},
"/organizations/{org}/dependabot/repository-access/default-level": {
Expand Down
50 changes: 50 additions & 0 deletions descriptions/api.github.com/api.github.com.2022-11-28.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4483,6 +4483,56 @@ paths:
enabledForGitHubApps: true
category: dependabot
subcategory: repository-access
patch:
summary: Updates repositories to the list of repositories that organization
admins have allowed Dependabot to access when updating dependencies.
description: |-
> [!NOTE]
> This operation supports both server-to-server and user-to-server access.
Unauthorized users will not see the existence of this endpoint.
tags:
- dependabot
operationId: dependabot/update-repository-access-for-org
externalDocs:
description: API method documentation
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
parameters:
- "$ref": "#/components/parameters/org"
requestBody:
required: true
content:
application/json:
schema:
type: object
oneOf:
- required:
- repository_ids_to_add
- required:
- repository_ids_to_remove
properties:
repository_ids_to_add:
type: array
items:
type: integer
repository_ids_to_remove:
type: array
items:
type: integer
examples:
'204':
summary: Example with a 'succeeded' status.
responses:
'204':
description: Response
'403':
"$ref": "#/components/responses/forbidden"
'404':
"$ref": "#/components/responses/not_found"
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
category: dependabot
subcategory: repository-access
"/organizations/{org}/dependabot/repository-access/default-level":
put:
summary: Set the default repository access level for Dependabot
Expand Down
75 changes: 75 additions & 0 deletions descriptions/api.github.com/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -6341,6 +6341,81 @@
"category": "dependabot",
"subcategory": "repository-access"
}
},
"patch": {
"summary": "Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.",
"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.",
"tags": [
"dependabot"
],
"operationId": "dependabot/update-repository-access-for-org",
"externalDocs": {
"description": "API method documentation",
"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"
},
"parameters": [
{
"$ref": "#/components/parameters/org"
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"oneOf": [
{
"required": [
"repository_ids_to_add"
]
},
{
"required": [
"repository_ids_to_remove"
]
}
],
"properties": {
"repository_ids_to_add": {
"type": "array",
"items": {
"type": "integer"
}
},
"repository_ids_to_remove": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"examples": {
"204": {
"summary": "Example with a 'succeeded' status."
}
}
}
}
},
"responses": {
"204": {
"description": "Response"
},
"403": {
"$ref": "#/components/responses/forbidden"
},
"404": {
"$ref": "#/components/responses/not_found"
}
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"category": "dependabot",
"subcategory": "repository-access"
}
}
},
"/organizations/{org}/dependabot/repository-access/default-level": {
Expand Down
50 changes: 50 additions & 0 deletions descriptions/api.github.com/api.github.com.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4483,6 +4483,56 @@ paths:
enabledForGitHubApps: true
category: dependabot
subcategory: repository-access
patch:
summary: Updates repositories to the list of repositories that organization
admins have allowed Dependabot to access when updating dependencies.
description: |-
> [!NOTE]
> This operation supports both server-to-server and user-to-server access.
Unauthorized users will not see the existence of this endpoint.
tags:
- dependabot
operationId: dependabot/update-repository-access-for-org
externalDocs:
description: API method documentation
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
parameters:
- "$ref": "#/components/parameters/org"
requestBody:
required: true
content:
application/json:
schema:
type: object
oneOf:
- required:
- repository_ids_to_add
- required:
- repository_ids_to_remove
properties:
repository_ids_to_add:
type: array
items:
type: integer
repository_ids_to_remove:
type: array
items:
type: integer
examples:
'204':
summary: Example with a 'succeeded' status.
responses:
'204':
description: Response
'403':
"$ref": "#/components/responses/forbidden"
'404':
"$ref": "#/components/responses/not_found"
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
category: dependabot
subcategory: repository-access
"/organizations/{org}/dependabot/repository-access/default-level":
put:
summary: Set the default repository access level for Dependabot
Expand Down
Loading
0