Skip to content

Commit fce496a

Browse files
docs-botsophiethekingCopilot
authored
Update OpenAPI Description (#61144)
Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 7ee8b79 commit fce496a

45 files changed

Lines changed: 23852 additions & 43 deletions

Some content is hidden

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

content/rest/actions/concurrency-groups.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
22
title: REST API endpoints for Actions concurrency groups
33
shortTitle: Actions concurrency groups
4-
intro: Use the REST API to view and manage concurrency groups for GitHub Actions workflows.
4+
intro: >-
5+
Use the REST API to view and manage concurrency groups for GitHub Actions
6+
workflows.
57
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
68
fpt: '*'
79
ghec: '*'
@@ -15,4 +17,4 @@ category:
1517

1618
You can use the REST API to read the state of {% data variables.product.prodname_actions %} concurrency groups, which ensure that only a single job or workflow using the same group will run at a time while additional runs are pending or canceled depending on configuration. For more information, see [AUTOTITLE](/actions/using-jobs/using-concurrency).
1719

18-
<!-- Content after this section is automatically generated -->
20+
<!-- Content after this section is automatically generated -->

content/rest/agents/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: REST endpoints for agents
3+
autogenerated: rest
4+
allowTitleToDifferFromFilename: true
5+
children:
6+
- /secrets
7+
- /variables
8+
versions:
9+
fpt: '*'
10+
ghec: '*'
11+
---
12+

content/rest/agents/secrets.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: REST API endpoints for agent secrets
3+
shortTitle: Secrets
4+
intro: Use the REST API to manage secrets for agents.
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
6+
fpt: '*'
7+
ghec: '*'
8+
autogenerated: rest
9+
allowTitleToDifferFromFilename: true
10+
---
11+
12+
<!-- Content after this section is automatically generated -->

content/rest/agents/variables.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: REST API endpoints for variables
3+
shortTitle: Variables
4+
intro: Use the REST API to manage variables.
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
6+
fpt: '*'
7+
ghec: '*'
8+
autogenerated: rest
9+
allowTitleToDifferFromFilename: true
10+
---
11+
12+
<!-- 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
@@ -50,6 +50,7 @@ children:
5050
- /actions
5151
- /activity
5252
- /agent-tasks
53+
- /agents
5354
- /announcement-banners
5455
- /apps
5556
- /billing

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

Lines changed: 294 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,180 @@
983983
}
984984
]
985985
},
986+
"organization_agent_secrets": {
987+
"title": "Agent secrets",
988+
"displayTitle": "Organization permissions for \"Agent secrets\"",
989+
"permissions": [
990+
{
991+
"category": "agents",
992+
"slug": "list-organization-secrets",
993+
"subcategory": "secrets",
994+
"verb": "get",
995+
"requestPath": "/orgs/{org}/agents/secrets",
996+
"additional-permissions": false,
997+
"access": "read"
998+
},
999+
{
1000+
"category": "agents",
1001+
"slug": "get-an-organization-public-key",
1002+
"subcategory": "secrets",
1003+
"verb": "get",
1004+
"requestPath": "/orgs/{org}/agents/secrets/public-key",
1005+
"additional-permissions": false,
1006+
"access": "read"
1007+
},
1008+
{
1009+
"category": "agents",
1010+
"slug": "get-an-organization-secret",
1011+
"subcategory": "secrets",
1012+
"verb": "get",
1013+
"requestPath": "/orgs/{org}/agents/secrets/{secret_name}",
1014+
"additional-permissions": false,
1015+
"access": "read"
1016+
},
1017+
{
1018+
"category": "agents",
1019+
"slug": "create-or-update-an-organization-secret",
1020+
"subcategory": "secrets",
1021+
"verb": "put",
1022+
"requestPath": "/orgs/{org}/agents/secrets/{secret_name}",
1023+
"additional-permissions": false,
1024+
"access": "write"
1025+
},
1026+
{
1027+
"category": "agents",
1028+
"slug": "delete-an-organization-secret",
1029+
"subcategory": "secrets",
1030+
"verb": "delete",
1031+
"requestPath": "/orgs/{org}/agents/secrets/{secret_name}",
1032+
"additional-permissions": false,
1033+
"access": "write"
1034+
},
1035+
{
1036+
"category": "agents",
1037+
"slug": "list-selected-repositories-for-an-organization-secret",
1038+
"subcategory": "secrets",
1039+
"verb": "get",
1040+
"requestPath": "/orgs/{org}/agents/secrets/{secret_name}/repositories",
1041+
"additional-permissions": false,
1042+
"access": "read"
1043+
},
1044+
{
1045+
"category": "agents",
1046+
"slug": "set-selected-repositories-for-an-organization-secret",
1047+
"subcategory": "secrets",
1048+
"verb": "put",
1049+
"requestPath": "/orgs/{org}/agents/secrets/{secret_name}/repositories",
1050+
"additional-permissions": false,
1051+
"access": "write"
1052+
},
1053+
{
1054+
"category": "agents",
1055+
"slug": "add-selected-repository-to-an-organization-secret",
1056+
"subcategory": "secrets",
1057+
"verb": "put",
1058+
"requestPath": "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}",
1059+
"additional-permissions": true,
1060+
"access": "write"
1061+
},
1062+
{
1063+
"category": "agents",
1064+
"slug": "remove-selected-repository-from-an-organization-secret",
1065+
"subcategory": "secrets",
1066+
"verb": "delete",
1067+
"requestPath": "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}",
1068+
"additional-permissions": true,
1069+
"access": "write"
1070+
}
1071+
]
1072+
},
1073+
"organization_agent_variables": {
1074+
"title": "Agent variables",
1075+
"displayTitle": "Organization permissions for \"Agent variables\"",
1076+
"permissions": [
1077+
{
1078+
"category": "agents",
1079+
"slug": "list-organization-variables",
1080+
"subcategory": "variables",
1081+
"verb": "get",
1082+
"requestPath": "/orgs/{org}/agents/variables",
1083+
"additional-permissions": false,
1084+
"access": "read"
1085+
},
1086+
{
1087+
"category": "agents",
1088+
"slug": "create-an-organization-variable",
1089+
"subcategory": "variables",
1090+
"verb": "post",
1091+
"requestPath": "/orgs/{org}/agents/variables",
1092+
"additional-permissions": false,
1093+
"access": "write"
1094+
},
1095+
{
1096+
"category": "agents",
1097+
"slug": "get-an-organization-variable",
1098+
"subcategory": "variables",
1099+
"verb": "get",
1100+
"requestPath": "/orgs/{org}/agents/variables/{name}",
1101+
"additional-permissions": false,
1102+
"access": "read"
1103+
},
1104+
{
1105+
"category": "agents",
1106+
"slug": "update-an-organization-variable",
1107+
"subcategory": "variables",
1108+
"verb": "patch",
1109+
"requestPath": "/orgs/{org}/agents/variables/{name}",
1110+
"additional-permissions": false,
1111+
"access": "write"
1112+
},
1113+
{
1114+
"category": "agents",
1115+
"slug": "delete-an-organization-variable",
1116+
"subcategory": "variables",
1117+
"verb": "delete",
1118+
"requestPath": "/orgs/{org}/agents/variables/{name}",
1119+
"additional-permissions": false,
1120+
"access": "write"
1121+
},
1122+
{
1123+
"category": "agents",
1124+
"slug": "list-selected-repositories-for-an-organization-variable",
1125+
"subcategory": "variables",
1126+
"verb": "get",
1127+
"requestPath": "/orgs/{org}/agents/variables/{name}/repositories",
1128+
"additional-permissions": false,
1129+
"access": "read"
1130+
},
1131+
{
1132+
"category": "agents",
1133+
"slug": "set-selected-repositories-for-an-organization-variable",
1134+
"subcategory": "variables",
1135+
"verb": "put",
1136+
"requestPath": "/orgs/{org}/agents/variables/{name}/repositories",
1137+
"additional-permissions": false,
1138+
"access": "write"
1139+
},
1140+
{
1141+
"category": "agents",
1142+
"slug": "add-selected-repository-to-an-organization-variable",
1143+
"subcategory": "variables",
1144+
"verb": "put",
1145+
"requestPath": "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}",
1146+
"additional-permissions": true,
1147+
"access": "write"
1148+
},
1149+
{
1150+
"category": "agents",
1151+
"slug": "remove-selected-repository-from-an-organization-variable",
1152+
"subcategory": "variables",
1153+
"verb": "delete",
1154+
"requestPath": "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}",
1155+
"additional-permissions": true,
1156+
"access": "write"
1157+
}
1158+
]
1159+
},
9861160
"organization_user_blocking": {
9871161
"title": "Blocking users",
9881162
"displayTitle": "Organization permissions for \"Blocking users\"",
@@ -4835,6 +5009,126 @@
48355009
}
48365010
]
48375011
},
5012+
"agent_secrets": {
5013+
"title": "Agent secrets",
5014+
"displayTitle": "Repository permissions for \"Agent secrets\"",
5015+
"permissions": [
5016+
{
5017+
"category": "agents",
5018+
"slug": "list-repository-organization-secrets",
5019+
"subcategory": "secrets",
5020+
"verb": "get",
5021+
"requestPath": "/repos/{owner}/{repo}/agents/organization-secrets",
5022+
"additional-permissions": false,
5023+
"access": "read"
5024+
},
5025+
{
5026+
"category": "agents",
5027+
"slug": "list-repository-secrets",
5028+
"subcategory": "secrets",
5029+
"verb": "get",
5030+
"requestPath": "/repos/{owner}/{repo}/agents/secrets",
5031+
"additional-permissions": false,
5032+
"access": "read"
5033+
},
5034+
{
5035+
"category": "agents",
5036+
"slug": "get-a-repository-public-key",
5037+
"subcategory": "secrets",
5038+
"verb": "get",
5039+
"requestPath": "/repos/{owner}/{repo}/agents/secrets/public-key",
5040+
"additional-permissions": false,
5041+
"access": "read"
5042+
},
5043+
{
5044+
"category": "agents",
5045+
"slug": "get-a-repository-secret",
5046+
"subcategory": "secrets",
5047+
"verb": "get",
5048+
"requestPath": "/repos/{owner}/{repo}/agents/secrets/{secret_name}",
5049+
"additional-permissions": false,
5050+
"access": "read"
5051+
},
5052+
{
5053+
"category": "agents",
5054+
"slug": "create-or-update-a-repository-secret",
5055+
"subcategory": "secrets",
5056+
"verb": "put",
5057+
"requestPath": "/repos/{owner}/{repo}/agents/secrets/{secret_name}",
5058+
"additional-permissions": false,
5059+
"access": "write"
5060+
},
5061+
{
5062+
"category": "agents",
5063+
"slug": "delete-a-repository-secret",
5064+
"subcategory": "secrets",
5065+
"verb": "delete",
5066+
"requestPath": "/repos/{owner}/{repo}/agents/secrets/{secret_name}",
5067+
"additional-permissions": false,
5068+
"access": "write"
5069+
}
5070+
]
5071+
},
5072+
"agent_variables": {
5073+
"title": "Agent variables",
5074+
"displayTitle": "Repository permissions for \"Agent variables\"",
5075+
"permissions": [
5076+
{
5077+
"category": "agents",
5078+
"slug": "list-repository-organization-variables",
5079+
"subcategory": "variables",
5080+
"verb": "get",
5081+
"requestPath": "/repos/{owner}/{repo}/agents/organization-variables",
5082+
"additional-permissions": false,
5083+
"access": "read"
5084+
},
5085+
{
5086+
"category": "agents",
5087+
"slug": "list-repository-variables",
5088+
"subcategory": "variables",
5089+
"verb": "get",
5090+
"requestPath": "/repos/{owner}/{repo}/agents/variables",
5091+
"additional-permissions": false,
5092+
"access": "read"
5093+
},
5094+
{
5095+
"category": "agents",
5096+
"slug": "create-a-repository-variable",
5097+
"subcategory": "variables",
5098+
"verb": "post",
5099+
"requestPath": "/repos/{owner}/{repo}/agents/variables",
5100+
"additional-permissions": false,
5101+
"access": "write"
5102+
},
5103+
{
5104+
"category": "agents",
5105+
"slug": "get-a-repository-variable",
5106+
"subcategory": "variables",
5107+
"verb": "get",
5108+
"requestPath": "/repos/{owner}/{repo}/agents/variables/{name}",
5109+
"additional-permissions": false,
5110+
"access": "read"
5111+
},
5112+
{
5113+
"category": "agents",
5114+
"slug": "update-a-repository-variable",
5115+
"subcategory": "variables",
5116+
"verb": "patch",
5117+
"requestPath": "/repos/{owner}/{repo}/agents/variables/{name}",
5118+
"additional-permissions": false,
5119+
"access": "write"
5120+
},
5121+
{
5122+
"category": "agents",
5123+
"slug": "delete-a-repository-variable",
5124+
"subcategory": "variables",
5125+
"verb": "delete",
5126+
"requestPath": "/repos/{owner}/{repo}/agents/variables/{name}",
5127+
"additional-permissions": false,
5128+
"access": "write"
5129+
}
5130+
]
5131+
},
48385132
"artifact_metadata": {
48395133
"title": "Artifact metadata",
48405134
"displayTitle": "Repository permissions for \"Artifact metadata\"",

0 commit comments

Comments
 (0)