diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 9c0c223fb6..8affc09a2a 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -19581,7 +19581,7 @@ }, "patch": { "summary": "Create or update custom properties for an organization", - "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", + "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", "tags": [ "orgs" ], @@ -95187,7 +95187,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -106129,6 +106129,16 @@ "maxItems": 200, "nullable": true, "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": "string", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" } }, "required": [ diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 4cf2929dde..2f01c44db0 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -14238,6 +14238,10 @@ paths: description: |- Creates new or updates existing custom properties defined for an organization in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. @@ -68931,7 +68935,7 @@ components: - write dependabot_secrets: type: string - description: The leve of permission to grant the access token to manage + description: The level of permission to grant the access token to manage Dependabot secrets. enum: - read @@ -77775,6 +77779,14 @@ components: description: |- An ordered list of the allowed values of the property. The property can have up to 200 allowed values. + values_editable_by: + type: string + nullable: true + enum: + - org_actors + - org_and_repo_actors + example: org_actors + description: Who can edit the values of the property required: - value_type custom-property-value: diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 9c0c223fb6..8affc09a2a 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -19581,7 +19581,7 @@ }, "patch": { "summary": "Create or update custom properties for an organization", - "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", + "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", "tags": [ "orgs" ], @@ -95187,7 +95187,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -106129,6 +106129,16 @@ "maxItems": 200, "nullable": true, "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": "string", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" } }, "required": [ diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 4cf2929dde..2f01c44db0 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -14238,6 +14238,10 @@ paths: description: |- Creates new or updates existing custom properties defined for an organization in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. @@ -68931,7 +68935,7 @@ components: - write dependabot_secrets: type: string - description: The leve of permission to grant the access token to manage + description: The level of permission to grant the access token to manage Dependabot secrets. enum: - read @@ -77775,6 +77779,14 @@ components: description: |- An ordered list of the allowed values of the property. The property can have up to 200 allowed values. + values_editable_by: + type: string + nullable: true + enum: + - org_actors + - org_and_repo_actors + example: org_actors + description: Who can edit the values of the property required: - value_type custom-property-value: diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index f1f0421034..2cb40b8082 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -4746,7 +4746,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -5686,7 +5686,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -6484,7 +6484,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -6913,7 +6913,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -8885,7 +8885,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -9880,7 +9880,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -10792,7 +10792,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -11415,7 +11415,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -88860,7 +88860,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -89815,7 +89815,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -116260,7 +116260,7 @@ }, "patch": { "summary": "Create or update custom properties for an organization", - "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", + "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", "tags": [ "orgs" ], @@ -116888,6 +116888,16 @@ "maxItems": 200, "nullable": true, "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": "string", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" } }, "required": [ @@ -285988,7 +285998,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -484402,7 +484412,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -525939,7 +525949,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -676480,7 +676490,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -679027,7 +679037,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -681481,7 +681491,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -683935,7 +683945,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -686521,7 +686531,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -689114,7 +689124,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -693330,7 +693340,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index d8a92b554a..2bd331d71f 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -2226,7 +2226,7 @@ paths: - write dependabot_secrets: type: string - description: The leve of permission to grant the access + description: The level of permission to grant the access token to manage Dependabot secrets. enum: - read @@ -31823,6 +31823,10 @@ paths: description: |- Creates new or updates existing custom properties defined for an organization in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. @@ -31991,6 +31995,14 @@ paths: description: |- An ordered list of the allowed values of the property. The property can have up to 200 allowed values. + values_editable_by: + type: string + nullable: true + enum: + - org_actors + - org_and_repo_actors + example: org_actors + description: Who can edit the values of the property required: - value_type examples: diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index f1f0421034..2cb40b8082 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -4746,7 +4746,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -5686,7 +5686,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -6484,7 +6484,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -6913,7 +6913,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -8885,7 +8885,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -9880,7 +9880,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -10792,7 +10792,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -11415,7 +11415,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -88860,7 +88860,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -89815,7 +89815,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -116260,7 +116260,7 @@ }, "patch": { "summary": "Create or update custom properties for an organization", - "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", + "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", "tags": [ "orgs" ], @@ -116888,6 +116888,16 @@ "maxItems": 200, "nullable": true, "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": "string", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" } }, "required": [ @@ -285988,7 +285998,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -484402,7 +484412,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -525939,7 +525949,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -676480,7 +676490,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -679027,7 +679037,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -681481,7 +681491,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -683935,7 +683945,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -686521,7 +686531,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -689114,7 +689124,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -693330,7 +693340,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index d8a92b554a..2bd331d71f 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -2226,7 +2226,7 @@ paths: - write dependabot_secrets: type: string - description: The leve of permission to grant the access + description: The level of permission to grant the access token to manage Dependabot secrets. enum: - read @@ -31823,6 +31823,10 @@ paths: description: |- Creates new or updates existing custom properties defined for an organization in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. @@ -31991,6 +31995,14 @@ paths: description: |- An ordered list of the allowed values of the property. The property can have up to 200 allowed values. + values_editable_by: + type: string + nullable: true + enum: + - org_actors + - org_and_repo_actors + example: org_actors + description: Who can edit the values of the property required: - value_type examples: diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 09c2e8934a..2743cd60e7 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -4762,7 +4762,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -5702,7 +5702,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -6500,7 +6500,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -6929,7 +6929,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -8901,7 +8901,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -9896,7 +9896,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -10808,7 +10808,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -11431,7 +11431,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -36695,7 +36695,7 @@ }, "patch": { "summary": "Create or update custom properties for an enterprise", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", "tags": [ "enterprise-admin" ], @@ -37534,6 +37534,16 @@ "maxItems": 200, "nullable": true, "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": "string", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" } }, "required": [ @@ -119933,7 +119943,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -120888,7 +120898,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -148506,7 +148516,7 @@ }, "patch": { "summary": "Create or update custom properties for an organization", - "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", + "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", "tags": [ "orgs" ], @@ -149134,6 +149144,16 @@ "maxItems": 200, "nullable": true, "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": "string", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" } }, "required": [ @@ -321728,7 +321748,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -530954,7 +530974,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -572575,7 +572595,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -756533,7 +756553,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -759080,7 +759100,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -761534,7 +761554,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -763988,7 +764008,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -766574,7 +766594,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -769167,7 +769187,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -773383,7 +773403,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index b34e51456d..aa222bd802 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -2234,7 +2234,7 @@ paths: - write dependabot_secrets: type: string - description: The leve of permission to grant the access + description: The level of permission to grant the access token to manage Dependabot secrets. enum: - read @@ -15903,6 +15903,10 @@ paths: Creates new or updates existing custom properties defined for an enterprise in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be an administrator for the enterprise. tags: - enterprise-admin @@ -16114,6 +16118,14 @@ paths: description: |- An ordered list of the allowed values of the property. The property can have up to 200 allowed values. + values_editable_by: + type: string + nullable: true + enum: + - org_actors + - org_and_repo_actors + example: org_actors + description: Who can edit the values of the property required: - value_type examples: @@ -40630,6 +40642,10 @@ paths: description: |- Creates new or updates existing custom properties defined for an organization in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 09c2e8934a..2743cd60e7 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -4762,7 +4762,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -5702,7 +5702,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -6500,7 +6500,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -6929,7 +6929,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -8901,7 +8901,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -9896,7 +9896,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -10808,7 +10808,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -11431,7 +11431,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -36695,7 +36695,7 @@ }, "patch": { "summary": "Create or update custom properties for an enterprise", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", "tags": [ "enterprise-admin" ], @@ -37534,6 +37534,16 @@ "maxItems": 200, "nullable": true, "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": "string", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" } }, "required": [ @@ -119933,7 +119943,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -120888,7 +120898,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -148506,7 +148516,7 @@ }, "patch": { "summary": "Create or update custom properties for an organization", - "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", + "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", "tags": [ "orgs" ], @@ -149134,6 +149144,16 @@ "maxItems": 200, "nullable": true, "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": "string", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" } }, "required": [ @@ -321728,7 +321748,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -530954,7 +530974,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -572575,7 +572595,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -756533,7 +756553,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -759080,7 +759100,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -761534,7 +761554,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -763988,7 +764008,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -766574,7 +766594,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -769167,7 +769187,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -773383,7 +773403,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index b34e51456d..aa222bd802 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -2234,7 +2234,7 @@ paths: - write dependabot_secrets: type: string - description: The leve of permission to grant the access + description: The level of permission to grant the access token to manage Dependabot secrets. enum: - read @@ -15903,6 +15903,10 @@ paths: Creates new or updates existing custom properties defined for an enterprise in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be an administrator for the enterprise. tags: - enterprise-admin @@ -16114,6 +16118,14 @@ paths: description: |- An ordered list of the allowed values of the property. The property can have up to 200 allowed values. + values_editable_by: + type: string + nullable: true + enum: + - org_actors + - org_and_repo_actors + example: org_actors + description: Who can edit the values of the property required: - value_type examples: @@ -40630,6 +40642,10 @@ paths: description: |- Creates new or updates existing custom properties defined for an organization in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index a4ebcb43d6..5728efcfd2 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -7464,7 +7464,7 @@ }, "patch": { "summary": "Create or update custom properties for an enterprise", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", "tags": [ "enterprise-admin" ], @@ -26850,7 +26850,7 @@ }, "patch": { "summary": "Create or update custom properties for an organization", - "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", + "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", "tags": [ "orgs" ], @@ -106859,7 +106859,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -113116,6 +113116,16 @@ "maxItems": 200, "nullable": true, "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": "string", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" } }, "required": [ diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index e2b6a66047..7ab06941cc 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -5332,6 +5332,10 @@ paths: Creates new or updates existing custom properties defined for an enterprise in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be an administrator for the enterprise. tags: - enterprise-admin @@ -19489,6 +19493,10 @@ paths: description: |- Creates new or updates existing custom properties defined for an organization in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. @@ -77343,7 +77351,7 @@ components: - write dependabot_secrets: type: string - description: The leve of permission to grant the access token to manage + description: The level of permission to grant the access token to manage Dependabot secrets. enum: - read @@ -82474,6 +82482,14 @@ components: description: |- An ordered list of the allowed values of the property. The property can have up to 200 allowed values. + values_editable_by: + type: string + nullable: true + enum: + - org_actors + - org_and_repo_actors + example: org_actors + description: Who can edit the values of the property required: - value_type repository-rule-enforcement: diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index a4ebcb43d6..5728efcfd2 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -7464,7 +7464,7 @@ }, "patch": { "summary": "Create or update custom properties for an enterprise", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", "tags": [ "enterprise-admin" ], @@ -26850,7 +26850,7 @@ }, "patch": { "summary": "Create or update custom properties for an organization", - "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", + "description": "Creates new or updates existing custom properties defined for an organization in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\nE.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`.\n\nTo use this endpoint, the authenticated user must be one of:\n - An administrator for the organization.\n - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.", "tags": [ "orgs" ], @@ -106859,7 +106859,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -113116,6 +113116,16 @@ "maxItems": 200, "nullable": true, "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": "string", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" } }, "required": [ diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index e2b6a66047..7ab06941cc 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -5332,6 +5332,10 @@ paths: Creates new or updates existing custom properties defined for an enterprise in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be an administrator for the enterprise. tags: - enterprise-admin @@ -19489,6 +19493,10 @@ paths: description: |- Creates new or updates existing custom properties defined for an organization in a batch. + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + E.g. if a property exists with `values_editable_by: org_and_repo_actors` and it's updated without specifying `values_editable_by`, it will be updated to default value `org_actors`. + To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. @@ -77343,7 +77351,7 @@ components: - write dependabot_secrets: type: string - description: The leve of permission to grant the access token to manage + description: The level of permission to grant the access token to manage Dependabot secrets. enum: - read @@ -82474,6 +82482,14 @@ components: description: |- An ordered list of the allowed values of the property. The property can have up to 200 allowed values. + values_editable_by: + type: string + nullable: true + enum: + - org_actors + - org_and_repo_actors + example: org_actors + description: Who can edit the values of the property required: - value_type repository-rule-enforcement: diff --git a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json index ca41759349..f5d8231ec5 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json @@ -4114,7 +4114,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -5346,7 +5346,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -6155,7 +6155,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -11093,7 +11093,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -12025,7 +12025,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -12815,7 +12815,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -13236,7 +13236,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -15959,7 +15959,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -16946,7 +16946,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -17850,7 +17850,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -18465,7 +18465,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -19979,7 +19979,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -20976,7 +20976,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -22042,7 +22042,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -22859,7 +22859,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -23903,7 +23903,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -24720,7 +24720,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -25642,7 +25642,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -26605,7 +26605,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -94377,7 +94377,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -95324,7 +95324,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -257584,7 +257584,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -411308,7 +411308,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -449936,7 +449936,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -599440,7 +599440,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -601990,7 +601990,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -604447,7 +604447,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -606904,7 +606904,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -609493,7 +609493,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -612089,7 +612089,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", "enum": [ "read", "write" @@ -616319,7 +616319,7 @@ }, "dependabot_secrets": { "type": "string", - "description": "The leve of permission to grant the access token to manage Dependabot secrets.", + "description": "The level of per{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}