Skip to content

Commit 2ae3d74

Browse files
docs-botN-UshaCopilotsaritai
authored
Update OpenAPI Description (#55442)
Co-authored-by: Usha N <n-usha@github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com>
1 parent 3049b5c commit 2ae3d74

File tree

19 files changed

+283
-20
lines changed

19 files changed

+283
-20
lines changed

content/rest/credentials/index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Credentials
3+
topics:
4+
- API
5+
autogenerated: rest
6+
allowTitleToDifferFromFilename: true
7+
children:
8+
- /revoke
9+
versions:
10+
fpt: '*'
11+
ghec: '*'
12+
---
13+

content/rest/credentials/revoke.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Revocation
3+
shortTitle: Revocation
4+
intro: Use the REST API to revoke credentials that you have found exposed on {% data variables.product.github %} or elsewhere.
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
6+
fpt: '*'
7+
ghec: '*'
8+
topics:
9+
- API
10+
autogenerated: rest
11+
allowTitleToDifferFromFilename: true
12+
---
13+
14+
<!-- Content after this section is automatically generated -->

content/rest/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ children:
5656
- /collaborators
5757
- /commits
5858
- /copilot
59+
- /credentials
5960
- /dependabot
6061
- /dependency-graph
6162
- /deploy-keys

src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2171,6 +2171,14 @@
21712171
"requestPath": "/orgs/{org}/team/{team_slug}/copilot/metrics"
21722172
}
21732173
],
2174+
"credentials": [
2175+
{
2176+
"slug": "revoke-a-list-of-credentials",
2177+
"subcategory": "revoke",
2178+
"verb": "post",
2179+
"requestPath": "/credentials/revoke"
2180+
}
2181+
],
21742182
"dependabot": [
21752183
{
21762184
"slug": "list-dependabot-alerts-for-an-organization",

src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1905,6 +1905,14 @@
19051905
"requestPath": "/orgs/{org}/team/{team_slug}/copilot/metrics"
19061906
}
19071907
],
1908+
"credentials": [
1909+
{
1910+
"slug": "revoke-a-list-of-credentials",
1911+
"subcategory": "revoke",
1912+
"verb": "post",
1913+
"requestPath": "/credentials/revoke"
1914+
}
1915+
],
19081916
"dependabot": [
19091917
{
19101918
"slug": "list-dependabot-alerts-for-an-organization",

src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2171,6 +2171,14 @@
21712171
"requestPath": "/orgs/{org}/team/{team_slug}/copilot/metrics"
21722172
}
21732173
],
2174+
"credentials": [
2175+
{
2176+
"slug": "revoke-a-list-of-credentials",
2177+
"subcategory": "revoke",
2178+
"verb": "post",
2179+
"requestPath": "/credentials/revoke"
2180+
}
2181+
],
21742182
"dependabot": [
21752183
{
21762184
"slug": "list-dependabot-alerts-for-an-organization",

src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2209,6 +2209,14 @@
22092209
"requestPath": "/orgs/{org}/team/{team_slug}/copilot/metrics"
22102210
}
22112211
],
2212+
"credentials": [
2213+
{
2214+
"slug": "revoke-a-list-of-credentials",
2215+
"subcategory": "revoke",
2216+
"verb": "post",
2217+
"requestPath": "/credentials/revoke"
2218+
}
2219+
],
22122220
"dependabot": [
22132221
{
22142222
"slug": "list-dependabot-alerts-for-an-organization",

src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,6 +1943,14 @@
19431943
"requestPath": "/orgs/{org}/team/{team_slug}/copilot/metrics"
19441944
}
19451945
],
1946+
"credentials": [
1947+
{
1948+
"slug": "revoke-a-list-of-credentials",
1949+
"subcategory": "revoke",
1950+
"verb": "post",
1951+
"requestPath": "/credentials/revoke"
1952+
}
1953+
],
19461954
"dependabot": [
19471955
{
19481956
"slug": "list-dependabot-alerts-for-an-organization",

src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2209,6 +2209,14 @@
22092209
"requestPath": "/orgs/{org}/team/{team_slug}/copilot/metrics"
22102210
}
22112211
],
2212+
"credentials": [
2213+
{
2214+
"slug": "revoke-a-list-of-credentials",
2215+
"subcategory": "revoke",
2216+
"verb": "post",
2217+
"requestPath": "/credentials/revoke"
2218+
}
2219+
],
22122220
"dependabot": [
22132221
{
22142222
"slug": "list-dependabot-alerts-for-an-organization",

src/github-apps/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@
6060
"2022-11-28"
6161
]
6262
},
63-
"sha": "8af3e59120fdf6294e2d385bdae74b39fa824da5"
63+
"sha": "e7a314cf1c452fbcf55e3be650f1bb7363cad424"
6464
}

0 commit comments

Comments
 (0)