diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json index a43e6aab44af..72408b54c212 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json @@ -342,6 +342,33 @@ "additional-permissions": false, "access": "write" }, + { + "category": "actions", + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "additional-permissions": false, + "access": "write" + }, + { + "category": "actions", + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", + "additional-permissions": false, + "access": "write" + }, { "category": "actions", "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json index 4214d922db04..ecc86a35b61f 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json @@ -132,6 +132,24 @@ "verb": "delete", "requestPath": "/orgs/{org}/actions/hosted-runners/{hosted_runner_id}" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", "subcategory": "oidc", diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json index bffeabe78569..0cfc2bb28dba 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json @@ -609,6 +609,39 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "actions", + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, { "category": "actions", "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json index 2b62ce7137b1..682aeb9fb5a6 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json @@ -24,6 +24,24 @@ "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/cache/storage-limit" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-enterprise", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-github-actions-cache-retention-limit-for-an-organization", "subcategory": "cache", @@ -156,6 +174,24 @@ "verb": "delete", "requestPath": "/orgs/{org}/actions/hosted-runners/{hosted_runner_id}" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", "subcategory": "oidc", diff --git a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json index dd5b71b02074..a01e5e639ce3 100644 --- a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json @@ -24,6 +24,24 @@ "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/cache/storage-limit" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-enterprise", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-github-actions-cache-retention-limit-for-an-organization", "subcategory": "cache", @@ -156,6 +174,24 @@ "verb": "delete", "requestPath": "/orgs/{org}/actions/hosted-runners/{hosted_runner_id}" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", "subcategory": "oidc", diff --git a/src/github-apps/data/fpt-2026-03-10/fine-grained-pat-permissions.json b/src/github-apps/data/fpt-2026-03-10/fine-grained-pat-permissions.json index a43e6aab44af..72408b54c212 100644 --- a/src/github-apps/data/fpt-2026-03-10/fine-grained-pat-permissions.json +++ b/src/github-apps/data/fpt-2026-03-10/fine-grained-pat-permissions.json @@ -342,6 +342,33 @@ "additional-permissions": false, "access": "write" }, + { + "category": "actions", + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "additional-permissions": false, + "access": "write" + }, + { + "category": "actions", + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", + "additional-permissions": false, + "access": "write" + }, { "category": "actions", "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", diff --git a/src/github-apps/data/fpt-2026-03-10/fine-grained-pat.json b/src/github-apps/data/fpt-2026-03-10/fine-grained-pat.json index 4214d922db04..ecc86a35b61f 100644 --- a/src/github-apps/data/fpt-2026-03-10/fine-grained-pat.json +++ b/src/github-apps/data/fpt-2026-03-10/fine-grained-pat.json @@ -132,6 +132,24 @@ "verb": "delete", "requestPath": "/orgs/{org}/actions/hosted-runners/{hosted_runner_id}" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", "subcategory": "oidc", diff --git a/src/github-apps/data/fpt-2026-03-10/server-to-server-permissions.json b/src/github-apps/data/fpt-2026-03-10/server-to-server-permissions.json index bffeabe78569..0cfc2bb28dba 100644 --- a/src/github-apps/data/fpt-2026-03-10/server-to-server-permissions.json +++ b/src/github-apps/data/fpt-2026-03-10/server-to-server-permissions.json @@ -609,6 +609,39 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "actions", + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, { "category": "actions", "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", diff --git a/src/github-apps/data/fpt-2026-03-10/server-to-server-rest.json b/src/github-apps/data/fpt-2026-03-10/server-to-server-rest.json index 2b62ce7137b1..682aeb9fb5a6 100644 --- a/src/github-apps/data/fpt-2026-03-10/server-to-server-rest.json +++ b/src/github-apps/data/fpt-2026-03-10/server-to-server-rest.json @@ -24,6 +24,24 @@ "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/cache/storage-limit" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-enterprise", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-github-actions-cache-retention-limit-for-an-organization", "subcategory": "cache", @@ -156,6 +174,24 @@ "verb": "delete", "requestPath": "/orgs/{org}/actions/hosted-runners/{hosted_runner_id}" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", "subcategory": "oidc", diff --git a/src/github-apps/data/fpt-2026-03-10/user-to-server-rest.json b/src/github-apps/data/fpt-2026-03-10/user-to-server-rest.json index dd5b71b02074..a01e5e639ce3 100644 --- a/src/github-apps/data/fpt-2026-03-10/user-to-server-rest.json +++ b/src/github-apps/data/fpt-2026-03-10/user-to-server-rest.json @@ -24,6 +24,24 @@ "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/cache/storage-limit" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-enterprise", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-github-actions-cache-retention-limit-for-an-organization", "subcategory": "cache", @@ -156,6 +174,24 @@ "verb": "delete", "requestPath": "/orgs/{org}/actions/hosted-runners/{hosted_runner_id}" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", "subcategory": "oidc", diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json index c8d185729789..d0b3087ef375 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json @@ -288,6 +288,33 @@ "additional-permissions": false, "access": "write" }, + { + "category": "actions", + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "additional-permissions": false, + "access": "write" + }, + { + "category": "actions", + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", + "additional-permissions": false, + "access": "write" + }, { "category": "actions", "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json index 25a1c6335b24..99bc1b86f410 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json @@ -132,6 +132,24 @@ "verb": "delete", "requestPath": "/orgs/{org}/actions/hosted-runners/{hosted_runner_id}" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", "subcategory": "oidc", diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json index 7029c269d6e5..cd822178ae30 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json @@ -1251,6 +1251,39 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "actions", + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, { "category": "actions", "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json index efe0154a671f..51a3be757b97 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json @@ -36,6 +36,24 @@ "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/issuer" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-enterprise", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-github-actions-cache-retention-limit-for-an-organization", "subcategory": "cache", @@ -168,6 +186,24 @@ "verb": "delete", "requestPath": "/orgs/{org}/actions/hosted-runners/{hosted_runner_id}" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", "subcategory": "oidc", diff --git a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json index 80ac7f4ba09c..a2e19bf77f7a 100644 --- a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json @@ -36,6 +36,24 @@ "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/issuer" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-enterprise", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-github-actions-cache-retention-limit-for-an-organization", "subcategory": "cache", @@ -168,6 +186,24 @@ "verb": "delete", "requestPath": "/orgs/{org}/actions/hosted-runners/{hosted_runner_id}" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", "subcategory": "oidc", diff --git a/src/github-apps/data/ghec-2026-03-10/fine-grained-pat-permissions.json b/src/github-apps/data/ghec-2026-03-10/fine-grained-pat-permissions.json index c8d185729789..d0b3087ef375 100644 --- a/src/github-apps/data/ghec-2026-03-10/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghec-2026-03-10/fine-grained-pat-permissions.json @@ -288,6 +288,33 @@ "additional-permissions": false, "access": "write" }, + { + "category": "actions", + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "additional-permissions": false, + "access": "write" + }, + { + "category": "actions", + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", + "additional-permissions": false, + "access": "write" + }, { "category": "actions", "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", diff --git a/src/github-apps/data/ghec-2026-03-10/fine-grained-pat.json b/src/github-apps/data/ghec-2026-03-10/fine-grained-pat.json index 25a1c6335b24..99bc1b86f410 100644 --- a/src/github-apps/data/ghec-2026-03-10/fine-grained-pat.json +++ b/src/github-apps/data/ghec-2026-03-10/fine-grained-pat.json @@ -132,6 +132,24 @@ "verb": "delete", "requestPath": "/orgs/{org}/actions/hosted-runners/{hosted_runner_id}" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", "subcategory": "oidc", diff --git a/src/github-apps/data/ghec-2026-03-10/server-to-server-permissions.json b/src/github-apps/data/ghec-2026-03-10/server-to-server-permissions.json index 7029c269d6e5..cd822178ae30 100644 --- a/src/github-apps/data/ghec-2026-03-10/server-to-server-permissions.json +++ b/src/github-apps/data/ghec-2026-03-10/server-to-server-permissions.json @@ -1251,6 +1251,39 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "actions", + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, { "category": "actions", "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", diff --git a/src/github-apps/data/ghec-2026-03-10/server-to-server-rest.json b/src/github-apps/data/ghec-2026-03-10/server-to-server-rest.json index efe0154a671f..51a3be757b97 100644 --- a/src/github-apps/data/ghec-2026-03-10/server-to-server-rest.json +++ b/src/github-apps/data/ghec-2026-03-10/server-to-server-rest.json @@ -36,6 +36,24 @@ "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/issuer" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-enterprise", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-github-actions-cache-retention-limit-for-an-organization", "subcategory": "cache", @@ -168,6 +186,24 @@ "verb": "delete", "requestPath": "/orgs/{org}/actions/hosted-runners/{hosted_runner_id}" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", "subcategory": "oidc", diff --git a/src/github-apps/data/ghec-2026-03-10/user-to-server-rest.json b/src/github-apps/data/ghec-2026-03-10/user-to-server-rest.json index 80ac7f4ba09c..a2e19bf77f7a 100644 --- a/src/github-apps/data/ghec-2026-03-10/user-to-server-rest.json +++ b/src/github-apps/data/ghec-2026-03-10/user-to-server-rest.json @@ -36,6 +36,24 @@ "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/issuer" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-enterprise", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-enterprise", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-github-actions-cache-retention-limit-for-an-organization", "subcategory": "cache", @@ -168,6 +186,24 @@ "verb": "delete", "requestPath": "/orgs/{org}/actions/hosted-runners/{hosted_runner_id}" }, + { + "slug": "list-oidc-custom-property-inclusions-for-an-organization", + "subcategory": "oidc", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "create-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo" + }, + { + "slug": "delete-an-oidc-custom-property-inclusion-for-an-organization", + "subcategory": "oidc", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}" + }, { "slug": "get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", "subcategory": "oidc", diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index cc79039bd50c..e143fe76cd0a 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "4e819bd9aa9411232e1c34e7d1ffaaffc224e94b" + "sha": "9ca2bab9f7a218b0453c0520a75d4a822fd61ed9" } \ No newline at end of file diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index e3a1a1179bbb..3841cb44dc42 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -39461,7 +39461,7 @@ An item within a Project. """ type ProjectV2Item implements Node { """ - The content of the referenced draft issue, issue, or pull request + The content of the referenced draft issue, issue, pull request """ content: ProjectV2ItemContent diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 98844d4d5c90..02012191e5fd 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -52177,7 +52177,7 @@ "fields": [ { "name": "content", - "description": "

The content of the referenced draft issue, issue, or pull request.

", + "description": "

The content of the referenced draft issue, issue, pull request.

", "type": "ProjectV2ItemContent", "id": "projectv2itemcontent", "kind": "unions", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index e3a1a1179bbb..3841cb44dc42 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -39461,7 +39461,7 @@ An item within a Project. """ type ProjectV2Item implements Node { """ - The content of the referenced draft issue, issue, or pull request + The content of the referenced draft issue, issue, pull request """ content: ProjectV2ItemContent diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 98844d4d5c90..02012191e5fd 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -52177,7 +52177,7 @@ "fields": [ { "name": "content", - "description": "

The content of the referenced draft issue, issue, or pull request.

", + "description": "

The content of the referenced draft issue, issue, pull request.

", "type": "ProjectV2ItemContent", "id": "projectv2itemcontent", "kind": "unions", diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index 75c9b939afd2..4246b41a6ef0 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -5737,6 +5737,579 @@ } ], "oidc": [ + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo", + "title": "List OIDC custom property inclusions for an enterprise", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Lists the repository custom properties that are included in the OIDC token for repository actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

A JSON array of OIDC custom property inclusions

", + "example": [ + { + "custom_property_name": "environment", + "inclusion_source": "enterprise" + }, + { + "custom_property_name": "team", + "inclusion_source": "enterprise" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

A JSON array of OIDC custom property inclusions

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "read" + } + ], + "disabledForPatV2": true + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo", + "title": "Create an OIDC custom property inclusion for an enterprise", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "custom_property_name", + "in": "body", + "description": "

The name of the custom property to include in the OIDC token

", + "isRequired": true + } + ], + "descriptionHTML": "

Adds a repository custom property to be included in the OIDC token for repository actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "custom_property_name": "environment" + }, + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "

OIDC custom property inclusion created

", + "example": { + "custom_property_name": "environment" + }, + "schema": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "201", + "description": "

OIDC custom property inclusion created

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "422", + "description": "

Property inclusion already exists

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ], + "disabledForPatV2": true + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}", + "title": "Delete an OIDC custom property inclusion for an enterprise", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "custom_property_name", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "

The name of the custom property to remove from OIDC token inclusion

" + } + ], + "bodyParameters": [], + "descriptionHTML": "

Removes a repository custom property from being included in the OIDC token for repository actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE", + "custom_property_name": "CUSTOM_PROPERTY_NAME" + } + }, + "response": { + "statusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Property inclusion not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ], + "disabledForPatV2": true + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "title": "List OIDC custom property inclusions for an organization", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Lists the repository custom properties that are included in the OIDC token for repository actions in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the read:org scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

A JSON array of OIDC custom property inclusions

", + "example": [ + { + "property_name": "environment" + }, + { + "property_name": "team" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

A JSON array of OIDC custom property inclusions

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "read" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "title": "Create an OIDC custom property inclusion for an organization", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "custom_property_name", + "in": "body", + "description": "

The name of the custom property to include in the OIDC token

", + "isRequired": true + } + ], + "descriptionHTML": "

Adds a repository custom property to be included in the OIDC token for repository actions in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "custom_property_name": "environment" + }, + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "

OIDC custom property inclusion created

", + "example": { + "custom_property_name": "environment" + }, + "schema": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "201", + "description": "

OIDC custom property inclusion created

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "422", + "description": "

Property inclusion already exists

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "write" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", + "title": "Delete an OIDC custom property inclusion for an organization", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "custom_property_name", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "

The name of the custom property to remove from OIDC token inclusion

" + } + ], + "bodyParameters": [], + "descriptionHTML": "

Removes a repository custom property from being included in the OIDC token for repository actions in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG", + "custom_property_name": "CUSTOM_PROPERTY_NAME" + } + }, + "response": { + "statusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Property inclusion not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "write" + } + ] + } + }, { "serverUrl": "https://api.github.com", "verb": "get", diff --git a/src/rest/data/fpt-2026-03-10/schema.json b/src/rest/data/fpt-2026-03-10/schema.json index 58f73718c911..d735d0806b4a 100644 --- a/src/rest/data/fpt-2026-03-10/schema.json +++ b/src/rest/data/fpt-2026-03-10/schema.json @@ -5737,6 +5737,579 @@ } ], "oidc": [ + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo", + "title": "List OIDC custom property inclusions for an enterprise", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Lists the repository custom properties that are included in the OIDC token for repository actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

A JSON array of OIDC custom property inclusions

", + "example": [ + { + "custom_property_name": "environment", + "inclusion_source": "enterprise" + }, + { + "custom_property_name": "team", + "inclusion_source": "enterprise" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

A JSON array of OIDC custom property inclusions

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "read" + } + ], + "disabledForPatV2": true + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo", + "title": "Create an OIDC custom property inclusion for an enterprise", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "custom_property_name", + "in": "body", + "description": "

The name of the custom property to include in the OIDC token

", + "isRequired": true + } + ], + "descriptionHTML": "

Adds a repository custom property to be included in the OIDC token for repository actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "custom_property_name": "environment" + }, + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "

OIDC custom property inclusion created

", + "example": { + "custom_property_name": "environment" + }, + "schema": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "201", + "description": "

OIDC custom property inclusion created

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "422", + "description": "

Property inclusion already exists

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ], + "disabledForPatV2": true + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}", + "title": "Delete an OIDC custom property inclusion for an enterprise", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "custom_property_name", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "

The name of the custom property to remove from OIDC token inclusion

" + } + ], + "bodyParameters": [], + "descriptionHTML": "

Removes a repository custom property from being included in the OIDC token for repository actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE", + "custom_property_name": "CUSTOM_PROPERTY_NAME" + } + }, + "response": { + "statusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Property inclusion not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ], + "disabledForPatV2": true + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "title": "List OIDC custom property inclusions for an organization", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Lists the repository custom properties that are included in the OIDC token for repository actions in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the read:org scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

A JSON array of OIDC custom property inclusions

", + "example": [ + { + "property_name": "environment" + }, + { + "property_name": "team" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

A JSON array of OIDC custom property inclusions

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "read" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "title": "Create an OIDC custom property inclusion for an organization", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "custom_property_name", + "in": "body", + "description": "

The name of the custom property to include in the OIDC token

", + "isRequired": true + } + ], + "descriptionHTML": "

Adds a repository custom property to be included in the OIDC token for repository actions in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "custom_property_name": "environment" + }, + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "

OIDC custom property inclusion created

", + "example": { + "custom_property_name": "environment" + }, + "schema": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "201", + "description": "

OIDC custom property inclusion created

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "422", + "description": "

Property inclusion already exists

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "write" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", + "title": "Delete an OIDC custom property inclusion for an organization", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "custom_property_name", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "

The name of the custom property to remove from OIDC token inclusion

" + } + ], + "bodyParameters": [], + "descriptionHTML": "

Removes a repository custom property from being included in the OIDC token for repository actions in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG", + "custom_property_name": "CUSTOM_PROPERTY_NAME" + } + }, + "response": { + "statusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Property inclusion not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "write" + } + ] + } + }, { "serverUrl": "https://api.github.com", "verb": "get", diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index a98292a4507a..39d8ed027b0d 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -8809,6 +8809,579 @@ "disabledForPatV2": true } }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo", + "title": "List OIDC custom property inclusions for an enterprise", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Lists the repository custom properties that are included in the OIDC token for repository actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

A JSON array of OIDC custom property inclusions

", + "example": [ + { + "custom_property_name": "environment", + "inclusion_source": "enterprise" + }, + { + "custom_property_name": "team", + "inclusion_source": "enterprise" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

A JSON array of OIDC custom property inclusions

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "read" + } + ], + "disabledForPatV2": true + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo", + "title": "Create an OIDC custom property inclusion for an enterprise", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "custom_property_name", + "in": "body", + "description": "

The name of the custom property to include in the OIDC token

", + "isRequired": true + } + ], + "descriptionHTML": "

Adds a repository custom property to be included in the OIDC token for repository actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "custom_property_name": "environment" + }, + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "

OIDC custom property inclusion created

", + "example": { + "custom_property_name": "environment" + }, + "schema": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "201", + "description": "

OIDC custom property inclusion created

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "422", + "description": "

Property inclusion already exists

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ], + "disabledForPatV2": true + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}", + "title": "Delete an OIDC custom property inclusion for an enterprise", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "custom_property_name", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "

The name of the custom property to remove from OIDC token inclusion

" + } + ], + "bodyParameters": [], + "descriptionHTML": "

Removes a repository custom property from being included in the OIDC token for repository actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE", + "custom_property_name": "CUSTOM_PROPERTY_NAME" + } + }, + "response": { + "statusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Property inclusion not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ], + "disabledForPatV2": true + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "title": "List OIDC custom property inclusions for an organization", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Lists the repository custom properties that are included in the OIDC token for repository actions in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the read:org scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

A JSON array of OIDC custom property inclusions

", + "example": [ + { + "property_name": "environment" + }, + { + "property_name": "team" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

A JSON array of OIDC custom property inclusions

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "read" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "title": "Create an OIDC custom property inclusion for an organization", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "custom_property_name", + "in": "body", + "description": "

The name of the custom property to include in the OIDC token

", + "isRequired": true + } + ], + "descriptionHTML": "

Adds a repository custom property to be included in the OIDC token for repository actions in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "custom_property_name": "environment" + }, + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "

OIDC custom property inclusion created

", + "example": { + "custom_property_name": "environment" + }, + "schema": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "201", + "description": "

OIDC custom property inclusion created

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "422", + "description": "

Property inclusion already exists

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "write" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", + "title": "Delete an OIDC custom property inclusion for an organization", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "custom_property_name", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "

The name of the custom property to remove from OIDC token inclusion

" + } + ], + "bodyParameters": [], + "descriptionHTML": "

Removes a repository custom property from being included in the OIDC token for repository actions in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG", + "custom_property_name": "CUSTOM_PROPERTY_NAME" + } + }, + "response": { + "statusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Property inclusion not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "write" + } + ] + } + }, { "serverUrl": "https://api.github.com", "verb": "get", diff --git a/src/rest/data/ghec-2026-03-10/schema.json b/src/rest/data/ghec-2026-03-10/schema.json index f467bfc70bcb..122b32aef205 100644 --- a/src/rest/data/ghec-2026-03-10/schema.json +++ b/src/rest/data/ghec-2026-03-10/schema.json @@ -8809,6 +8809,579 @@ "disabledForPatV2": true } }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo", + "title": "List OIDC custom property inclusions for an enterprise", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Lists the repository custom properties that are included in the OIDC token for repository actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

A JSON array of OIDC custom property inclusions

", + "example": [ + { + "custom_property_name": "environment", + "inclusion_source": "enterprise" + }, + { + "custom_property_name": "team", + "inclusion_source": "enterprise" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

A JSON array of OIDC custom property inclusions

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "read" + } + ], + "disabledForPatV2": true + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo", + "title": "Create an OIDC custom property inclusion for an enterprise", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "custom_property_name", + "in": "body", + "description": "

The name of the custom property to include in the OIDC token

", + "isRequired": true + } + ], + "descriptionHTML": "

Adds a repository custom property to be included in the OIDC token for repository actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "custom_property_name": "environment" + }, + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "

OIDC custom property inclusion created

", + "example": { + "custom_property_name": "environment" + }, + "schema": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "201", + "description": "

OIDC custom property inclusion created

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "422", + "description": "

Property inclusion already exists

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ], + "disabledForPatV2": true + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}", + "title": "Delete an OIDC custom property inclusion for an enterprise", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "custom_property_name", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "

The name of the custom property to remove from OIDC token inclusion

" + } + ], + "bodyParameters": [], + "descriptionHTML": "

Removes a repository custom property from being included in the OIDC token for repository actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE", + "custom_property_name": "CUSTOM_PROPERTY_NAME" + } + }, + "response": { + "statusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Property inclusion not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": false, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ], + "disabledForPatV2": true + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "title": "List OIDC custom property inclusions for an organization", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Lists the repository custom properties that are included in the OIDC token for repository actions in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the read:org scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

A JSON array of OIDC custom property inclusions

", + "example": [ + { + "property_name": "environment" + }, + { + "property_name": "team" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

A JSON array of OIDC custom property inclusions

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "read" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo", + "title": "Create an OIDC custom property inclusion for an organization", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "custom_property_name", + "in": "body", + "description": "

The name of the custom property to include in the OIDC token

", + "isRequired": true + } + ], + "descriptionHTML": "

Adds a repository custom property to be included in the OIDC token for repository actions in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "custom_property_name": "environment" + }, + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "

OIDC custom property inclusion created

", + "example": { + "custom_property_name": "environment" + }, + "schema": { + "title": "Actions OIDC Custom Property Inclusion", + "description": "An OIDC custom property inclusion for repository properties", + "type": "object", + "properties": { + "custom_property_name": { + "type": "string", + "description": "The name of the custom property that is included in the OIDC token" + }, + "inclusion_source": { + "type": "string", + "description": "Whether the inclusion was defined at the organization or enterprise level", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + } + }, + "required": [ + "custom_property_name", + "inclusion_source" + ] + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "201", + "description": "

OIDC custom property inclusion created

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "422", + "description": "

Property inclusion already exists

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "write" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", + "title": "Delete an OIDC custom property inclusion for an organization", + "category": "actions", + "subcategory": "oidc", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "custom_property_name", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "

The name of the custom property to remove from OIDC token inclusion

" + } + ], + "bodyParameters": [], + "descriptionHTML": "

Removes a repository custom property from being included in the OIDC token for repository actions in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG", + "custom_property_name": "CUSTOM_PROPERTY_NAME" + } + }, + "response": { + "statusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

OIDC custom property inclusion deleted

" + }, + { + "httpStatusCode": "400", + "description": "

Invalid input

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Property inclusion not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "write" + } + ] + } + }, { "serverUrl": "https://api.github.com", "verb": "get", diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index 64a870b153be..c3311eff7a8e 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -55,5 +55,5 @@ ] } }, - "sha": "4e819bd9aa9411232e1c34e7d1ffaaffc224e94b" + "sha": "9ca2bab9f7a218b0453c0520a75d4a822fd61ed9" } \ No newline at end of file diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 31da775a3246..fd0e2ff3e558 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "4e819bd9aa9411232e1c34e7d1ffaaffc224e94b" + "sha": "9ca2bab9f7a218b0453c0520a75d4a822fd61ed9" } \ No newline at end of file