Skip to content

Commit bf26500

Browse files
Update OpenAPI Descriptions (github#30562)
Co-authored-by: github-openapi-bot <[email protected]>
1 parent 2a10a8b commit bf26500

16 files changed

+4057
-1224
lines changed

lib/redirects/static/client-side-rest-api-redirects.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,9 @@
337337
"/rest/codespaces#organizations": "/rest/codespaces/organizations",
338338
"/rest/orgs#list-saml-sso-authorizations-for-an-organization": "/rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization",
339339
"/rest/orgs#remove-a-saml-sso-authorization-for-an-organization": "/rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization",
340+
"/rest/orgs#create-a-custom-role": "/rest/orgs/custom-roles#create-a-custom-role",
341+
"/rest/orgs#update-a-custom-role": "/rest/orgs/custom-roles#update-a-custom-role",
342+
"/rest/orgs#delete-a-custom-role": "/rest/orgs/custom-roles#delete-a-custom-role",
340343
"/rest/dependabot#list-organization-secrets": "/rest/dependabot/secrets#list-organization-secrets",
341344
"/rest/dependabot#secrets": "/rest/dependabot/secrets",
342345
"/rest/dependabot#get-an-organization-public-key": "/rest/dependabot/secrets#get-an-organization-public-key",
@@ -353,6 +356,7 @@
353356
"/rest/teams#list-external-idp-groups-for-an-organization": "/rest/teams/external-groups#list-external-idp-groups-for-an-organization",
354357
"/rest/orgs#list-failed-organization-invitations": "/rest/orgs/members#list-failed-organization-invitations",
355358
"/rest/orgs#members": "/rest/orgs/members",
359+
"/rest/orgs#list-fine-grained-permissions-for-an-organization": "/rest/orgs/custom-roles#list-fine-grained-permissions-for-an-organization",
356360
"/rest/orgs#list-organization-webhooks": "/rest/orgs/webhooks#list-organization-webhooks",
357361
"/rest/orgs#webhooks": "/rest/orgs/webhooks",
358362
"/rest/orgs#create-an-organization-webhook": "/rest/orgs/webhooks#create-an-organization-webhook",

lib/rest/static/apps/enabled-for-apps.json

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@
650650
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"
651651
},
652652
{
653-
"slug": "list-workflow-runs",
653+
"slug": "list-workflow-runs-for-a-workflow",
654654
"subcategory": "workflow-runs",
655655
"verb": "get",
656656
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"
@@ -2268,12 +2268,36 @@
22682268
"verb": "delete",
22692269
"requestPath": "/orgs/{org}/credential-authorizations/{credential_id}"
22702270
},
2271+
{
2272+
"slug": "create-a-custom-role",
2273+
"subcategory": "custom-roles",
2274+
"verb": "post",
2275+
"requestPath": "/orgs/{org}/custom_roles"
2276+
},
2277+
{
2278+
"slug": "update-a-custom-role",
2279+
"subcategory": "custom-roles",
2280+
"verb": "patch",
2281+
"requestPath": "/orgs/{org}/custom_roles/{role_id}"
2282+
},
2283+
{
2284+
"slug": "delete-a-custom-role",
2285+
"subcategory": "custom-roles",
2286+
"verb": "delete",
2287+
"requestPath": "/orgs/{org}/custom_roles/{role_id}"
2288+
},
22712289
{
22722290
"slug": "list-failed-organization-invitations",
22732291
"subcategory": "members",
22742292
"verb": "get",
22752293
"requestPath": "/orgs/{org}/failed_invitations"
22762294
},
2295+
{
2296+
"slug": "list-fine-grained-permissions-for-an-organization",
2297+
"subcategory": "custom-roles",
2298+
"verb": "get",
2299+
"requestPath": "/orgs/{org}/fine_grained_permissions"
2300+
},
22772301
{
22782302
"slug": "list-organization-webhooks",
22792303
"subcategory": "webhooks",
@@ -4322,7 +4346,7 @@
43224346
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"
43234347
},
43244348
{
4325-
"slug": "list-workflow-runs",
4349+
"slug": "list-workflow-runs-for-a-workflow",
43264350
"subcategory": "workflow-runs",
43274351
"verb": "get",
43284352
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"
@@ -7416,7 +7440,7 @@
74167440
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"
74177441
},
74187442
{
7419-
"slug": "list-workflow-runs",
7443+
"slug": "list-workflow-runs-for-a-workflow",
74207444
"subcategory": "workflow-runs",
74217445
"verb": "get",
74227446
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"
@@ -10630,7 +10654,7 @@
1063010654
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"
1063110655
},
1063210656
{
10633-
"slug": "list-workflow-runs",
10657+
"slug": "list-workflow-runs-for-a-workflow",
1063410658
"subcategory": "workflow-runs",
1063510659
"verb": "get",
1063610660
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"
@@ -14047,7 +14071,7 @@
1404714071
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"
1404814072
},
1404914073
{
14050-
"slug": "list-workflow-runs",
14074+
"slug": "list-workflow-runs-for-a-workflow",
1405114075
"subcategory": "workflow-runs",
1405214076
"verb": "get",
1405314077
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"
@@ -17512,7 +17536,7 @@
1751217536
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"
1751317537
},
1751417538
{
17515-
"slug": "list-workflow-runs",
17539+
"slug": "list-workflow-runs-for-a-workflow",
1751617540
"subcategory": "workflow-runs",
1751717541
"verb": "get",
1751817542
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"
@@ -20756,7 +20780,7 @@
2075620780
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"
2075720781
},
2075820782
{
20759-
"slug": "list-workflow-runs",
20783+
"slug": "list-workflow-runs-for-a-workflow",
2076020784
"subcategory": "workflow-runs",
2076120785
"verb": "get",
2076220786
"requestPath": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"

0 commit comments

Comments
 (0)