Skip to content

Commit

Permalink
feat: add support for new security feature enablement and SSH signing…
Browse files Browse the repository at this point in the history
… keys APIs, plus new attributes (#235)

WIP
  • Loading branch information
octokitbot authored Aug 31, 2022
1 parent 96862f5 commit 9e98afb
Show file tree
Hide file tree
Showing 17 changed files with 1,346 additions and 15 deletions.
492 changes: 491 additions & 1 deletion cache/api.github.com.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cache/ghes-3.2.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "7.6.0",
"version": "7.7.0",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https:/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": {
Expand Down
2 changes: 1 addition & 1 deletion cache/ghes-3.3.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "7.6.0",
"version": "7.7.0",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https:/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": {
Expand Down
2 changes: 1 addition & 1 deletion cache/ghes-3.4.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "7.6.0",
"version": "7.7.0",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https:/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": {
Expand Down
2 changes: 1 addition & 1 deletion cache/ghes-3.5.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "7.6.0",
"version": "7.7.0",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https:/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": {
Expand Down
138 changes: 136 additions & 2 deletions cache/ghes-3.6.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "7.6.0",
"version": "7.7.0",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https:/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": {
Expand Down Expand Up @@ -10140,7 +10140,13 @@
"category": "orgs",
"subcategory": null
},
"x-octokit": {}
"x-octokit": {
"diff": {
"api.github.com": {
"type": "changed"
}
}
}
},
"patch": {
"summary": "Update an organization",
Expand Down Expand Up @@ -55271,6 +55277,28 @@
}
}
},
"/orgs/{org}/{security_product}/{enablement}": {
"post": {
"summary": "Enable or disable a security feature for an organization",
"description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
"tags": [
"orgs"
],
"operationId": "orgs/enable-or-disable-security-product-on-all-org-repos",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/orgs#enable-or-disable-security-product-on-all-org-repos"
},
"x-octokit": {
"api.github.com": "removed"
},
"responses": {
"501": {
"description": "Not Implemented"
}
}
}
},
"/repos/{owner}/{repo}/actions/caches": {
"get": {
"summary": "List GitHub Actions caches for a repository",
Expand Down Expand Up @@ -57454,6 +57482,90 @@
}
}
},
"/user/ssh_signing_keys": {
"get": {
"summary": "List SSH signing keys for the authenticated user",
"description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
"tags": [
"users"
],
"operationId": "users/list-ssh-signing-keys-for-authenticated-user",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/users#list-public-ssh-signing-keys-for-the-authenticated-user"
},
"x-octokit": {
"api.github.com": "removed"
},
"responses": {
"501": {
"description": "Not Implemented"
}
}
},
"post": {
"summary": "Create a SSH signing key for the authenticated user",
"description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
"operationId": "users/create-ssh-signing-key-for-authenticated-user",
"tags": [
"users"
],
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/users#create-an-ssh-signing-key-for-the-authenticated-user"
},
"x-octokit": {
"api.github.com": "removed"
},
"responses": {
"501": {
"description": "Not Implemented"
}
}
}
},
"/user/ssh_signing_keys/{ssh_signing_key_id}": {
"get": {
"summary": "Get an SSH signing key for the authenticated user",
"description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
"tags": [
"users"
],
"operationId": "users/get-ssh-signing-key-for-authenticated-user",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/users#get-a-ssh-signing-key-for-the-authenticated-user"
},
"x-octokit": {
"api.github.com": "removed"
},
"responses": {
"501": {
"description": "Not Implemented"
}
}
},
"delete": {
"summary": "Delete an SSH signing key for the authenticated user",
"description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
"tags": [
"users"
],
"operationId": "users/delete-ssh-signing-key-for-authenticated-user",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/users#delete-a-ssh-signing-key-for-the-authenticated-user"
},
"x-octokit": {
"api.github.com": "removed"
},
"responses": {
"501": {
"description": "Not Implemented"
}
}
}
},
"/users/{username}/packages": {
"get": {
"summary": "List packages for a user",
Expand Down Expand Up @@ -57691,6 +57803,28 @@
}
}
}
},
"/users/{username}/ssh_signing_keys": {
"get": {
"summary": "List SSH signing keys for a user",
"description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
"tags": [
"users"
],
"operationId": "users/list-ssh-signing-keys-for-user",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/users#list-ssh-signing-keys-for-a-user"
},
"x-octokit": {
"api.github.com": "removed"
},
"responses": {
"501": {
"description": "Not Implemented"
}
}
}
}
},
"components": {
Expand Down
Loading

0 comments on commit 9e98afb

Please sign in to comment.