Skip to content

Commit

Permalink
Merge pull request #35570 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Dec 6, 2024
2 parents ab1e238 + e0c63c6 commit 6b12aa9
Show file tree
Hide file tree
Showing 13 changed files with 1,903 additions and 188 deletions.
13 changes: 13 additions & 0 deletions content/rest/enterprise-admin/custom-properties.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Custom properties
shortTitle: Custom properties
intro: Use the REST API to manage custom properties for your enterprise.
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
ghec: '*'
topics:
- API
autogenerated: rest
allowTitleToDifferFromFilename: true
---

<!-- Content after this section is automatically generated -->
1 change: 1 addition & 0 deletions content/rest/enterprise-admin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ children:
- /audit-log
- /billing
- /code-security-and-analysis
- /custom-properties
- /global-webhooks
- /ldap
- /license
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,55 @@
{
"enterprise_custom_properties": {
"title": "Custom properties",
"displayTitle": "Business permissions for \"Custom properties\"",
"permissions": [
{
"category": "enterprise-admin",
"slug": "get-custom-properties-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "get",
"requestPath": "/enterprises/{enterprise}/properties/schema",
"additional-permissions": false,
"access": "read"
},
{
"category": "enterprise-admin",
"slug": "create-or-update-custom-properties-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "patch",
"requestPath": "/enterprises/{enterprise}/properties/schema",
"additional-permissions": false,
"access": "write"
},
{
"category": "enterprise-admin",
"slug": "get-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "get",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}",
"additional-permissions": false,
"access": "read"
},
{
"category": "enterprise-admin",
"slug": "create-or-update-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "put",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}",
"additional-permissions": false,
"access": "write"
},
{
"category": "enterprise-admin",
"slug": "remove-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "delete",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}",
"additional-permissions": false,
"access": "write"
}
]
},
"enterprise_administration": {
"title": "Enterprise administration",
"displayTitle": "Business permissions for \"Enterprise administration\"",
Expand Down
30 changes: 30 additions & 0 deletions src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json
Original file line number Diff line number Diff line change
Expand Up @@ -2428,6 +2428,36 @@
"verb": "get",
"requestPath": "/enterprises/{enterprise}/license-sync-status"
},
{
"slug": "get-custom-properties-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "get",
"requestPath": "/enterprises/{enterprise}/properties/schema"
},
{
"slug": "create-or-update-custom-properties-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "patch",
"requestPath": "/enterprises/{enterprise}/properties/schema"
},
{
"slug": "get-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "get",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
},
{
"slug": "create-or-update-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "put",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
},
{
"slug": "remove-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "delete",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
},
{
"slug": "get-github-actions-billing-for-an-enterprise",
"subcategory": "billing",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,65 @@
{
"enterprise_custom_properties": {
"title": "Custom properties",
"displayTitle": "Business permissions for \"Custom properties\"",
"permissions": [
{
"category": "enterprise-admin",
"slug": "get-custom-properties-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "get",
"requestPath": "/enterprises/{enterprise}/properties/schema",
"access": "read",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "enterprise-admin",
"slug": "create-or-update-custom-properties-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "patch",
"requestPath": "/enterprises/{enterprise}/properties/schema",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "enterprise-admin",
"slug": "get-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "get",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}",
"access": "read",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "enterprise-admin",
"slug": "create-or-update-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "put",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "enterprise-admin",
"slug": "remove-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "delete",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
}
]
},
"enterprise_administration": {
"title": "Enterprise administration",
"displayTitle": "Business permissions for \"Enterprise administration\"",
Expand Down
30 changes: 30 additions & 0 deletions src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2156,6 +2156,36 @@
"verb": "get",
"requestPath": "/enterprises/{enterprise}/license-sync-status"
},
{
"slug": "get-custom-properties-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "get",
"requestPath": "/enterprises/{enterprise}/properties/schema"
},
{
"slug": "create-or-update-custom-properties-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "patch",
"requestPath": "/enterprises/{enterprise}/properties/schema"
},
{
"slug": "get-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "get",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
},
{
"slug": "create-or-update-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "put",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
},
{
"slug": "remove-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "delete",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
},
{
"slug": "get-github-actions-billing-for-an-enterprise",
"subcategory": "billing",
Expand Down
30 changes: 30 additions & 0 deletions src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2428,6 +2428,36 @@
"verb": "get",
"requestPath": "/enterprises/{enterprise}/license-sync-status"
},
{
"slug": "get-custom-properties-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "get",
"requestPath": "/enterprises/{enterprise}/properties/schema"
},
{
"slug": "create-or-update-custom-properties-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "patch",
"requestPath": "/enterprises/{enterprise}/properties/schema"
},
{
"slug": "get-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "get",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
},
{
"slug": "create-or-update-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "put",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
},
{
"slug": "remove-a-custom-property-for-an-enterprise",
"subcategory": "custom-properties",
"verb": "delete",
"requestPath": "/enterprises/{enterprise}/properties/schema/{custom_property_name}"
},
{
"slug": "get-github-actions-billing-for-an-enterprise",
"subcategory": "billing",
Expand Down
2 changes: 1 addition & 1 deletion src/github-apps/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
"2022-11-28"
]
},
"sha": "aa8c601f351897d68d87241f85a53f4a287e3eb3"
"sha": "4ab8513682637010cd3bb5d8ee3227cc5ce739d1"
}
Loading

0 comments on commit 6b12aa9

Please sign in to comment.