Skip to content

Commit 6b12aa9

Browse files
authored
Merge pull request #35570 from github/repo-sync
Repo sync
2 parents ab1e238 + e0c63c6 commit 6b12aa9

File tree

13 files changed

+1903
-188
lines changed

13 files changed

+1903
-188
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Custom properties
3+
shortTitle: Custom properties
4+
intro: Use the REST API to manage custom properties 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/enterprise-admin/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ children:
1818
- /audit-log
1919
- /billing
2020
- /code-security-and-analysis
21+
- /custom-properties
2122
- /global-webhooks
2223
- /ldap
2324
- /license

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

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,55 @@
11
{
2+
"enterprise_custom_properties": {
3+
"title": "Custom properties",
4+
"displayTitle": "Business permissions for \"Custom properties\"",
5+
"permissions": [
6+
{
7+
"category": "enterprise-admin",
8+
"slug": "get-custom-properties-for-an-enterprise",
9+
"subcategory": "custom-properties",
10+
"verb": "get",
11+
"requestPath": "/enterprises/{enterprise}/properties/schema",
12+
"additional-permissions": false,
13+
"access": "read"
14+
},
15+
{
16+
"category": "enterprise-admin",
17+
"slug": "create-or-update-custom-properties-for-an-enterprise",
18+
"subcategory": "custom-properties",
19+
"verb": "patch",
20+
"requestPath": "/enterprises/{enterprise}/properties/schema",
21+
"additional-permissions": false,
22+
"access": "write"
23+
},
24+
{
25+
"category": "enterprise-admin",
26+
"slug": "get-a-custom-property-for-an-enterprise",
27+
"subcategory": "custom-properties",
28+
"verb": "get",
29+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}",
30+
"additional-permissions": false,
31+
"access": "read"
32+
},
33+
{
34+
"category": "enterprise-admin",
35+
"slug": "create-or-update-a-custom-property-for-an-enterprise",
36+
"subcategory": "custom-properties",
37+
"verb": "put",
38+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}",
39+
"additional-permissions": false,
40+
"access": "write"
41+
},
42+
{
43+
"category": "enterprise-admin",
44+
"slug": "remove-a-custom-property-for-an-enterprise",
45+
"subcategory": "custom-properties",
46+
"verb": "delete",
47+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}",
48+
"additional-permissions": false,
49+
"access": "write"
50+
}
51+
]
52+
},
253
"enterprise_administration": {
354
"title": "Enterprise administration",
455
"displayTitle": "Business permissions for \"Enterprise administration\"",

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2428,6 +2428,36 @@
24282428
"verb": "get",
24292429
"requestPath": "/enterprises/{enterprise}/license-sync-status"
24302430
},
2431+
{
2432+
"slug": "get-custom-properties-for-an-enterprise",
2433+
"subcategory": "custom-properties",
2434+
"verb": "get",
2435+
"requestPath": "/enterprises/{enterprise}/properties/schema"
2436+
},
2437+
{
2438+
"slug": "create-or-update-custom-properties-for-an-enterprise",
2439+
"subcategory": "custom-properties",
2440+
"verb": "patch",
2441+
"requestPath": "/enterprises/{enterprise}/properties/schema"
2442+
},
2443+
{
2444+
"slug": "get-a-custom-property-for-an-enterprise",
2445+
"subcategory": "custom-properties",
2446+
"verb": "get",
2447+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
2448+
},
2449+
{
2450+
"slug": "create-or-update-a-custom-property-for-an-enterprise",
2451+
"subcategory": "custom-properties",
2452+
"verb": "put",
2453+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
2454+
},
2455+
{
2456+
"slug": "remove-a-custom-property-for-an-enterprise",
2457+
"subcategory": "custom-properties",
2458+
"verb": "delete",
2459+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
2460+
},
24312461
{
24322462
"slug": "get-github-actions-billing-for-an-enterprise",
24332463
"subcategory": "billing",

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

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,65 @@
11
{
2+
"enterprise_custom_properties": {
3+
"title": "Custom properties",
4+
"displayTitle": "Business permissions for \"Custom properties\"",
5+
"permissions": [
6+
{
7+
"category": "enterprise-admin",
8+
"slug": "get-custom-properties-for-an-enterprise",
9+
"subcategory": "custom-properties",
10+
"verb": "get",
11+
"requestPath": "/enterprises/{enterprise}/properties/schema",
12+
"access": "read",
13+
"user-to-server": true,
14+
"server-to-server": true,
15+
"additional-permissions": false
16+
},
17+
{
18+
"category": "enterprise-admin",
19+
"slug": "create-or-update-custom-properties-for-an-enterprise",
20+
"subcategory": "custom-properties",
21+
"verb": "patch",
22+
"requestPath": "/enterprises/{enterprise}/properties/schema",
23+
"access": "write",
24+
"user-to-server": true,
25+
"server-to-server": true,
26+
"additional-permissions": false
27+
},
28+
{
29+
"category": "enterprise-admin",
30+
"slug": "get-a-custom-property-for-an-enterprise",
31+
"subcategory": "custom-properties",
32+
"verb": "get",
33+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}",
34+
"access": "read",
35+
"user-to-server": true,
36+
"server-to-server": true,
37+
"additional-permissions": false
38+
},
39+
{
40+
"category": "enterprise-admin",
41+
"slug": "create-or-update-a-custom-property-for-an-enterprise",
42+
"subcategory": "custom-properties",
43+
"verb": "put",
44+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}",
45+
"access": "write",
46+
"user-to-server": true,
47+
"server-to-server": true,
48+
"additional-permissions": false
49+
},
50+
{
51+
"category": "enterprise-admin",
52+
"slug": "remove-a-custom-property-for-an-enterprise",
53+
"subcategory": "custom-properties",
54+
"verb": "delete",
55+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}",
56+
"access": "write",
57+
"user-to-server": true,
58+
"server-to-server": true,
59+
"additional-permissions": false
60+
}
61+
]
62+
},
263
"enterprise_administration": {
364
"title": "Enterprise administration",
465
"displayTitle": "Business permissions for \"Enterprise administration\"",

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,6 +2156,36 @@
21562156
"verb": "get",
21572157
"requestPath": "/enterprises/{enterprise}/license-sync-status"
21582158
},
2159+
{
2160+
"slug": "get-custom-properties-for-an-enterprise",
2161+
"subcategory": "custom-properties",
2162+
"verb": "get",
2163+
"requestPath": "/enterprises/{enterprise}/properties/schema"
2164+
},
2165+
{
2166+
"slug": "create-or-update-custom-properties-for-an-enterprise",
2167+
"subcategory": "custom-properties",
2168+
"verb": "patch",
2169+
"requestPath": "/enterprises/{enterprise}/properties/schema"
2170+
},
2171+
{
2172+
"slug": "get-a-custom-property-for-an-enterprise",
2173+
"subcategory": "custom-properties",
2174+
"verb": "get",
2175+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
2176+
},
2177+
{
2178+
"slug": "create-or-update-a-custom-property-for-an-enterprise",
2179+
"subcategory": "custom-properties",
2180+
"verb": "put",
2181+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
2182+
},
2183+
{
2184+
"slug": "remove-a-custom-property-for-an-enterprise",
2185+
"subcategory": "custom-properties",
2186+
"verb": "delete",
2187+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
2188+
},
21592189
{
21602190
"slug": "get-github-actions-billing-for-an-enterprise",
21612191
"subcategory": "billing",

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2428,6 +2428,36 @@
24282428
"verb": "get",
24292429
"requestPath": "/enterprises/{enterprise}/license-sync-status"
24302430
},
2431+
{
2432+
"slug": "get-custom-properties-for-an-enterprise",
2433+
"subcategory": "custom-properties",
2434+
"verb": "get",
2435+
"requestPath": "/enterprises/{enterprise}/properties/schema"
2436+
},
2437+
{
2438+
"slug": "create-or-update-custom-properties-for-an-enterprise",
2439+
"subcategory": "custom-properties",
2440+
"verb": "patch",
2441+
"requestPath": "/enterprises/{enterprise}/properties/schema"
2442+
},
2443+
{
2444+
"slug": "get-a-custom-property-for-an-enterprise",
2445+
"subcategory": "custom-properties",
2446+
"verb": "get",
2447+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
2448+
},
2449+
{
2450+
"slug": "create-or-update-a-custom-property-for-an-enterprise",
2451+
"subcategory": "custom-properties",
2452+
"verb": "put",
2453+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
2454+
},
2455+
{
2456+
"slug": "remove-a-custom-property-for-an-enterprise",
2457+
"subcategory": "custom-properties",
2458+
"verb": "delete",
2459+
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
2460+
},
24312461
{
24322462
"slug": "get-github-actions-billing-for-an-enterprise",
24332463
"subcategory": "billing",

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": "aa8c601f351897d68d87241f85a53f4a287e3eb3"
63+
"sha": "4ab8513682637010cd3bb5d8ee3227cc5ce739d1"
6464
}

0 commit comments

Comments
 (0)