Skip to content

Commit 2c597b3

Browse files
authored
Update OpenAPI Description (#62410)
1 parent 08d415a commit 2c597b3

55 files changed

Lines changed: 6331 additions & 1465 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,17 @@
540540
"server-to-server": true,
541541
"additional-permissions": false
542542
},
543+
{
544+
"category": "enterprise-admin",
545+
"slug": "revoke-a-single-credential-type-for-an-enterprise",
546+
"subcategory": "credential-authorizations",
547+
"verb": "post",
548+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-credential-type",
549+
"access": "write",
550+
"user-to-server": true,
551+
"server-to-server": true,
552+
"additional-permissions": false
553+
},
543554
{
544555
"category": "enterprise-admin",
545556
"slug": "revoke-credential-authorizations-for-a-user-in-an-enterprise",
@@ -550,6 +561,17 @@
550561
"user-to-server": true,
551562
"server-to-server": true,
552563
"additional-permissions": false
564+
},
565+
{
566+
"category": "enterprise-admin",
567+
"slug": "revoke-a-single-credential-type-for-a-user-in-an-enterprise",
568+
"subcategory": "credential-authorizations",
569+
"verb": "post",
570+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/{username}/revoke-credential-type",
571+
"access": "write",
572+
"user-to-server": true,
573+
"server-to-server": true,
574+
"additional-permissions": false
553575
}
554576
]
555577
},

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3136,12 +3136,24 @@
31363136
"verb": "post",
31373137
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-all"
31383138
},
3139+
{
3140+
"slug": "revoke-a-single-credential-type-for-an-enterprise",
3141+
"subcategory": "credential-authorizations",
3142+
"verb": "post",
3143+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-credential-type"
3144+
},
31393145
{
31403146
"slug": "revoke-credential-authorizations-for-a-user-in-an-enterprise",
31413147
"subcategory": "credential-authorizations",
31423148
"verb": "post",
31433149
"requestPath": "/enterprises/{enterprise}/credential-authorizations/{username}/revoke"
31443150
},
3151+
{
3152+
"slug": "revoke-a-single-credential-type-for-a-user-in-an-enterprise",
3153+
"subcategory": "credential-authorizations",
3154+
"verb": "post",
3155+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/{username}/revoke-credential-type"
3156+
},
31453157
{
31463158
"slug": "get-all-enterprise-roles-for-an-enterprise",
31473159
"subcategory": "enterprise-roles",

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3384,12 +3384,24 @@
33843384
"verb": "post",
33853385
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-all"
33863386
},
3387+
{
3388+
"slug": "revoke-a-single-credential-type-for-an-enterprise",
3389+
"subcategory": "credential-authorizations",
3390+
"verb": "post",
3391+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-credential-type"
3392+
},
33873393
{
33883394
"slug": "revoke-credential-authorizations-for-a-user-in-an-enterprise",
33893395
"subcategory": "credential-authorizations",
33903396
"verb": "post",
33913397
"requestPath": "/enterprises/{enterprise}/credential-authorizations/{username}/revoke"
33923398
},
3399+
{
3400+
"slug": "revoke-a-single-credential-type-for-a-user-in-an-enterprise",
3401+
"subcategory": "credential-authorizations",
3402+
"verb": "post",
3403+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/{username}/revoke-credential-type"
3404+
},
33933405
{
33943406
"slug": "get-all-enterprise-roles-for-an-enterprise",
33953407
"subcategory": "enterprise-roles",

src/github-apps/data/ghec-2026-03-10/server-to-server-permissions.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,17 @@
540540
"server-to-server": true,
541541
"additional-permissions": false
542542
},
543+
{
544+
"category": "enterprise-admin",
545+
"slug": "revoke-a-single-credential-type-for-an-enterprise",
546+
"subcategory": "credential-authorizations",
547+
"verb": "post",
548+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-credential-type",
549+
"access": "write",
550+
"user-to-server": true,
551+
"server-to-server": true,
552+
"additional-permissions": false
553+
},
543554
{
544555
"category": "enterprise-admin",
545556
"slug": "revoke-credential-authorizations-for-a-user-in-an-enterprise",
@@ -550,6 +561,17 @@
550561
"user-to-server": true,
551562
"server-to-server": true,
552563
"additional-permissions": false
564+
},
565+
{
566+
"category": "enterprise-admin",
567+
"slug": "revoke-a-single-credential-type-for-a-user-in-an-enterprise",
568+
"subcategory": "credential-authorizations",
569+
"verb": "post",
570+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/{username}/revoke-credential-type",
571+
"access": "write",
572+
"user-to-server": true,
573+
"server-to-server": true,
574+
"additional-permissions": false
553575
}
554576
]
555577
},

src/github-apps/data/ghec-2026-03-10/server-to-server-rest.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3136,12 +3136,24 @@
31363136
"verb": "post",
31373137
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-all"
31383138
},
3139+
{
3140+
"slug": "revoke-a-single-credential-type-for-an-enterprise",
3141+
"subcategory": "credential-authorizations",
3142+
"verb": "post",
3143+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-credential-type"
3144+
},
31393145
{
31403146
"slug": "revoke-credential-authorizations-for-a-user-in-an-enterprise",
31413147
"subcategory": "credential-authorizations",
31423148
"verb": "post",
31433149
"requestPath": "/enterprises/{enterprise}/credential-authorizations/{username}/revoke"
31443150
},
3151+
{
3152+
"slug": "revoke-a-single-credential-type-for-a-user-in-an-enterprise",
3153+
"subcategory": "credential-authorizations",
3154+
"verb": "post",
3155+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/{username}/revoke-credential-type"
3156+
},
31453157
{
31463158
"slug": "get-all-enterprise-roles-for-an-enterprise",
31473159
"subcategory": "enterprise-roles",

src/github-apps/data/ghec-2026-03-10/user-to-server-rest.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3384,12 +3384,24 @@
33843384
"verb": "post",
33853385
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-all"
33863386
},
3387+
{
3388+
"slug": "revoke-a-single-credential-type-for-an-enterprise",
3389+
"subcategory": "credential-authorizations",
3390+
"verb": "post",
3391+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-credential-type"
3392+
},
33873393
{
33883394
"slug": "revoke-credential-authorizations-for-a-user-in-an-enterprise",
33893395
"subcategory": "credential-authorizations",
33903396
"verb": "post",
33913397
"requestPath": "/enterprises/{enterprise}/credential-authorizations/{username}/revoke"
33923398
},
3399+
{
3400+
"slug": "revoke-a-single-credential-type-for-a-user-in-an-enterprise",
3401+
"subcategory": "credential-authorizations",
3402+
"verb": "post",
3403+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/{username}/revoke-credential-type"
3404+
},
33933405
{
33943406
"slug": "get-all-enterprise-roles-for-an-enterprise",
33953407
"subcategory": "enterprise-roles",

src/github-apps/data/shared/entries.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/github-apps/data/version-index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

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": "03ca9c1cac754ec9b8369dc75de8a8c753c6e087"
63+
"sha": "417c4fb368fc6a7162ce5f3eeeddce1a9a217747"
6464
}

src/rest/data/fpt-2022-11-28/code-quality.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,8 @@
584584
"runner_type": "standard",
585585
"runner_label": null,
586586
"updated_at": "2023-01-01T00:00:00Z",
587-
"schedule": "weekly"
587+
"schedule": "weekly",
588+
"ai_findings_option": "on_push"
588589
},
589590
"schema": {
590591
"description": "Configuration for code quality setup.",
@@ -651,6 +652,18 @@
651652
"weekly",
652653
null
653654
]
655+
},
656+
"ai_findings_option": {
657+
"description": "The AI findings configuration for the repository.",
658+
"type": [
659+
"string",
660+
"null"
661+
],
662+
"enum": [
663+
"disabled",
664+
"on_push",
665+
null
666+
]
654667
}
655668
}
656669
}
@@ -742,6 +755,15 @@
742755
"type": "array of strings",
743756
"name": "languages",
744757
"description": "<p>Languages to be analyzed.\nSupported values are: <code>csharp</code>, <code>go</code>, <code>java-kotlin</code>, <code>javascript-typescript</code>, <code>python</code>, <code>ruby</code></p>"
758+
},
759+
{
760+
"type": "string",
761+
"name": "ai_findings_option",
762+
"description": "<p>Whether AI findings run for Code Quality on this repository.</p>",
763+
"enum": [
764+
"disabled",
765+
"on_push"
766+
]
745767
}
746768
],
747769
"descriptionHTML": "<p>Updates a code quality setup configuration.</p>\n<p>OAuth app tokens and personal access tokens (classic) need the <code>repo</code> scope to use this endpoint with private or public repositories, or the <code>public_repo</code> scope to use this endpoint with only public repositories.</p>",

0 commit comments

Comments
 (0)