Skip to content

Commit

Permalink
feat: update key pattern for the "Create a SSH signing key for the
Browse files Browse the repository at this point in the history
authenticated user" API (`POST /user/ssh_signing_keys`) to allow physical
security keys (see PR body for other changes)

* feat: update `key` pattern for the "Create a SSH signing key for the
authenticated user" API (`POST /user/ssh_signing_keys`) to allow physical
security keys
* fix: tweak description of the "Get a tree" API (`GET
/repos/{owner}/{repo}/git/trees/{tree_sha}`) to clarify maximum limits on
size and number of entries
* fix: mark the path parameter for the base and head branch to compare in
the "Compare two commits" API (`GET
repos/{owner}/{repo}/compare/{basehead}`) as multi-segment
* fix: document allowed response statuses for the "Update a team" API
(`PATCH   /orgs/{org}/teams/{team_slug}`)
  • Loading branch information
Octokit Bot authored and timrogers committed Sep 9, 2022
1 parent aab154d commit 4da9bbb
Show file tree
Hide file tree
Showing 34 changed files with 10,393 additions and 32 deletions.
629 changes: 627 additions & 2 deletions cache/api.github.com.deref.json

Large diffs are not rendered by default.

29 changes: 27 additions & 2 deletions cache/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -15365,6 +15365,21 @@
}
},
"responses": {
"200": {
"description": "Response when the updated information already exists",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/team-full"
},
"examples": {
"default": {
"$ref": "#/components/examples/team-full"
}
}
}
}
},
"201": {
"description": "Response",
"content": {
Expand All @@ -15379,6 +15394,15 @@
}
}
}
},
"403": {
"$ref": "#/components/responses/forbidden"
},
"404": {
"$ref": "#/components/responses/not_found"
},
"422": {
"$ref": "#/components/responses/validation_failed"
}
},
"x-github": {
Expand Down Expand Up @@ -30512,6 +30536,7 @@
"description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
"in": "path",
"required": true,
"x-multi-segment": true,
"schema": {
"type": "string"
}
Expand Down Expand Up @@ -33963,7 +33988,7 @@
"/repos/{owner}/{repo}/git/trees/{tree_sha}": {
"get": {
"summary": "Get a tree",
"description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.",
"description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.\n\n\n**Note**: The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter.",
"tags": [
"git"
],
Expand Down Expand Up @@ -56351,7 +56376,7 @@
"key": {
"description": "The public SSH key to add to your GitHub account. For more information, see \"[Checking for existing SSH keys](https://docs.github.com/authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys).\"",
"type": "string",
"pattern": "^ssh-(rsa|dss|ed25519) |^ecdsa-sha2-nistp(256|384|521) "
"pattern": "^ssh-(rsa|dss|ed25519) |^ecdsa-sha2-nistp(256|384|521) |^(sk-ssh-ed25519|sk-ecdsa-sha2-nistp256)@openssh.com "
}
},
"required": [
Expand Down
Loading

0 comments on commit 4da9bbb

Please sign in to comment.