Skip to content

Commit 1e31b76

Browse files
[Merge on Feb. 26] Update OpenAPI Description (#59829)
Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com>
1 parent 586f9e3 commit 1e31b76

File tree

25 files changed

+2625
-579
lines changed

25 files changed

+2625
-579
lines changed
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 content exclusion management
3+
shortTitle: Copilot content exclusion management
4+
intro: 'Use the REST API to manage {% data variables.product.prodname_copilot_short %} content exclusion rules.'
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 -->
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: REST API endpoints for Copilot custom agents
3+
shortTitle: Copilot custom agents
4+
intro: 'Use the REST API to manage {% data variables.copilot.copilot_custom_agents %} for your enterprise.'
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
6+
ghec: '*'
7+
topics:
8+
- API
9+
autogenerated: rest
10+
allowTitleToDifferFromFilename: true
11+
---
12+
13+
<!-- Content after this section is automatically generated -->

content/rest/copilot/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ topics:
99
autogenerated: rest
1010
allowTitleToDifferFromFilename: true
1111
children:
12+
- /copilot-content-exclusion-management
13+
- /copilot-custom-agents
1214
- /copilot-metrics
1315
- /copilot-usage-metrics
1416
- /copilot-user-management

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,30 @@
10491049
}
10501050
]
10511051
},
1052+
"org_copilot_content_exclusion": {
1053+
"title": "Copilot content exclusion",
1054+
"displayTitle": "Organization permissions for \"Copilot content exclusion\"",
1055+
"permissions": [
1056+
{
1057+
"category": "copilot",
1058+
"slug": "get-copilot-content-exclusion-rules-for-an-organization",
1059+
"subcategory": "copilot-content-exclusion-management",
1060+
"verb": "get",
1061+
"requestPath": "/orgs/{org}/copilot/content_exclusion",
1062+
"additional-permissions": false,
1063+
"access": "read"
1064+
},
1065+
{
1066+
"category": "copilot",
1067+
"slug": "set-copilot-content-exclusion-rules-for-an-organization",
1068+
"subcategory": "copilot-content-exclusion-management",
1069+
"verb": "put",
1070+
"requestPath": "/orgs/{org}/copilot/content_exclusion",
1071+
"additional-permissions": false,
1072+
"access": "write"
1073+
}
1074+
]
1075+
},
10521076
"organization_custom_org_roles": {
10531077
"title": "Custom organization roles",
10541078
"displayTitle": "Organization permissions for \"Custom organization roles\"",

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2150,6 +2150,18 @@
21502150
"verb": "delete",
21512151
"requestPath": "/orgs/{org}/copilot/billing/selected_users"
21522152
},
2153+
{
2154+
"slug": "get-copilot-content-exclusion-rules-for-an-organization",
2155+
"subcategory": "copilot-content-exclusion-management",
2156+
"verb": "get",
2157+
"requestPath": "/orgs/{org}/copilot/content_exclusion"
2158+
},
2159+
{
2160+
"slug": "set-copilot-content-exclusion-rules-for-an-organization",
2161+
"subcategory": "copilot-content-exclusion-management",
2162+
"verb": "put",
2163+
"requestPath": "/orgs/{org}/copilot/content_exclusion"
2164+
},
21532165
{
21542166
"slug": "get-copilot-metrics-for-an-organization",
21552167
"subcategory": "copilot-metrics",

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,6 +1470,34 @@
14701470
}
14711471
]
14721472
},
1473+
"org_copilot_content_exclusion": {
1474+
"title": "Copilot content exclusion",
1475+
"displayTitle": "Organization permissions for \"Copilot content exclusion\"",
1476+
"permissions": [
1477+
{
1478+
"category": "copilot",
1479+
"slug": "get-copilot-content-exclusion-rules-for-an-organization",
1480+
"subcategory": "copilot-content-exclusion-management",
1481+
"verb": "get",
1482+
"requestPath": "/orgs/{org}/copilot/content_exclusion",
1483+
"access": "read",
1484+
"user-to-server": true,
1485+
"server-to-server": true,
1486+
"additional-permissions": false
1487+
},
1488+
{
1489+
"category": "copilot",
1490+
"slug": "set-copilot-content-exclusion-rules-for-an-organization",
1491+
"subcategory": "copilot-content-exclusion-management",
1492+
"verb": "put",
1493+
"requestPath": "/orgs/{org}/copilot/content_exclusion",
1494+
"access": "write",
1495+
"user-to-server": true,
1496+
"server-to-server": true,
1497+
"additional-permissions": false
1498+
}
1499+
]
1500+
},
14731501
"organization_custom_org_roles": {
14741502
"title": "Custom organization roles",
14751503
"displayTitle": "Organization permissions for \"Custom organization roles\"",

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,6 +2120,18 @@
21202120
"verb": "delete",
21212121
"requestPath": "/orgs/{org}/copilot/billing/selected_users"
21222122
},
2123+
{
2124+
"slug": "get-copilot-content-exclusion-rules-for-an-organization",
2125+
"subcategory": "copilot-content-exclusion-management",
2126+
"verb": "get",
2127+
"requestPath": "/orgs/{org}/copilot/content_exclusion"
2128+
},
2129+
{
2130+
"slug": "set-copilot-content-exclusion-rules-for-an-organization",
2131+
"subcategory": "copilot-content-exclusion-management",
2132+
"verb": "put",
2133+
"requestPath": "/orgs/{org}/copilot/content_exclusion"
2134+
},
21232135
{
21242136
"slug": "get-copilot-metrics-for-an-organization",
21252137
"subcategory": "copilot-metrics",

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2386,6 +2386,18 @@
23862386
"verb": "delete",
23872387
"requestPath": "/orgs/{org}/copilot/billing/selected_users"
23882388
},
2389+
{
2390+
"slug": "get-copilot-content-exclusion-rules-for-an-organization",
2391+
"subcategory": "copilot-content-exclusion-management",
2392+
"verb": "get",
2393+
"requestPath": "/orgs/{org}/copilot/content_exclusion"
2394+
},
2395+
{
2396+
"slug": "set-copilot-content-exclusion-rules-for-an-organization",
2397+
"subcategory": "copilot-content-exclusion-management",
2398+
"verb": "put",
2399+
"requestPath": "/orgs/{org}/copilot/content_exclusion"
2400+
},
23892401
{
23902402
"slug": "get-copilot-metrics-for-an-organization",
23912403
"subcategory": "copilot-metrics",

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,6 +1085,30 @@
10851085
}
10861086
]
10871087
},
1088+
"org_copilot_content_exclusion": {
1089+
"title": "Copilot content exclusion",
1090+
"displayTitle": "Organization permissions for \"Copilot content exclusion\"",
1091+
"permissions": [
1092+
{
1093+
"category": "copilot",
1094+
"slug": "get-copilot-content-exclusion-rules-for-an-organization",
1095+
"subcategory": "copilot-content-exclusion-management",
1096+
"verb": "get",
1097+
"requestPath": "/orgs/{org}/copilot/content_exclusion",
1098+
"additional-permissions": false,
1099+
"access": "read"
1100+
},
1101+
{
1102+
"category": "copilot",
1103+
"slug": "set-copilot-content-exclusion-rules-for-an-organization",
1104+
"subcategory": "copilot-content-exclusion-management",
1105+
"verb": "put",
1106+
"requestPath": "/orgs/{org}/copilot/content_exclusion",
1107+
"additional-permissions": false,
1108+
"access": "write"
1109+
}
1110+
]
1111+
},
10881112
"organization_custom_org_roles": {
10891113
"title": "Custom organization roles",
10901114
"displayTitle": "Organization permissions for \"Custom organization roles\"",

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2158,6 +2158,18 @@
21582158
"verb": "delete",
21592159
"requestPath": "/orgs/{org}/copilot/billing/selected_users"
21602160
},
2161+
{
2162+
"slug": "get-copilot-content-exclusion-rules-for-an-organization",
2163+
"subcategory": "copilot-content-exclusion-management",
2164+
"verb": "get",
2165+
"requestPath": "/orgs/{org}/copilot/content_exclusion"
2166+
},
2167+
{
2168+
"slug": "set-copilot-content-exclusion-rules-for-an-organization",
2169+
"subcategory": "copilot-content-exclusion-management",
2170+
"verb": "put",
2171+
"requestPath": "/orgs/{org}/copilot/content_exclusion"
2172+
},
21612173
{
21622174
"slug": "get-copilot-metrics-for-an-organization",
21632175
"subcategory": "copilot-metrics",

0 commit comments

Comments
 (0)