Skip to content

Commit ded28fe

Browse files
docs-botsunbryeCopilotjc-clark
authored
Update OpenAPI Description (#61011)
Co-authored-by: Sunbrye Ly <56200261+sunbrye@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com>
1 parent 80c9933 commit ded28fe

88 files changed

Lines changed: 41286 additions & 646 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Copilot Spaces collaborators
3+
shortTitle: Collaborators
4+
intro: Use the REST API to manage collaborators for Copilot Spaces.
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
6+
fpt: '*'
7+
ghec: '*'
8+
autogenerated: rest
9+
allowTitleToDifferFromFilename: true
10+
category:
11+
- Use Copilot and AI services
12+
---
13+
14+
<!-- Content after this section is automatically generated -->
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: REST API endpoints for Copilot Spaces
3+
shortTitle: Copilot Spaces
4+
intro: Use the REST API to manage Copilot Spaces and related resources.
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
6+
fpt: '*'
7+
ghec: '*'
8+
autogenerated: rest
9+
allowTitleToDifferFromFilename: true
10+
category:
11+
- Use Copilot and AI services
12+
---
13+
14+
<!-- Content after this section is automatically generated -->
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: REST API endpoints for Copilot Spaces
3+
shortTitle: Copilot Spaces
4+
intro: >-
5+
Use the REST API to manage Copilot Spaces and related resources.
6+
autogenerated: rest
7+
allowTitleToDifferFromFilename: true
8+
children:
9+
- /collaborators
10+
- /copilot-spaces
11+
- /resources
12+
versions:
13+
fpt: '*'
14+
ghec: '*'
15+
---
16+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: REST API endpoints for Copilot Spaces
3+
shortTitle: Copilot Spaces
4+
intro: Use the REST API to interact with Copilot Spaces resources.
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
6+
fpt: '*'
7+
ghec: '*'
8+
autogenerated: rest
9+
allowTitleToDifferFromFilename: true
10+
category:
11+
- Use Copilot and AI services
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
@@ -65,6 +65,7 @@ children:
6565
- /collaborators
6666
- /commits
6767
- /copilot
68+
- /copilot-spaces
6869
- /credentials
6970
- /dependabot
7071
- /dependency-graph

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

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@
10821082
"permissions": [
10831083
{
10841084
"category": "copilot",
1085-
"slug": "get-copilot-coding-agent-permissions-for-an-organization",
1085+
"slug": "get-copilot-cloud-agent-permissions-for-an-organization",
10861086
"subcategory": "copilot-coding-agent-management",
10871087
"verb": "get",
10881088
"requestPath": "/orgs/{org}/copilot/coding-agent/permissions",
@@ -1091,7 +1091,7 @@
10911091
},
10921092
{
10931093
"category": "copilot",
1094-
"slug": "set-copilot-coding-agent-permissions-for-an-organization",
1094+
"slug": "set-copilot-cloud-agent-permissions-for-an-organization",
10951095
"subcategory": "copilot-coding-agent-management",
10961096
"verb": "put",
10971097
"requestPath": "/orgs/{org}/copilot/coding-agent/permissions",
@@ -1100,7 +1100,7 @@
11001100
},
11011101
{
11021102
"category": "copilot",
1103-
"slug": "list-repositories-enabled-for-copilot-coding-agent-in-an-organization",
1103+
"slug": "list-repositories-enabled-for-copilot-cloud-agent-in-an-organization",
11041104
"subcategory": "copilot-coding-agent-management",
11051105
"verb": "get",
11061106
"requestPath": "/orgs/{org}/copilot/coding-agent/permissions/repositories",
@@ -1109,7 +1109,7 @@
11091109
},
11101110
{
11111111
"category": "copilot",
1112-
"slug": "set-selected-repositories-for-copilot-coding-agent-in-an-organization",
1112+
"slug": "set-selected-repositories-for-copilot-cloud-agent-in-an-organization",
11131113
"subcategory": "copilot-coding-agent-management",
11141114
"verb": "put",
11151115
"requestPath": "/orgs/{org}/copilot/coding-agent/permissions/repositories",
@@ -1118,7 +1118,7 @@
11181118
},
11191119
{
11201120
"category": "copilot",
1121-
"slug": "enable-a-repository-for-copilot-coding-agent-in-an-organization",
1121+
"slug": "enable-a-repository-for-copilot-cloud-agent-in-an-organization",
11221122
"subcategory": "copilot-coding-agent-management",
11231123
"verb": "put",
11241124
"requestPath": "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}",
@@ -1127,7 +1127,7 @@
11271127
},
11281128
{
11291129
"category": "copilot",
1130-
"slug": "disable-a-repository-for-copilot-coding-agent-in-an-organization",
1130+
"slug": "disable-a-repository-for-copilot-cloud-agent-in-an-organization",
11311131
"subcategory": "copilot-coding-agent-management",
11321132
"verb": "delete",
11331133
"requestPath": "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}",
@@ -1272,6 +1272,42 @@
12721272
"title": "GitHub Copilot Business",
12731273
"displayTitle": "Organization permissions for \"GitHub Copilot Business\"",
12741274
"permissions": [
1275+
{
1276+
"category": "copilot-spaces",
1277+
"slug": "list-collaborators-for-an-organization-copilot-space",
1278+
"subcategory": "collaborators",
1279+
"verb": "get",
1280+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}/collaborators",
1281+
"additional-permissions": false,
1282+
"access": "read"
1283+
},
1284+
{
1285+
"category": "copilot-spaces",
1286+
"slug": "add-a-collaborator-to-an-organization-copilot-space",
1287+
"subcategory": "collaborators",
1288+
"verb": "post",
1289+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}/collaborators",
1290+
"additional-permissions": false,
1291+
"access": "write"
1292+
},
1293+
{
1294+
"category": "copilot-spaces",
1295+
"slug": "set-a-collaborator-role-for-an-organization-copilot-space",
1296+
"subcategory": "collaborators",
1297+
"verb": "put",
1298+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}",
1299+
"additional-permissions": false,
1300+
"access": "write"
1301+
},
1302+
{
1303+
"category": "copilot-spaces",
1304+
"slug": "remove-a-collaborator-from-an-organization-copilot-space",
1305+
"subcategory": "collaborators",
1306+
"verb": "delete",
1307+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}",
1308+
"additional-permissions": false,
1309+
"access": "write"
1310+
},
12751311
{
12761312
"category": "copilot",
12771313
"slug": "get-copilot-seat-information-and-settings-for-an-organization",

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

Lines changed: 92 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2169,37 +2169,37 @@
21692169
"requestPath": "/orgs/{org}/copilot/billing/selected_users"
21702170
},
21712171
{
2172-
"slug": "get-copilot-coding-agent-permissions-for-an-organization",
2172+
"slug": "get-copilot-cloud-agent-permissions-for-an-organization",
21732173
"subcategory": "copilot-coding-agent-management",
21742174
"verb": "get",
21752175
"requestPath": "/orgs/{org}/copilot/coding-agent/permissions"
21762176
},
21772177
{
2178-
"slug": "set-copilot-coding-agent-permissions-for-an-organization",
2178+
"slug": "set-copilot-cloud-agent-permissions-for-an-organization",
21792179
"subcategory": "copilot-coding-agent-management",
21802180
"verb": "put",
21812181
"requestPath": "/orgs/{org}/copilot/coding-agent/permissions"
21822182
},
21832183
{
2184-
"slug": "list-repositories-enabled-for-copilot-coding-agent-in-an-organization",
2184+
"slug": "list-repositories-enabled-for-copilot-cloud-agent-in-an-organization",
21852185
"subcategory": "copilot-coding-agent-management",
21862186
"verb": "get",
21872187
"requestPath": "/orgs/{org}/copilot/coding-agent/permissions/repositories"
21882188
},
21892189
{
2190-
"slug": "set-selected-repositories-for-copilot-coding-agent-in-an-organization",
2190+
"slug": "set-selected-repositories-for-copilot-cloud-agent-in-an-organization",
21912191
"subcategory": "copilot-coding-agent-management",
21922192
"verb": "put",
21932193
"requestPath": "/orgs/{org}/copilot/coding-agent/permissions/repositories"
21942194
},
21952195
{
2196-
"slug": "enable-a-repository-for-copilot-coding-agent-in-an-organization",
2196+
"slug": "enable-a-repository-for-copilot-cloud-agent-in-an-organization",
21972197
"subcategory": "copilot-coding-agent-management",
21982198
"verb": "put",
21992199
"requestPath": "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}"
22002200
},
22012201
{
2202-
"slug": "disable-a-repository-for-copilot-coding-agent-in-an-organization",
2202+
"slug": "disable-a-repository-for-copilot-cloud-agent-in-an-organization",
22032203
"subcategory": "copilot-coding-agent-management",
22042204
"verb": "delete",
22052205
"requestPath": "/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}"
@@ -2259,6 +2259,92 @@
22592259
"requestPath": "/orgs/{org}/team/{team_slug}/copilot/metrics"
22602260
}
22612261
],
2262+
"copilot-spaces": [
2263+
{
2264+
"slug": "list-organization-copilot-spaces",
2265+
"subcategory": "copilot-spaces",
2266+
"verb": "get",
2267+
"requestPath": "/orgs/{org}/copilot-spaces"
2268+
},
2269+
{
2270+
"slug": "create-an-organization-copilot-space",
2271+
"subcategory": "copilot-spaces",
2272+
"verb": "post",
2273+
"requestPath": "/orgs/{org}/copilot-spaces"
2274+
},
2275+
{
2276+
"slug": "get-an-organization-copilot-space",
2277+
"subcategory": "copilot-spaces",
2278+
"verb": "get",
2279+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}"
2280+
},
2281+
{
2282+
"slug": "set-an-organization-copilot-space",
2283+
"subcategory": "copilot-spaces",
2284+
"verb": "put",
2285+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}"
2286+
},
2287+
{
2288+
"slug": "delete-an-organization-copilot-space",
2289+
"subcategory": "copilot-spaces",
2290+
"verb": "delete",
2291+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}"
2292+
},
2293+
{
2294+
"slug": "list-collaborators-for-an-organization-copilot-space",
2295+
"subcategory": "collaborators",
2296+
"verb": "get",
2297+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}/collaborators"
2298+
},
2299+
{
2300+
"slug": "add-a-collaborator-to-an-organization-copilot-space",
2301+
"subcategory": "collaborators",
2302+
"verb": "post",
2303+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}/collaborators"
2304+
},
2305+
{
2306+
"slug": "set-a-collaborator-role-for-an-organization-copilot-space",
2307+
"subcategory": "collaborators",
2308+
"verb": "put",
2309+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}"
2310+
},
2311+
{
2312+
"slug": "remove-a-collaborator-from-an-organization-copilot-space",
2313+
"subcategory": "collaborators",
2314+
"verb": "delete",
2315+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}"
2316+
},
2317+
{
2318+
"slug": "list-resources-for-an-organization-copilot-space",
2319+
"subcategory": "resources",
2320+
"verb": "get",
2321+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}/resources"
2322+
},
2323+
{
2324+
"slug": "create-a-resource-for-an-organization-copilot-space",
2325+
"subcategory": "resources",
2326+
"verb": "post",
2327+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}/resources"
2328+
},
2329+
{
2330+
"slug": "get-a-resource-for-an-organization-copilot-space",
2331+
"subcategory": "resources",
2332+
"verb": "get",
2333+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}"
2334+
},
2335+
{
2336+
"slug": "set-a-resource-for-an-organization-copilot-space",
2337+
"subcategory": "resources",
2338+
"verb": "put",
2339+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}"
2340+
},
2341+
{
2342+
"slug": "delete-a-resource-from-an-organization-copilot-space",
2343+
"subcategory": "resources",
2344+
"verb": "delete",
2345+
"requestPath": "/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}"
2346+
}
2347+
],
22622348
"dependabot": [
22632349
{
22642350
"slug": "lists-the-repositories-dependabot-can-access-in-an-enterprise",

0 commit comments

Comments
 (0)