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 c62bc272e8..6124b70391 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 @@ -1038,7 +1038,7 @@ }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -1171,7 +1171,7 @@ "/app/installations/{installation_id}/suspended": { "put": { "summary": "Suspend an app installation", - "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -17545,7 +17545,7 @@ }, "delete": { "summary": "Remove an organization member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -17963,7 +17963,7 @@ }, "delete": { "summary": "Remove organization membership for a user", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -97694,6 +97694,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" 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 126f83a7b8..855c96a36e 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 @@ -705,7 +705,7 @@ paths: delete: summary: Delete an installation for the authenticated app description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint. + Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint. You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -804,7 +804,7 @@ paths: put: summary: Suspend an app installation description: |- - Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account. + Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account. You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -12765,8 +12765,11 @@ paths: subcategory: members delete: summary: Remove an organization member - description: Removing a user from this list will remove them from all teams - and they will no longer have any access to the organization's repositories. + description: |- + Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-member @@ -13071,6 +13074,9 @@ paths: In order to remove a user's membership with an organization, the authenticated user must be an organization owner. If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-membership-for-user @@ -70790,6 +70796,9 @@ components: app_id: type: integer example: 1 + client_id: + type: string + example: Iv1.ab1112223334445c target_id: description: The ID of the user or organization this token is being scoped to. diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index c62bc272e8..6124b70391 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -1038,7 +1038,7 @@ }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -1171,7 +1171,7 @@ "/app/installations/{installation_id}/suspended": { "put": { "summary": "Suspend an app installation", - "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -17545,7 +17545,7 @@ }, "delete": { "summary": "Remove an organization member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -17963,7 +17963,7 @@ }, "delete": { "summary": "Remove organization membership for a user", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -97694,6 +97694,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 126f83a7b8..855c96a36e 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -705,7 +705,7 @@ paths: delete: summary: Delete an installation for the authenticated app description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint. + Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint. You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -804,7 +804,7 @@ paths: put: summary: Suspend an app installation description: |- - Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account. + Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account. You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -12765,8 +12765,11 @@ paths: subcategory: members delete: summary: Remove an organization member - description: Removing a user from this list will remove them from all teams - and they will no longer have any access to the organization's repositories. + description: |- + Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-member @@ -13071,6 +13074,9 @@ paths: In order to remove a user's membership with an organization, the authenticated user must be an organization owner. If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-membership-for-user @@ -70790,6 +70796,9 @@ components: app_id: type: integer example: 1 + client_id: + type: string + example: Iv1.ab1112223334445c target_id: description: The ID of the user or organization this token is being scoped to. 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 5c8dfb478c..2189c39cf1 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 @@ -4673,6 +4673,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -5613,6 +5617,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -6302,7 +6310,7 @@ }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -8306,7 +8314,7 @@ "/app/installations/{installation_id}/suspended": { "put": { "summary": "Suspend an app installation", - "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -93668,6 +93676,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -94623,6 +94635,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -100464,7 +100480,7 @@ }, "delete": { "summary": "Remove an organization member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -105665,7 +105681,7 @@ }, "delete": { "summary": "Remove organization membership for a user", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -291957,6 +291973,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -492584,6 +492604,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -535175,6 +535199,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -686596,6 +686624,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -689143,6 +689175,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -691597,6 +691633,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -694051,6 +694091,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -696637,6 +696681,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -699230,6 +699278,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -703446,6 +703498,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" 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 416bc041d2..91c1ba760d 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 @@ -2171,6 +2171,9 @@ paths: app_id: type: integer example: 1 + client_id: + type: string + example: Iv1.ab1112223334445c target_id: description: The ID of the user or organization this token is being scoped to. @@ -2741,7 +2744,7 @@ paths: delete: summary: Delete an installation for the authenticated app description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint. + Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint. You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -3510,7 +3513,7 @@ paths: put: summary: Suspend an app installation description: |- - Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account. + Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account. You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -29101,8 +29104,11 @@ paths: subcategory: members delete: summary: Remove an organization member - description: Removing a user from this list will remove them from all teams - and they will no longer have any access to the organization's repositories. + description: |- + Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-member @@ -29646,6 +29652,9 @@ paths: In order to remove a user's membership with an organization, the authenticated user must be an organization owner. If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-membership-for-user 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 5c8dfb478c..2189c39cf1 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -4673,6 +4673,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -5613,6 +5617,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -6302,7 +6310,7 @@ }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -8306,7 +8314,7 @@ "/app/installations/{installation_id}/suspended": { "put": { "summary": "Suspend an app installation", - "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -93668,6 +93676,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -94623,6 +94635,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -100464,7 +100480,7 @@ }, "delete": { "summary": "Remove an organization member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -105665,7 +105681,7 @@ }, "delete": { "summary": "Remove organization membership for a user", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -291957,6 +291973,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -492584,6 +492604,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -535175,6 +535199,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -686596,6 +686624,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -689143,6 +689175,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -691597,6 +691633,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -694051,6 +694091,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -696637,6 +696681,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -699230,6 +699278,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -703446,6 +703498,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" 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 416bc041d2..91c1ba760d 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -2171,6 +2171,9 @@ paths: app_id: type: integer example: 1 + client_id: + type: string + example: Iv1.ab1112223334445c target_id: description: The ID of the user or organization this token is being scoped to. @@ -2741,7 +2744,7 @@ paths: delete: summary: Delete an installation for the authenticated app description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint. + Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/rest/apps/apps#suspend-an-app-installation)" endpoint. You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -3510,7 +3513,7 @@ paths: put: summary: Suspend an app installation description: |- - Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account. + Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account. You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -29101,8 +29104,11 @@ paths: subcategory: members delete: summary: Remove an organization member - description: Removing a user from this list will remove them from all teams - and they will no longer have any access to the organization's repositories. + description: |- + Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-member @@ -29646,6 +29652,9 @@ paths: In order to remove a user's membership with an organization, the authenticated user must be an organization owner. If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-membership-for-user diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index f140854913..c01a8c90bd 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -4663,7 +4663,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -4689,6 +4689,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -5603,7 +5607,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -5629,6 +5633,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -6318,7 +6326,7 @@ }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -6385,7 +6393,7 @@ "/app/installations/{installation_id}/access_tokens": { "post": { "summary": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an enterprise, organization, or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nEnterprise account installations do not have access to repositories and cannot be scoped down using the `permissions` parameter.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -6855,7 +6863,7 @@ "application/json": { "schema": { "title": "Installation Token", - "description": "Authentication token for a GitHub App installed on a user or org.", + "description": "Authentication token for a GitHub App installed on a user, org, or enterprise.", "type": "object", "properties": { "token": { @@ -8322,7 +8330,7 @@ "/app/installations/{installation_id}/suspended": { "put": { "summary": "Suspend an app installation", - "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -24359,18 +24367,3016 @@ } } }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/enterprises/{enterprise}/announcement": { + "get": { + "summary": "Get announcement banner for enterprise", + "description": "Gets the announcement banner currently set for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "announcement-banners/get-announcement-banner-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Announcement Banner", + "description": "Announcement at either the repository, organization, or enterprise level", + "type": "object", + "properties": { + "announcement": { + "type": "string", + "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", + "example": "Very **important** announcement about _something_.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", + "example": "\"2021-01-01T00:00:00.000-07:00\"", + "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false + } + }, + "required": [ + "announcement", + "expires_at", + "user_dismissible" + ] + }, + "examples": { + "default": { + "summary": "Announcement banner", + "value": { + "announcement": "Very **important** announcement about _something_.", + "expires_at": "2021-01-01T00:00:00.000+00:00", + "user_dismissible": false + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "announcement-banners", + "subcategory": "enterprises" + } + }, + "patch": { + "summary": "Set announcement banner for enterprise", + "description": "Sets the announcement banner to display for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "announcement-banners/set-announcement-banner-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#set-announcement-banner-for-enterprise" + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Enterprise Announcement", + "description": "Enterprise global announcement", + "type": "object", + "properties": { + "announcement": { + "type": "string", + "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", + "example": "Very **important** announcement about _something_.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", + "example": "\"2021-01-01T00:00:00.000-07:00\"", + "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false + } + }, + "required": [ + "announcement" + ] + }, + "examples": { + "default": { + "summary": "Announcement banner", + "value": { + "announcement": "Very **important** announcement about _something_.", + "expires_at": "2021-01-01T00:00:00.000+00:00", + "user_dismissible": false + } + } + } + } + } + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Announcement Banner", + "description": "Announcement at either the repository, organization, or enterprise level", + "type": "object", + "properties": { + "announcement": { + "type": "string", + "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", + "example": "Very **important** announcement about _something_.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", + "example": "\"2021-01-01T00:00:00.000-07:00\"", + "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false + } + }, + "required": [ + "announcement", + "expires_at", + "user_dismissible" + ] + }, + "examples": { + "default": { + "summary": "Announcement banner", + "value": { + "announcement": "Very **important** announcement about _something_.", + "expires_at": "2021-01-01T00:00:00.000+00:00", + "user_dismissible": false + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "announcement-banners", + "subcategory": "enterprises" + } + }, + "delete": { + "summary": "Remove announcement banner from enterprise", + "description": "Removes the announcement banner currently set for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "announcement-banners/remove-announcement-banner-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "announcement-banners", + "subcategory": "enterprises" + } + } + }, + "/enterprises/{enterprise}/apps/installable_organizations": { + "get": { + "summary": "Get enterprise-owned organizations that can have GitHub Apps installed", + "description": "List the organizations owned by the enterprise, intended for use by GitHub Apps that are managing applications across the enterprise.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/installable-organizations", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-enterprise-owned-organizations-that-can-have-github-apps-installed" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of organizations owned by the enterprise on which the authenticated GitHub App is installed.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Installable Organization", + "description": "A GitHub organization on which a GitHub App can be installed.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "login": { + "type": "string", + "example": "github" + }, + "accessible_repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/enterprises/biz-name/apps/organizations/org-login/accessible_repositories" + } + }, + "required": [ + "id", + "login" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "login": "github" + }, + { + "id": 2, + "login": "microsoft" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/installable_organizations/{org}/accessible_repositories": { + "get": { + "summary": "Get repositories belonging to an enterprise-owned organization", + "description": "List the repositories belonging to an enterprise-owned organization that can be made accessible to a GitHub App installed on that organization. This API provides a shallow list of repositories in the organization, allowing the caller to then add or remove those repositories to an installation in that organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/installable-organization-accessible-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of repositories owned by the enterprise organization on which the authenticated GitHub App is installed.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + } + }, + "required": [ + "full_name", + "id", + "name" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations": { + "get": { + "summary": "List GitHub Apps installed on an enterprise-owned organization", + "description": "Lists the GitHub App installations associated with the given enterprise-owned organization. This lists all GitHub Apps that have been installed on the organization, regardless of who owns the application.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/organization-installations", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of GitHub App installations that have been granted access to the organization", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Enterprise Organization Installation", + "description": "A GitHub App Installation on an enterprise-owned organization", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "app_slug": { + "type": "string", + "example": "github/github-actions" + }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories" + }, + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for custom property management.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "team_discussions": { + "type": "string", + "description": "The level of permission to grant the access token to manage team discussions and related comments.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "client_id", + "repository_selection", + "repositories_url", + "permissions", + "created_at", + "updated_at" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "value": { + "id": 1, + "app_slug": "monalisa/orbit", + "repository_selection": "selected", + "repositories_url": "https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": [ + "push", + "pull_request" + ], + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00" + } + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + }, + "post": { + "summary": "Install a GitHub App on an enterprise-owned organization", + "description": "Installs any valid GitHub App on the specified organization owned by the enterprise. If the app is already installed on the organization, and is suspended, it will be unsuspended.\nIf the app has a pending installation request, they will all be approved.\n\nIf the app is already installed and has a pending update request, it will be updated to the latest version. If the app is now requesting repository permissions, it will be given access to the repositories listed in the request or fail if no `repository_selection` is provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/create-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "A GitHub App installation that was installed previously.", + "content": { + "application/json": { + "schema": { + "title": "Installation", + "description": "Installation", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "account": { + "nullable": true, + "anyOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "access_tokens_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/app/installations/1/access_tokens" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/installation/repositories" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/organizations/github/settings/installations/1" + }, + "app_id": { + "type": "integer", + "example": 1 + }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { + "type": "string", + "example": "Organization" + }, + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for custom property management.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "team_discussions": { + "type": "string", + "description": "The level of permission to grant the access token to manage team discussions and related comments.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "single_file_name": { + "type": "string", + "example": "config.yaml", + "nullable": true + }, + "has_multiple_single_files": { + "type": "boolean", + "example": true + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "app_slug": { + "type": "string", + "example": "github-actions" + }, + "suspended_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "suspended_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "contact_email": { + "type": "string", + "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", + "nullable": true + } + }, + "required": [ + "id", + "app_id", + "app_slug", + "target_id", + "target_type", + "single_file_name", + "repository_selection", + "access_tokens_url", + "html_url", + "repositories_url", + "events", + "account", + "permissions", + "created_at", + "updated_at", + "suspended_by", + "suspended_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "account": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/organizations/github/settings/installations/1", + "app_id": 1, + "target_id": 1, + "target_type": "Organization", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": [ + "push", + "pull_request" + ], + "single_file_name": "config.yaml", + "has_multiple_single_files": true, + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "repository_selection": "selected", + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00", + "app_slug": "github-actions", + "suspended_at": null, + "suspended_by": null + } + } + } + } + } + }, + "201": { + "description": "A GitHub App installation.", + "content": { + "application/json": { + "schema": { + "title": "Installation", + "description": "Installation", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "account": { + "nullable": true, + "anyOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "access_tokens_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/app/installations/1/access_tokens" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/installation/repositories" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/organizations/github/settings/installations/1" + }, + "app_id": { + "type": "integer", + "example": 1 + }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { + "type": "string", + "example": "Organization" + }, + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for custom property management.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "team_discussions": { + "type": "string", + "description": "The level of permission to grant the access token to manage team discussions and related comments.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "single_file_name": { + "type": "string", + "example": "config.yaml", + "nullable": true + }, + "has_multiple_single_files": { + "type": "boolean", + "example": true + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "app_slug": { + "type": "string", + "example": "github-actions" + }, + "suspended_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "suspended_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "contact_email": { + "type": "string", + "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", + "nullable": true + } + }, + "required": [ + "id", + "app_id", + "app_slug", + "target_id", + "target_type", + "single_file_name", + "repository_selection", + "access_tokens_url", + "html_url", + "repositories_url", + "events", + "account", + "permissions", + "created_at", + "updated_at", + "suspended_by", + "suspended_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "account": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/organizations/github/settings/installations/1", + "app_id": 1, + "target_id": 1, + "target_type": "Organization", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": [ + "push", + "pull_request" + ], + "single_file_name": "config.yaml", + "has_multiple_single_files": true, + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "repository_selection": "selected", + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00", + "app_slug": "github-actions", + "suspended_at": null, + "suspended_by": null + } + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "description": "The Client ID of the GitHub App to install." + }, + "repository_selection": { + "type": "string", + "description": "The repository selection for the GitHub App. Must be one of:\n* `all` - the installation can access all repositories in the organization.\n* `selected` - the installation can access only the listed repositories.\n* `none` - no repository permissions are requested. Only use when the app does not request repository permissions.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "repositories": { + "type": "array", + "description": "The names of the repositories to which the installation will be granted access. This is the simple name of the repository, not the full name (e.g., `hello-world` not `octocat/hello-world`). This is only required when `repository_selection` is `selected`.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "client_id", + "repository_selection" + ] + }, + "examples": { + "default": { + "summary": "Example of installing a GitHub App on an organization and granting access to all of its repositories.", + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "all" + } + }, + "repository_selection_selected": { + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": { + "delete": { + "summary": "Uninstall a GitHub App from an enterprise-owned organization", + "description": "Uninstall a GitHub App from an organization. Any app installed on the organization can be removed.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/delete-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + } + ], + "responses": { + "204": { + "description": "An empty response indicates that the installation was successfully removed." + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "required": [ - "message", - "documentation_url" - ], "properties": { "message": { "type": "string" @@ -24378,11 +27384,11 @@ "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "string" - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -24392,23 +27398,23 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "actions", - "subcategory": "self-hosted-runners" + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" } } }, - "/enterprises/{enterprise}/announcement": { + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": { "get": { - "summary": "Get announcement banner for enterprise", - "description": "Gets the announcement banner currently set for the enterprise.", + "summary": "Get the repositories accessible to a given GitHub App installation", + "description": "Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", "tags": [ - "enterprise-admin" + "apps" ], - "operationId": "announcement-banners/get-announcement-banner-for-enterprise", + "operationId": "enterprise-apps/organization-installation-repositories", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation" }, "parameters": [ { @@ -24419,53 +27425,98 @@ "schema": { "type": "string" } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "Response", + "description": "A list of repositories owned by the enterprise organization to which the installation has access.", "content": { "application/json": { "schema": { - "title": "Announcement Banner", - "description": "Announcement at either the repository, organization, or enterprise level", - "type": "object", - "properties": { - "announcement": { - "type": "string", - "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", - "example": "Very **important** announcement about _something_.", - "nullable": true - }, - "expires_at": { - "type": "string", - "format": "date-time", - "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", - "example": "\"2021-01-01T00:00:00.000-07:00\"", - "nullable": true + "type": "array", + "items": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + } }, - "user_dismissible": { - "type": "boolean", - "description": "Whether an announcement can be dismissed by the user.", - "example": false, - "nullable": true, - "default": false - } - }, - "required": [ - "announcement", - "expires_at", - "user_dismissible" - ] + "required": [ + "full_name", + "id", + "name" + ] + } }, "examples": { "default": { - "summary": "Announcement banner", - "value": { - "announcement": "Very **important** announcement about _something_.", - "expires_at": "2021-01-01T00:00:00.000+00:00", - "user_dismissible": false - } + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] } } } @@ -24474,124 +27525,989 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "announcement-banners", - "subcategory": "enterprises" + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" } }, "patch": { - "summary": "Set announcement banner for enterprise", - "description": "Sets the announcement banner to display for the enterprise.", + "summary": "Toggle installation repository access between selected and all repositories", + "description": "Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", "tags": [ - "enterprise-admin" + "apps" ], - "operationId": "announcement-banners/set-announcement-banner-for-enterprise", + "operationId": "enterprise-apps/change-installation-repository-access-selection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#set-announcement-banner-for-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + } + ], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "title": "Enterprise Announcement", - "description": "Enterprise global announcement", "type": "object", "properties": { - "announcement": { - "type": "string", - "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", - "example": "Very **important** announcement about _something_.", - "nullable": true - }, - "expires_at": { + "repository_selection": { "type": "string", - "format": "date-time", - "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", - "example": "\"2021-01-01T00:00:00.000-07:00\"", - "nullable": true + "description": "One of either 'all' or 'selected'", + "enum": [ + "all", + "selected" + ] }, - "user_dismissible": { - "type": "boolean", - "description": "Whether an announcement can be dismissed by the user.", - "example": false, - "nullable": true, - "default": false + "repositories": { + "type": "array", + "description": "The repository names to add to the installation. Only required when repository_selection is 'selected'", + "items": { + "type": "string" + }, + "maxItems": 50 } }, "required": [ - "announcement" + "repository_selection" ] }, "examples": { "default": { - "summary": "Announcement banner", + "summary": "Change the repositories accessible to a GitHub App from 'all repositories' to a specified subset.", "value": { - "announcement": "Very **important** announcement about _something_.", - "expires_at": "2021-01-01T00:00:00.000+00:00", - "user_dismissible": false + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] } } } } } }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], "responses": { "200": { - "description": "Response", + "description": "The GitHub App installation that was updated.", "content": { "application/json": { "schema": { - "title": "Announcement Banner", - "description": "Announcement at either the repository, organization, or enterprise level", + "title": "Installation", + "description": "Installation", "type": "object", "properties": { - "announcement": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "account": { + "nullable": true, + "anyOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", - "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", - "example": "Very **important** announcement about _something_.", + "enum": [ + "all", + "selected" + ] + }, + "access_tokens_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/app/installations/1/access_tokens" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/installation/repositories" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/organizations/github/settings/installations/1" + }, + "app_id": { + "type": "integer", + "example": 1 + }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { + "type": "string", + "example": "Organization" + }, + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for custom property management.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "team_discussions": { + "type": "string", + "description": "The level of permission to grant the access token to manage team discussions and related comments.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "single_file_name": { + "type": "string", + "example": "config.yaml", "nullable": true }, - "expires_at": { + "has_multiple_single_files": { + "type": "boolean", + "example": true + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "app_slug": { + "type": "string", + "example": "github-actions" + }, + "suspended_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "suspended_at": { "type": "string", "format": "date-time", - "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", - "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true }, - "user_dismissible": { - "type": "boolean", - "description": "Whether an announcement can be dismissed by the user.", - "example": false, - "nullable": true, - "default": false + "contact_email": { + "type": "string", + "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", + "nullable": true } }, "required": [ - "announcement", - "expires_at", - "user_dismissible" + "id", + "app_id", + "app_slug", + "target_id", + "target_type", + "single_file_name", + "repository_selection", + "access_tokens_url", + "html_url", + "repositories_url", + "events", + "account", + "permissions", + "created_at", + "updated_at", + "suspended_by", + "suspended_at" ] }, "examples": { "default": { - "summary": "Announcement banner", "value": { - "announcement": "Very **important** announcement about _something_.", - "expires_at": "2021-01-01T00:00:00.000+00:00", - "user_dismissible": false + "id": 1, + "account": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/organizations/github/settings/installations/1", + "app_id": 1, + "target_id": 1, + "target_type": "Organization", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": [ + "push", + "pull_request" + ], + "single_file_name": "config.yaml", + "has_multiple_single_files": true, + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "repository_selection": "selected", + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00", + "app_slug": "github-actions", + "suspended_at": null, + "suspended_by": null } } } @@ -24601,21 +28517,23 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "announcement-banners", - "subcategory": "enterprises" + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" } - }, - "delete": { - "summary": "Remove announcement banner from enterprise", - "description": "Removes the announcement banner currently set for the enterprise.", + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/add": { + "patch": { + "summary": "Grant repository access to an organization installation", + "description": "Grant repository access to an organization installation. You can add up to 50 repositories at a time. If the installation already has access to the repository, it will not be added again.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", "tags": [ - "enterprise-admin" + "apps" ], - "operationId": "announcement-banners/remove-announcement-banner-for-enterprise", + "operationId": "enterprise-apps/grant-repository-access-to-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation" }, "parameters": [ { @@ -24626,18 +28544,307 @@ "schema": { "type": "string" } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "A list of repositories which the authenticated GitHub App should be granted access to.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + } + }, + "required": [ + "full_name", + "id", + "name" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repositories": { + "type": "array", + "description": "The repository names to add to the installation.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "repositories" + ] + }, + "examples": { + "repositories": { + "value": { + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } } }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "announcement-banners", - "subcategory": "enterprises" + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/remove": { + "patch": { + "summary": "Remove repository access from an organization installation", + "description": "Remove repository access from a GitHub App installed on an organization. You can remove up to 50 repositories at a time. You cannot remove repositories from an app installed on `all` repositories, nor can you remove the last repository for an app. If you attempt to do so, the API will return a 422 Unprocessable Entity error.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/remove-repository-access-to-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + } + ], + "responses": { + "200": { + "description": "A list of repositories which the authenticated GitHub App has lost access to.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + } + }, + "required": [ + "full_name", + "id", + "name" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + }, + "422": { + "description": "The request was well-formed but was unable to be followed due to semantic errors. This can happen if you attempt to remove a repository from an installation that has access to `all` repositories, or if you attempt to remove the last repository from an installation.", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + }, + "examples": { + "default": { + "value": [ + { + "message": "Cannot remove the last repository from this installation. Uninstall this application instead." + }, + { + "documentation_url": "https://docs.github.com/rest/enterprise-admin/organization-installations#remove-repository-access-to-an-organization-installation" + }, + { + "status": 422 + } + ] + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repositories": { + "type": "array", + "description": "The repository names to remove from the installation.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "repositories" + ] + }, + "examples": { + "repositories": { + "value": { + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" } } }, @@ -126684,7 +130891,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -126710,6 +130917,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -127639,7 +131850,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -127665,6 +131876,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -133506,7 +137721,7 @@ }, "delete": { "summary": "Remove an organization member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -138731,7 +142946,7 @@ }, "delete": { "summary": "Remove organization membership for a user", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -331821,7 +336036,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -331847,6 +336062,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -543273,7 +547492,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -543299,6 +547518,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -585948,7 +590171,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -585974,6 +590197,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -770956,7 +775183,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -770982,6 +775209,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -773503,7 +777734,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -773529,6 +777760,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -775957,7 +780192,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -775983,6 +780218,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -778411,7 +782650,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -778437,6 +782676,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -780997,7 +785240,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -781023,6 +785266,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -783590,7 +787837,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -783616,6 +787863,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -787806,7 +792057,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -787832,6 +792083,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 8592dd6a6f..c6f0ef8aa7 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -442,7 +442,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &86 + - &89 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For @@ -451,7 +451,7 @@ paths: required: false schema: type: string - - &87 + - &90 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For @@ -460,7 +460,7 @@ paths: required: false schema: type: string - - &88 + - &91 name: direction description: The direction to sort the results by. in: query @@ -681,7 +681,7 @@ paths: required: - vector_string - score - cvss_severities: &102 + cvss_severities: &105 type: object nullable: true properties: @@ -721,7 +721,7 @@ paths: required: - vector_string - score - epss: &103 + epss: &106 type: object nullable: true readOnly: true @@ -859,7 +859,7 @@ paths: - subscriptions_url - type - url - type: &349 + type: &351 type: string description: The type of credit the user is receiving. enum: @@ -992,7 +992,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &186 + schema: &188 title: Validation Error Simple description: Validation Error Simple type: object @@ -1025,7 +1025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &698 + - &700 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1143,7 +1143,7 @@ paths: GitHub. type: object nullable: true - properties: &142 + properties: &145 id: description: Unique identifier of the GitHub app example: 37 @@ -1276,7 +1276,7 @@ paths: about itself. example: 5 type: integer - required: &143 + required: &146 - id - node_id - owner @@ -1581,7 +1581,7 @@ paths: schema: type: integer default: 30 - - &271 + - &273 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1597,7 +1597,7 @@ paths: application/json: schema: type: array - items: &272 + items: &274 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1677,7 +1677,7 @@ paths: - installation_id - repository_id examples: - default: &273 + default: &275 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1709,7 +1709,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &708 + schema: &710 title: Scim Error description: Scim Error type: object @@ -1736,7 +1736,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &185 + schema: &187 title: Validation Error description: Validation Error type: object @@ -1805,7 +1805,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &276 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1919,7 +1919,7 @@ paths: - request - response examples: - default: &275 + default: &277 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2120,7 +2120,7 @@ paths: parameters: - *17 - *19 - - &147 + - &150 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2159,7 +2159,8 @@ paths: - *18 repository_selection: description: Describe whether all repositories have been selected - or there's a selection involved + or there's a selection involved. For enterprise installations + this is `selected`. type: string enum: - all @@ -2179,6 +2180,9 @@ paths: app_id: type: integer example: 1 + client_id: + type: string + example: Iv1.ab1112223334445c target_id: description: The ID of the user or organization this token is being scoped to. @@ -2694,7 +2698,7 @@ paths: application/json: schema: *22 examples: - default: + default: &74 value: id: 1 account: @@ -2749,7 +2753,7 @@ paths: delete: summary: Delete an installation for the authenticated app description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)" endpoint. + Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)" endpoint. You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -2773,12 +2777,14 @@ paths: post: summary: Create an installation access token for an app description: |- - Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. + Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an enterprise, organization, or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. Optionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner. Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. + Enterprise account installations do not have access to repositories and cannot be scoped down using the `permissions` parameter. + You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: - apps @@ -2827,7 +2833,7 @@ paths: schema: title: Installation Token description: Authentication token for a GitHub App installed on a - user or org. + user, org, or enterprise. type: object properties: token: @@ -2846,7 +2852,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &330 + properties: &332 id: description: Unique identifier of the repository example: 42 @@ -2866,7 +2872,7 @@ paths: title: License Simple description: License Simple type: object - properties: &158 + properties: &161 key: type: string example: mit @@ -2888,7 +2894,7 @@ paths: html_url: type: string format: uri - required: &159 + required: &162 - key - name - url @@ -3284,7 +3290,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &331 + required: &333 - archive_url - assignees_url - blobs_url @@ -3518,7 +3524,7 @@ paths: put: summary: Suspend an app installation description: |- - Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account. + Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account. You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -5071,7 +5077,7 @@ paths: responses: '202': *39 '422': *7 - '500': &85 + '500': &88 description: Internal Error content: application/json: @@ -7357,7 +7363,7 @@ paths: description: Response content: application/json: - schema: &187 + schema: &189 type: object properties: total_active_caches_count: @@ -7372,7 +7378,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &188 + default: &190 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7556,7 +7562,7 @@ paths: - public_ip_enabled - platform examples: - default: &189 + default: &191 value: total_count: 2 runners: @@ -7842,7 +7848,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &192 type: object properties: public_ips: @@ -7867,7 +7873,7 @@ paths: required: - public_ips examples: - default: &191 + default: &193 value: public_ips: current_usage: 17 @@ -7907,7 +7913,7 @@ paths: type: array items: *45 examples: - default: &192 + default: &194 value: id: 4-core cpu_cores: 4 @@ -8164,7 +8170,7 @@ paths: - all - local_only - selected - selected_actions_url: &195 + selected_actions_url: &197 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -8253,7 +8259,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &98 + properties: &101 login: type: string example: github @@ -8294,7 +8300,7 @@ paths: type: string example: A great organization nullable: true - required: &99 + required: &102 - login - url - id @@ -8532,7 +8538,7 @@ paths: description: Success response content: application/json: - schema: &198 + schema: &200 type: object properties: default_workflow_permissions: &53 @@ -8580,7 +8586,7 @@ paths: required: true content: application/json: - schema: &199 + schema: &201 type: object properties: default_workflow_permissions: *53 @@ -9416,7 +9422,7 @@ paths: application/json: schema: type: array - items: &203 + items: &205 title: Runner Application description: Runner Application type: object @@ -9441,7 +9447,7 @@ paths: - download_url - filename examples: - default: &204 + default: &206 value: - os: osx architecture: x64 @@ -9525,7 +9531,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &205 + '201': &207 description: Response content: application/json: @@ -9564,7 +9570,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &96 + '409': &99 description: Conflict content: application/json: @@ -9640,7 +9646,7 @@ paths: - token - expires_at examples: - default: &206 + default: &208 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9680,7 +9686,7 @@ paths: application/json: schema: *65 examples: - default: &207 + default: &209 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9712,7 +9718,7 @@ paths: application/json: schema: *62 examples: - default: &208 + default: &210 value: id: 23 name: MBP @@ -9928,7 +9934,7 @@ paths: - *41 - *61 responses: - '200': &209 + '200': &211 description: Response content: application/json: @@ -9984,7 +9990,7 @@ paths: parameters: - *41 - *61 - - &210 + - &212 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10075,7 +10081,7 @@ paths: required: true content: application/json: - schema: &217 + schema: &219 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10121,6 +10127,575 @@ paths: enabledForGitHubApps: false category: announcement-banners subcategory: enterprises + "/enterprises/{enterprise}/apps/installable_organizations": + get: + summary: Get enterprise-owned organizations that can have GitHub Apps installed + description: |- + List the organizations owned by the enterprise, intended for use by GitHub Apps that are managing applications across the enterprise. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/installable-organizations + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-enterprise-owned-organizations-that-can-have-github-apps-installed + parameters: + - *41 + - *17 + - *19 + responses: + '200': + description: A list of organizations owned by the enterprise on which the + authenticated GitHub App is installed. + content: + application/json: + schema: + type: array + items: + title: Installable Organization + description: A GitHub organization on which a GitHub App can be + installed. + type: object + properties: + id: + type: integer + example: 1 + login: + type: string + example: github + accessible_repositories_url: + type: string + format: uri + example: https://api.github.com/enterprises/biz-name/apps/organizations/org-login/accessible_repositories + required: + - id + - login + examples: + default: + value: + - id: 1 + login: github + - id: 2 + login: microsoft + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/installable_organizations/{org}/accessible_repositories": + get: + summary: Get repositories belonging to an enterprise-owned organization + description: |- + List the repositories belonging to an enterprise-owned organization that can be made accessible to a GitHub App installed on that organization. This API provides a shallow list of repositories in the organization, allowing the caller to then add or remove those repositories to an installation in that organization. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/installable-organization-accessible-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization + parameters: + - *41 + - &73 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + - *17 + - *19 + responses: + '200': + description: A list of repositories owned by the enterprise organization + on which the authenticated GitHub App is installed. + content: + application/json: + schema: + type: array + items: &75 + title: Accessible Repository + description: A repository that may be made accessible to a GitHub + App. + type: object + properties: + id: + description: Unique identifier of the repository + type: integer + format: int64 + example: 1 + name: + description: The name of the repository. + type: string + example: Team Environment + full_name: + type: string + example: octocat/Hello-World + required: + - full_name + - id + - name + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations": + get: + summary: List GitHub Apps installed on an enterprise-owned organization + description: |- + Lists the GitHub App installations associated with the given enterprise-owned organization. This lists all GitHub Apps that have been installed on the organization, regardless of who owns the application. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/organization-installations + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization + parameters: + - *41 + - *73 + - *17 + - *19 + responses: + '200': + description: A list of GitHub App installations that have been granted access + to the organization + content: + application/json: + schema: + type: array + items: + title: Enterprise Organization Installation + description: A GitHub App Installation on an enterprise-owned organization + type: object + properties: + id: + description: The ID of the installation. + type: integer + example: 1 + app_slug: + type: string + example: github/github-actions + client_id: + type: string + example: Iv1.ab1112223334445c + repository_selection: + description: Describe whether all repositories have been selected + or there's a selection involved + type: string + enum: + - all + - selected + repositories_url: + type: string + format: uri + example: https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories + permissions: *24 + events: + type: array + items: + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - id + - client_id + - repository_selection + - repositories_url + - permissions + - created_at + - updated_at + examples: + default: + value: + - value: + id: 1 + app_slug: monalisa/orbit + repository_selection: selected + repositories_url: https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories + permissions: + checks: write + metadata: read + contents: read + events: + - push + - pull_request + created_at: '2017-07-08T16:18:44-04:00' + updated_at: '2017-07-08T16:18:44-04:00' + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + post: + summary: Install a GitHub App on an enterprise-owned organization + description: |- + Installs any valid GitHub App on the specified organization owned by the enterprise. If the app is already installed on the organization, and is suspended, it will be unsuspended. + If the app has a pending installation request, they will all be approved. + + If the app is already installed and has a pending update request, it will be updated to the latest version. If the app is now requesting repository permissions, it will be given access to the repositories listed in the request or fail if no `repository_selection` is provided. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/create-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization + parameters: + - *41 + - *73 + responses: + '200': + description: A GitHub App installation that was installed previously. + content: + application/json: + schema: *22 + examples: + default: *74 + '201': + description: A GitHub App installation. + content: + application/json: + schema: *22 + examples: + default: *74 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + client_id: + type: string + description: The Client ID of the GitHub App to install. + repository_selection: + type: string + description: |- + The repository selection for the GitHub App. Must be one of: + * `all` - the installation can access all repositories in the organization. + * `selected` - the installation can access only the listed repositories. + * `none` - no repository permissions are requested. Only use when the app does not request repository permissions. + enum: + - all + - selected + - none + repositories: + type: array + description: The names of the repositories to which the installation + will be granted access. This is the simple name of the repository, + not the full name (e.g., `hello-world` not `octocat/hello-world`). + This is only required when `repository_selection` is `selected`. + items: + type: string + maxItems: 50 + required: + - client_id + - repository_selection + examples: + default: + summary: Example of installing a GitHub App on an organization and + granting access to all of its repositories. + value: + client_id: Iv2abc123aabbcc + repository_selection: all + repository_selection_selected: + value: + client_id: Iv2abc123aabbcc + repository_selection: selected + repositories: + - hello-world + - hello-world-2 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": + delete: + summary: Uninstall a GitHub App from an enterprise-owned organization + description: |- + Uninstall a GitHub App from an organization. Any app installed on the organization can be removed. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/delete-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization + parameters: + - *41 + - *73 + - *23 + responses: + '204': + description: An empty response indicates that the installation was successfully + removed. + '404': *6 + '403': *29 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": + get: + summary: Get the repositories accessible to a given GitHub App installation + description: |- + Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/organization-installation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation + parameters: + - *41 + - *73 + - *23 + - *17 + - *19 + responses: + '200': + description: A list of repositories owned by the enterprise organization + to which the installation has access. + content: + application/json: + schema: + type: array + items: *75 + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + patch: + summary: Toggle installation repository access between selected and all repositories + description: |- + Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/change-installation-repository-access-selection + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories + parameters: + - *41 + - *73 + - *23 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_selection: + type: string + description: One of either 'all' or 'selected' + enum: + - all + - selected + repositories: + type: array + description: The repository names to add to the installation. Only + required when repository_selection is 'selected' + items: + type: string + maxItems: 50 + required: + - repository_selection + examples: + default: + summary: Change the repositories accessible to a GitHub App from 'all + repositories' to a specified subset. + value: + repository_selection: selected + repositories: + - hello-world + - hello-world-2 + responses: + '200': + description: The GitHub App installation that was updated. + content: + application/json: + schema: *22 + examples: + default: *74 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/add": + patch: + summary: Grant repository access to an organization installation + description: |- + Grant repository access to an organization installation. You can add up to 50 repositories at a time. If the installation already has access to the repository, it will not be added again. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/grant-repository-access-to-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation + parameters: + - *41 + - *73 + - *23 + responses: + '200': + description: A list of repositories which the authenticated GitHub App should + be granted access to. + content: + application/json: + schema: + type: array + items: *75 + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repositories: + type: array + description: The repository names to add to the installation. + items: + type: string + maxItems: 50 + required: + - repositories + examples: + repositories: + value: + repositories: + - hello-world + - hello-world-2 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/remove": + patch: + summary: Remove repository access from an organization installation + description: |- + Remove repository access from a GitHub App installed on an organization. You can remove up to 50 repositories at a time. You cannot remove repositories from an app installed on `all` repositories, nor can you remove the last repository for an app. If you attempt to do so, the API will return a 422 Unprocessable Entity error. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/remove-repository-access-to-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation + parameters: + - *41 + - *73 + - *23 + responses: + '200': + description: A list of repositories which the authenticated GitHub App has + lost access to. + content: + application/json: + schema: + type: array + items: *75 + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + '422': + description: The request was well-formed but was unable to be followed due + to semantic errors. This can happen if you attempt to remove a repository + from an installation that has access to `all` repositories, or if you + attempt to remove the last repository from an installation. + content: + application/json: + schema: *3 + examples: + default: + value: + - message: Cannot remove the last repository from this installation. + Uninstall this application instead. + - documentation_url: https://docs.github.com/rest/enterprise-admin/organization-installations#remove-repository-access-to-an-organization-installation + - status: 422 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repositories: + type: array + description: The repository names to remove from the installation. + items: + type: string + maxItems: 50 + required: + - repositories + examples: + repositories: + value: + repositories: + - hello-world + - hello-world-2 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations "/enterprises/{enterprise}/audit-log": get: summary: Get the audit log for an enterprise @@ -10147,7 +10722,7 @@ paths: required: false schema: type: string - - &218 + - &220 name: include description: |- The event types to include: @@ -10165,7 +10740,7 @@ paths: - web - git - all - - &219 + - &221 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -10173,7 +10748,7 @@ paths: required: false schema: type: string - - &220 + - &222 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -10181,7 +10756,7 @@ paths: required: false schema: type: string - - &221 + - &223 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10203,7 +10778,7 @@ paths: application/json: schema: type: array - items: &222 + items: &224 type: object properties: "@timestamp": @@ -10325,7 +10900,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &223 + default: &225 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10504,7 +11079,7 @@ paths: vendor_specific: type: object oneOf: - - &76 + - &79 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -10518,7 +11093,7 @@ paths: required: - key_id - encrypted_sas_url - - &77 + - &80 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -10537,7 +11112,7 @@ paths: - name - encrypted_connstring - key_id - - &78 + - &81 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -10565,7 +11140,7 @@ paths: - bucket - key_id - region - - &79 + - &82 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -10599,7 +11174,7 @@ paths: - encrypted_secret_key - key_id - region - - &80 + - &83 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -10627,7 +11202,7 @@ paths: - key_id - port - ssl_verify - - &81 + - &84 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -10659,7 +11234,7 @@ paths: - key_id - port - ssl_verify - - &82 + - &85 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -10677,7 +11252,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &83 + - &86 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -10708,7 +11283,7 @@ paths: - stream_type - vendor_specific examples: - default: &84 + default: &87 value: enabled: false stream_type: Azure Event Hubs @@ -10722,7 +11297,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &73 + schema: &76 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -10753,7 +11328,7 @@ paths: - created_at - updated_at examples: - default: &74 + default: &77 value: id: 1 stream_type: Splunk @@ -10782,7 +11357,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id parameters: - *41 - - &75 + - &78 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -10794,9 +11369,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *73 + schema: *76 examples: - default: *74 + default: *77 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -10816,7 +11391,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *41 - - *75 + - *78 requestBody: required: true content: @@ -10842,28 +11417,28 @@ paths: vendor_specific: type: object oneOf: - - *76 - - *77 - - *78 - *79 - *80 - *81 - *82 - *83 + - *84 + - *85 + - *86 required: - enabled - stream_type - vendor_specific examples: - default: *84 + default: *87 responses: '200': description: Successful update content: application/json: - schema: *73 + schema: *76 examples: - default: *74 + default: *77 '422': description: Validation error content: @@ -10894,7 +11469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise parameters: - *41 - - *75 + - *78 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -10926,7 +11501,7 @@ paths: in: query schema: type: string - - &225 + - &227 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -10934,7 +11509,7 @@ paths: required: false schema: type: string - - &226 + - &228 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -10942,7 +11517,7 @@ paths: required: false schema: type: string - - &227 + - &229 name: time_period description: |- The time period to filter by. @@ -10958,7 +11533,7 @@ paths: - week - month default: day - - &228 + - &230 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -10985,7 +11560,7 @@ paths: application/json: schema: type: array - items: &229 + items: &231 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11102,7 +11677,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &232 + items: &234 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -11146,7 +11721,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &230 + default: &232 value: - id: 21 number: 42 @@ -11215,7 +11790,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *85 + '500': *88 "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -11233,17 +11808,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &237 + - &239 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &89 + schema: &92 type: string description: The name of the tool used to generate the code scanning analysis. - - &238 + - &240 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -11251,22 +11826,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &90 + schema: &93 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *86 - - *87 + - *89 + - *90 - *19 - *17 - - *88 + - *91 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &239 + schema: &241 type: string description: State of a code scanning alert. enum: @@ -11291,42 +11866,42 @@ paths: application/json: schema: type: array - items: &240 + items: &242 type: object properties: - number: &100 + number: &103 type: integer description: The security alert number. readOnly: true - created_at: &107 + created_at: &110 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &108 + updated_at: &111 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &105 + url: &108 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &106 + html_url: &109 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &466 + instances_url: &468 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &91 + state: &94 type: string description: State of a code scanning alert. nullable: true @@ -11334,7 +11909,7 @@ paths: - open - dismissed - fixed - fixed_at: &110 + fixed_at: &113 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -11348,14 +11923,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &109 + dismissed_at: &112 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &467 + dismissed_reason: &469 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11364,13 +11939,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &468 + dismissed_comment: &470 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &469 + rule: &471 type: object properties: id: @@ -11423,25 +11998,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &470 + tool: &472 type: object properties: - name: *89 + name: *92 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *90 - most_recent_instance: &471 + guid: *93 + most_recent_instance: &473 type: object properties: - ref: &464 + ref: &466 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &481 + analysis_key: &483 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11452,13 +12027,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &482 + category: &484 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *91 + state: *94 commit_sha: type: string message: @@ -11497,11 +12072,11 @@ paths: - generated - test - library - repository: &97 + repository: &100 title: Simple Repository description: A GitHub repository. type: object - properties: &175 + properties: &177 id: type: integer format: int64 @@ -11728,7 +12303,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &176 + required: &178 - archive_url - assignees_url - blobs_url @@ -11797,7 +12372,7 @@ paths: - most_recent_instance - repository examples: - default: &241 + default: &243 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12028,7 +12603,7 @@ paths: headers: Link: *40 '404': *6 - '503': &134 + '503': &137 description: Service unavailable content: application/json: @@ -12072,8 +12647,8 @@ paths: schema: type: integer default: 30 - - *86 - - *87 + - *89 + - *90 responses: '200': description: Response @@ -12081,7 +12656,7 @@ paths: application/json: schema: type: array - items: &92 + items: &95 type: object description: A code security configuration properties: @@ -12444,7 +13019,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &95 + code_scanning_default_setup_options: &98 type: object description: Feature options for code scanning default setup nullable: true @@ -12554,9 +13129,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *92 + schema: *95 examples: - default: &93 + default: &96 value: id: 1325 target_type: enterprise @@ -12614,7 +13189,7 @@ paths: description: Response content: application/json: - schema: &243 + schema: &245 type: array description: A list of default code security configurations items: @@ -12628,9 +13203,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *92 + configuration: *95 examples: - default: &244 + default: &246 value: - default_for_new_repos: public configuration: @@ -12715,7 +13290,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *41 - - &94 + - &97 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -12727,9 +13302,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *95 examples: - default: *93 + default: *96 '304': *37 '403': *29 '404': *6 @@ -12754,7 +13329,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *41 - - *94 + - *97 requestBody: required: true content: @@ -12824,7 +13399,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *95 + code_scanning_default_setup_options: *98 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -12905,13 +13480,13 @@ paths: description: Response content: application/json: - schema: *92 + schema: *95 examples: - default: *93 + default: *96 '304': *37 '403': *29 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -12935,14 +13510,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *41 - - *94 + - *97 responses: - '204': &120 + '204': &123 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -12967,7 +13542,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *41 - - *94 + - *97 requestBody: required: true content: @@ -12994,7 +13569,7 @@ paths: '202': *39 '403': *29 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -13019,7 +13594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - *41 - - *94 + - *97 requestBody: required: true content: @@ -13059,12 +13634,12 @@ paths: - none - private_and_internal - public - configuration: *92 + configuration: *95 examples: default: value: default_for_new_repos: all - configuration: &242 + configuration: &244 value: id: 1325 target_type: organization @@ -13119,7 +13694,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *41 - - *94 + - *97 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -13128,8 +13703,8 @@ paths: schema: type: integer default: 30 - - *86 - - *87 + - *89 + - *90 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -13147,7 +13722,7 @@ paths: application/json: schema: type: array - items: &245 + items: &247 type: object description: Repositories associated with a code security configuration and attachment status @@ -13165,13 +13740,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *97 + repository: *100 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &246 + repository: &248 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13636,7 +14211,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &111 + items: &114 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -13653,14 +14228,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *98 - required: *99 + properties: *101 + required: *102 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &233 + - &235 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13719,7 +14294,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &308 + properties: &310 id: description: Unique identifier of the team type: integer @@ -13775,7 +14350,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &309 + required: &311 - id - node_id - url @@ -13897,7 +14472,7 @@ paths: - created_at additionalProperties: false examples: - default: &112 + default: &115 value: total_seats: 2 seats: @@ -13966,7 +14541,7 @@ paths: site_admin: false headers: Link: *40 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -14028,7 +14603,7 @@ paths: application/json: schema: type: array - items: &138 + items: &141 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -14335,7 +14910,7 @@ paths: - date additionalProperties: true examples: - default: &139 + default: &142 value: - date: '2024-06-24' total_active_users: 24 @@ -14434,10 +15009,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *85 + '500': *88 '403': *29 '404': *6 - '422': &140 + '422': &143 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -14467,7 +15042,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &253 + - &255 name: state in: query description: |- @@ -14476,7 +15051,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &254 + - &256 name: severity in: query description: |- @@ -14485,7 +15060,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &255 + - &257 name: ecosystem in: query description: |- @@ -14494,14 +15069,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &256 + - &258 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &257 + - &259 name: epss_percentage in: query description: |- @@ -14513,7 +15088,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &258 + - &260 name: has in: query description: |- @@ -14527,7 +15102,7 @@ paths: type: string enum: - patch - - &259 + - &261 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14537,7 +15112,7 @@ paths: enum: - development - runtime - - &260 + - &262 name: sort in: query description: |- @@ -14552,10 +15127,10 @@ paths: - updated - epss_percentage default: created - - *88 - - *86 - - *87 - - &261 + - *91 + - *89 + - *90 + - &263 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14568,7 +15143,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &262 + - &264 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14588,11 +15163,11 @@ paths: application/json: schema: type: array - items: &263 + items: &265 type: object description: A Dependabot alert. properties: - number: *100 + number: *103 state: type: string description: The state of the Dependabot alert. @@ -14607,7 +15182,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &101 + package: &104 type: object description: Details for the vulnerable package. readOnly: true @@ -14651,7 +15226,7 @@ paths: - unknown - direct - transitive - security_advisory: &523 + security_advisory: &525 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14681,13 +15256,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &104 + items: &107 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *101 + package: *104 severity: type: string description: The severity of the vulnerability. @@ -14753,8 +15328,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *102 - epss: *103 + cvss_severities: *105 + epss: *106 cwes: type: array description: Details for the advisory pertaining to Common @@ -14853,12 +15428,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *104 - url: *105 - html_url: *106 - created_at: *107 - updated_at: *108 - dismissed_at: *109 + security_vulnerability: *107 + url: *108 + html_url: *109 + created_at: *110 + updated_at: *111 + dismissed_at: *112 dismissed_by: title: Simple User description: A GitHub user. @@ -14882,15 +15457,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *110 - auto_dismissed_at: &524 + fixed_at: *113 + auto_dismissed_at: &526 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - repository: *97 + repository: *100 required: - number - state @@ -14909,7 +15484,7 @@ paths: - repository additionalProperties: false examples: - default: &264 + default: &266 value: - number: 2 state: dismissed @@ -15326,7 +15901,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *41 - - &224 + - &226 name: username description: The handle for the GitHub user account. in: path @@ -15348,10 +15923,10 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *111 + items: *114 examples: - default: *112 - '500': *85 + default: *115 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -15393,7 +15968,7 @@ paths: type: integer network_configurations: type: array - items: &113 + items: &116 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -15433,7 +16008,7 @@ paths: - name - created_on examples: - default: &360 + default: &362 value: total_count: 2 network_configurations: @@ -15511,9 +16086,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *116 examples: - default: &114 + default: &117 value: id: 123456789ABCDEF name: My network configuration @@ -15540,7 +16115,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *41 - - &115 + - &118 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -15552,9 +16127,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *116 examples: - default: *114 + default: *117 headers: Link: *40 x-github: @@ -15574,7 +16149,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *41 - - *115 + - *118 requestBody: required: true content: @@ -15613,9 +16188,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *116 examples: - default: *114 + default: *117 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -15633,7 +16208,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *41 - - *115 + - *118 responses: '204': description: Response @@ -15656,7 +16231,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &361 + - &363 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -15668,7 +16243,7 @@ paths: description: Response content: application/json: - schema: &362 + schema: &364 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -15702,7 +16277,7 @@ paths: - subnet_id - region examples: - default: &363 + default: &365 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -15737,7 +16312,7 @@ paths: application/json: schema: type: array - items: &116 + items: &119 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -15803,7 +16378,7 @@ paths: - property_name - value_type examples: - default: &117 + default: &120 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -15860,7 +16435,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *116 + items: *119 minItems: 1 maxItems: 100 required: @@ -15890,9 +16465,9 @@ paths: application/json: schema: type: array - items: *116 + items: *119 examples: - default: *117 + default: *120 '403': *29 '404': *6 x-github: @@ -15915,14 +16490,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *41 - - &174 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string - - &118 + - *73 + - &121 name: custom_property_name description: The custom property name in: path @@ -15934,9 +16503,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *119 examples: - default: &119 + default: &122 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -15969,15 +16538,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *118 + - *121 responses: '200': description: Response content: application/json: - schema: *116 + schema: *119 examples: - default: *119 + default: *122 '403': *29 '404': *6 x-github: @@ -15999,12 +16568,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *41 - - *118 + - *121 requestBody: required: true content: application/json: - schema: &328 + schema: &330 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16068,9 +16637,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *119 examples: - default: *119 + default: *122 '403': *29 '404': *6 x-github: @@ -16092,9 +16661,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *118 + - *121 responses: - '204': *120 + '204': *123 '403': *29 '404': *6 x-github: @@ -16134,7 +16703,7 @@ paths: - push - repository default: branch - enforcement: &127 + enforcement: &130 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -16147,7 +16716,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &128 + items: &131 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -16184,7 +16753,7 @@ paths: - always - pull_request default: always - conditions: &132 + conditions: &135 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -16198,7 +16767,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &121 + - &124 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -16224,7 +16793,7 @@ paths: type: string required: - organization_name - - &124 + - &127 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -16253,7 +16822,7 @@ paths: is prevented. required: - repository_name - - &123 + - &126 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -16281,8 +16850,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *121 - - &126 + - *124 + - &129 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -16295,7 +16864,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &122 + items: &125 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -16326,16 +16895,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *122 + items: *125 required: - repository_property - - *123 + - *126 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &125 + - &128 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -16352,25 +16921,25 @@ paths: type: integer required: - organization_id - - *124 - - *123 + - *127 + - *126 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *125 + - *128 + - *129 - *126 - - *123 rules: type: array description: An array of rules within the ruleset. - items: &129 + items: &132 title: Repository Rule type: object description: A repository rule. oneOf: - - &642 + - &644 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16382,7 +16951,7 @@ paths: type: string enum: - creation - - &643 + - &645 title: update description: Only allow users with bypass permission to update matching refs. @@ -16403,7 +16972,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &645 + - &647 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16415,7 +16984,7 @@ paths: type: string enum: - deletion - - &646 + - &648 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16427,7 +16996,7 @@ paths: type: string enum: - required_linear_history - - &647 + - &649 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16503,7 +17072,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &648 + - &650 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16527,7 +17096,7 @@ paths: type: string required: - required_deployment_environments - - &649 + - &651 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16539,7 +17108,7 @@ paths: type: string enum: - required_signatures - - &650 + - &652 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -16599,7 +17168,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &651 + - &653 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16646,7 +17215,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &652 + - &654 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16658,7 +17227,7 @@ paths: type: string enum: - non_fast_forward - - &653 + - &655 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16694,7 +17263,7 @@ paths: required: - operator - pattern - - &654 + - &656 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16730,7 +17299,7 @@ paths: required: - operator - pattern - - &655 + - &657 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16766,7 +17335,7 @@ paths: required: - operator - pattern - - &656 + - &658 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16802,7 +17371,7 @@ paths: required: - operator - pattern - - &657 + - &659 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16838,7 +17407,7 @@ paths: required: - operator - pattern - - &658 + - &660 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16862,7 +17431,7 @@ paths: type: string required: - restricted_file_paths - - &659 + - &661 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16886,7 +17455,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &660 + - &662 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16909,7 +17478,7 @@ paths: type: string required: - restricted_file_extensions - - &661 + - &663 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16933,7 +17502,7 @@ paths: maximum: 100 required: - max_file_size - - &662 + - &664 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16982,7 +17551,7 @@ paths: - repository_id required: - workflows - - &663 + - &665 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17068,7 +17637,7 @@ paths: description: Response content: application/json: - schema: &130 + schema: &133 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -17103,11 +17672,11 @@ paths: source: type: string description: The name of the source - enforcement: *127 + enforcement: *130 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *128 + items: *131 current_user_can_bypass: type: string description: |- @@ -17138,8 +17707,8 @@ paths: conditions: nullable: true anyOf: - - *123 - - &335 + - *126 + - &337 title: Organization ruleset conditions type: object description: |- @@ -17153,14 +17722,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *123 - - *124 + - *126 + - *127 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *123 + - *126 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -17182,11 +17751,11 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *123 - *126 + - *129 rules: type: array - items: *129 + items: *132 created_at: type: string format: date-time @@ -17194,7 +17763,7 @@ paths: type: string format: date-time examples: - default: &131 + default: &134 value: id: 21 name: super cool ruleset @@ -17220,7 +17789,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17253,11 +17822,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: *131 + default: *134 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17299,16 +17868,16 @@ paths: - tag - push - repository - enforcement: *127 + enforcement: *130 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *128 - conditions: *132 + items: *131 + conditions: *135 rules: description: An array of rules within the ruleset. type: array - items: *129 + items: *132 examples: default: value: @@ -17332,11 +17901,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: *131 + default: *134 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17363,7 +17932,7 @@ paths: '204': description: Response '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17396,7 +17965,7 @@ paths: application/json: schema: type: array - items: &133 + items: &136 title: Ruleset version type: object description: The historical version of a ruleset @@ -17420,7 +17989,7 @@ paths: type: string format: date-time examples: - default: &337 + default: &339 value: - version_id: 3 actor: @@ -17438,7 +18007,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17473,9 +18042,9 @@ paths: description: Response content: application/json: - schema: &338 + schema: &340 allOf: - - *133 + - *136 - type: object required: - state @@ -17508,7 +18077,7 @@ paths: rules: - type: repository_delete '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17528,7 +18097,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &339 + - &341 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17539,7 +18108,7 @@ paths: enum: - open - resolved - - &340 + - &342 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17549,7 +18118,7 @@ paths: required: false schema: type: string - - &341 + - &343 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17558,7 +18127,7 @@ paths: required: false schema: type: string - - &342 + - &344 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -17570,11 +18139,11 @@ paths: - created - updated default: created - - *88 + - *91 - *17 - - *86 - - *87 - - &343 + - *89 + - *90 + - &345 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17583,7 +18152,7 @@ paths: required: false schema: type: string - - &344 + - &346 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17592,7 +18161,7 @@ paths: schema: type: boolean default: false - - &345 + - &347 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17601,7 +18170,7 @@ paths: schema: type: boolean default: false - - &346 + - &348 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -17617,11 +18186,11 @@ paths: application/json: schema: type: array - items: &347 + items: &349 type: object properties: - number: *100 - created_at: *107 + number: *103 + created_at: *110 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -17629,21 +18198,21 @@ paths: format: date-time readOnly: true nullable: true - url: *105 - html_url: *106 + url: *108 + html_url: *109 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &676 + state: &678 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &677 + resolution: &679 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17677,7 +18246,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *97 + repository: *100 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -17750,8 +18319,8 @@ paths: pull request. ' - oneOf: &678 - - &680 + oneOf: &680 + - &682 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -17803,7 +18372,7 @@ paths: - blob_url - commit_sha - commit_url - - &681 + - &683 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -17858,7 +18427,7 @@ paths: - page_url - commit_sha - commit_url - - &682 + - &684 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -17872,7 +18441,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &683 + - &685 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -17886,7 +18455,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &684 + - &686 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -17900,7 +18469,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &685 + - &687 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -17914,7 +18483,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &686 + - &688 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -17928,7 +18497,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &687 + - &689 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -17942,7 +18511,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &688 + - &690 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -17956,7 +18525,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &689 + - &691 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -17970,7 +18539,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &690 + - &692 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -17984,7 +18553,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &691 + - &693 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -17998,7 +18567,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &692 + - &694 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -18018,7 +18587,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &348 + default: &350 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18269,7 +18838,7 @@ paths: headers: Link: *40 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18300,7 +18869,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 type: object properties: total_minutes_used: @@ -18370,7 +18939,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &352 + default: &354 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18401,7 +18970,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &353 + - &355 name: advanced_security_product in: query description: | @@ -18421,7 +18990,7 @@ paths: description: Success content: application/json: - schema: &354 + schema: &356 type: object properties: total_advanced_security_committers: @@ -18476,7 +19045,7 @@ paths: required: - repositories examples: - default: &355 + default: &357 value: total_advanced_security_committers: 2 total_count: 2 @@ -18572,8 +19141,8 @@ paths: name: octocat/hello-world '400': *14 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18592,7 +19161,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *41 - - &137 + - &140 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -18604,7 +19173,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &135 + schema: &138 type: object properties: id: @@ -18632,7 +19201,7 @@ paths: - name - resources examples: - default: &136 + default: &139 value: - id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -18643,8 +19212,8 @@ paths: name: octocat/hello-world '400': *14 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18694,15 +19263,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *135 + schema: *138 examples: - default: *136 + default: *139 '400': *14 '403': *29 '404': *6 - '409': *96 - '500': *85 - '503': *134 + '409': *99 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18720,7 +19289,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *41 - - *137 + - *140 responses: '200': description: Response when deleting a cost center @@ -18758,8 +19327,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18780,7 +19349,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *41 - - *137 + - *140 requestBody: required: true content: @@ -18815,9 +19384,9 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *29 - '409': *96 - '500': *85 - '503': *134 + '409': *99 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18837,7 +19406,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *41 - - *137 + - *140 requestBody: required: true content: @@ -18873,8 +19442,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18905,7 +19474,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &358 type: object properties: total_gigabytes_bandwidth_used: @@ -18923,7 +19492,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &357 + default: &359 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18958,7 +19527,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &360 type: object properties: days_left_in_billing_cycle: @@ -18976,7 +19545,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &359 + default: &361 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -19001,7 +19570,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - &177 + - &179 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -19010,7 +19579,7 @@ paths: required: false schema: type: integer - - &178 + - &180 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -19019,7 +19588,7 @@ paths: required: false schema: type: integer - - &179 + - &181 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -19028,7 +19597,7 @@ paths: required: false schema: type: integer - - &180 + - &182 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -19049,7 +19618,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &181 + schema: &183 type: object properties: usageItems: @@ -19102,7 +19671,7 @@ paths: - netAmount - organizationName examples: - default: &182 + default: &184 value: usageItems: - date: '2023-08-01' @@ -19118,8 +19687,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19190,13 +19759,13 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: - default: *139 - '500': *85 + default: *142 + '500': *88 '403': *29 '404': *6 - '422': *140 + '422': *143 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19285,7 +19854,7 @@ paths: application/json: schema: type: array - items: &169 + items: &172 title: Event description: Event type: object @@ -19295,7 +19864,7 @@ paths: type: type: string nullable: true - actor: &141 + actor: &144 title: Actor description: Actor type: object @@ -19335,18 +19904,18 @@ paths: - id - name - url - org: *141 + org: *144 payload: type: object properties: action: type: string - issue: &157 + issue: &160 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &581 + properties: &583 id: type: integer format: int64 @@ -19457,7 +20026,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &508 + properties: &510 url: type: string format: uri @@ -19527,7 +20096,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &509 + required: &511 - closed_issues - creator - description @@ -19606,7 +20175,7 @@ paths: timeline_url: type: string format: uri - type: &293 + type: &295 title: Issue Type description: The type of issue. type: object @@ -19665,9 +20234,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 - author_association: &144 + properties: *145 + required: *146 + author_association: &147 title: author_association type: string example: OWNER @@ -19681,7 +20250,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &145 + reactions: &148 title: Reaction Rollup type: object properties: @@ -19731,7 +20300,7 @@ paths: - total - completed - percent_completed - required: &582 + required: &584 - assignee - closed_at - comments @@ -19753,7 +20322,7 @@ paths: - author_association - created_at - updated_at - comment: &579 + comment: &581 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19801,7 +20370,7 @@ paths: issue_url: type: string format: uri - author_association: *144 + author_association: *147 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -19811,9 +20380,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 - reactions: *145 + properties: *145 + required: *146 + reactions: *148 required: - id - node_id @@ -19908,7 +20477,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19989,7 +20558,7 @@ paths: _links: type: object properties: - timeline: &146 + timeline: &149 title: Link With Type description: Hypermedia Link with Type type: object @@ -20001,17 +20570,17 @@ paths: required: - href - type - user: *146 - security_advisories: *146 - current_user: *146 - current_user_public: *146 - current_user_actor: *146 - current_user_organization: *146 + user: *149 + security_advisories: *149 + current_user: *149 + current_user_public: *149 + current_user_actor: *149 + current_user_organization: *149 current_user_organizations: type: array - items: *146 - repository_discussions: *146 - repository_discussions_category: *146 + items: *149 + repository_discussions: *149 + repository_discussions_category: *149 required: - timeline - user @@ -20073,7 +20642,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *147 + - *150 - *17 - *19 responses: @@ -20083,7 +20652,7 @@ paths: application/json: schema: type: array - items: &148 + items: &151 title: Base Gist description: Base Gist type: object @@ -20182,7 +20751,7 @@ paths: - created_at - updated_at examples: - default: &149 + default: &152 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -20303,7 +20872,7 @@ paths: description: Response content: application/json: - schema: &150 + schema: &153 title: Gist Simple description: Gist Simple type: object @@ -20320,7 +20889,7 @@ paths: url: type: string format: uri - user: &747 + user: &749 title: Public User description: Public User type: object @@ -20682,7 +21251,7 @@ paths: truncated: type: boolean examples: - default: &151 + default: &154 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -20786,7 +21355,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *147 + - *150 - *17 - *19 responses: @@ -20796,9 +21365,9 @@ paths: application/json: schema: type: array - items: *148 + items: *151 examples: - default: *149 + default: *152 headers: Link: *40 '422': *15 @@ -20820,7 +21389,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *147 + - *150 - *17 - *19 responses: @@ -20830,9 +21399,9 @@ paths: application/json: schema: type: array - items: *148 + items: *151 examples: - default: *149 + default: *152 headers: Link: *40 '401': *25 @@ -20860,7 +21429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &152 + - &155 name: gist_id description: The unique identifier of the gist. in: path @@ -20872,10 +21441,10 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: *151 - '403': &155 + default: *154 + '403': &158 description: Forbidden Gist content: application/json: @@ -20923,7 +21492,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *152 + - *155 requestBody: required: true content: @@ -20983,9 +21552,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - updateGist: *151 + updateGist: *154 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -21143,7 +21712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *152 + - *155 responses: '204': description: Response @@ -21172,7 +21741,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *152 + - *155 - *17 - *19 responses: @@ -21182,7 +21751,7 @@ paths: application/json: schema: type: array - items: &153 + items: &156 title: Gist Comment description: A comment made to a gist. type: object @@ -21217,7 +21786,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *144 + author_association: *147 required: - url - id @@ -21282,7 +21851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *152 + - *155 requestBody: required: true content: @@ -21307,9 +21876,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: &154 + default: &157 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -21367,8 +21936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *152 - - &156 + - *155 + - &159 name: comment_id description: The unique identifier of the comment. in: path @@ -21381,12 +21950,12 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 '304': *37 '404': *6 - '403': *155 + '403': *158 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21408,8 +21977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *152 - - *156 + - *155 + - *159 requestBody: required: true content: @@ -21434,9 +22003,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 '404': *6 x-github: githubCloudOnly: false @@ -21453,8 +22022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *152 - - *156 + - *155 + - *159 responses: '204': description: Response @@ -21477,7 +22046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *152 + - *155 - *17 - *19 responses: @@ -21578,7 +22147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *152 + - *155 - *17 - *19 responses: @@ -21588,7 +22157,7 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: default: value: @@ -21653,13 +22222,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *152 + - *155 responses: '201': description: Response content: application/json: - schema: *148 + schema: *151 examples: default: value: @@ -21730,7 +22299,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *152 + - *155 responses: '204': description: Response if gist is starred @@ -21760,7 +22329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *152 + - *155 responses: '204': description: Response @@ -21782,7 +22351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *152 + - *155 responses: '204': description: Response @@ -21811,7 +22380,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *152 + - *155 - name: sha in: path required: true @@ -21822,9 +22391,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: *151 + default: *154 '422': *15 '404': *6 '403': *29 @@ -22190,7 +22759,7 @@ paths: - closed - all default: open - - &296 + - &298 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -22208,8 +22777,8 @@ paths: - updated - comments default: created - - *88 - - *147 + - *91 + - *150 - name: collab in: query required: false @@ -22239,9 +22808,9 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: &297 + default: &299 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22525,8 +23094,8 @@ paths: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 examples: default: value: @@ -22811,7 +23380,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &160 + X-CommonMarker-Version: &163 example: 0.17.4 schema: type: string @@ -22866,7 +23435,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *160 + X-CommonMarker-Version: *163 content: text/html: schema: @@ -22895,7 +23464,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &163 + - &166 name: account_id description: account_id parameter in: path @@ -22907,7 +23476,7 @@ paths: description: Response content: application/json: - schema: &162 + schema: &165 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -22937,7 +23506,7 @@ paths: nullable: true id: type: integer - plan: &161 + plan: &164 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -23026,7 +23595,7 @@ paths: nullable: true updated_at: type: string - plan: *161 + plan: *164 required: - url - id @@ -23034,7 +23603,7 @@ paths: - login - marketplace_purchase examples: - default: &164 + default: &167 value: url: https://api.github.com/orgs/github type: Organization @@ -23119,9 +23688,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: &165 + default: &168 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -23161,14 +23730,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &166 + - &169 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &167 + - &170 name: sort description: The property to sort the results by. in: query @@ -23198,9 +23767,9 @@ paths: application/json: schema: type: array - items: *162 + items: *165 examples: - default: &168 + default: &171 value: - url: https://api.github.com/orgs/github type: Organization @@ -23274,15 +23843,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *163 + - *166 responses: '200': description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -23314,9 +23883,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *165 + default: *168 headers: Link: *40 '401': *25 @@ -23339,8 +23908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *166 - - *167 + - *169 + - *170 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -23360,9 +23929,9 @@ paths: application/json: schema: type: array - items: *162 + items: *165 examples: - default: *168 + default: *171 headers: Link: *40 '401': *25 @@ -23626,14 +24195,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &383 + - &385 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &384 + - &386 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23650,7 +24219,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: value: @@ -23704,7 +24273,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &397 + '301': &399 description: Moved permanently content: application/json: @@ -23726,7 +24295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &611 + - &613 name: all description: If `true`, show notifications marked as read. in: query @@ -23734,7 +24303,7 @@ paths: schema: type: boolean default: false - - &612 + - &614 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23743,8 +24312,8 @@ paths: schema: type: boolean default: false - - *147 - - &613 + - *150 + - &615 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -23769,18 +24338,18 @@ paths: application/json: schema: type: array - items: &170 + items: &173 title: Thread description: Thread type: object properties: id: type: string - repository: &202 + repository: &204 title: Minimal Repository description: Minimal Repository type: object - properties: &266 + properties: &268 id: type: integer format: int64 @@ -24056,7 +24625,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &332 + security_and_analysis: &334 nullable: true type: object properties: @@ -24134,7 +24703,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &267 + required: &269 - archive_url - assignees_url - blobs_url @@ -24222,7 +24791,7 @@ paths: - url - subscription_url examples: - default: &614 + default: &616 value: - id: '1' repository: @@ -24388,7 +24957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &171 + - &174 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -24402,7 +24971,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *173 examples: default: value: @@ -24505,7 +25074,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *171 + - *174 responses: '205': description: Reset Content @@ -24528,7 +25097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *171 + - *174 responses: '204': description: No content @@ -24551,13 +25120,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *171 + - *174 responses: '200': description: Response content: application/json: - schema: &172 + schema: &175 title: Thread Subscription description: Thread Subscription type: object @@ -24594,7 +25163,7 @@ paths: - url - subscribed examples: - default: &173 + default: &176 value: subscribed: true ignored: false @@ -24625,7 +25194,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *171 + - *174 requestBody: required: false content: @@ -24646,9 +25215,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *175 examples: - default: *173 + default: *176 '304': *37 '403': *29 '401': *25 @@ -24671,7 +25240,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *171 + - *174 responses: '204': description: Response @@ -24768,7 +25337,7 @@ paths: type: array items: *59 examples: - default: &765 + default: &767 value: - login: github id: 1 @@ -24832,7 +25401,7 @@ paths: type: integer custom_roles: type: array - items: &248 + items: &250 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24880,7 +25449,7 @@ paths: - created_at - updated_at examples: - default: &249 + default: &251 value: id: 8030 name: Security Engineer @@ -24927,7 +25496,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *174 + - *73 - name: page in: query description: The page number of results to fetch. @@ -24971,8 +25540,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *175 - required: *176 + properties: *177 + required: *178 nullable: true additionalProperties: false examples: @@ -25078,7 +25647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -25144,7 +25713,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *174 + - *73 requestBody: required: true content: @@ -25191,23 +25760,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *174 - - *177 - - *178 + - *73 - *179 - *180 + - *181 + - *182 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *181 + schema: *183 examples: - default: *182 + default: *184 '400': *14 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25233,13 +25802,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: &183 + schema: &185 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -25572,7 +26141,7 @@ paths: - updated_at - archived_at examples: - default-response: &184 + default-response: &186 value: login: github id: 1 @@ -25674,7 +26243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *174 + - *73 requestBody: required: false content: @@ -25897,18 +26466,18 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: - default: *184 + default: *186 '422': description: Validation failed content: application/json: schema: oneOf: - - *185 - - *186 - '409': *96 + - *187 + - *188 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25931,7 +26500,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *174 + - *73 responses: '202': *39 '404': *6 @@ -25956,15 +26525,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 headers: Link: *40 x-github: @@ -25987,7 +26556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -26005,7 +26574,7 @@ paths: type: integer repository_cache_usages: type: array - items: &402 + items: &404 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -26060,7 +26629,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -26080,7 +26649,7 @@ paths: type: array items: *42 examples: - default: *189 + default: *191 headers: Link: *40 x-github: @@ -26100,7 +26669,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -26187,7 +26756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -26223,7 +26792,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -26258,15 +26827,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *190 + schema: *192 examples: - default: *191 + default: *193 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26284,7 +26853,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -26302,7 +26871,7 @@ paths: type: array items: *45 examples: - default: *192 + default: *194 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26320,7 +26889,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -26364,7 +26933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *47 responses: '200': @@ -26393,7 +26962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *47 requestBody: required: true @@ -26450,7 +27019,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *47 responses: '202': @@ -26479,13 +27048,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *174 + - *73 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &193 + schema: &195 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -26499,7 +27068,7 @@ paths: required: - include_claim_keys examples: - default: &194 + default: &196 value: include_claim_keys: - repo @@ -26521,20 +27090,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: application/json: - schema: *193 + schema: *195 examples: - default: *194 + default: *196 responses: '201': description: Empty response content: application/json: - schema: &213 + schema: &215 title: Empty Object description: An object without any properties. type: object @@ -26564,7 +27133,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -26573,7 +27142,7 @@ paths: schema: type: object properties: - enabled_repositories: &196 + enabled_repositories: &198 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -26587,7 +27156,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *195 + selected_actions_url: *197 required: - enabled_repositories examples: @@ -26616,7 +27185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *174 + - *73 responses: '204': description: Response @@ -26627,7 +27196,7 @@ paths: schema: type: object properties: - enabled_repositories: *196 + enabled_repositories: *198 allowed_actions: *49 required: - enabled_repositories @@ -26655,7 +27224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -26675,7 +27244,7 @@ paths: type: array items: *64 examples: - default: &759 + default: &761 value: total_count: 1 repositories: @@ -26815,7 +27384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *174 + - *73 responses: '204': description: Response @@ -26859,8 +27428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *174 - - &197 + - *73 + - &199 name: repository_id description: The unique identifier of the repository. in: path @@ -26888,8 +27457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *174 - - *197 + - *73 + - *199 responses: '204': description: Response @@ -26912,7 +27481,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -26943,7 +27512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *174 + - *73 responses: '204': description: Response @@ -26975,13 +27544,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *198 + schema: *200 examples: default: *55 x-github: @@ -27004,7 +27573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *174 + - *73 responses: '204': description: Success response @@ -27015,7 +27584,7 @@ paths: required: false content: application/json: - schema: *199 + schema: *201 examples: default: *55 x-github: @@ -27037,7 +27606,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *174 + - *73 - *17 - *19 - name: visible_to_repository @@ -27062,7 +27631,7 @@ paths: type: number runner_groups: type: array - items: &200 + items: &202 type: object properties: id: @@ -27178,7 +27747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -27250,9 +27819,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *202 examples: - default: &201 + default: &203 value: id: 2 name: octo-runner-group @@ -27287,14 +27856,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *174 + - *73 - *58 responses: '200': description: Response content: application/json: - schema: *200 + schema: *202 examples: default: value: @@ -27330,7 +27899,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *174 + - *73 - *58 requestBody: required: true @@ -27385,9 +27954,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *202 examples: - default: *201 + default: *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27406,7 +27975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *174 + - *73 - *58 responses: '204': @@ -27430,7 +27999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *174 + - *73 - *58 - *17 - *19 @@ -27451,7 +28020,7 @@ paths: type: array items: *42 examples: - default: *189 + default: *191 headers: Link: *40 x-github: @@ -27473,7 +28042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *174 + - *73 - *58 - *19 - *17 @@ -27492,9 +28061,9 @@ paths: type: number repositories: type: array - items: *202 + items: *204 examples: - default: &750 + default: &752 value: total_count: 1 repositories: @@ -27746,7 +28315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *174 + - *73 - *58 requestBody: required: true @@ -27791,9 +28360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *174 + - *73 - *58 - - *197 + - *199 responses: '204': description: Response @@ -27815,9 +28384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *174 + - *73 - *58 - - *197 + - *199 responses: '204': description: Response @@ -27840,7 +28409,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *174 + - *73 - *58 - *17 - *19 @@ -27882,7 +28451,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *174 + - *73 - *58 requestBody: required: true @@ -27927,7 +28496,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *174 + - *73 - *58 - *61 responses: @@ -27951,7 +28520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *174 + - *73 - *58 - *61 responses: @@ -27983,7 +28552,7 @@ paths: in: query schema: type: string - - *174 + - *73 - *17 - *19 responses: @@ -28027,7 +28596,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -28035,9 +28604,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28059,7 +28628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -28102,10 +28671,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *205 + '201': *207 '404': *6 '422': *7 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28133,7 +28702,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *174 + - *73 responses: '201': description: Response @@ -28141,7 +28710,7 @@ paths: application/json: schema: *65 examples: - default: *206 + default: *208 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28169,7 +28738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *174 + - *73 responses: '201': description: Response @@ -28177,7 +28746,7 @@ paths: application/json: schema: *65 examples: - default: *207 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28199,7 +28768,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *61 responses: '200': @@ -28208,7 +28777,7 @@ paths: application/json: schema: *62 examples: - default: *208 + default: *210 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28229,7 +28798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *174 + - *73 - *61 responses: '204': @@ -28256,7 +28825,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *61 responses: '200': *67 @@ -28281,7 +28850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *61 requestBody: required: true @@ -28330,7 +28899,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *61 requestBody: required: true @@ -28380,10 +28949,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *61 responses: - '200': *209 + '200': *211 '404': *6 x-github: githubCloudOnly: false @@ -28410,9 +28979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *61 - - *210 + - *212 responses: '200': *67 '404': *6 @@ -28439,7 +29008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *174 + - *73 - *17 - *19 responses: @@ -28457,7 +29026,7 @@ paths: type: integer secrets: type: array - items: &211 + items: &213 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -28530,13 +29099,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: &422 + schema: &424 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -28565,7 +29134,7 @@ paths: - key_id - key examples: - default: &423 + default: &425 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28590,8 +29159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *174 - - &212 + - *73 + - &214 name: secret_name description: The name of the secret. in: path @@ -28603,7 +29172,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -28633,8 +29202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -28691,7 +29260,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -28717,8 +29286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 responses: '204': description: Response @@ -28744,8 +29313,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - *19 - *17 responses: @@ -28763,9 +29332,9 @@ paths: type: integer repositories: type: array - items: *202 + items: *204 examples: - default: &216 + default: &218 value: total_count: 1 repositories: @@ -28857,8 +29426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -28910,8 +29479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - name: repository_id in: path required: true @@ -28944,8 +29513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - name: repository_id in: path required: true @@ -28977,8 +29546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *174 - - &407 + - *73 + - &409 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -29002,7 +29571,7 @@ paths: type: integer variables: type: array - items: &214 + items: &216 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -29087,7 +29656,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *174 + - *73 requestBody: required: true content: @@ -29135,7 +29704,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -29160,8 +29729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *174 - - &215 + - *73 + - &217 name: name description: The name of the variable. in: path @@ -29173,7 +29742,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -29203,8 +29772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *174 - - *215 + - *73 + - *217 requestBody: required: true content: @@ -29266,8 +29835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *174 - - *215 + - *73 + - *217 responses: '204': description: Response @@ -29293,8 +29862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *174 - - *215 + - *73 + - *217 - *19 - *17 responses: @@ -29312,9 +29881,9 @@ paths: type: integer repositories: type: array - items: *202 + items: *204 examples: - default: *216 + default: *218 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29340,8 +29909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *174 - - *215 + - *73 + - *217 requestBody: required: true content: @@ -29390,8 +29959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *174 - - *215 + - *73 + - *217 - name: repository_id in: path required: true @@ -29425,8 +29994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *174 - - *215 + - *73 + - *217 - name: repository_id in: path required: true @@ -29457,7 +30026,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -29484,11 +30053,11 @@ paths: required: true content: application/json: - schema: *217 + schema: *219 examples: default: *71 parameters: - - *174 + - *73 responses: '200': description: Response @@ -29512,7 +30081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *174 + - *73 responses: '204': description: Response @@ -29538,9 +30107,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations-by-bulk-subject-digests parameters: - *17 - - *86 - - *87 - - *174 + - *89 + - *90 + - *73 requestBody: required: true content: @@ -29563,12 +30132,12 @@ paths: required: - subject_digests examples: - default: &780 + default: &782 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &781 + withPredicateType: &783 value: subject_digests: - sha256:abc123 @@ -29626,7 +30195,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &782 + default: &784 value: attestations_subject_digests: - sha256:abc: @@ -29735,7 +30304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *174 + - *73 requestBody: required: true content: @@ -29800,7 +30369,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *174 + - *73 - name: subject_digest description: Subject Digest in: path @@ -29831,7 +30400,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *174 + - *73 - name: attestation_id description: Attestation ID in: path @@ -29867,9 +30436,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *86 - - *87 - - *174 + - *89 + - *90 + - *73 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -29920,7 +30489,7 @@ paths: bundle_url: type: string examples: - default: &436 + default: &438 value: attestations: - bundle: @@ -30038,7 +30607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *174 + - *73 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -30046,10 +30615,10 @@ paths: required: false schema: type: string - - *218 - - *219 - *220 - *221 + - *222 + - *223 - *17 responses: '200': @@ -30058,9 +30627,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *223 + default: *225 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30077,7 +30646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -30089,7 +30658,7 @@ paths: type: array items: *4 examples: - default: &298 + default: &300 value: - login: octocat id: 1 @@ -30127,8 +30696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: If the user is blocked @@ -30153,8 +30722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -30174,8 +30743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -30201,17 +30770,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *174 - - &231 + - *73 + - &233 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *225 - - *226 - *227 - *228 + - *229 + - *230 - *17 - *19 responses: @@ -30221,11 +30790,11 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *230 + default: *232 '404': *6 - '500': *85 + '500': *88 "/orgs/{org}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an org @@ -30246,12 +30815,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *174 - - *231 - - *225 - - *226 + - *73 + - *233 - *227 - *228 + - *229 + - *230 - *17 - *19 responses: @@ -30261,7 +30830,7 @@ paths: application/json: schema: type: array - items: &453 + items: &455 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -30375,7 +30944,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *232 + items: *234 url: type: string format: uri @@ -30386,7 +30955,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &454 + default: &456 value: - id: 21 number: 42 @@ -30453,7 +31022,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *85 + '500': *88 "/orgs/{org}/campaigns": get: summary: List campaigns for an organization @@ -30470,15 +31039,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *174 + - *73 - *19 - *17 - - *88 + - *91 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &234 + schema: &236 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -30504,7 +31073,7 @@ paths: application/json: schema: type: array - items: &235 + items: &237 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -30535,7 +31104,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *233 + items: *235 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -30553,7 +31122,7 @@ paths: type: string format: date-time nullable: true - state: *234 + state: *236 contact_link: description: The contact link of the campaign. type: string @@ -30650,7 +31219,7 @@ paths: headers: Link: *40 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30674,7 +31243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -30768,9 +31337,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: &236 + default: &238 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -30819,7 +31388,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30841,7 +31410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *174 + - *73 - name: campaign_number description: The campaign number. in: path @@ -30853,16 +31422,16 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *236 + default: *238 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30883,7 +31452,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *174 + - *73 - name: campaign_number description: The campaign number. in: path @@ -30932,7 +31501,7 @@ paths: type: string format: uri nullable: true - state: *234 + state: *236 examples: default: value: @@ -30942,9 +31511,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *236 + default: *238 '400': description: Bad Request content: @@ -30956,7 +31525,7 @@ paths: content: application/json: schema: *3 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30977,7 +31546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *174 + - *73 - name: campaign_number description: The campaign number. in: path @@ -30988,7 +31557,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31010,20 +31579,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *174 - - *237 - - *238 - - *86 - - *87 + - *73 + - *239 + - *240 + - *89 + - *90 - *19 - *17 - - *88 + - *91 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *239 + schema: *241 - name: sort description: The property by which to sort the results. in: query @@ -31039,7 +31608,7 @@ paths: be returned. in: query required: false - schema: &465 + schema: &467 type: string description: Severity of a code scanning alert. enum: @@ -31057,13 +31626,13 @@ paths: application/json: schema: type: array - items: *240 + items: *242 examples: - default: *241 + default: *243 headers: Link: *40 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31085,7 +31654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *174 + - *73 - name: target_type in: query description: The target type of the code security configuration @@ -31104,8 +31673,8 @@ paths: schema: type: integer default: 30 - - *86 - - *87 + - *89 + - *90 responses: '200': description: Response @@ -31113,7 +31682,7 @@ paths: application/json: schema: type: array - items: *92 + items: *95 examples: default: value: @@ -31196,7 +31765,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *174 + - *73 requestBody: required: true content: @@ -31273,7 +31842,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *95 + code_scanning_default_setup_options: *98 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -31398,9 +31967,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *92 + schema: *95 examples: - default: *242 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31422,15 +31991,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: *244 + default: *246 '304': *37 '403': *29 '404': *6 @@ -31456,7 +32025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *174 + - *73 requestBody: required: true content: @@ -31479,11 +32048,11 @@ paths: - 32 - 91 responses: - '204': *120 + '204': *123 '400': *14 '403': *29 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31505,16 +32074,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *174 - - *94 + - *73 + - *97 responses: '200': description: Response content: application/json: - schema: *92 + schema: *95 examples: - default: *242 + default: *244 '304': *37 '403': *29 '404': *6 @@ -31538,8 +32107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *174 - - *94 + - *73 + - *97 requestBody: required: true content: @@ -31609,7 +32178,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *95 + code_scanning_default_setup_options: *98 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -31720,7 +32289,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *92 + schema: *95 examples: default: value: @@ -31777,14 +32346,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *174 - - *94 + - *73 + - *97 responses: - '204': *120 + '204': *123 '400': *14 '403': *29 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31808,8 +32377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *174 - - *94 + - *73 + - *97 requestBody: required: true content: @@ -31872,8 +32441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *174 - - *94 + - *73 + - *97 requestBody: required: true content: @@ -31913,12 +32482,12 @@ paths: - none - private_and_internal - public - configuration: *92 + configuration: *95 examples: default: value: default_for_new_repos: all - configuration: *242 + configuration: *244 '403': *29 '404': *6 x-github: @@ -31942,8 +32511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *174 - - *94 + - *73 + - *97 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -31952,8 +32521,8 @@ paths: schema: type: integer default: 30 - - *86 - - *87 + - *89 + - *90 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -31971,13 +32540,13 @@ paths: application/json: schema: type: array - items: *245 + items: *247 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *246 + repository: *248 '403': *29 '404': *6 x-github: @@ -32001,7 +32570,7 @@ paths: parameters: - *17 - *19 - - *174 + - *73 responses: '200': description: Response @@ -32017,7 +32586,7 @@ paths: type: integer codespaces: type: array - items: &299 + items: &301 type: object title: Codespace description: A codespace. @@ -32042,12 +32611,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *202 + repository: *204 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &494 + properties: &496 name: type: string description: The name of the machine. @@ -32089,7 +32658,7 @@ paths: - ready - in_progress nullable: true - required: &495 + required: &497 - name - display_name - operating_system @@ -32294,7 +32863,7 @@ paths: - pulls_url - recent_folders examples: - default: &300 + default: &302 value: total_count: 3 codespaces: @@ -32704,7 +33273,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -32726,7 +33295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *174 + - *73 deprecated: true requestBody: required: true @@ -32770,7 +33339,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32793,7 +33362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *174 + - *73 deprecated: true requestBody: required: true @@ -32825,7 +33394,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32848,7 +33417,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *174 + - *73 requestBody: required: true content: @@ -32879,7 +33448,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32900,7 +33469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *174 + - *73 - *17 - *19 responses: @@ -32918,7 +33487,7 @@ paths: type: integer secrets: type: array - items: &247 + items: &249 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -32957,7 +33526,7 @@ paths: - updated_at - visibility examples: - default: &496 + default: &498 value: total_count: 2 secrets: @@ -32989,13 +33558,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: &497 + schema: &499 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -33024,7 +33593,7 @@ paths: - key_id - key examples: - default: &498 + default: &500 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33047,16 +33616,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: &500 + default: &502 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -33083,8 +33652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -33139,7 +33708,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -33165,8 +33734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 responses: '204': description: Response @@ -33191,8 +33760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - *19 - *17 responses: @@ -33210,9 +33779,9 @@ paths: type: integer repositories: type: array - items: *202 + items: *204 examples: - default: *216 + default: *218 '404': *6 x-github: githubCloudOnly: false @@ -33234,8 +33803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -33285,8 +33854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - name: repository_id in: path required: true @@ -33319,8 +33888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - name: repository_id in: path required: true @@ -33359,7 +33928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *174 + - *73 responses: '200': description: OK @@ -33468,7 +34037,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -33500,7 +34069,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *174 + - *73 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -33523,12 +34092,12 @@ paths: currently being billed. seats: type: array - items: *111 + items: *114 examples: - default: *112 + default: *115 headers: Link: *40 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -33561,7 +34130,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *174 + - *73 requestBody: content: application/json: @@ -33603,7 +34172,7 @@ paths: default: value: seats_created: 5 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -33639,7 +34208,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *174 + - *73 requestBody: content: application/json: @@ -33681,7 +34250,7 @@ paths: default: value: seats_cancelled: 5 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -33719,7 +34288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *174 + - *73 requestBody: content: application/json: @@ -33760,7 +34329,7 @@ paths: default: value: seats_created: 5 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -33796,7 +34365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *174 + - *73 requestBody: content: application/json: @@ -33838,7 +34407,7 @@ paths: default: value: seats_cancelled: 5 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -33877,7 +34446,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *174 + - *73 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -33909,13 +34478,13 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: - default: *139 - '500': *85 + default: *142 + '500': *88 '403': *29 '404': *6 - '422': *140 + '422': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33937,7 +34506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *174 + - *73 - *17 - name: page description: Page token @@ -34081,7 +34650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *174 + - *73 - name: credential_id in: path required: true @@ -34112,7 +34681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *174 + - *73 responses: '200': description: Response - list of custom role names @@ -34127,7 +34696,7 @@ paths: type: integer custom_roles: type: array - items: *248 + items: *250 examples: default: value: @@ -34214,12 +34783,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *174 + - *73 requestBody: required: true content: application/json: - schema: &251 + schema: &253 type: object properties: name: @@ -34260,9 +34829,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 '422': *15 '404': *6 x-github: @@ -34286,8 +34855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *174 - - &250 + - *73 + - &252 name: role_id description: The unique identifier of the role. in: path @@ -34299,9 +34868,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 '404': *6 x-github: githubCloudOnly: true @@ -34323,13 +34892,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *174 - - *250 + - *73 + - *252 requestBody: required: true content: application/json: - schema: &252 + schema: &254 type: object properties: name: @@ -34367,9 +34936,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 '422': *15 '404': *6 x-github: @@ -34393,8 +34962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *174 - - *250 + - *73 + - *252 responses: '204': description: Response @@ -34422,12 +34991,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *174 + - *73 requestBody: required: true content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -34441,9 +35010,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 '422': *15 '404': *6 x-github: @@ -34473,16 +35042,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *174 - - *250 + - *73 + - *252 responses: '200': description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 '404': *6 x-github: githubCloudOnly: true @@ -34510,13 +35079,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *174 - - *250 + - *73 + - *252 requestBody: required: true content: application/json: - schema: *252 + schema: *254 examples: default: value: @@ -34531,9 +35100,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 '422': *15 '404': *6 x-github: @@ -34563,8 +35132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *174 - - *250 + - *73 + - *252 responses: '204': description: Response @@ -34592,20 +35161,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *174 - - *253 - - *254 + - *73 - *255 - *256 - *257 - *258 - *259 - *260 - - *88 - - *86 - - *87 - *261 - *262 + - *91 + - *89 + - *90 + - *263 + - *264 - *17 responses: '200': @@ -34614,9 +35183,9 @@ paths: application/json: schema: type: array - items: *263 + items: *265 examples: - default: *264 + default: *266 '304': *37 '400': *14 '403': *29 @@ -34642,7 +35211,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *174 + - *73 - *17 - *19 responses: @@ -34660,7 +35229,7 @@ paths: type: integer secrets: type: array - items: &265 + items: &267 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -34731,13 +35300,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: &527 + schema: &529 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -34754,7 +35323,7 @@ paths: - key_id - key examples: - default: &528 + default: &530 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34777,14 +35346,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -34812,8 +35381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -34868,7 +35437,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -34892,8 +35461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 responses: '204': description: Response @@ -34917,8 +35486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - *19 - *17 responses: @@ -34936,9 +35505,9 @@ paths: type: integer repositories: type: array - items: *202 + items: *204 examples: - default: *216 + default: *218 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34959,8 +35528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -35010,8 +35579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - name: repository_id in: path required: true @@ -35042,8 +35611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - name: repository_id in: path required: true @@ -35079,8 +35648,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *174 - - &536 + - *73 + - &538 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -35088,7 +35657,7 @@ paths: required: false schema: type: string - - &537 + - &539 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -35096,7 +35665,7 @@ paths: required: false schema: type: string - - &538 + - &540 name: time_period description: |- The time period to filter by. @@ -35112,7 +35681,7 @@ paths: - week - month default: month - - &539 + - &541 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -35127,7 +35696,7 @@ paths: - denied - all default: all - - *231 + - *233 - *17 - *19 responses: @@ -35137,7 +35706,7 @@ paths: application/json: schema: type: array - items: &540 + items: &542 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -35293,7 +35862,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &541 + default: &543 value: - id: 21 number: 42 @@ -35358,7 +35927,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *85 + '500': *88 "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -35379,12 +35948,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *174 - - *231 - - *225 - - *226 + - *73 + - *233 - *227 - - &542 + - *228 + - *229 + - &544 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -35410,7 +35979,7 @@ paths: application/json: schema: type: array - items: &543 + items: &545 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -35520,7 +36089,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *232 + items: *234 url: type: string format: uri @@ -35531,7 +36100,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &544 + default: &546 value: - id: 21 number: 42 @@ -35596,7 +36165,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/19 '404': *6 '403': *29 - '500': *85 + '500': *88 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -35611,7 +36180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -35619,7 +36188,7 @@ paths: application/json: schema: type: array - items: &311 + items: &313 title: Package description: A software package type: object @@ -35669,8 +36238,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *266 - required: *267 + properties: *268 + required: *269 nullable: true created_at: type: string @@ -35689,7 +36258,7 @@ paths: - created_at - updated_at examples: - default: &312 + default: &314 value: - id: 197 name: hello_docker @@ -35767,7 +36336,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *174 + - *73 - *17 - *19 responses: @@ -35777,7 +36346,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: 200-response: value: @@ -35847,7 +36416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *174 + - *73 - name: group_id description: The unique identifier of the group. in: path @@ -35873,7 +36442,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &380 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -35954,7 +36523,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &379 + default: &381 value: group_id: '123' group_name: Octocat admins @@ -35992,7 +36561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *174 + - *73 - *17 - name: page description: Page token @@ -36009,7 +36578,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &378 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -36046,7 +36615,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &377 + default: &379 value: groups: - group_id: '123' @@ -36080,7 +36649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *174 + - *73 - *17 - *19 responses: @@ -36090,7 +36659,7 @@ paths: application/json: schema: type: array - items: &290 + items: &292 title: Organization Invitation description: Organization Invitation type: object @@ -36137,7 +36706,7 @@ paths: - invitation_teams_url - node_id examples: - default: &291 + default: &293 value: - id: 1 login: monalisa @@ -36196,7 +36765,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -36204,7 +36773,7 @@ paths: application/json: schema: type: array - items: &333 + items: &335 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -36218,7 +36787,7 @@ paths: - name - description examples: - default: &334 + default: &336 value: - name: add_assignee description: Assign or remove a user @@ -36249,7 +36818,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *174 + - *73 - *17 - *19 responses: @@ -36259,7 +36828,7 @@ paths: application/json: schema: type: array - items: &268 + items: &270 title: Org Hook description: Org Hook type: object @@ -36368,7 +36937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *174 + - *73 requestBody: required: true content: @@ -36428,9 +36997,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: &269 + default: &271 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -36474,8 +37043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *174 - - &270 + - *73 + - &272 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -36488,9 +37057,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: *269 + default: *271 '404': *6 x-github: githubCloudOnly: false @@ -36511,8 +37080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *174 - - *270 + - *73 + - *272 requestBody: required: false content: @@ -36557,7 +37126,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: default: value: @@ -36596,8 +37165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *174 - - *270 + - *73 + - *272 responses: '204': description: Response @@ -36622,8 +37191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *174 - - *270 + - *73 + - *272 responses: '200': description: Response @@ -36651,8 +37220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *174 - - *270 + - *73 + - *272 requestBody: required: false content: @@ -36700,10 +37269,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *174 - - *270 + - *73 + - *272 - *17 - - *271 + - *273 responses: '200': description: Response @@ -36711,9 +37280,9 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: - default: *273 + default: *275 '400': *14 '422': *15 x-github: @@ -36736,17 +37305,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *174 - - *270 + - *73 + - *272 - *16 responses: '200': description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '400': *14 '422': *15 x-github: @@ -36769,8 +37338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *174 - - *270 + - *73 + - *272 - *16 responses: '202': *39 @@ -36796,8 +37365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *174 - - *270 + - *73 + - *272 responses: '204': description: Response @@ -36819,8 +37388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *174 - - &280 + - *73 + - &282 name: actor_type in: path description: The type of the actor @@ -36833,14 +37402,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &281 + - &283 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &276 + - &278 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -36848,7 +37417,7 @@ paths: required: true schema: type: string - - &277 + - &279 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -36859,7 +37428,7 @@ paths: type: string - *19 - *17 - - *88 + - *91 - name: sort description: The property to sort the results by. in: query @@ -36941,13 +37510,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *174 - - *276 - - *277 + - *73 + - *278 + - *279 - *19 - *17 - - *88 - - &286 + - *91 + - &288 name: sort description: The property to sort the results by. in: query @@ -37025,15 +37594,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *174 - - *276 - - *277 + - *73 + - *278 + - *279 responses: '200': description: Response content: application/json: - schema: &278 + schema: &280 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -37049,7 +37618,7 @@ paths: type: integer format: int64 examples: - default: &279 + default: &281 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -37069,24 +37638,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *174 - - &282 + - *73 + - &284 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *276 - - *277 + - *278 + - *279 responses: '200': description: Response content: application/json: - schema: *278 + schema: *280 examples: - default: *279 + default: *281 x-github: enabledForGitHubApps: true category: orgs @@ -37104,19 +37673,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *174 - - *276 - - *277 - - *280 - - *281 + - *73 + - *278 + - *279 + - *282 + - *283 responses: '200': description: Response content: application/json: - schema: *278 + schema: *280 examples: - default: *279 + default: *281 x-github: enabledForGitHubApps: true category: orgs @@ -37133,10 +37702,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *174 - - *276 - - *277 - - &283 + - *73 + - *278 + - *279 + - &285 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -37149,7 +37718,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &286 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -37165,7 +37734,7 @@ paths: type: integer format: int64 examples: - default: &285 + default: &287 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -37201,19 +37770,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *174 - - *282 - - *276 - - *277 - - *283 + - *73 + - *284 + - *278 + - *279 + - *285 responses: '200': description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 x-github: enabledForGitHubApps: true category: orgs @@ -37230,20 +37799,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *174 - - *280 - - *281 - - *276 - - *277 + - *73 + - *282 - *283 + - *278 + - *279 + - *285 responses: '200': description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 x-github: enabledForGitHubApps: true category: orgs @@ -37260,14 +37829,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *174 - - *282 - - *276 - - *277 + - *73 + - *284 + - *278 + - *279 - *19 - *17 - - *88 - - *286 + - *91 + - *288 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -37340,7 +37909,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *174 + - *73 responses: '200': description: Response @@ -37348,7 +37917,7 @@ paths: application/json: schema: *22 examples: - default: &575 + default: &577 value: id: 1 account: @@ -37417,7 +37986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -37506,7 +38075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -37514,12 +38083,12 @@ paths: application/json: schema: anyOf: - - &288 + - &290 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &287 + limit: &289 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -37544,7 +38113,7 @@ paths: properties: {} additionalProperties: false examples: - default: &289 + default: &291 value: limit: collaborators_only origin: organization @@ -37568,18 +38137,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: application/json: - schema: &576 + schema: &578 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *287 + limit: *289 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -37603,9 +38172,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *289 + default: *291 '422': *15 x-github: githubCloudOnly: false @@ -37623,7 +38192,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *174 + - *73 responses: '204': description: Response @@ -37649,7 +38218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *174 + - *73 - *17 - *19 - name: role @@ -37683,9 +38252,9 @@ paths: application/json: schema: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 headers: Link: *40 '404': *6 @@ -37709,7 +38278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *174 + - *73 requestBody: required: false content: @@ -37763,7 +38332,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: default: value: @@ -37819,8 +38388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *174 - - &292 + - *73 + - &294 name: invitation_id description: The unique identifier of the invitation. in: path @@ -37853,8 +38422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *174 - - *292 + - *73 + - *294 - *17 - *19 responses: @@ -37864,9 +38433,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: &310 + default: &312 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -37901,7 +38470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -37909,7 +38478,7 @@ paths: application/json: schema: type: array - items: *293 + items: *295 examples: default: value: @@ -37947,7 +38516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -37994,9 +38563,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *295 examples: - default: &294 + default: &296 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -38028,8 +38597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *174 - - &295 + - *73 + - &297 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -38082,9 +38651,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *295 examples: - default: *294 + default: *296 '404': *6 '422': *7 x-github: @@ -38108,8 +38677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *174 - - *295 + - *73 + - *297 responses: '204': description: Response @@ -38142,7 +38711,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *174 + - *73 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -38172,7 +38741,7 @@ paths: - closed - all default: open - - *296 + - *298 - name: type description: Can be the name of an issue type. in: query @@ -38190,8 +38759,8 @@ paths: - updated - comments default: created - - *88 - - *147 + - *91 + - *150 - *17 - *19 responses: @@ -38201,9 +38770,9 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: *297 + default: *299 headers: Link: *40 '404': *6 @@ -38225,7 +38794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *174 + - *73 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -38263,7 +38832,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 '422': *15 @@ -38283,8 +38852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response if requester is an organization member and user is @@ -38306,8 +38875,11 @@ paths: subcategory: members delete: summary: Remove an organization member - description: Removing a user from this list will remove them from all teams - and they will no longer have any access to the organization's repositories. + description: |- + Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-member @@ -38315,8 +38887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -38342,8 +38914,8 @@ paths: parameters: - *17 - *19 - - *174 - - *224 + - *73 + - *226 responses: '200': description: Response @@ -38359,11 +38931,11 @@ paths: type: integer codespaces: type: array - items: *299 + items: *301 examples: - default: *300 + default: *302 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -38386,9 +38958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *174 - - *224 - - &301 + - *73 + - *226 + - &303 name: codespace_name in: path required: true @@ -38398,7 +38970,7 @@ paths: responses: '202': *39 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -38421,17 +38993,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *174 - - *224 - - *301 + - *73 + - *226 + - *303 responses: '200': description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: &493 + default: &495 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -38573,7 +39145,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -38604,14 +39176,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *111 + schema: *114 examples: default: value: @@ -38654,7 +39226,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -38679,14 +39251,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '200': description: Response content: application/json: - schema: &302 + schema: &304 title: Org Membership description: Org Membership type: object @@ -38738,7 +39310,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &303 + response-if-user-has-an-active-admin-membership-with-organization: &305 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -38806,8 +39378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 requestBody: required: false content: @@ -38835,9 +39407,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - response-if-user-already-had-membership-with-organization: *303 + response-if-user-already-had-membership-with-organization: *305 '422': *15 '403': *29 x-github: @@ -38851,6 +39423,9 @@ paths: In order to remove a user's membership with an organization, the authenticated user must be an organization owner. If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-membership-for-user @@ -38858,8 +39433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -38884,7 +39459,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *174 + - *73 - *17 - *19 - name: exclude @@ -38905,7 +39480,7 @@ paths: application/json: schema: type: array - items: &304 + items: &306 title: Migration description: A migration. type: object @@ -39158,7 +39733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *174 + - *73 requestBody: required: true content: @@ -39234,7 +39809,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -39412,8 +39987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *174 - - &305 + - *73 + - &307 name: migration_id description: The unique identifier of the migration. in: path @@ -39440,7 +40015,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -39609,8 +40184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *174 - - *305 + - *73 + - *307 responses: '302': description: Response @@ -39631,8 +40206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *174 - - *305 + - *73 + - *307 responses: '204': description: Response @@ -39655,9 +40230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *174 - - *305 - - &764 + - *73 + - *307 + - &766 name: repo_name description: repo_name parameter in: path @@ -39684,8 +40259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *174 - - *305 + - *73 + - *307 - *17 - *19 responses: @@ -39695,9 +40270,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: &317 + default: &319 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39836,7 +40411,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -39890,7 +40465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response - list of organization roles @@ -39906,7 +40481,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &306 + items: &308 title: Organization Role description: Organization roles type: object @@ -40066,7 +40641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *174 + - *73 requestBody: required: true content: @@ -40113,7 +40688,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: default: value: @@ -40142,7 +40717,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40164,8 +40739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *174 - - &307 + - *73 + - &309 name: team_slug description: The slug of the team name. in: path @@ -40196,9 +40771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *174 - - *307 - - *250 + - *73 + - *309 + - *252 responses: '204': description: Response @@ -40227,9 +40802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *174 - - *307 - - *250 + - *73 + - *309 + - *252 responses: '204': description: Response @@ -40254,8 +40829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -40280,9 +40855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *174 - - *224 - - *250 + - *73 + - *226 + - *252 responses: '204': description: Response @@ -40312,9 +40887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *174 - - *224 - - *250 + - *73 + - *226 + - *252 responses: '204': description: Response @@ -40342,14 +40917,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *174 - - *250 + - *73 + - *252 responses: '200': description: Response content: application/json: - schema: *306 + schema: *308 examples: default: value: @@ -40406,8 +40981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *174 - - *250 + - *73 + - *252 requestBody: required: true content: @@ -40446,7 +41021,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: default: value: @@ -40474,7 +41049,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *96 + '409': *99 '404': *6 x-github: githubCloudOnly: true @@ -40499,8 +41074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *174 - - *250 + - *73 + - *252 responses: '204': description: Response @@ -40525,8 +41100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *174 - - *250 + - *73 + - *252 - *17 - *19 responses: @@ -40604,8 +41179,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *308 - required: *309 + properties: *310 + required: *311 nullable: true required: - id @@ -40620,7 +41195,7 @@ paths: - slug - parent examples: - default: *310 + default: *312 headers: Link: *40 '404': @@ -40649,8 +41224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *174 - - *250 + - *73 + - *252 - *17 - *19 responses: @@ -40678,13 +41253,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &350 + items: &352 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *308 - required: *309 + properties: *310 + required: *311 name: nullable: true type: string @@ -40779,7 +41354,7 @@ paths: - type - url examples: - default: *298 + default: *300 headers: Link: *40 '404': @@ -40803,7 +41378,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *174 + - *73 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -40830,7 +41405,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 x-github: @@ -40855,8 +41430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *174 - - *224 + - *73 + - *226 requestBody: required: false content: @@ -40913,8 +41488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -40971,8 +41546,8 @@ paths: - docker - nuget - container - - *174 - - &766 + - *73 + - &768 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -41008,12 +41583,12 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: - default: *312 + default: *314 '403': *29 '401': *25 - '400': &768 + '400': &770 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -41035,7 +41610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &313 + - &315 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -41053,20 +41628,20 @@ paths: - docker - nuget - container - - &314 + - &316 name: package_name description: The name of the package. in: path required: true schema: type: string - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *311 + schema: *313 examples: default: value: @@ -41118,9 +41693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *313 - - *314 - - *174 + - *315 + - *316 + - *73 responses: '204': description: Response @@ -41152,9 +41727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *313 - - *314 - - *174 + - *315 + - *316 + - *73 - name: token description: package token schema: @@ -41186,9 +41761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *313 - - *314 - - *174 + - *315 + - *316 + - *73 - *19 - *17 - name: state @@ -41208,7 +41783,7 @@ paths: application/json: schema: type: array - items: &315 + items: &317 title: Package Version description: A version of a software package type: object @@ -41333,10 +41908,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *313 - - *314 - - *174 - - &316 + - *315 + - *316 + - *73 + - &318 name: package_version_id description: Unique identifier of the package version. in: path @@ -41348,7 +41923,7 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: default: value: @@ -41384,10 +41959,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *313 - - *314 - - *174 + - *315 - *316 + - *73 + - *318 responses: '204': description: Response @@ -41419,10 +41994,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *313 - - *314 - - *174 + - *315 - *316 + - *73 + - *318 responses: '204': description: Response @@ -41449,10 +42024,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *174 + - *73 - *17 - *19 - - &318 + - &320 name: sort description: The property by which to sort the results. in: query @@ -41462,8 +42037,8 @@ paths: enum: - created_at default: created_at - - *88 - - &319 + - *91 + - &321 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -41474,7 +42049,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &320 + - &322 name: repository description: The name of the repository to use to filter the results. in: query @@ -41482,7 +42057,7 @@ paths: schema: type: string example: Hello-World - - &321 + - &323 name: permission description: The permission to use to filter the results. in: query @@ -41490,7 +42065,7 @@ paths: schema: type: string example: issues_read - - &322 + - &324 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -41500,7 +42075,7 @@ paths: schema: type: string format: date-time - - &323 + - &325 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -41510,7 +42085,7 @@ paths: schema: type: string format: date-time - - &324 + - &326 name: token_id description: The ID of the token in: query @@ -41522,7 +42097,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *85 + '500': *88 '422': *15 '404': *6 '403': *29 @@ -41674,7 +42249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *174 + - *73 requestBody: required: true content: @@ -41715,7 +42290,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *85 + '500': *88 '422': *15 '404': *6 '403': *29 @@ -41740,7 +42315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *174 + - *73 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -41776,11 +42351,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *85 + '500': *88 '422': *15 '404': *6 '403': *29 - '204': *120 + '204': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41801,7 +42376,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *174 + - *73 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -41812,7 +42387,7 @@ paths: - *17 - *19 responses: - '500': *85 + '500': *88 '404': *6 '403': *29 '200': @@ -41821,9 +42396,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 x-github: @@ -41846,19 +42421,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *174 + - *73 - *17 - *19 - - *318 - - *88 - - *319 - *320 + - *91 - *321 - *322 - *323 - *324 + - *325 + - *326 responses: - '500': *85 + '500': *88 '422': *15 '404': *6 '403': *29 @@ -42005,7 +42580,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *174 + - *73 requestBody: required: true content: @@ -42040,7 +42615,7 @@ paths: - 1296269 - 1296280 responses: - '500': *85 + '500': *88 '404': *6 '202': *39 '403': *29 @@ -42065,7 +42640,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *174 + - *73 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -42093,9 +42668,9 @@ paths: value: action: revoke responses: - '500': *85 + '500': *88 '404': *6 - '204': *120 + '204': *123 '403': *29 '422': *15 x-github: @@ -42117,7 +42692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *174 + - *73 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -42127,7 +42702,7 @@ paths: - *17 - *19 responses: - '500': *85 + '500': *88 '404': *6 '403': *29 '200': @@ -42136,9 +42711,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 x-github: @@ -42162,7 +42737,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -42180,7 +42755,7 @@ paths: type: integer configurations: type: array - items: &325 + items: &327 title: Organization private registry description: Private registry configuration for an organization type: object @@ -42256,7 +42831,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -42397,7 +42972,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &326 + org-private-registry-with-selected-visibility: &328 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -42438,7 +43013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -42486,16 +43061,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *174 - - *212 + - *73 + - *214 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *325 + schema: *327 examples: - default: *326 + default: *328 '404': *6 x-github: githubCloudOnly: false @@ -42516,8 +43091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -42600,8 +43175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *174 - - *212 + - *73 + - *214 responses: '204': description: Response @@ -42626,7 +43201,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *174 + - *73 - name: state description: Indicates the state of the projects to return. in: query @@ -42647,7 +43222,7 @@ paths: application/json: schema: type: array - items: &327 + items: &329 title: Project description: Projects are a way to organize columns and cards of work. @@ -42794,7 +43369,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *174 + - *73 requestBody: required: true content: @@ -42820,7 +43395,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *329 examples: default: value: @@ -42858,7 +43433,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &394 + '410': &396 description: Gone content: application/json: @@ -42885,7 +43460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -42893,9 +43468,9 @@ paths: application/json: schema: type: array - items: *116 + items: *119 examples: - default: *117 + default: *120 '403': *29 '404': *6 x-github: @@ -42922,7 +43497,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -42933,7 +43508,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *116 + items: *119 minItems: 1 maxItems: 100 required: @@ -42963,9 +43538,9 @@ paths: application/json: schema: type: array - items: *116 + items: *119 examples: - default: *117 + default: *120 '403': *29 '404': *6 x-github: @@ -42986,16 +43561,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *174 - - *118 + - *73 + - *121 responses: '200': description: Response content: application/json: - schema: *116 + schema: *119 examples: - default: *119 + default: *122 '403': *29 '404': *6 x-github: @@ -43018,13 +43593,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *174 - - *118 + - *73 + - *121 requestBody: required: true content: application/json: - schema: *328 + schema: *330 examples: default: value: @@ -43040,9 +43615,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *119 examples: - default: *119 + default: *122 '403': *29 '404': *6 x-github: @@ -43065,10 +43640,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *174 - - *118 + - *73 + - *121 responses: - '204': *120 + '204': *123 '403': *29 '404': *6 x-github: @@ -43089,7 +43664,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *174 + - *73 - *17 - *19 - name: repository_query @@ -43127,7 +43702,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &329 + items: &331 title: Custom Property Value description: Custom property name and associated value type: object @@ -43194,7 +43769,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *174 + - *73 requestBody: required: true content: @@ -43214,7 +43789,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *329 + items: *331 required: - repository_names - properties @@ -43255,7 +43830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *174 + - *73 - *17 - *19 responses: @@ -43267,7 +43842,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 x-github: @@ -43286,8 +43861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response if user is a public member @@ -43311,8 +43886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -43333,8 +43908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -43358,7 +43933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *174 + - *73 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -43405,9 +43980,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 x-github: @@ -43428,7 +44003,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *174 + - *73 requestBody: required: true content: @@ -43610,7 +44185,7 @@ paths: description: Response content: application/json: - schema: &396 + schema: &398 title: Full Repository description: Full Repository type: object @@ -43887,8 +44462,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *330 - required: *331 + properties: *332 + required: *333 nullable: true temp_clone_token: type: string @@ -43975,8 +44550,8 @@ paths: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 nullable: true organization: title: Simple User @@ -44003,7 +44578,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &515 + properties: &517 url: type: string format: uri @@ -44019,12 +44594,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &516 + required: &518 - url - key - name - html_url - security_and_analysis: *332 + security_and_analysis: *334 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -44108,7 +44683,7 @@ paths: - network_count - subscribers_count examples: - default: &398 + default: &400 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44626,7 +45201,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -44634,9 +45209,9 @@ paths: application/json: schema: type: array - items: *333 + items: *335 examples: - default: *334 + default: *336 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44658,10 +45233,10 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *73 - *17 - *19 - - &664 + - &666 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44679,7 +45254,7 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: default: value: @@ -44710,7 +45285,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *85 + '500': *88 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -44726,7 +45301,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *73 requestBody: description: Request body required: true @@ -44747,16 +45322,16 @@ paths: - push - repository default: branch - enforcement: *127 + enforcement: *130 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *128 - conditions: *335 + items: *131 + conditions: *337 rules: type: array description: An array of rules within the ruleset. - items: *129 + items: *132 required: - name - enforcement @@ -44794,9 +45369,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: &336 + default: &338 value: id: 21 name: super cool ruleset @@ -44836,7 +45411,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *85 + '500': *88 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -44850,8 +45425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *174 - - &665 + - *73 + - &667 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -44861,16 +45436,16 @@ paths: schema: type: string x-multi-segment: true - - *231 - - *227 - - &666 + - *233 + - *229 + - &668 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &667 + - &669 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44890,7 +45465,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &670 title: Rule Suites description: Response type: array @@ -44945,7 +45520,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &669 + default: &671 value: - id: 21 actor_id: 12 @@ -44969,7 +45544,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44988,8 +45563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *174 - - &670 + - *73 + - &672 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -45005,7 +45580,7 @@ paths: description: Response content: application/json: - schema: &671 + schema: &673 title: Rule Suite description: Response type: object @@ -45104,7 +45679,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &672 + default: &674 value: id: 21 actor_id: 12 @@ -45139,7 +45714,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45165,7 +45740,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *73 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45177,11 +45752,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: *336 + default: *338 '404': *6 - '500': *85 + '500': *88 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -45197,7 +45772,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *73 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45223,16 +45798,16 @@ paths: - tag - push - repository - enforcement: *127 + enforcement: *130 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *128 - conditions: *335 + items: *131 + conditions: *337 rules: description: An array of rules within the ruleset. type: array - items: *129 + items: *132 examples: default: value: @@ -45267,11 +45842,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: *336 + default: *338 '404': *6 - '500': *85 + '500': *88 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -45287,7 +45862,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *73 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45298,7 +45873,7 @@ paths: '204': description: Response '404': *6 - '500': *85 + '500': *88 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -45310,7 +45885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *174 + - *73 - *17 - *19 - name: ruleset_id @@ -45326,11 +45901,11 @@ paths: application/json: schema: type: array - items: *133 + items: *136 examples: - default: *337 + default: *339 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45347,7 +45922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *174 + - *73 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45365,7 +45940,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *340 examples: default: value: @@ -45405,7 +45980,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45427,15 +46002,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *174 - - *339 - - *340 + - *73 - *341 - *342 - - *88 + - *343 + - *344 + - *91 - *19 - *17 - - &674 + - &676 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -45445,7 +46020,7 @@ paths: required: false schema: type: string - - &675 + - &677 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -45455,10 +46030,10 @@ paths: required: false schema: type: string - - *343 - - *344 - *345 - *346 + - *347 + - *348 responses: '200': description: Response @@ -45466,13 +46041,13 @@ paths: application/json: schema: type: array - items: *347 + items: *349 examples: - default: *348 + default: *350 headers: Link: *40 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45494,8 +46069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *174 - - *88 + - *73 + - *91 - name: sort description: The property to sort the results by. in: query @@ -45507,8 +46082,8 @@ paths: - updated - published default: created - - *86 - - *87 + - *89 + - *90 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -45538,7 +46113,7 @@ paths: application/json: schema: type: array - items: &696 + items: &698 description: A repository security advisory. type: object properties: @@ -45725,7 +46300,7 @@ paths: required: - vector_string - score - cvss_severities: *102 + cvss_severities: *105 cwes: type: array nullable: true @@ -45758,7 +46333,7 @@ paths: login: type: string description: The username of the user credited. - type: *349 + type: *351 credits_detailed: type: array nullable: true @@ -45768,7 +46343,7 @@ paths: type: object properties: user: *4 - type: *349 + type: *351 state: type: string description: The state of the user's acceptance of the @@ -45792,14 +46367,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *233 + items: *235 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *97 + - *100 required: - ghsa_id - cve_id @@ -45829,7 +46404,7 @@ paths: - private_fork additionalProperties: false examples: - default: &697 + default: &699 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -46208,7 +46783,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *174 + - *73 responses: '200': description: Response @@ -46216,9 +46791,9 @@ paths: application/json: schema: type: array - items: *350 + items: *352 examples: - default: *310 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46241,8 +46816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *174 - - *307 + - *73 + - *309 responses: '204': description: Response @@ -46267,8 +46842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *174 - - *307 + - *73 + - *309 responses: '204': description: Response @@ -46297,15 +46872,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46329,8 +46904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *174 - - *353 + - *73 + - *355 - *17 - *19 responses: @@ -46338,9 +46913,9 @@ paths: description: Success content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -46362,15 +46937,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46392,15 +46967,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *358 + schema: *360 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46420,7 +46995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -46438,9 +47013,9 @@ paths: type: integer network_configurations: type: array - items: *113 + items: *116 examples: - default: *360 + default: *362 headers: Link: *40 x-github: @@ -46461,7 +47036,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -46503,9 +47078,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *116 examples: - default: *114 + default: *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46525,16 +47100,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *174 - - *115 + - *73 + - *118 responses: '200': description: Response content: application/json: - schema: *113 + schema: *116 examples: - default: *114 + default: *117 headers: Link: *40 x-github: @@ -46555,8 +47130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *174 - - *115 + - *73 + - *118 requestBody: required: true content: @@ -46595,9 +47170,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *116 examples: - default: *114 + default: *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46616,8 +47191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *174 - - *115 + - *73 + - *118 responses: '204': description: Response @@ -46640,16 +47215,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *174 - - *361 + - *73 + - *363 responses: '200': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 headers: Link: *40 x-github: @@ -46668,7 +47243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *174 + - *73 - *17 - name: page description: Page token @@ -46687,7 +47262,7 @@ paths: description: Response content: application/json: - schema: &385 + schema: &387 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -46733,7 +47308,7 @@ paths: type: string nullable: true examples: - default: &386 + default: &388 value: groups: - group_id: '123' @@ -46778,8 +47353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *174 - - *307 + - *73 + - *309 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -46811,13 +47386,13 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: - default: *139 - '500': *85 + default: *142 + '500': *88 '403': *29 '404': *6 - '422': *140 + '422': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46835,7 +47410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *174 + - *73 - *17 - *19 responses: @@ -46845,9 +47420,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *310 + default: *312 headers: Link: *40 '403': *29 @@ -46869,7 +47444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *174 + - *73 requestBody: required: true content: @@ -46941,7 +47516,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &366 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -47004,8 +47579,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *308 - required: *309 + properties: *310 + required: *311 nullable: true members_count: type: integer @@ -47251,7 +47826,7 @@ paths: - repos_count - organization examples: - default: &365 + default: &367 value: id: 1 node_id: MDQ6VGVhbTE= @@ -47321,16 +47896,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *174 - - *307 + - *73 + - *309 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '404': *6 x-github: githubCloudOnly: false @@ -47351,8 +47926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *174 - - *307 + - *73 + - *309 requestBody: required: false content: @@ -47414,16 +47989,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '201': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '404': *6 '422': *15 '403': *29 @@ -47448,8 +48023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *174 - - *307 + - *73 + - *309 responses: '204': description: Response @@ -47475,9 +48050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *174 - - *307 - - *88 + - *73 + - *309 + - *91 - *17 - *19 - name: pinned @@ -47493,7 +48068,7 @@ paths: application/json: schema: type: array - items: &366 + items: &368 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -47572,7 +48147,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *145 + reactions: *148 required: - author - body @@ -47592,7 +48167,7 @@ paths: - updated_at - url examples: - default: &737 + default: &739 value: - author: login: octocat @@ -47666,8 +48241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *174 - - *307 + - *73 + - *309 requestBody: required: true content: @@ -47701,9 +48276,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: &367 + default: &369 value: author: login: octocat @@ -47775,9 +48350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *174 - - *307 - - &368 + - *73 + - *309 + - &370 name: discussion_number description: The number that identifies the discussion. in: path @@ -47789,9 +48364,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47813,9 +48388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *174 - - *307 - - *368 + - *73 + - *309 + - *370 requestBody: required: false content: @@ -47838,9 +48413,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: &738 + default: &740 value: author: login: octocat @@ -47910,9 +48485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *174 - - *307 - - *368 + - *73 + - *309 + - *370 responses: '204': description: Response @@ -47938,10 +48513,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *174 - - *307 - - *368 - - *88 + - *73 + - *309 + - *370 + - *91 - *17 - *19 responses: @@ -47951,7 +48526,7 @@ paths: application/json: schema: type: array - items: &369 + items: &371 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -48008,7 +48583,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *145 + reactions: *148 required: - author - body @@ -48023,7 +48598,7 @@ paths: - updated_at - url examples: - default: &739 + default: &741 value: - author: login: octocat @@ -48091,9 +48666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *174 - - *307 - - *368 + - *73 + - *309 + - *370 requestBody: required: true content: @@ -48115,9 +48690,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: &370 + default: &372 value: author: login: octocat @@ -48183,10 +48758,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *174 - - *307 - - *368 - - &371 + - *73 + - *309 + - *370 + - &373 name: comment_number description: The number that identifies the comment. in: path @@ -48198,9 +48773,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: *370 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48222,10 +48797,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *174 - - *307 - - *368 - - *371 + - *73 + - *309 + - *370 + - *373 requestBody: required: true content: @@ -48247,9 +48822,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: &740 + default: &742 value: author: login: octocat @@ -48313,10 +48888,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *174 - - *307 - - *368 - - *371 + - *73 + - *309 + - *370 + - *373 responses: '204': description: Response @@ -48342,10 +48917,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *174 - - *307 - - *368 - - *371 + - *73 + - *309 + - *370 + - *373 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -48371,7 +48946,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -48414,7 +48989,7 @@ paths: - content - created_at examples: - default: &374 + default: &376 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -48464,10 +49039,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *174 - - *307 - - *368 - - *371 + - *73 + - *309 + - *370 + - *373 requestBody: required: true content: @@ -48500,9 +49075,9 @@ paths: team discussion comment content: application/json: - schema: *372 + schema: *374 examples: - default: &373 + default: &375 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -48531,9 +49106,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48556,11 +49131,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *174 - - *307 - - *368 - - *371 - - &375 + - *73 + - *309 + - *370 + - *373 + - &377 name: reaction_id description: The unique identifier of the reaction. in: path @@ -48592,9 +49167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *174 - - *307 - - *368 + - *73 + - *309 + - *370 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -48620,9 +49195,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 x-github: @@ -48648,9 +49223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *174 - - *307 - - *368 + - *73 + - *309 + - *370 requestBody: required: true content: @@ -48682,16 +49257,16 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '201': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48714,10 +49289,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *174 - - *307 - - *368 - - *375 + - *73 + - *309 + - *370 + - *377 responses: '204': description: Response @@ -48740,16 +49315,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *174 - - *307 + - *73 + - *309 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: *377 + default: *379 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -48768,8 +49343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *174 - - *307 + - *73 + - *309 requestBody: required: true content: @@ -48792,9 +49367,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: - default: *379 + default: *381 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -48813,8 +49388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *174 - - *307 + - *73 + - *309 responses: '204': description: Response @@ -48838,8 +49413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *174 - - *307 + - *73 + - *309 - *17 - *19 responses: @@ -48849,9 +49424,9 @@ paths: application/json: schema: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 headers: Link: *40 x-github: @@ -48873,8 +49448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *174 - - *307 + - *73 + - *309 - name: role description: Filters members returned by their role in the team. in: query @@ -48897,7 +49472,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 x-github: @@ -48927,15 +49502,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *174 - - *307 - - *224 + - *73 + - *309 + - *226 responses: '200': description: Response content: application/json: - schema: &380 + schema: &382 title: Team Membership description: Team Membership type: object @@ -48962,7 +49537,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &741 + response-if-user-is-a-team-maintainer: &743 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48998,9 +49573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *174 - - *307 - - *224 + - *73 + - *309 + - *226 requestBody: required: false content: @@ -49025,9 +49600,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *382 examples: - response-if-users-membership-with-team-is-now-pending: &742 + response-if-users-membership-with-team-is-now-pending: &744 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49062,9 +49637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *174 - - *307 - - *224 + - *73 + - *309 + - *226 responses: '204': description: Response @@ -49089,8 +49664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *174 - - *307 + - *73 + - *309 - *17 - *19 responses: @@ -49100,7 +49675,7 @@ paths: application/json: schema: type: array - items: &381 + items: &383 title: Team Project description: A team's access to a project. type: object @@ -49168,7 +49743,7 @@ paths: - updated_at - permissions examples: - default: &743 + default: &745 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49231,9 +49806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *174 - - *307 - - &382 + - *73 + - *309 + - &384 name: project_id description: The unique identifier of the project. in: path @@ -49245,9 +49820,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: &744 + default: &746 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49309,9 +49884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *174 - - *307 - - *382 + - *73 + - *309 + - *384 requestBody: required: false content: @@ -49377,9 +49952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *174 - - *307 - - *382 + - *73 + - *309 + - *384 responses: '204': description: Response @@ -49406,8 +49981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *174 - - *307 + - *73 + - *309 - *17 - *19 responses: @@ -49417,9 +49992,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 x-github: @@ -49448,16 +50023,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *174 - - *307 - - *383 - - *384 + - *73 + - *309 + - *385 + - *386 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &745 + schema: &747 title: Team Repository description: A team's access to a repository. type: object @@ -49480,8 +50055,8 @@ paths: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 nullable: true forks: type: integer @@ -50026,10 +50601,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *174 - - *307 - - *383 - - *384 + - *73 + - *309 + - *385 + - *386 requestBody: required: false content: @@ -50074,10 +50649,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *174 - - *307 - - *383 - - *384 + - *73 + - *309 + - *385 + - *386 responses: '204': description: Response @@ -50103,16 +50678,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *174 - - *307 + - *73 + - *309 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *386 + default: *388 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -50134,8 +50709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *174 - - *307 + - *73 + - *309 requestBody: required: true content: @@ -50178,7 +50753,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: default: value: @@ -50210,8 +50785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *174 - - *307 + - *73 + - *309 - *17 - *19 responses: @@ -50221,9 +50796,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - response-if-child-teams-exist: &746 + response-if-child-teams-exist: &748 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -50276,7 +50851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *174 + - *73 - name: security_product in: path description: The security feature to enable or disable. @@ -50350,7 +50925,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &387 + - &389 name: card_id description: The unique identifier of the card. in: path @@ -50362,7 +50937,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &390 title: Project Card description: Project cards represent a scope of work. type: object @@ -50429,7 +51004,7 @@ paths: - created_at - updated_at examples: - default: &389 + default: &391 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -50485,7 +51060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *387 + - *389 requestBody: required: false content: @@ -50512,9 +51087,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *389 + default: *391 '304': *37 '403': *29 '401': *25 @@ -50541,7 +51116,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *387 + - *389 responses: '204': description: Response @@ -50585,7 +51160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *387 + - *389 requestBody: required: true content: @@ -50696,7 +51271,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &390 + - &392 name: column_id description: The unique identifier of the column. in: path @@ -50708,7 +51283,7 @@ paths: description: Response content: application/json: - schema: &391 + schema: &393 title: Project Column description: Project columns contain cards of work. type: object @@ -50754,7 +51329,7 @@ paths: - created_at - updated_at examples: - default: &392 + default: &394 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -50789,7 +51364,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *390 + - *392 requestBody: required: true content: @@ -50813,9 +51388,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: *392 + default: *394 '304': *37 '403': *29 '401': *25 @@ -50840,7 +51415,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *390 + - *392 responses: '204': description: Response @@ -50869,7 +51444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *390 + - *392 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -50890,7 +51465,7 @@ paths: application/json: schema: type: array - items: *388 + items: *390 examples: default: value: @@ -50949,7 +51524,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *390 + - *392 requestBody: required: true content: @@ -50989,9 +51564,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *389 + default: *391 '304': *37 '403': *29 '401': *25 @@ -51001,8 +51576,8 @@ paths: application/json: schema: oneOf: - - *185 - - *186 + - *187 + - *188 '503': description: Response content: @@ -51047,7 +51622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *390 + - *392 requestBody: required: true content: @@ -51107,15 +51682,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *382 + - *384 responses: '200': description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: &393 + default: &395 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -51172,7 +51747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *382 + - *384 requestBody: required: false content: @@ -51218,9 +51793,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: *393 + default: *395 '404': description: Not Found if the authenticated user does not have access to the project @@ -51241,7 +51816,7 @@ paths: items: type: string '401': *25 - '410': *394 + '410': *396 '422': *7 x-github: githubCloudOnly: false @@ -51264,7 +51839,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *382 + - *384 responses: '204': description: Delete Success @@ -51285,7 +51860,7 @@ paths: items: type: string '401': *25 - '410': *394 + '410': *396 '404': *6 x-github: githubCloudOnly: false @@ -51309,7 +51884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *382 + - *384 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -51336,7 +51911,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 '404': *6 @@ -51366,8 +51941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *382 - - *224 + - *384 + - *226 requestBody: required: false content: @@ -51419,8 +51994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *382 - - *224 + - *384 + - *226 responses: '204': description: Response @@ -51451,8 +52026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *382 - - *224 + - *384 + - *226 responses: '200': description: Response @@ -51525,7 +52100,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *382 + - *384 - *17 - *19 responses: @@ -51535,7 +52110,7 @@ paths: application/json: schema: type: array - items: *391 + items: *393 examples: default: value: @@ -51573,7 +52148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *382 + - *384 requestBody: required: true content: @@ -51596,7 +52171,7 @@ paths: description: Response content: application/json: - schema: *391 + schema: *393 examples: default: value: @@ -51661,7 +52236,7 @@ paths: resources: type: object properties: - core: &395 + core: &397 title: Rate Limit type: object properties: @@ -51678,21 +52253,21 @@ paths: - remaining - reset - used - graphql: *395 - search: *395 - code_search: *395 - source_import: *395 - integration_manifest: *395 - code_scanning_upload: *395 - actions_runner_registration: *395 - scim: *395 - dependency_snapshots: *395 - dependency_sbom: *395 - code_scanning_autofix: *395 + graphql: *397 + search: *397 + code_search: *397 + source_import: *397 + integration_manifest: *397 + code_scanning_upload: *397 + actions_runner_registration: *397 + scim: *397 + dependency_snapshots: *397 + dependency_sbom: *397 + code_scanning_autofix: *397 required: - core - search - rate: *395 + rate: *397 required: - rate - resources @@ -51796,14 +52371,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: default-response: summary: Default response @@ -52308,7 +52883,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *397 + '301': *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52326,8 +52901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: false content: @@ -52581,10 +53156,10 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *398 - '307': &399 + default: *400 + '307': &401 description: Temporary Redirect content: application/json: @@ -52613,8 +53188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -52636,9 +53211,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *399 + '307': *401 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52660,11 +53235,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 - - &414 + - &416 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -52687,7 +53262,7 @@ paths: type: integer artifacts: type: array - items: &400 + items: &402 title: Artifact description: An artifact type: object @@ -52765,7 +53340,7 @@ paths: - expires_at - updated_at examples: - default: &415 + default: &417 value: total_count: 2 artifacts: @@ -52826,9 +53401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *383 - - *384 - - &401 + - *385 + - *386 + - &403 name: artifact_id description: The unique identifier of the artifact. in: path @@ -52840,7 +53415,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: default: value: @@ -52878,9 +53453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *383 - - *384 - - *401 + - *385 + - *386 + - *403 responses: '204': description: Response @@ -52904,9 +53479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *383 - - *384 - - *401 + - *385 + - *386 + - *403 - name: archive_format in: path required: true @@ -52920,7 +53495,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52943,14 +53518,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *402 + schema: *404 examples: default: value: @@ -52976,11 +53551,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 - - &403 + - &405 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -53008,13 +53583,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *88 + - *91 responses: '200': description: Response content: application/json: - schema: &404 + schema: &406 title: Repository actions caches description: Repository actions caches type: object @@ -53056,7 +53631,7 @@ paths: - total_count - actions_caches examples: - default: &405 + default: &407 value: total_count: 1 actions_caches: @@ -53088,23 +53663,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *383 - - *384 + - *385 + - *386 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *403 + - *405 responses: '200': description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *405 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53124,8 +53699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *383 - - *384 + - *385 + - *386 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -53156,9 +53731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *383 - - *384 - - &406 + - *385 + - *386 + - &408 name: job_id description: The unique identifier of the job. in: path @@ -53170,7 +53745,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &420 title: Job description: Information of a job execution in a workflow run type: object @@ -53477,9 +54052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *383 - - *384 - - *406 + - *385 + - *386 + - *408 responses: '302': description: Response @@ -53507,9 +54082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *383 - - *384 - - *406 + - *385 + - *386 + - *408 requestBody: required: false content: @@ -53530,7 +54105,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -53554,8 +54129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Status response @@ -53605,8 +54180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -53640,7 +54215,7 @@ paths: description: Empty response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -53669,8 +54244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -53688,7 +54263,7 @@ paths: type: integer secrets: type: array - items: &420 + items: &422 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -53708,7 +54283,7 @@ paths: - created_at - updated_at examples: - default: &421 + default: &423 value: total_count: 2 secrets: @@ -53741,9 +54316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *383 - - *384 - - *407 + - *385 + - *386 + - *409 - *19 responses: '200': @@ -53760,7 +54335,7 @@ paths: type: integer variables: type: array - items: &424 + items: &426 title: Actions Variable type: object properties: @@ -53790,7 +54365,7 @@ paths: - created_at - updated_at examples: - default: &425 + default: &427 value: total_count: 2 variables: @@ -53823,8 +54398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -53833,11 +54408,11 @@ paths: schema: type: object properties: - enabled: &408 + enabled: &410 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *195 + selected_actions_url: *197 required: - enabled examples: @@ -53866,8 +54441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -53878,7 +54453,7 @@ paths: schema: type: object properties: - enabled: *408 + enabled: *410 allowed_actions: *49 required: - enabled @@ -53909,14 +54484,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: &409 + schema: &411 type: object properties: access_level: @@ -53934,7 +54509,7 @@ paths: required: - access_level examples: - default: &410 + default: &412 value: access_level: organization x-github: @@ -53959,15 +54534,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: application/json: - schema: *409 + schema: *411 examples: - default: *410 + default: *412 responses: '204': description: Response @@ -53991,8 +54566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -54023,8 +54598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -54056,14 +54631,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *198 + schema: *200 examples: default: *55 x-github: @@ -54086,8 +54661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Success response @@ -54098,7 +54673,7 @@ paths: required: true content: application/json: - schema: *199 + schema: *201 examples: default: *55 x-github: @@ -54127,8 +54702,8 @@ paths: in: query schema: type: string - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -54172,8 +54747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -54181,9 +54756,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54205,8 +54780,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -54249,10 +54824,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *205 + '201': *207 '404': *6 '422': *7 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54280,8 +54855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '201': description: Response @@ -54289,7 +54864,7 @@ paths: application/json: schema: *65 examples: - default: *206 + default: *208 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54317,8 +54892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '201': description: Response @@ -54326,7 +54901,7 @@ paths: application/json: schema: *65 examples: - default: *207 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54348,8 +54923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 responses: '200': @@ -54358,7 +54933,7 @@ paths: application/json: schema: *62 examples: - default: *208 + default: *210 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54379,8 +54954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 responses: '204': @@ -54407,8 +54982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 responses: '200': *67 @@ -54433,8 +55008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 requestBody: required: true @@ -54483,8 +55058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 requestBody: required: true @@ -54534,11 +55109,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 responses: - '200': *209 + '200': *211 '404': *6 x-github: githubCloudOnly: false @@ -54565,10 +55140,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 - - *210 + - *212 responses: '200': *67 '404': *6 @@ -54596,9 +55171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *383 - - *384 - - &428 + - *385 + - *386 + - &430 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -54606,7 +55181,7 @@ paths: required: false schema: type: string - - &429 + - &431 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -54614,7 +55189,7 @@ paths: required: false schema: type: string - - &430 + - &432 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -54623,7 +55198,7 @@ paths: required: false schema: type: string - - &431 + - &433 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -54650,7 +55225,7 @@ paths: - pending - *17 - *19 - - &432 + - &434 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -54659,7 +55234,7 @@ paths: schema: type: string format: date-time - - &411 + - &413 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -54668,13 +55243,13 @@ paths: schema: type: boolean default: false - - &433 + - &435 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &434 + - &436 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -54697,7 +55272,7 @@ paths: type: integer workflow_runs: type: array - items: &412 + items: &414 title: Workflow Run description: An invocation of a workflow type: object @@ -54792,7 +55367,7 @@ paths: that triggered the run. type: array nullable: true - items: &455 + items: &457 title: Pull Request Minimal type: object properties: @@ -54911,7 +55486,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &459 + properties: &461 id: type: string description: SHA for the commit @@ -54962,7 +55537,7 @@ paths: - name - email nullable: true - required: &460 + required: &462 - id - tree_id - message @@ -54970,8 +55545,8 @@ paths: - author - committer nullable: true - repository: *202 - head_repository: *202 + repository: *204 + head_repository: *204 head_repository_id: type: integer example: 5 @@ -55009,7 +55584,7 @@ paths: - workflow_url - pull_requests examples: - default: &435 + default: &437 value: total_count: 1 workflow_runs: @@ -55245,24 +55820,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *383 - - *384 - - &413 + - *385 + - *386 + - &415 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *411 + - *413 responses: '200': description: Response content: application/json: - schema: *412 + schema: *414 examples: - default: &416 + default: &418 value: id: 30433642 name: Build @@ -55503,9 +56078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '204': description: Response @@ -55528,9 +56103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '200': description: Response @@ -55649,15 +56224,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '201': description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -55684,12 +56259,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 - *17 - *19 - - *414 + - *416 responses: '200': description: Response @@ -55705,9 +56280,9 @@ paths: type: integer artifacts: type: array - items: *400 + items: *402 examples: - default: *415 + default: *417 headers: Link: *40 x-github: @@ -55731,25 +56306,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *383 - - *384 - - *413 - - &417 + - *385 + - *386 + - *415 + - &419 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *411 + - *413 responses: '200': description: Response content: application/json: - schema: *412 + schema: *414 examples: - default: *416 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55772,10 +56347,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *383 - - *384 - - *413 - - *417 + - *385 + - *386 + - *415 + - *419 - *17 - *19 responses: @@ -55793,9 +56368,9 @@ paths: type: integer jobs: type: array - items: *418 + items: *420 examples: - default: &419 + default: &421 value: total_count: 1 jobs: @@ -55908,10 +56483,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *383 - - *384 - - *413 - - *417 + - *385 + - *386 + - *415 + - *419 responses: '302': description: Response @@ -55939,19 +56514,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '202': description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55974,9 +56549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 requestBody: required: true content: @@ -56043,19 +56618,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '202': description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56078,9 +56653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -56110,9 +56685,9 @@ paths: type: integer jobs: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *40 x-github: @@ -56137,9 +56712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '302': description: Response @@ -56166,14 +56741,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '204': description: Response '403': *29 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56195,9 +56770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '200': description: Response @@ -56257,7 +56832,7 @@ paths: items: type: object properties: - type: &545 + type: &547 type: string description: The type of reviewer. enum: @@ -56267,7 +56842,7 @@ paths: reviewer: anyOf: - *4 - - *233 + - *235 required: - environment - wait_timer @@ -56342,9 +56917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 requestBody: required: true content: @@ -56391,7 +56966,7 @@ paths: application/json: schema: type: array - items: &531 + items: &533 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -56479,8 +57054,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 required: - id - node_id @@ -56497,7 +57072,7 @@ paths: - created_at - updated_at examples: - default: &532 + default: &534 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -56553,9 +57128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 requestBody: required: false content: @@ -56576,7 +57151,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -56599,9 +57174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 requestBody: required: false content: @@ -56622,7 +57197,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -56655,9 +57230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '200': description: Response @@ -56794,8 +57369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -56813,9 +57388,9 @@ paths: type: integer secrets: type: array - items: *420 + items: *422 examples: - default: *421 + default: *423 headers: Link: *40 x-github: @@ -56840,16 +57415,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: *423 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56871,17 +57446,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 responses: '200': description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: &558 + default: &560 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56907,9 +57482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 requestBody: required: true content: @@ -56940,7 +57515,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -56966,9 +57541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 responses: '204': description: Response @@ -56993,9 +57568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *383 - - *384 - - *407 + - *385 + - *386 + - *409 - *19 responses: '200': @@ -57012,9 +57587,9 @@ paths: type: integer variables: type: array - items: *424 + items: *426 examples: - default: *425 + default: *427 headers: Link: *40 x-github: @@ -57037,8 +57612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -57065,7 +57640,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -57090,17 +57665,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *383 - - *384 - - *215 + - *385 + - *386 + - *217 responses: '200': description: Response content: application/json: - schema: *424 + schema: *426 examples: - default: &559 + default: &561 value: name: USERNAME value: octocat @@ -57126,9 +57701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *383 - - *384 - - *215 + - *385 + - *386 + - *217 requestBody: required: true content: @@ -57170,9 +57745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *383 - - *384 - - *215 + - *385 + - *386 + - *217 responses: '204': description: Response @@ -57197,8 +57772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -57216,7 +57791,7 @@ paths: type: integer workflows: type: array - items: &426 + items: &428 title: Workflow description: A GitHub Actions workflow type: object @@ -57323,9 +57898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *383 - - *384 - - &427 + - *385 + - *386 + - &429 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -57340,7 +57915,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: default: value: @@ -57373,9 +57948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *383 - - *384 - - *427 + - *385 + - *386 + - *429 responses: '204': description: Response @@ -57400,9 +57975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *383 - - *384 - - *427 + - *385 + - *386 + - *429 responses: '204': description: Response @@ -57453,9 +58028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *383 - - *384 - - *427 + - *385 + - *386 + - *429 responses: '204': description: Response @@ -57482,19 +58057,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *383 - - *384 - - *427 - - *428 + - *385 + - *386 - *429 - *430 - *431 - - *17 - - *19 - *432 - - *411 - *433 + - *17 + - *19 - *434 + - *413 + - *435 + - *436 responses: '200': description: Response @@ -57510,9 +58085,9 @@ paths: type: integer workflow_runs: type: array - items: *412 + items: *414 examples: - default: *435 + default: *437 headers: Link: *40 x-github: @@ -57545,9 +58120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *383 - - *384 - - *427 + - *385 + - *386 + - *429 responses: '200': description: Response @@ -57608,12 +58183,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *383 - - *384 - - *88 + - *385 + - *386 + - *91 - *17 - - *86 - - *87 + - *89 + - *90 - name: ref description: |- The Git reference for the activities you want to list. @@ -57773,8 +58348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -57786,7 +58361,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 '404': *6 @@ -57811,8 +58386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *383 - - *384 + - *385 + - *386 - name: assignee in: path required: true @@ -57848,8 +58423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -57961,11 +58536,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *383 - - *384 + - *385 + - *386 - *17 - - *86 - - *87 + - *89 + - *90 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -58016,7 +58591,7 @@ paths: bundle_url: type: string examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58036,8 +58611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -58045,7 +58620,7 @@ paths: application/json: schema: type: array - items: &437 + items: &439 title: Autolink reference description: An autolink reference. type: object @@ -58095,8 +58670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -58135,9 +58710,9 @@ paths: description: response content: application/json: - schema: *437 + schema: *439 examples: - default: &438 + default: &440 value: id: 1 key_prefix: TICKET- @@ -58168,9 +58743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *383 - - *384 - - &439 + - *385 + - *386 + - &441 name: autolink_id description: The unique identifier of the autolink. in: path @@ -58182,9 +58757,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 '404': *6 x-github: githubCloudOnly: false @@ -58204,9 +58779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *383 - - *384 - - *439 + - *385 + - *386 + - *441 responses: '204': description: Response @@ -58230,8 +58805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response if Dependabot is enabled @@ -58279,8 +58854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -58301,8 +58876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -58322,8 +58897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *383 - - *384 + - *385 + - *386 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -58361,7 +58936,7 @@ paths: - url protected: type: boolean - protection: &441 + protection: &443 title: Branch Protection description: Branch Protection type: object @@ -58403,7 +58978,7 @@ paths: required: - contexts - checks - enforce_admins: &444 + enforce_admins: &446 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -58418,7 +58993,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &446 + required_pull_request_reviews: &448 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -58439,7 +59014,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *233 + items: *235 apps: description: The list of apps with review dismissal access. @@ -58468,7 +59043,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *233 + items: *235 apps: description: The list of apps allowed to bypass pull request requirements. @@ -58494,7 +59069,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &443 + restrictions: &445 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -58801,9 +59376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *383 - - *384 - - &442 + - *385 + - *386 + - &444 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -58817,14 +59392,14 @@ paths: description: Response content: application/json: - schema: &452 + schema: &454 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &504 + commit: &506 title: Commit description: Commit type: object @@ -58858,7 +59433,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &440 + properties: &442 name: type: string example: '"Chris Wanstrath"' @@ -58873,7 +59448,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *440 + properties: *442 nullable: true message: type: string @@ -58894,7 +59469,7 @@ paths: required: - sha - url - verification: &565 + verification: &567 title: Verification type: object properties: @@ -58928,12 +59503,12 @@ paths: nullable: true oneOf: - *4 - - *213 + - *215 committer: nullable: true oneOf: - *4 - - *213 + - *215 parents: type: array items: @@ -58964,7 +59539,7 @@ paths: type: integer files: type: array - items: &519 + items: &521 title: Diff Entry description: Diff Entry type: object @@ -59047,7 +59622,7 @@ paths: - self protected: type: boolean - protection: *441 + protection: *443 protection_url: type: string format: uri @@ -59154,7 +59729,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *397 + '301': *399 '404': *6 x-github: githubCloudOnly: false @@ -59176,15 +59751,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -59378,9 +59953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -59635,7 +60210,7 @@ paths: url: type: string format: uri - required_status_checks: &449 + required_status_checks: &451 title: Status Check Policy description: Status Check Policy type: object @@ -59711,7 +60286,7 @@ paths: items: *4 teams: type: array - items: *233 + items: *235 apps: type: array items: *5 @@ -59729,7 +60304,7 @@ paths: items: *4 teams: type: array - items: *233 + items: *235 apps: type: array items: *5 @@ -59787,7 +60362,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *443 + restrictions: *445 required_conversation_resolution: type: object properties: @@ -59899,9 +60474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '204': description: Response @@ -59926,17 +60501,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: &445 + default: &447 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -59958,17 +60533,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59987,9 +60562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '204': description: Response @@ -60014,17 +60589,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: &447 + default: &449 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -60120,9 +60695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: false content: @@ -60220,9 +60795,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -60243,9 +60818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '204': description: Response @@ -60272,17 +60847,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: &448 + default: &450 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -60305,17 +60880,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *448 + default: *450 '404': *6 x-github: githubCloudOnly: false @@ -60335,9 +60910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '204': description: Response @@ -60362,17 +60937,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: &450 + default: &452 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -60398,9 +60973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: false content: @@ -60452,9 +61027,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: *450 + default: *452 '404': *6 '422': *15 x-github: @@ -60476,9 +61051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '204': description: Response @@ -60502,9 +61077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response @@ -60538,9 +61113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: false content: @@ -60607,9 +61182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: false content: @@ -60673,9 +61248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: content: application/json: @@ -60741,15 +61316,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *443 + schema: *445 examples: default: value: @@ -60840,9 +61415,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '204': description: Response @@ -60865,9 +61440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response @@ -60877,7 +61452,7 @@ paths: type: array items: *5 examples: - default: &451 + default: &453 value: - id: 1 slug: octoapp @@ -60934,9 +61509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -60970,7 +61545,7 @@ paths: type: array items: *5 examples: - default: *451 + default: *453 '422': *15 x-github: githubCloudOnly: false @@ -60991,9 +61566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -61027,7 +61602,7 @@ paths: type: array items: *5 examples: - default: *451 + default: *453 '422': *15 x-github: githubCloudOnly: false @@ -61048,9 +61623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -61084,7 +61659,7 @@ paths: type: array items: *5 examples: - default: *451 + default: *453 '422': *15 x-github: githubCloudOnly: false @@ -61106,9 +61681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response @@ -61116,9 +61691,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *310 + default: *312 '404': *6 x-github: githubCloudOnly: false @@ -61138,9 +61713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: false content: @@ -61176,9 +61751,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *310 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -61199,9 +61774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: false content: @@ -61237,9 +61812,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *310 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -61260,9 +61835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: content: application/json: @@ -61297,9 +61872,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *310 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -61321,9 +61896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response @@ -61333,7 +61908,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 '404': *6 x-github: githubCloudOnly: false @@ -61357,9 +61932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -61392,7 +61967,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 '422': *15 x-github: githubCloudOnly: false @@ -61417,9 +61992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -61452,7 +62027,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 '422': *15 x-github: githubCloudOnly: false @@ -61477,9 +62052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -61512,7 +62087,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 '422': *15 x-github: githubCloudOnly: false @@ -61539,9 +62114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -61563,7 +62138,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: default: value: @@ -61677,12 +62252,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *383 - - *384 - - *225 - - *226 + - *385 + - *386 - *227 - *228 + - *229 + - *230 - *17 - *19 responses: @@ -61692,11 +62267,11 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *230 + default: *232 '404': *6 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -61714,8 +62289,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *383 - - *384 + - *385 + - *386 - name: bypass_request_number in: path required: true @@ -61729,7 +62304,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *231 examples: default: value: @@ -61767,7 +62342,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for a repository @@ -61788,12 +62363,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *383 - - *384 - - *225 - - *226 + - *385 + - *386 - *227 - *228 + - *229 + - *230 - *17 - *19 responses: @@ -61803,12 +62378,12 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *454 + default: *456 '404': *6 '403': *29 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}": get: summary: Get a bypass request for secret scanning @@ -61829,8 +62404,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *383 - - *384 + - *385 + - *386 - name: bypass_request_number in: path required: true @@ -61842,7 +62417,7 @@ paths: description: A single bypass request. content: application/json: - schema: *453 + schema: *455 examples: default: value: @@ -61880,7 +62455,7 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/1 '404': *6 '403': *29 - '500': *85 + '500': *88 patch: summary: Review a bypass request for secret scanning description: |- @@ -61900,8 +62475,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *383 - - *384 + - *385 + - *386 - name: bypass_request_number in: path required: true @@ -61951,7 +62526,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}": delete: summary: Dismiss a response on a bypass request for secret scanning @@ -61972,8 +62547,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *383 - - *384 + - *385 + - *386 - name: bypass_response_id in: path required: true @@ -61986,7 +62561,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -62006,8 +62581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -62286,7 +62861,7 @@ paths: description: Response content: application/json: - schema: &456 + schema: &458 title: CheckRun description: A check performed on the code of a given code change type: object @@ -62397,16 +62972,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *455 - deployment: &800 + items: *457 + deployment: &802 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -62473,8 +63048,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 required: - id - node_id @@ -62686,9 +63261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *383 - - *384 - - &457 + - *385 + - *386 + - &459 name: check_run_id description: The unique identifier of the check run. in: path @@ -62700,9 +63275,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: &458 + default: &460 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -62802,9 +63377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *383 - - *384 - - *457 + - *385 + - *386 + - *459 requestBody: required: true content: @@ -63044,9 +63619,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: *458 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63066,9 +63641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *383 - - *384 - - *457 + - *385 + - *386 + - *459 - *17 - *19 responses: @@ -63163,15 +63738,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *383 - - *384 - - *457 + - *385 + - *386 + - *459 responses: '201': description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -63209,8 +63784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -63232,7 +63807,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &461 + schema: &463 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -63296,7 +63871,7 @@ paths: nullable: true pull_requests: type: array - items: *455 + items: *457 nullable: true app: title: GitHub app @@ -63307,9 +63882,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 - repository: *202 + properties: *145 + required: *146 + repository: *204 created_at: type: string format: date-time @@ -63318,12 +63893,12 @@ paths: type: string format: date-time nullable: true - head_commit: &826 + head_commit: &828 title: Simple Commit description: A commit. type: object - properties: *459 - required: *460 + properties: *461 + required: *462 latest_check_runs_count: type: integer check_runs_url: @@ -63351,7 +63926,7 @@ paths: - check_runs_url - pull_requests examples: - default: &462 + default: &464 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -63642,9 +64217,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *461 + schema: *463 examples: - default: *462 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63663,8 +64238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -63725,7 +64300,7 @@ paths: required: - app_id - setting - repository: *202 + repository: *204 examples: default: value: @@ -63973,9 +64548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *383 - - *384 - - &463 + - *385 + - *386 + - &465 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -63987,9 +64562,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: *462 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64012,17 +64587,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *383 - - *384 - - *463 - - &512 + - *385 + - *386 + - *465 + - &514 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &513 + - &515 name: status description: Returns check runs with the specified `status`. in: query @@ -64061,9 +64636,9 @@ paths: type: integer check_runs: type: array - items: *456 + items: *458 examples: - default: &514 + default: &516 value: total_count: 1 check_runs: @@ -64165,15 +64740,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *383 - - *384 - - *463 + - *385 + - *386 + - *465 responses: '201': description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -64200,30 +64775,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *383 - - *384 - - *237 - - *238 + - *385 + - *386 + - *239 + - *240 - *19 - *17 - - &479 + - &481 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *464 - - &480 + schema: *466 + - &482 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *88 - - *86 - - *87 + - *91 + - *89 + - *90 - name: sort description: The property by which to sort the results. in: query @@ -64239,13 +64814,13 @@ paths: be returned. in: query required: false - schema: *239 + schema: *241 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *465 + schema: *467 responses: '200': description: Response @@ -64256,14 +64831,14 @@ paths: items: type: object properties: - number: *100 - created_at: *107 - updated_at: *108 - url: *105 - html_url: *106 - instances_url: *466 - state: *91 - fixed_at: *110 + number: *103 + created_at: *110 + updated_at: *111 + url: *108 + html_url: *109 + instances_url: *468 + state: *94 + fixed_at: *113 dismissed_by: title: Simple User description: A GitHub user. @@ -64271,12 +64846,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *109 - dismissed_reason: *467 - dismissed_comment: *468 - rule: *469 - tool: *470 - most_recent_instance: *471 + dismissed_at: *112 + dismissed_reason: *469 + dismissed_comment: *470 + rule: *471 + tool: *472 + most_recent_instance: *473 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -64399,14 +64974,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &472 + '403': &474 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64426,9 +65001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *383 - - *384 - - &473 + - *385 + - *386 + - &475 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -64436,23 +65011,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *100 + schema: *103 responses: '200': description: Response content: application/json: - schema: &474 + schema: &476 type: object properties: - number: *100 - created_at: *107 - updated_at: *108 - url: *105 - html_url: *106 - instances_url: *466 - state: *91 - fixed_at: *110 + number: *103 + created_at: *110 + updated_at: *111 + url: *108 + html_url: *109 + instances_url: *468 + state: *94 + fixed_at: *113 dismissed_by: title: Simple User description: A GitHub user. @@ -64460,9 +65035,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *109 - dismissed_reason: *467 - dismissed_comment: *468 + dismissed_at: *112 + dismissed_reason: *469 + dismissed_comment: *470 rule: type: object properties: @@ -64516,8 +65091,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *470 - most_recent_instance: *471 + tool: *472 + most_recent_instance: *473 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -64613,9 +65188,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64633,9 +65208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 requestBody: required: true content: @@ -64650,8 +65225,8 @@ paths: enum: - open - dismissed - dismissed_reason: *467 - dismissed_comment: *468 + dismissed_reason: *469 + dismissed_comment: *470 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -64670,7 +65245,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *476 examples: default: value: @@ -64746,14 +65321,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &478 + '403': &480 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64773,15 +65348,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 responses: '200': description: Response content: application/json: - schema: &475 + schema: &477 type: object properties: status: @@ -64807,13 +65382,13 @@ paths: - description - started_at examples: - default: &476 + default: &478 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &477 + '400': &479 description: Bad Request content: application/json: @@ -64824,9 +65399,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64849,29 +65424,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 responses: '200': description: OK content: application/json: - schema: *475 + schema: *477 examples: - default: *476 + default: *478 '202': description: Accepted content: application/json: - schema: *475 + schema: *477 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *477 + '400': *479 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64881,7 +65456,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64903,9 +65478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 requestBody: required: false content: @@ -64950,12 +65525,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *477 - '403': *478 + '400': *479 + '403': *480 '404': *6 '422': description: Unprocessable Entity - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64975,13 +65550,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 - *19 - *17 - - *479 - - *480 + - *481 + - *482 responses: '200': description: Response @@ -64989,7 +65564,7 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: default: value: @@ -65028,9 +65603,9 @@ paths: end_column: 50 classifications: - source - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65062,29 +65637,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *383 - - *384 - - *237 - - *238 + - *385 + - *386 + - *239 + - *240 - *19 - *17 - - *480 + - *482 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *464 + schema: *466 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &483 + schema: &485 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *88 + - *91 - name: sort description: The property by which to sort the results. in: query @@ -65101,23 +65676,23 @@ paths: application/json: schema: type: array - items: &484 + items: &486 type: object properties: - ref: *464 - commit_sha: &492 + ref: *466 + commit_sha: &494 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *481 + analysis_key: *483 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *482 + category: *484 error: type: string example: error reading field xyz @@ -65141,8 +65716,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *483 - tool: *470 + sarif_id: *485 + tool: *472 deletable: type: boolean warning: @@ -65203,9 +65778,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65239,8 +65814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65253,7 +65828,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: response: summary: application/json response @@ -65307,14 +65882,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *472 + '403': *474 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65394,8 +65969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65448,9 +66023,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *478 + '403': *480 '404': *6 - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65470,8 +66045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -65479,7 +66054,7 @@ paths: application/json: schema: type: array - items: &485 + items: &487 title: CodeQL Database description: A CodeQL database. type: object @@ -65590,9 +66165,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65619,8 +66194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - name: language in: path description: The language of the CodeQL database. @@ -65632,7 +66207,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: default: value: @@ -65664,11 +66239,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &521 + '302': &523 description: Found - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65688,8 +66263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *383 - - *384 + - *385 + - *386 - name: language in: path description: The language of the CodeQL database. @@ -65699,9 +66274,9 @@ paths: responses: '204': description: Response - '403': *478 + '403': *480 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65727,8 +66302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -65737,7 +66312,7 @@ paths: type: object additionalProperties: false properties: - language: &486 + language: &488 type: string description: The language targeted by the CodeQL query enum: @@ -65816,7 +66391,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &490 + schema: &492 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -65824,9 +66399,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *97 + controller_repo: *100 actor: *4 - query_language: *486 + query_language: *488 query_pack_url: type: string description: The download url for the query pack. @@ -65873,7 +66448,7 @@ paths: items: type: object properties: - repository: &487 + repository: &489 title: Repository Identifier description: Repository Identifier type: object @@ -65909,7 +66484,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &491 + analysis_status: &493 type: string description: The new status of the CodeQL variant analysis repository task. @@ -65941,7 +66516,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &488 + access_mismatch_repos: &490 type: object properties: repository_count: @@ -65955,7 +66530,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *487 + items: *489 required: - repository_count - repositories @@ -65977,8 +66552,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *488 - over_limit_repos: *488 + no_codeql_db_repos: *490 + over_limit_repos: *490 required: - access_mismatch_repos - not_found_repos @@ -65994,7 +66569,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &489 + value: &491 summary: Default response value: id: 1 @@ -66146,17 +66721,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *489 + value: *491 repository_lists: summary: Response for a successful variant analysis submission - value: *489 + value: *491 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66177,8 +66752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *383 - - *384 + - *385 + - *386 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -66190,11 +66765,11 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *489 + default: *491 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66215,7 +66790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *383 + - *385 - name: repo in: path description: The name of the controller repository. @@ -66249,8 +66824,8 @@ paths: schema: type: object properties: - repository: *97 - analysis_status: *491 + repository: *100 + analysis_status: *493 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -66354,7 +66929,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66375,8 +66950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -66461,9 +67036,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66482,8 +67057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -66550,7 +67125,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -66575,7 +67150,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *478 + '403': *480 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -66583,7 +67158,7 @@ paths: content: application/json: schema: *3 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66640,8 +67215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -66649,7 +67224,7 @@ paths: schema: type: object properties: - commit_sha: *492 + commit_sha: *494 ref: type: string description: |- @@ -66707,7 +67282,7 @@ paths: schema: type: object properties: - id: *483 + id: *485 url: type: string description: The REST API URL for checking the status of the upload. @@ -66721,11 +67296,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *478 + '403': *480 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66744,8 +67319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *383 - - *384 + - *385 + - *386 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -66791,10 +67366,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *472 + '403': *474 '404': description: Not Found if the sarif id does not match any upload - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66816,8 +67391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -66841,7 +67416,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *92 + configuration: *95 examples: default: value: @@ -66873,7 +67448,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *120 + '204': *123 '304': *37 '403': *29 '404': *6 @@ -66898,8 +67473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *383 - - *384 + - *385 + - *386 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -67019,8 +67594,8 @@ paths: parameters: - *17 - *19 - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -67036,7 +67611,7 @@ paths: type: integer codespaces: type: array - items: *299 + items: *301 examples: default: value: @@ -67312,7 +67887,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -67334,8 +67909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -67398,22 +67973,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67437,8 +68012,8 @@ paths: parameters: - *17 - *19 - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -67478,7 +68053,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *85 + '500': *88 '400': *14 '401': *25 '403': *29 @@ -67502,8 +68077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -67538,14 +68113,14 @@ paths: type: integer machines: type: array - items: &753 + items: &755 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *494 - required: *495 + properties: *496 + required: *497 examples: - default: &754 + default: &756 value: total_count: 2 machines: @@ -67562,7 +68137,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -67585,8 +68160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *383 - - *384 + - *385 + - *386 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -67670,8 +68245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *383 - - *384 + - *385 + - *386 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -67716,7 +68291,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67737,8 +68312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -67756,7 +68331,7 @@ paths: type: integer secrets: type: array - items: &499 + items: &501 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -67776,7 +68351,7 @@ paths: - created_at - updated_at examples: - default: *496 + default: *498 headers: Link: *40 x-github: @@ -67799,16 +68374,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *497 + schema: *499 examples: - default: *498 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67828,17 +68403,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 responses: '200': description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *500 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67858,9 +68433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 requestBody: required: true content: @@ -67888,7 +68463,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -67912,9 +68487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 responses: '204': description: Response @@ -67942,8 +68517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *383 - - *384 + - *385 + - *386 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67985,7 +68560,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &501 + properties: &503 login: type: string example: octocat @@ -68078,7 +68653,7 @@ paths: user_view_type: type: string example: public - required: &502 + required: &504 - avatar_url - events_url - followers_url @@ -68152,9 +68727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *383 - - *384 - - *224 + - *385 + - *386 + - *226 responses: '204': description: Response if user is a collaborator @@ -68200,9 +68775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *383 - - *384 - - *224 + - *385 + - *386 + - *226 requestBody: required: false content: @@ -68228,7 +68803,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &578 + schema: &580 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -68239,7 +68814,7 @@ paths: example: 42 type: integer format: int64 - repository: *202 + repository: *204 invitee: title: Simple User description: A GitHub user. @@ -68417,7 +68992,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *185 + schema: *187 '403': *29 x-github: triggersNotification: true @@ -68457,9 +69032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *383 - - *384 - - *224 + - *385 + - *386 + - *226 responses: '204': description: No Content when collaborator was removed from the repository. @@ -68490,9 +69065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *383 - - *384 - - *224 + - *385 + - *386 + - *226 responses: '200': description: if user has admin permissions @@ -68512,8 +69087,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *501 - required: *502 + properties: *503 + required: *504 nullable: true required: - permission @@ -68568,8 +69143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -68579,7 +69154,7 @@ paths: application/json: schema: type: array - items: &503 + items: &505 title: Commit Comment description: Commit Comment type: object @@ -68620,8 +69195,8 @@ paths: updated_at: type: string format: date-time - author_association: *144 - reactions: *145 + author_association: *147 + reactions: *148 required: - url - html_url @@ -68637,7 +69212,7 @@ paths: - created_at - updated_at examples: - default: &506 + default: &508 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68696,17 +69271,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: &507 + default: &509 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68763,9 +69338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 requestBody: required: true content: @@ -68787,7 +69362,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *505 examples: default: value: @@ -68838,9 +69413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 responses: '204': description: Response @@ -68861,9 +69436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -68889,9 +69464,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 '404': *6 @@ -68912,9 +69487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 requestBody: required: true content: @@ -68946,16 +69521,16 @@ paths: description: Reaction exists content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '201': description: Reaction created content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -68977,10 +69552,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *383 - - *384 - - *156 - - *375 + - *385 + - *386 + - *159 + - *377 responses: '204': description: Response @@ -69029,8 +69604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *383 - - *384 + - *385 + - *386 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -69086,9 +69661,9 @@ paths: application/json: schema: type: array - items: *504 + items: *506 examples: - default: &629 + default: &631 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69159,10 +69734,10 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *40 - '500': *85 + '500': *88 '400': *14 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69182,9 +69757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *383 - - *384 - - &505 + - *385 + - *386 + - &507 name: commit_sha description: The SHA of the commit. in: path @@ -69231,7 +69806,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69256,9 +69831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *383 - - *384 - - *505 + - *385 + - *386 + - *507 - *17 - *19 responses: @@ -69268,9 +69843,9 @@ paths: application/json: schema: type: array - items: *503 + items: *505 examples: - default: *506 + default: *508 headers: Link: *40 x-github: @@ -69298,9 +69873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *383 - - *384 - - *505 + - *385 + - *386 + - *507 requestBody: required: true content: @@ -69335,9 +69910,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *507 + default: *509 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -69365,9 +69940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *383 - - *384 - - *505 + - *385 + - *386 + - *507 - *17 - *19 responses: @@ -69377,7 +69952,7 @@ paths: application/json: schema: type: array - items: &620 + items: &622 title: Pull Request Simple description: Pull Request Simple type: object @@ -69483,8 +70058,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *508 - required: *509 + properties: *510 + required: *511 nullable: true active_lock_reason: type: string @@ -69529,7 +70104,7 @@ paths: nullable: true requested_teams: type: array - items: *233 + items: *235 nullable: true head: type: object @@ -69580,7 +70155,7 @@ paths: _links: type: object properties: - comments: &510 + comments: &512 title: Link description: Hypermedia Link type: object @@ -69589,13 +70164,13 @@ paths: type: string required: - href - commits: *510 - statuses: *510 - html: *510 - issue: *510 - review_comments: *510 - review_comment: *510 - self: *510 + commits: *512 + statuses: *512 + html: *512 + issue: *512 + review_comments: *512 + review_comment: *512 + self: *512 required: - comments - commits @@ -69605,8 +70180,8 @@ paths: - review_comments - review_comment - self - author_association: *144 - auto_merge: &622 + author_association: *147 + auto_merge: &624 title: Auto merge description: The status of auto merging a pull request. type: object @@ -69669,7 +70244,7 @@ paths: - author_association - auto_merge examples: - default: &621 + default: &623 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -70149,7 +70724,7 @@ paths: draft: false headers: Link: *40 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70206,11 +70781,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *383 - - *384 + - *385 + - *386 - *19 - *17 - - &511 + - &513 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -70225,9 +70800,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *506 examples: - default: &607 + default: &609 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70313,9 +70888,9 @@ paths: ..... '422': *15 '404': *6 - '500': *85 - '503': *134 - '409': *96 + '500': *88 + '503': *137 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70340,11 +70915,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *383 - - *384 - - *511 - - *512 + - *385 + - *386 - *513 + - *514 + - *515 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -70378,9 +70953,9 @@ paths: type: integer check_runs: type: array - items: *456 + items: *458 examples: - default: *514 + default: *516 headers: Link: *40 x-github: @@ -70405,9 +70980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *383 - - *384 - - *511 + - *385 + - *386 + - *513 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -70415,7 +70990,7 @@ paths: schema: type: integer example: 1 - - *512 + - *514 - *17 - *19 responses: @@ -70433,7 +71008,7 @@ paths: type: integer check_suites: type: array - items: *461 + items: *463 examples: default: value: @@ -70633,9 +71208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *383 - - *384 - - *511 + - *385 + - *386 + - *513 - *17 - *19 responses: @@ -70702,7 +71277,7 @@ paths: type: string total_count: type: integer - repository: *202 + repository: *204 commit_url: type: string format: uri @@ -70833,9 +71408,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *383 - - *384 - - *511 + - *385 + - *386 + - *513 - *17 - *19 responses: @@ -70845,7 +71420,7 @@ paths: application/json: schema: type: array - items: &701 + items: &703 title: Status description: The status of a commit. type: object @@ -70926,7 +71501,7 @@ paths: site_admin: false headers: Link: *40 - '301': *397 + '301': *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70954,8 +71529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -70984,20 +71559,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *515 - required: *516 + properties: *517 + required: *518 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &517 + properties: &519 url: type: string format: uri html_url: type: string format: uri - required: &518 + required: &520 - url - html_url nullable: true @@ -71005,32 +71580,32 @@ paths: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 nullable: true contributing: title: Community Health File type: object - properties: *517 - required: *518 + properties: *519 + required: *520 nullable: true readme: title: Community Health File type: object - properties: *517 - required: *518 + properties: *519 + required: *520 nullable: true issue_template: title: Community Health File type: object - properties: *517 - required: *518 + properties: *519 + required: *520 nullable: true pull_request_template: title: Community Health File type: object - properties: *517 - required: *518 + properties: *519 + required: *520 nullable: true required: - code_of_conduct @@ -71157,8 +71732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *383 - - *384 + - *385 + - *386 - *19 - *17 - name: basehead @@ -71201,8 +71776,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *504 - merge_base_commit: *504 + base_commit: *506 + merge_base_commit: *506 status: type: string enum: @@ -71222,10 +71797,10 @@ paths: example: 6 commits: type: array - items: *504 + items: *506 files: type: array - items: *519 + items: *521 required: - url - html_url @@ -71468,8 +72043,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71511,8 +72086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *383 - - *384 + - *385 + - *386 - name: path description: path parameter in: path @@ -71655,7 +72230,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &520 + response-if-content-is-a-file: &522 summary: Response if content is a file value: type: file @@ -71787,7 +72362,7 @@ paths: - size - type - url - - &634 + - &636 title: Content File description: Content File type: object @@ -71988,7 +72563,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *520 + response-if-content-is-a-file: *522 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -72057,7 +72632,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *521 + '302': *523 '304': *37 x-github: githubCloudOnly: false @@ -72080,8 +72655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *383 - - *384 + - *385 + - *386 - name: path description: path parameter in: path @@ -72174,7 +72749,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &524 title: File Commit description: File Commit type: object @@ -72326,7 +72901,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: example-for-creating-a-file: value: @@ -72380,7 +72955,7 @@ paths: schema: oneOf: - *3 - - &560 + - &562 description: Repository rule violation was detected type: object properties: @@ -72401,7 +72976,7 @@ paths: items: type: object properties: - placeholder_id: &693 + placeholder_id: &695 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -72433,8 +73008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *383 - - *384 + - *385 + - *386 - name: path description: path parameter in: path @@ -72495,7 +73070,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: default: value: @@ -72529,8 +73104,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *96 - '503': *134 + '409': *99 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72550,8 +73125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *383 - - *384 + - *385 + - *386 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -72674,23 +73249,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *383 - - *384 - - *253 - - *254 + - *385 + - *386 - *255 - *256 + - *257 + - *258 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *257 - - *258 - *259 - *260 - - *88 + - *261 + - *262 + - *91 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -72707,10 +73282,10 @@ paths: schema: type: integer default: 30 - - *86 - - *87 - - *261 - - *262 + - *89 + - *90 + - *263 + - *264 responses: '200': description: Response @@ -72718,11 +73293,11 @@ paths: application/json: schema: type: array - items: &525 + items: &527 type: object description: A Dependabot alert. properties: - number: *100 + number: *103 state: type: string description: The state of the Dependabot alert. @@ -72737,7 +73312,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *101 + package: *104 manifest_path: type: string description: The full path to the dependency manifest file, @@ -72764,13 +73339,13 @@ paths: - unknown - direct - transitive - security_advisory: *523 - security_vulnerability: *104 - url: *105 - html_url: *106 - created_at: *107 - updated_at: *108 - dismissed_at: *109 + security_advisory: *525 + security_vulnerability: *107 + url: *108 + html_url: *109 + created_at: *110 + updated_at: *111 + dismissed_at: *112 dismissed_by: title: Simple User description: A GitHub user. @@ -72794,8 +73369,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *110 - auto_dismissed_at: *524 + fixed_at: *113 + auto_dismissed_at: *526 required: - number - state @@ -73025,9 +73600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *383 - - *384 - - &526 + - *385 + - *386 + - &528 name: alert_number in: path description: |- @@ -73036,13 +73611,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *100 + schema: *103 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: default: value: @@ -73155,9 +73730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *383 - - *384 - - *526 + - *385 + - *386 + - *528 requestBody: required: true content: @@ -73202,7 +73777,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *527 examples: default: value: @@ -73308,7 +73883,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *96 + '409': *99 '422': *7 x-github: githubCloudOnly: false @@ -73331,8 +73906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -73350,7 +73925,7 @@ paths: type: integer secrets: type: array - items: &529 + items: &531 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -73403,16 +73978,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *527 + schema: *529 examples: - default: *528 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73432,15 +74007,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 responses: '200': description: Response content: application/json: - schema: *529 + schema: *531 examples: default: value: @@ -73466,9 +74041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 requestBody: required: true content: @@ -73496,7 +74071,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -73520,9 +74095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 responses: '204': description: Response @@ -73544,8 +74119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *383 - - *384 + - *385 + - *386 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -73705,8 +74280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -73945,8 +74520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -74021,7 +74596,7 @@ paths: - version - url additionalProperties: false - metadata: &530 + metadata: &532 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -74054,7 +74629,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *530 + metadata: *532 resolved: type: object description: A collection of resolved package dependencies. @@ -74067,7 +74642,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *530 + metadata: *532 relationship: type: string description: A notation of whether a dependency is requested @@ -74196,8 +74771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *383 - - *384 + - *385 + - *386 - name: sha description: The SHA recorded at creation time. in: query @@ -74237,9 +74812,9 @@ paths: application/json: schema: type: array - items: *531 + items: *533 examples: - default: *532 + default: *534 headers: Link: *40 x-github: @@ -74305,8 +74880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -74387,7 +74962,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *533 examples: simple-example: summary: Simple example @@ -74460,9 +75035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *383 - - *384 - - &533 + - *385 + - *386 + - &535 name: deployment_id description: deployment_id parameter in: path @@ -74474,7 +75049,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *533 examples: default: value: @@ -74539,9 +75114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *383 - - *384 - - *533 + - *385 + - *386 + - *535 responses: '204': description: Response @@ -74563,9 +75138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *383 - - *384 - - *533 + - *385 + - *386 + - *535 - *17 - *19 responses: @@ -74575,7 +75150,7 @@ paths: application/json: schema: type: array - items: &534 + items: &536 title: Deployment Status description: The status of a deployment. type: object @@ -74666,8 +75241,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 required: - id - node_id @@ -74736,9 +75311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *383 - - *384 - - *533 + - *385 + - *386 + - *535 requestBody: required: true content: @@ -74813,9 +75388,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: &535 + default: &537 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -74871,9 +75446,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *383 - - *384 - - *533 + - *385 + - *386 + - *535 - name: status_id in: path required: true @@ -74884,9 +75459,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: *535 + default: *537 '404': *6 x-github: githubCloudOnly: false @@ -74913,12 +75488,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *383 - - *384 - - *536 - - *537 + - *385 + - *386 - *538 - *539 + - *540 + - *541 - *17 - *19 responses: @@ -74928,12 +75503,12 @@ paths: application/json: schema: type: array - items: *540 + items: *542 examples: - default: *541 + default: *543 '404': *6 '403': *29 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": get: summary: Get a dismissal request for a code scanning alert for a repository @@ -74954,8 +75529,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *383 - - *384 + - *385 + - *386 - name: alert_number in: path required: true @@ -74967,7 +75542,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *540 + schema: *542 examples: default: value: @@ -75003,7 +75578,7 @@ paths: html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 '404': *6 '403': *29 - '500': *85 + '500': *88 patch: summary: Review a dismissal request for a code scanning alert for a repository description: |- @@ -75023,8 +75598,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *383 - - *384 + - *385 + - *386 - name: alert_number in: path required: true @@ -75062,7 +75637,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -75083,12 +75658,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *383 - - *384 - - *225 - - *226 + - *385 + - *386 - *227 - - *542 + - *228 + - *229 + - *544 - *17 - *19 responses: @@ -75098,12 +75673,12 @@ paths: application/json: schema: type: array - items: *543 + items: *545 examples: - default: *544 + default: *546 '404': *6 '403': *29 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": get: summary: Get an alert dismissal request for secret scanning @@ -75125,8 +75700,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *383 - - *384 + - *385 + - *386 - name: alert_number in: path required: true @@ -75138,7 +75713,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *543 + schema: *545 examples: default: value: @@ -75175,7 +75750,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/17 '404': *6 '403': *29 - '500': *85 + '500': *88 patch: summary: Review an alert dismissal request for secret scanning description: |- @@ -75196,8 +75771,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *383 - - *384 + - *385 + - *386 - name: alert_number in: path required: true @@ -75247,7 +75822,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -75266,8 +75841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -75324,8 +75899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -75342,7 +75917,7 @@ paths: type: integer environments: type: array - items: &546 + items: &548 title: Environment description: Details of a deployment environment type: object @@ -75394,7 +75969,7 @@ paths: type: type: string example: wait_timer - wait_timer: &548 + wait_timer: &550 type: integer example: 30 description: The amount of time to delay a job after @@ -75431,11 +76006,11 @@ paths: items: type: object properties: - type: *545 + type: *547 reviewer: anyOf: - *4 - - *233 + - *235 required: - id - node_id @@ -75455,7 +76030,7 @@ paths: - id - node_id - type - deployment_branch_policy: &549 + deployment_branch_policy: &551 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -75571,9 +76146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *383 - - *384 - - &547 + - *385 + - *386 + - &549 name: environment_name in: path required: true @@ -75586,9 +76161,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: &550 + default: &552 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75672,9 +76247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 requestBody: required: false content: @@ -75683,7 +76258,7 @@ paths: type: object nullable: true properties: - wait_timer: *548 + wait_timer: *550 prevent_self_review: type: boolean example: false @@ -75700,13 +76275,13 @@ paths: items: type: object properties: - type: *545 + type: *547 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *549 + deployment_branch_policy: *551 additionalProperties: false examples: default: @@ -75726,9 +76301,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: *550 + default: *552 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -75752,9 +76327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 responses: '204': description: Default response @@ -75779,9 +76354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 - *17 - *19 responses: @@ -75799,7 +76374,7 @@ paths: example: 2 branch_policies: type: array - items: &551 + items: &553 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -75856,9 +76431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 requestBody: required: true content: @@ -75904,9 +76479,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - example-wildcard: &552 + example-wildcard: &554 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75948,10 +76523,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *383 - - *384 - - *547 - - &553 + - *385 + - *386 + - *549 + - &555 name: branch_policy_id in: path required: true @@ -75963,9 +76538,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: *552 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75984,10 +76559,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *383 - - *384 - - *547 - - *553 + - *385 + - *386 + - *549 + - *555 requestBody: required: true content: @@ -76015,9 +76590,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: *552 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76036,10 +76611,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *383 - - *384 - - *547 - - *553 + - *385 + - *386 + - *549 + - *555 responses: '204': description: Response @@ -76064,9 +76639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *547 - - *384 - - *383 + - *549 + - *386 + - *385 responses: '200': description: List of deployment protection rules @@ -76082,7 +76657,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &554 + items: &556 title: Deployment protection rule description: Deployment protection rule type: object @@ -76101,7 +76676,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &555 + app: &557 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -76200,9 +76775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *547 - - *384 - - *383 + - *549 + - *386 + - *385 requestBody: content: application/json: @@ -76223,9 +76798,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *554 + schema: *556 examples: - default: &556 + default: &558 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -76260,9 +76835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *547 - - *384 - - *383 + - *549 + - *386 + - *385 - *19 - *17 responses: @@ -76281,7 +76856,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *555 + items: *557 examples: default: value: @@ -76316,10 +76891,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *383 - - *384 - - *547 - - &557 + - *385 + - *386 + - *549 + - &559 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -76331,9 +76906,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76354,10 +76929,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *547 - - *384 - - *383 - - *557 + - *549 + - *386 + - *385 + - *559 responses: '204': description: Response @@ -76383,9 +76958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 - *17 - *19 responses: @@ -76403,9 +76978,9 @@ paths: type: integer secrets: type: array - items: *420 + items: *422 examples: - default: *421 + default: *423 headers: Link: *40 x-github: @@ -76430,17 +77005,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: *423 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76462,18 +77037,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *383 - - *384 - - *547 - - *212 + - *385 + - *386 + - *549 + - *214 responses: '200': description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *558 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76495,10 +77070,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *383 - - *384 - - *547 - - *212 + - *385 + - *386 + - *549 + - *214 requestBody: required: true content: @@ -76529,7 +77104,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -76555,10 +77130,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *383 - - *384 - - *547 - - *212 + - *385 + - *386 + - *549 + - *214 responses: '204': description: Default response @@ -76583,10 +77158,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *383 - - *384 - - *547 - - *407 + - *385 + - *386 + - *549 + - *409 - *19 responses: '200': @@ -76603,9 +77178,9 @@ paths: type: integer variables: type: array - items: *424 + items: *426 examples: - default: *425 + default: *427 headers: Link: *40 x-github: @@ -76628,9 +77203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 requestBody: required: true content: @@ -76657,7 +77232,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -76682,18 +77257,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *383 - - *384 - - *547 - - *215 + - *385 + - *386 + - *549 + - *217 responses: '200': description: Response content: application/json: - schema: *424 + schema: *426 examples: - default: *559 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76714,10 +77289,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *383 - - *384 - - *215 - - *547 + - *385 + - *386 + - *217 + - *549 requestBody: required: true content: @@ -76759,10 +77334,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *383 - - *384 - - *215 - - *547 + - *385 + - *386 + - *217 + - *549 responses: '204': description: Response @@ -76784,8 +77359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -76795,7 +77370,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: 200-response: value: @@ -76862,8 +77437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *383 - - *384 + - *385 + - *386 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -76885,7 +77460,7 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: default: value: @@ -77022,8 +77597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: false content: @@ -77055,9 +77630,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *398 + default: *400 '400': *14 '422': *15 '403': *29 @@ -77078,8 +77653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -77130,7 +77705,7 @@ paths: schema: type: string '404': *6 - '409': *96 + '409': *99 '403': *29 '422': description: Validation failed @@ -77138,8 +77713,8 @@ paths: application/json: schema: oneOf: - - *185 - - *560 + - *187 + - *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77164,8 +77739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *383 - - *384 + - *385 + - *386 - name: file_sha in: path required: true @@ -77216,7 +77791,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77264,8 +77839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -77374,7 +77949,7 @@ paths: description: Response content: application/json: - schema: &561 + schema: &563 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -77538,7 +78113,7 @@ paths: type: string '422': *15 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77588,15 +78163,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *383 - - *384 - - *505 + - *385 + - *386 + - *507 responses: '200': description: Response content: application/json: - schema: *561 + schema: *563 examples: default: value: @@ -77627,7 +78202,7 @@ paths: payload: verified_at: '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77652,9 +78227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *383 - - *384 - - &562 + - *385 + - *386 + - &564 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -77671,7 +78246,7 @@ paths: application/json: schema: type: array - items: &563 + items: &565 title: Git Reference description: Git references within a repository type: object @@ -77725,7 +78300,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *40 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77746,17 +78321,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *383 - - *384 - - *562 + - *385 + - *386 + - *564 responses: '200': description: Response content: application/json: - schema: *563 + schema: *565 examples: - default: &564 + default: &566 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -77766,7 +78341,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77785,8 +78360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -77815,16 +78390,16 @@ paths: description: Response content: application/json: - schema: *563 + schema: *565 examples: - default: *564 + default: *566 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77843,9 +78418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *383 - - *384 - - *562 + - *385 + - *386 + - *564 requestBody: required: true content: @@ -77874,11 +78449,11 @@ paths: description: Response content: application/json: - schema: *563 + schema: *565 examples: - default: *564 + default: *566 '422': *15 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77894,16 +78469,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *383 - - *384 - - *562 + - *385 + - *386 + - *564 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77951,8 +78526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -78019,7 +78594,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &568 title: Git Tag description: Metadata for a Git tag type: object @@ -78070,7 +78645,7 @@ paths: - sha - type - url - verification: *565 + verification: *567 required: - sha - url @@ -78080,7 +78655,7 @@ paths: - tag - message examples: - default: &567 + default: &569 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -78107,7 +78682,7 @@ paths: schema: type: string '422': *15 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78153,8 +78728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *383 - - *384 + - *385 + - *386 - name: tag_sha in: path required: true @@ -78165,11 +78740,11 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: - default: *567 + default: *569 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78191,8 +78766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -78265,7 +78840,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &570 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -78338,7 +78913,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78361,8 +78936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *383 - - *384 + - *385 + - *386 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -78385,7 +78960,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *570 examples: default-response: summary: Default response @@ -78426,7 +79001,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78444,8 +79019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -78455,7 +79030,7 @@ paths: application/json: schema: type: array - items: &569 + items: &571 title: Webhook description: Webhooks for repositories. type: object @@ -78509,7 +79084,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &834 + last_response: &836 title: Hook Response type: object properties: @@ -78583,8 +79158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: false content: @@ -78636,9 +79211,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: &570 + default: &572 value: type: Repository id: 12345678 @@ -78686,17 +79261,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 responses: '200': description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '404': *6 x-github: githubCloudOnly: false @@ -78716,9 +79291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 requestBody: required: true content: @@ -78763,9 +79338,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '422': *15 '404': *6 x-github: @@ -78786,9 +79361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 responses: '204': description: Response @@ -78812,9 +79387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 responses: '200': description: Response @@ -78841,9 +79416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 requestBody: required: false content: @@ -78887,11 +79462,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 - *17 - - *271 + - *273 responses: '200': description: Response @@ -78899,9 +79474,9 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: - default: *273 + default: *275 '400': *14 '422': *15 x-github: @@ -78920,18 +79495,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 - *16 responses: '200': description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '400': *14 '422': *15 x-github: @@ -78950,9 +79525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 - *16 responses: '202': *39 @@ -78975,9 +79550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 responses: '204': description: Response @@ -79002,9 +79577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 responses: '204': description: Response @@ -79062,14 +79637,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: &571 + schema: &573 title: Import description: A repository import from an external source. type: object @@ -79168,7 +79743,7 @@ paths: - html_url - authors_url examples: - default: &574 + default: &576 value: vcs: subversion use_lfs: true @@ -79184,7 +79759,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &572 + '503': &574 description: Unavailable due to service under maintenance. content: application/json: @@ -79213,8 +79788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -79262,7 +79837,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: default: value: @@ -79287,7 +79862,7 @@ paths: type: string '422': *15 '404': *6 - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79315,8 +79890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: false content: @@ -79365,7 +79940,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: example-1: summary: Example 1 @@ -79413,7 +79988,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79436,12 +80011,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79467,9 +80042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *383 - - *384 - - &777 + - *385 + - *386 + - &779 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -79483,7 +80058,7 @@ paths: application/json: schema: type: array - items: &573 + items: &575 title: Porter Author description: Porter Author type: object @@ -79537,7 +80112,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79562,8 +80137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *383 - - *384 + - *385 + - *386 - name: author_id in: path required: true @@ -79593,7 +80168,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: default: value: @@ -79606,7 +80181,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79630,8 +80205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -79672,7 +80247,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79700,8 +80275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -79728,11 +80303,11 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *574 + default: *576 '422': *15 - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79755,8 +80330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -79764,8 +80339,8 @@ paths: application/json: schema: *22 examples: - default: *575 - '301': *397 + default: *577 + '301': *399 '404': *6 x-github: githubCloudOnly: false @@ -79785,8 +80360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -79794,12 +80369,12 @@ paths: application/json: schema: anyOf: - - *288 + - *290 - type: object properties: {} additionalProperties: false examples: - default: &577 + default: &579 value: limit: collaborators_only origin: repository @@ -79824,13 +80399,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: application/json: - schema: *576 + schema: *578 examples: default: summary: Example request body @@ -79842,9 +80417,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *577 + default: *579 '409': description: Response x-github: @@ -79866,8 +80441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -79890,8 +80465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -79901,9 +80476,9 @@ paths: application/json: schema: type: array - items: *578 + items: *580 examples: - default: &770 + default: &772 value: - id: 1 repository: @@ -80034,9 +80609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *383 - - *384 - - *292 + - *385 + - *386 + - *294 requestBody: required: false content: @@ -80065,7 +80640,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: default: value: @@ -80196,9 +80771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *383 - - *384 - - *292 + - *385 + - *386 + - *294 responses: '204': description: Response @@ -80229,8 +80804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *383 - - *384 + - *385 + - *386 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -80278,7 +80853,7 @@ paths: required: false schema: type: string - - *296 + - *298 - name: sort description: What to sort results by. in: query @@ -80290,8 +80865,8 @@ paths: - updated - comments default: created - - *88 - - *147 + - *91 + - *150 - *17 - *19 responses: @@ -80301,9 +80876,9 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: &589 + default: &591 value: - id: 1 node_id: MDU6SXNzdWUx @@ -80451,7 +81026,7 @@ paths: state_reason: completed headers: Link: *40 - '301': *397 + '301': *399 '422': *15 '404': *6 x-github: @@ -80480,8 +81055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -80563,9 +81138,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: &584 + default: &586 value: id: 1 node_id: MDU6SXNzdWUx @@ -80719,9 +81294,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *134 + '503': *137 '404': *6 - '410': *394 + '410': *396 x-github: triggersNotification: true githubCloudOnly: false @@ -80749,9 +81324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *383 - - *384 - - *167 + - *385 + - *386 + - *170 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -80761,7 +81336,7 @@ paths: enum: - asc - desc - - *147 + - *150 - *17 - *19 responses: @@ -80771,9 +81346,9 @@ paths: application/json: schema: type: array - items: *579 + items: *581 examples: - default: &586 + default: &588 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80831,17 +81406,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 responses: '200': description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: &580 + default: &582 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80895,9 +81470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 requestBody: required: true content: @@ -80919,9 +81494,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *580 + default: *582 '422': *15 x-github: githubCloudOnly: false @@ -80939,9 +81514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 responses: '204': description: Response @@ -80961,9 +81536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -80989,9 +81564,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 '404': *6 @@ -81012,9 +81587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 requestBody: required: true content: @@ -81046,16 +81621,16 @@ paths: description: Reaction exists content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '201': description: Reaction created content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -81077,10 +81652,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *383 - - *384 - - *156 - - *375 + - *385 + - *386 + - *159 + - *377 responses: '204': description: Response @@ -81100,8 +81675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -81111,7 +81686,7 @@ paths: application/json: schema: type: array - items: &583 + items: &585 title: Issue Event description: Issue Event type: object @@ -81154,8 +81729,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *581 - required: *582 + properties: *583 + required: *584 nullable: true label: title: Issue Event Label @@ -81199,7 +81774,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *233 + requested_team: *235 dismissed_review: title: Issue Event Dismissed Review type: object @@ -81264,7 +81839,7 @@ paths: required: - from - to - author_association: *144 + author_association: *147 lock_reason: type: string nullable: true @@ -81277,8 +81852,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 required: - id - node_id @@ -81462,8 +82037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *383 - - *384 + - *385 + - *386 - name: event_id in: path required: true @@ -81474,7 +82049,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *585 examples: default: value: @@ -81667,7 +82242,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *394 + '410': *396 '403': *29 x-github: githubCloudOnly: false @@ -81701,9 +82276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *383 - - *384 - - &585 + - *385 + - *386 + - &587 name: issue_number description: The number that identifies the issue. in: path @@ -81715,12 +82290,12 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 - '301': *397 + default: *586 + '301': *399 '404': *6 - '410': *394 + '410': *396 '304': *37 x-github: githubCloudOnly: false @@ -81745,9 +82320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: false content: @@ -81850,15 +82425,15 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 + default: *586 '422': *15 - '503': *134 + '503': *137 '403': *29 - '301': *397 + '301': *399 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81876,9 +82451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: false content: @@ -81904,9 +82479,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81922,9 +82497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: content: application/json: @@ -81949,9 +82524,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81973,9 +82548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - name: assignee in: path required: true @@ -82015,10 +82590,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *383 - - *384 - - *585 - - *147 + - *385 + - *386 + - *587 + - *150 - *17 - *19 responses: @@ -82028,13 +82603,13 @@ paths: application/json: schema: type: array - items: *579 + items: *581 examples: - default: *586 + default: *588 headers: Link: *40 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82063,9 +82638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: true content: @@ -82087,16 +82662,16 @@ paths: description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *580 + default: *582 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *394 + '410': *396 '422': *15 '404': *6 x-github: @@ -82116,9 +82691,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - *17 - *19 responses: @@ -82132,7 +82707,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &590 + - &592 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -82163,8 +82738,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 label: type: object properties: @@ -82186,7 +82761,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &591 + - &593 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -82217,8 +82792,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 label: type: object properties: @@ -82306,8 +82881,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 assignee: *4 assigner: *4 required: @@ -82322,7 +82897,7 @@ paths: - performed_via_github_app - assignee - assigner - - &592 + - &594 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -82353,8 +82928,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 milestone: type: object properties: @@ -82373,7 +82948,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &593 + - &595 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -82404,8 +82979,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 milestone: type: object properties: @@ -82424,7 +82999,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &594 + - &596 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -82455,8 +83030,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 rename: type: object properties: @@ -82478,7 +83053,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &595 + - &597 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -82509,10 +83084,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 review_requester: *4 - requested_team: *233 + requested_team: *235 requested_reviewer: *4 required: - review_requester @@ -82525,7 +83100,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &596 + - &598 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -82556,10 +83131,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 review_requester: *4 - requested_team: *233 + requested_team: *235 requested_reviewer: *4 required: - review_requester @@ -82572,7 +83147,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &597 + - &599 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -82603,8 +83178,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 dismissed_review: type: object properties: @@ -82632,7 +83207,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &598 + - &600 title: Locked Issue Event description: Locked Issue Event type: object @@ -82663,8 +83238,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 lock_reason: type: string example: '"off-topic"' @@ -82680,7 +83255,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &599 + - &601 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82711,8 +83286,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 project_card: type: object properties: @@ -82746,7 +83321,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &600 + - &602 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82777,8 +83352,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 project_card: type: object properties: @@ -82812,7 +83387,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &601 + - &603 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82843,8 +83418,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 project_card: type: object properties: @@ -82878,7 +83453,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &602 + - &604 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82969,7 +83544,7 @@ paths: color: red headers: Link: *40 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82986,9 +83561,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - *17 - *19 responses: @@ -82998,7 +83573,7 @@ paths: application/json: schema: type: array - items: &587 + items: &589 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -83045,7 +83620,7 @@ paths: - color - default examples: - default: &588 + default: &590 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83063,9 +83638,9 @@ paths: default: false headers: Link: *40 - '301': *397 + '301': *399 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83082,9 +83657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: false content: @@ -83143,12 +83718,12 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: - default: *588 - '301': *397 + default: *590 + '301': *399 '404': *6 - '410': *394 + '410': *396 '422': *15 x-github: githubCloudOnly: false @@ -83165,9 +83740,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: false content: @@ -83227,12 +83802,12 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: - default: *588 - '301': *397 + default: *590 + '301': *399 '404': *6 - '410': *394 + '410': *396 '422': *15 x-github: githubCloudOnly: false @@ -83249,15 +83824,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 responses: '204': description: Response - '301': *397 + '301': *399 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83276,9 +83851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - name: name in: path required: true @@ -83291,7 +83866,7 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: default: value: @@ -83302,9 +83877,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *397 + '301': *399 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83324,9 +83899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: false content: @@ -83354,7 +83929,7 @@ paths: '204': description: Response '403': *29 - '410': *394 + '410': *396 '404': *6 '422': *15 x-github: @@ -83372,9 +83947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 responses: '204': description: Response @@ -83396,9 +83971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -83424,13 +83999,13 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83448,9 +84023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: true content: @@ -83482,16 +84057,16 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '201': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -83513,10 +84088,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *383 - - *384 - - *585 - - *375 + - *385 + - *386 + - *587 + - *377 responses: '204': description: Response @@ -83545,9 +84120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: true content: @@ -83569,9 +84144,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 + default: *586 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -83604,9 +84179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - *17 - *19 responses: @@ -83616,13 +84191,13 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: *589 + default: *591 headers: Link: *40 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83650,9 +84225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: true content: @@ -83679,16 +84254,16 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 + default: *586 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *394 + '410': *396 '422': *15 '404': *6 x-github: @@ -83708,9 +84283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: true content: @@ -83741,13 +84316,13 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 + default: *586 '403': *29 '404': *6 '422': *7 - '503': *134 + '503': *137 x-github: triggersNotification: true githubCloudOnly: false @@ -83765,9 +84340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - *17 - *19 responses: @@ -83782,8 +84357,6 @@ paths: description: Timeline Event type: object anyOf: - - *590 - - *591 - *592 - *593 - *594 @@ -83795,6 +84368,8 @@ paths: - *600 - *601 - *602 + - *603 + - *604 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83837,7 +84412,7 @@ paths: issue_url: type: string format: uri - author_association: *144 + author_association: *147 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -83847,9 +84422,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 - reactions: *145 + properties: *145 + required: *146 + reactions: *148 required: - event - actor @@ -83880,7 +84455,7 @@ paths: properties: type: type: string - issue: *157 + issue: *160 required: - event - created_at @@ -84076,7 +84651,7 @@ paths: type: string body_text: type: string - author_association: *144 + author_association: *147 required: - event - id @@ -84099,7 +84674,7 @@ paths: type: string comments: type: array - items: &623 + items: &625 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -84188,7 +84763,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *144 + author_association: *147 _links: type: object properties: @@ -84272,7 +84847,7 @@ paths: enum: - line - file - reactions: *145 + reactions: *148 body_html: type: string example: '"

comment body

"' @@ -84308,7 +84883,7 @@ paths: type: string comments: type: array - items: *503 + items: *505 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -84339,8 +84914,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 assignee: *4 required: - id @@ -84383,8 +84958,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 assignee: *4 required: - id @@ -84427,8 +85002,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 state_reason: type: string nullable: true @@ -84597,7 +85172,7 @@ paths: headers: Link: *40 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84614,8 +85189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -84625,7 +85200,7 @@ paths: application/json: schema: type: array - items: &603 + items: &605 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -84690,8 +85265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -84727,9 +85302,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: - default: &604 + default: &606 value: id: 1 key: ssh-rsa AAA... @@ -84763,9 +85338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *383 - - *384 - - &605 + - *385 + - *386 + - &607 name: key_id description: The unique identifier of the key. in: path @@ -84777,9 +85352,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: - default: *604 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -84797,9 +85372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *383 - - *384 - - *605 + - *385 + - *386 + - *607 responses: '204': description: Response @@ -84819,8 +85394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -84830,9 +85405,9 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: - default: *588 + default: *590 headers: Link: *40 '404': *6 @@ -84853,8 +85428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -84890,9 +85465,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: &606 + default: &608 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84924,8 +85499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *383 - - *384 + - *385 + - *386 - name: name in: path required: true @@ -84936,9 +85511,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *606 + default: *608 '404': *6 x-github: githubCloudOnly: false @@ -84955,8 +85530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *383 - - *384 + - *385 + - *386 - name: name in: path required: true @@ -84995,7 +85570,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: default: value: @@ -85021,8 +85596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *383 - - *384 + - *385 + - *386 - name: name in: path required: true @@ -85048,8 +85623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -85085,8 +85660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '202': *39 '403': @@ -85114,8 +85689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -85141,9 +85716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *383 - - *384 - - *479 + - *385 + - *386 + - *481 responses: '200': description: Response @@ -85205,8 +85780,8 @@ paths: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 nullable: true required: - _links @@ -85288,8 +85863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -85354,8 +85929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -85389,9 +85964,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *504 + schema: *506 examples: - default: *607 + default: *609 '204': description: Response when already merged '404': @@ -85416,8 +85991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *383 - - *384 + - *385 + - *386 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -85458,12 +86033,12 @@ paths: application/json: schema: type: array - items: &608 + items: &610 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *508 - required: *509 + properties: *510 + required: *511 examples: default: value: @@ -85519,8 +86094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -85560,9 +86135,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: &609 + default: &611 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -85621,9 +86196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *383 - - *384 - - &610 + - *385 + - *386 + - &612 name: milestone_number description: The number that identifies the milestone. in: path @@ -85635,9 +86210,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *609 + default: *611 '404': *6 x-github: githubCloudOnly: false @@ -85654,9 +86229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *383 - - *384 - - *610 + - *385 + - *386 + - *612 requestBody: required: false content: @@ -85694,9 +86269,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *609 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85712,9 +86287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *383 - - *384 - - *610 + - *385 + - *386 + - *612 responses: '204': description: Response @@ -85735,9 +86310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *383 - - *384 - - *610 + - *385 + - *386 + - *612 - *17 - *19 responses: @@ -85747,9 +86322,9 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: - default: *588 + default: *590 headers: Link: *40 x-github: @@ -85768,12 +86343,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *383 - - *384 - - *611 - - *612 - - *147 + - *385 + - *386 - *613 + - *614 + - *150 + - *615 - *17 - *19 responses: @@ -85783,9 +86358,9 @@ paths: application/json: schema: type: array - items: *170 + items: *173 examples: - default: *614 + default: *616 headers: Link: *40 x-github: @@ -85809,8 +86384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: false content: @@ -85868,14 +86443,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: &615 + schema: &617 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -86000,7 +86575,7 @@ paths: - custom_404 - public examples: - default: &616 + default: &618 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -86041,8 +86616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -86096,11 +86671,11 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: *616 + default: *618 '422': *15 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86121,8 +86696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -86208,7 +86783,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86229,14 +86804,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response '422': *15 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86256,8 +86831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -86267,7 +86842,7 @@ paths: application/json: schema: type: array - items: &617 + items: &619 title: Page Build description: Page Build type: object @@ -86361,8 +86936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *383 - - *384 + - *385 + - *386 responses: '201': description: Response @@ -86407,16 +86982,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *617 + schema: *619 examples: - default: &618 + default: &620 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -86464,8 +87039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *383 - - *384 + - *385 + - *386 - name: build_id in: path required: true @@ -86476,9 +87051,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *619 examples: - default: *618 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86498,8 +87073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -86604,9 +87179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *383 - - *384 - - &619 + - *385 + - *386 + - &621 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -86664,11 +87239,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *383 - - *384 - - *619 + - *385 + - *386 + - *621 responses: - '204': *120 + '204': *123 '404': *6 x-github: githubCloudOnly: false @@ -86693,8 +87268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -86925,7 +87500,7 @@ paths: description: Empty response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -86952,8 +87527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Private vulnerability reporting status @@ -86990,10 +87565,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: - '204': *120 + '204': *123 '422': *14 x-github: githubCloudOnly: false @@ -87012,10 +87587,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: - '204': *120 + '204': *123 '422': *14 x-github: githubCloudOnly: false @@ -87036,8 +87611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *383 - - *384 + - *385 + - *386 - name: state description: Indicates the state of the projects to return. in: query @@ -87058,7 +87633,7 @@ paths: application/json: schema: type: array - items: *327 + items: *329 examples: default: value: @@ -87098,7 +87673,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *394 + '410': *396 '422': *7 x-github: githubCloudOnly: false @@ -87121,8 +87696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -87148,13 +87723,13 @@ paths: description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: *393 + default: *395 '401': *25 '403': *29 '404': *6 - '410': *394 + '410': *396 '422': *7 x-github: githubCloudOnly: false @@ -87177,8 +87752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -87186,7 +87761,7 @@ paths: application/json: schema: type: array - items: *329 + items: *331 examples: default: value: @@ -87217,8 +87792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -87230,7 +87805,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *329 + items: *331 required: - properties examples: @@ -87280,8 +87855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *383 - - *384 + - *385 + - *386 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -87341,9 +87916,9 @@ paths: application/json: schema: type: array - items: *620 + items: *622 examples: - default: *621 + default: *623 headers: Link: *40 '304': *37 @@ -87375,8 +87950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -87441,7 +88016,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &627 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -87552,8 +88127,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *508 - required: *509 + properties: *510 + required: *511 nullable: true active_lock_reason: type: string @@ -87598,7 +88173,7 @@ paths: nullable: true requested_teams: type: array - items: *350 + items: *352 nullable: true head: type: object @@ -87637,14 +88212,14 @@ paths: _links: type: object properties: - comments: *510 - commits: *510 - statuses: *510 - html: *510 - issue: *510 - review_comments: *510 - review_comment: *510 - self: *510 + comments: *512 + commits: *512 + statuses: *512 + html: *512 + issue: *512 + review_comments: *512 + review_comment: *512 + self: *512 required: - comments - commits @@ -87654,8 +88229,8 @@ paths: - review_comments - review_comment - self - author_association: *144 - auto_merge: *622 + author_association: *147 + auto_merge: *624 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -87747,7 +88322,7 @@ paths: - merged_by - review_comments examples: - default: &626 + default: &628 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -88274,8 +88849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - name: sort in: query required: false @@ -88294,7 +88869,7 @@ paths: enum: - asc - desc - - *147 + - *150 - *17 - *19 responses: @@ -88304,9 +88879,9 @@ paths: application/json: schema: type: array - items: *623 + items: *625 examples: - default: &628 + default: &630 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88383,17 +88958,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 responses: '200': description: Response content: application/json: - schema: *623 + schema: *625 examples: - default: &624 + default: &626 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88468,9 +89043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 requestBody: required: true content: @@ -88492,9 +89067,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: - default: *624 + default: *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88510,9 +89085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 responses: '204': description: Response @@ -88533,9 +89108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -88561,9 +89136,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 '404': *6 @@ -88584,9 +89159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 requestBody: required: true content: @@ -88618,16 +89193,16 @@ paths: description: Reaction exists content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '201': description: Reaction created content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -88649,10 +89224,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *383 - - *384 - - *156 - - *375 + - *385 + - *386 + - *159 + - *377 responses: '204': description: Response @@ -88695,9 +89270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *383 - - *384 - - &627 + - *385 + - *386 + - &629 name: pull_number description: The number that identifies the pull request. in: path @@ -88710,9 +89285,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *625 + schema: *627 examples: - default: *626 + default: *628 '304': *37 '404': *6 '406': @@ -88720,8 +89295,8 @@ paths: content: application/json: schema: *3 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88747,9 +89322,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: false content: @@ -88791,9 +89366,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: *626 + default: *628 '422': *15 '403': *29 x-github: @@ -88815,9 +89390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: true content: @@ -88877,21 +89452,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '401': *25 '403': *29 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88917,10 +89492,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *383 - - *384 - - *627 - - *167 + - *385 + - *386 + - *629 + - *170 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -88930,7 +89505,7 @@ paths: enum: - asc - desc - - *147 + - *150 - *17 - *19 responses: @@ -88940,9 +89515,9 @@ paths: application/json: schema: type: array - items: *623 + items: *625 examples: - default: *628 + default: *630 headers: Link: *40 x-github: @@ -88975,9 +89550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: true content: @@ -89082,7 +89657,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: example-for-a-multi-line-comment: value: @@ -89170,10 +89745,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *383 - - *384 - - *627 - - *156 + - *385 + - *386 + - *629 + - *159 requestBody: required: true content: @@ -89195,7 +89770,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: default: value: @@ -89281,9 +89856,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 - *17 - *19 responses: @@ -89293,9 +89868,9 @@ paths: application/json: schema: type: array - items: *504 + items: *506 examples: - default: *629 + default: *631 headers: Link: *40 x-github: @@ -89325,9 +89900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 - *17 - *19 responses: @@ -89337,7 +89912,7 @@ paths: application/json: schema: type: array - items: *519 + items: *521 examples: default: value: @@ -89355,8 +89930,8 @@ paths: headers: Link: *40 '422': *15 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89375,9 +89950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 responses: '204': description: Response if pull request has been merged @@ -89400,9 +89975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: false content: @@ -89513,9 +90088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 responses: '200': description: Response @@ -89531,7 +90106,7 @@ paths: items: *4 teams: type: array - items: *233 + items: *235 required: - users - teams @@ -89590,9 +90165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: false content: @@ -89629,7 +90204,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: default: value: @@ -90165,9 +90740,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: true content: @@ -90201,7 +90776,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: default: value: @@ -90706,9 +91281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 - *17 - *19 responses: @@ -90718,7 +91293,7 @@ paths: application/json: schema: type: array - items: &630 + items: &632 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90787,7 +91362,7 @@ paths: type: string body_text: type: string - author_association: *144 + author_association: *147 required: - id - node_id @@ -90869,9 +91444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: false content: @@ -90957,9 +91532,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: - default: &632 + default: &634 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -91022,10 +91597,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *383 - - *384 - - *627 - - &631 + - *385 + - *386 + - *629 + - &633 name: review_id description: The unique identifier of the review. in: path @@ -91037,9 +91612,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: - default: &633 + default: &635 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -91098,10 +91673,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *383 - - *384 - - *627 - - *631 + - *385 + - *386 + - *629 + - *633 requestBody: required: true content: @@ -91124,7 +91699,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: default: value: @@ -91186,18 +91761,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *383 - - *384 - - *627 - - *631 + - *385 + - *386 + - *629 + - *633 responses: '200': description: Response content: application/json: - schema: *630 + schema: *632 examples: - default: *632 + default: *634 '422': *7 '404': *6 x-github: @@ -91224,10 +91799,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *383 - - *384 - - *627 - - *631 + - *385 + - *386 + - *629 + - *633 - *17 - *19 responses: @@ -91306,13 +91881,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *144 + author_association: *147 _links: type: object properties: - self: *510 - html: *510 - pull_request: *510 + self: *512 + html: *512 + pull_request: *512 required: - self - html @@ -91321,7 +91896,7 @@ paths: type: string body_html: type: string - reactions: *145 + reactions: *148 side: description: The side of the first line of the range for a multi-line comment. @@ -91462,10 +92037,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *383 - - *384 - - *627 - - *631 + - *385 + - *386 + - *629 + - *633 requestBody: required: true content: @@ -91493,7 +92068,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: default: value: @@ -91556,10 +92131,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *383 - - *384 - - *627 - - *631 + - *385 + - *386 + - *629 + - *633 requestBody: required: true content: @@ -91594,9 +92169,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: - default: *633 + default: *635 '404': *6 '422': *7 '403': *29 @@ -91618,9 +92193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: false content: @@ -91683,8 +92258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *383 - - *384 + - *385 + - *386 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -91697,9 +92272,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: &635 + default: &637 value: type: file encoding: base64 @@ -91741,8 +92316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *383 - - *384 + - *385 + - *386 - name: dir description: The alternate path to look for a README file in: path @@ -91762,9 +92337,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: *635 + default: *637 '404': *6 '422': *15 x-github: @@ -91786,8 +92361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -91797,7 +92372,7 @@ paths: application/json: schema: type: array - items: &636 + items: &638 title: Release description: A release. type: object @@ -91860,7 +92435,7 @@ paths: author: *4 assets: type: array - items: &637 + items: &639 title: Release Asset description: Data related to a release. type: object @@ -91935,7 +92510,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *145 + reactions: *148 required: - assets_url - upload_url @@ -92046,8 +92621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -92123,9 +92698,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: &640 + default: &642 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -92229,9 +92804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *383 - - *384 - - &638 + - *385 + - *386 + - &640 name: asset_id description: The unique identifier of the asset. in: path @@ -92243,9 +92818,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *639 examples: - default: &639 + default: &641 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -92280,7 +92855,7 @@ paths: type: User site_admin: false '404': *6 - '302': *521 + '302': *523 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92296,9 +92871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *383 - - *384 - - *638 + - *385 + - *386 + - *640 requestBody: required: false content: @@ -92326,9 +92901,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *639 examples: - default: *639 + default: *641 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92344,9 +92919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *383 - - *384 - - *638 + - *385 + - *386 + - *640 responses: '204': description: Response @@ -92370,8 +92945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -92456,16 +93031,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: *640 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92482,8 +93057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *383 - - *384 + - *385 + - *386 - name: tag description: tag parameter in: path @@ -92496,9 +93071,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: *640 + default: *642 '404': *6 x-github: githubCloudOnly: false @@ -92520,9 +93095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *383 - - *384 - - &641 + - *385 + - *386 + - &643 name: release_id description: The unique identifier of the release. in: path @@ -92536,9 +93111,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *636 + schema: *638 examples: - default: *640 + default: *642 '401': description: Unauthorized x-github: @@ -92556,9 +93131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *383 - - *384 - - *641 + - *385 + - *386 + - *643 requestBody: required: false content: @@ -92622,9 +93197,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: *640 + default: *642 '404': description: Not Found if the discussion category name is invalid content: @@ -92645,9 +93220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *383 - - *384 - - *641 + - *385 + - *386 + - *643 responses: '204': description: Response @@ -92667,9 +93242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *383 - - *384 - - *641 + - *385 + - *386 + - *643 - *17 - *19 responses: @@ -92679,7 +93254,7 @@ paths: application/json: schema: type: array - items: *637 + items: *639 examples: default: value: @@ -92761,9 +93336,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *383 - - *384 - - *641 + - *385 + - *386 + - *643 - name: name in: query required: true @@ -92789,7 +93364,7 @@ paths: description: Response for successful upload content: application/json: - schema: *637 + schema: *639 examples: response-for-successful-upload: value: @@ -92844,9 +93419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *383 - - *384 - - *641 + - *385 + - *386 + - *643 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -92870,9 +93445,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 '404': *6 @@ -92893,9 +93468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *383 - - *384 - - *641 + - *385 + - *386 + - *643 requestBody: required: true content: @@ -92925,16 +93500,16 @@ paths: description: Reaction exists content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '201': description: Reaction created content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -92956,10 +93531,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *383 - - *384 - - *641 - - *375 + - *385 + - *386 + - *643 + - *377 responses: '204': description: Response @@ -92983,9 +93558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 - *17 - *19 responses: @@ -93001,8 +93576,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *642 - - &644 + - *644 + - &646 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -93021,66 +93596,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *643 - - *644 - allOf: - *645 - - *644 - - allOf: - *646 - - *644 - allOf: - *647 - - *644 + - *646 - allOf: - *648 - - *644 + - *646 - allOf: - *649 - - *644 + - *646 - allOf: - *650 - - *644 + - *646 - allOf: - *651 - - *644 + - *646 - allOf: - *652 - - *644 + - *646 - allOf: - *653 - - *644 + - *646 - allOf: - *654 - - *644 + - *646 - allOf: - *655 - - *644 + - *646 - allOf: - *656 - - *644 + - *646 - allOf: - *657 - - *644 + - *646 - allOf: - *658 - - *644 + - *646 - allOf: - *659 - - *644 + - *646 - allOf: - *660 - - *644 + - *646 - allOf: - *661 - - *644 + - *646 - allOf: - *662 - - *644 + - *646 - allOf: - *663 - - *644 + - *646 + - allOf: + - *664 + - *646 + - allOf: + - *665 + - *646 examples: default: value: @@ -93119,8 +93694,8 @@ paths: category: repos subcategory: rules parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 - name: includes_parents @@ -93131,7 +93706,7 @@ paths: schema: type: boolean default: true - - *664 + - *666 responses: '200': description: Response @@ -93139,7 +93714,7 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: default: value: @@ -93170,7 +93745,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *85 + '500': *88 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -93186,8 +93761,8 @@ paths: category: repos subcategory: rules parameters: - - *383 - - *384 + - *385 + - *386 requestBody: description: Request body required: true @@ -93207,16 +93782,16 @@ paths: - tag - push default: branch - enforcement: *127 + enforcement: *130 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *128 - conditions: *123 + items: *131 + conditions: *126 rules: type: array description: An array of rules within the ruleset. - items: *129 + items: *132 required: - name - enforcement @@ -93247,9 +93822,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: &673 + default: &675 value: id: 42 name: super cool ruleset @@ -93282,7 +93857,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -93296,12 +93871,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *383 - - *384 - - *665 - - *227 - - *666 + - *385 + - *386 - *667 + - *229 + - *668 + - *669 - *17 - *19 responses: @@ -93309,11 +93884,11 @@ paths: description: Response content: application/json: - schema: *668 + schema: *670 examples: - default: *669 + default: *671 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93332,19 +93907,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *383 - - *384 - - *670 + - *385 + - *386 + - *672 responses: '200': description: Response content: application/json: - schema: *671 + schema: *673 examples: - default: *672 + default: *674 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93370,8 +93945,8 @@ paths: category: repos subcategory: rules parameters: - - *383 - - *384 + - *385 + - *386 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93391,11 +93966,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: *673 + default: *675 '404': *6 - '500': *85 + '500': *88 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -93411,8 +93986,8 @@ paths: category: repos subcategory: rules parameters: - - *383 - - *384 + - *385 + - *386 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93437,16 +94012,16 @@ paths: - branch - tag - push - enforcement: *127 + enforcement: *130 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *128 - conditions: *123 + items: *131 + conditions: *126 rules: description: An array of rules within the ruleset. type: array - items: *129 + items: *132 examples: default: value: @@ -93474,11 +94049,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: *673 + default: *675 '404': *6 - '500': *85 + '500': *88 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -93494,8 +94069,8 @@ paths: category: repos subcategory: rules parameters: - - *383 - - *384 + - *385 + - *386 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93506,7 +94081,7 @@ paths: '204': description: Response '404': *6 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -93518,8 +94093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 - name: ruleset_id @@ -93535,11 +94110,11 @@ paths: application/json: schema: type: array - items: *133 + items: *136 examples: - default: *337 + default: *339 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93556,8 +94131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *383 - - *384 + - *385 + - *386 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93575,7 +94150,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *340 examples: default: value: @@ -93608,7 +94183,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93630,21 +94205,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *383 - - *384 - - *339 - - *340 + - *385 + - *386 - *341 - *342 - - *88 - - *19 - - *17 - - *674 - - *675 - *343 - *344 + - *91 + - *19 + - *17 + - *676 + - *677 - *345 - *346 + - *347 + - *348 responses: '200': description: Response @@ -93652,11 +94227,11 @@ paths: application/json: schema: type: array - items: &679 + items: &681 type: object properties: - number: *100 - created_at: *107 + number: *103 + created_at: *110 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -93664,15 +94239,15 @@ paths: format: date-time readOnly: true nullable: true - url: *105 - html_url: *106 + url: *108 + html_url: *109 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *676 - resolution: *677 + state: *678 + resolution: *679 resolved_at: type: string format: date-time @@ -93768,7 +94343,7 @@ paths: pull request. ' - oneOf: *678 + oneOf: *680 nullable: true has_more_locations: type: boolean @@ -93896,7 +94471,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93918,16 +94493,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *383 - - *384 - - *473 - - *346 + - *385 + - *386 + - *475 + - *348 responses: '200': description: Response content: application/json: - schema: *679 + schema: *681 examples: default: value: @@ -93958,7 +94533,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93979,9 +94554,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 requestBody: required: true content: @@ -93989,8 +94564,8 @@ paths: schema: type: object properties: - state: *676 - resolution: *677 + state: *678 + resolution: *679 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -94008,7 +94583,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *681 examples: default: value: @@ -94061,7 +94636,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -94083,9 +94658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 - *19 - *17 responses: @@ -94096,7 +94671,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &855 + items: &857 type: object properties: type: @@ -94122,8 +94697,6 @@ paths: example: commit details: oneOf: - - *680 - - *681 - *682 - *683 - *684 @@ -94135,6 +94708,8 @@ paths: - *690 - *691 - *692 + - *693 + - *694 examples: default: value: @@ -94198,7 +94773,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94220,8 +94795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -94229,14 +94804,14 @@ paths: schema: type: object properties: - reason: &694 + reason: &696 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *693 + placeholder_id: *695 required: - reason - placeholder_id @@ -94253,7 +94828,7 @@ paths: schema: type: object properties: - reason: *694 + reason: *696 expire_at: type: string format: date-time @@ -94276,7 +94851,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -94296,13 +94871,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *134 + '503': *137 '200': description: Response content: @@ -94312,7 +94887,7 @@ paths: properties: incremental_scans: type: array - items: &695 + items: &697 description: Information on a single scan performed by secret scanning on the repository type: object @@ -94338,15 +94913,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *695 + items: *697 backfill_scans: type: array - items: *695 + items: *697 custom_pattern_backfill_scans: type: array items: allOf: - - *695 + - *697 - type: object properties: pattern_name: @@ -94416,9 +94991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *383 - - *384 - - *88 + - *385 + - *386 + - *91 - name: sort description: The property to sort the results by. in: query @@ -94430,8 +95005,8 @@ paths: - updated - published default: created - - *86 - - *87 + - *89 + - *90 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -94461,9 +95036,9 @@ paths: application/json: schema: type: array - items: *696 + items: *698 examples: - default: *697 + default: *699 '400': *14 '404': *6 x-github: @@ -94486,8 +95061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -94560,7 +95135,7 @@ paths: login: type: string description: The username of the user credited. - type: *349 + type: *351 required: - login - type @@ -94647,9 +95222,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *698 examples: - default: &699 + default: &701 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -94882,8 +95457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -94987,7 +95562,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *698 examples: default: value: @@ -95134,17 +95709,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *383 - - *384 - - *698 + - *385 + - *386 + - *700 responses: '200': description: Response content: application/json: - schema: *696 + schema: *698 examples: - default: *699 + default: *701 '403': *29 '404': *6 x-github: @@ -95168,9 +95743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *383 - - *384 - - *698 + - *385 + - *386 + - *700 requestBody: required: true content: @@ -95243,7 +95818,7 @@ paths: login: type: string description: The username of the user credited. - type: *349 + type: *351 required: - login - type @@ -95329,17 +95904,17 @@ paths: description: Response content: application/json: - schema: *696 + schema: *698 examples: - default: *699 - add_credit: *699 + default: *701 + add_credit: *701 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *185 + schema: *187 examples: invalid_state_transition: value: @@ -95370,9 +95945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *383 - - *384 - - *698 + - *385 + - *386 + - *700 responses: '202': *39 '400': *14 @@ -95399,17 +95974,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *383 - - *384 - - *698 + - *385 + - *386 + - *700 responses: '202': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *398 + default: *400 '400': *14 '422': *15 '403': *29 @@ -95435,8 +96010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -95535,8 +96110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -95545,7 +96120,7 @@ paths: application/json: schema: type: array - items: &700 + items: &702 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95558,7 +96133,7 @@ paths: - 1124 - -435 '202': *39 - '204': *120 + '204': *123 '422': description: Repository contains more than 10,000 commits x-github: @@ -95578,8 +96153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -95628,7 +96203,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *120 + '204': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95655,8 +96230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -95730,7 +96305,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *120 + '204': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95752,8 +96327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -95907,8 +96482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -95918,7 +96493,7 @@ paths: application/json: schema: type: array - items: *700 + items: *702 examples: default: value: @@ -95931,7 +96506,7 @@ paths: - - 0 - 2 - 21 - '204': *120 + '204': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95951,8 +96526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *383 - - *384 + - *385 + - *386 - name: sha in: path required: true @@ -96006,7 +96581,7 @@ paths: description: Response content: application/json: - schema: *701 + schema: *703 examples: default: value: @@ -96060,8 +96635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -96073,7 +96648,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 x-github: @@ -96093,14 +96668,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &702 + schema: &704 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -96168,8 +96743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: false content: @@ -96195,7 +96770,7 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: default: value: @@ -96222,8 +96797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -96243,8 +96818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -96323,8 +96898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -96332,7 +96907,7 @@ paths: application/json: schema: type: array - items: &703 + items: &705 title: Tag protection description: Tag protection type: object @@ -96384,8 +96959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -96408,7 +96983,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *705 examples: default: value: @@ -96439,8 +97014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -96477,8 +97052,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *383 - - *384 + - *385 + - *386 - name: ref in: path required: true @@ -96514,8 +97089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -96525,9 +97100,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *310 + default: *312 headers: Link: *40 '404': *6 @@ -96547,8 +97122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *383 - - *384 + - *385 + - *386 - *19 - *17 responses: @@ -96556,7 +97131,7 @@ paths: description: Response content: application/json: - schema: &704 + schema: &706 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -96568,7 +97143,7 @@ paths: required: - names examples: - default: &705 + default: &707 value: names: - octocat @@ -96591,8 +97166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -96623,9 +97198,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *706 examples: - default: *705 + default: *707 '404': *6 '422': *7 x-github: @@ -96646,9 +97221,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *383 - - *384 - - &706 + - *385 + - *386 + - &708 name: per description: The time frame to display results for. in: query @@ -96677,7 +97252,7 @@ paths: example: 128 clones: type: array - items: &707 + items: &709 title: Traffic type: object properties: @@ -96764,8 +97339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -96855,8 +97430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -96916,9 +97491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *383 - - *384 - - *706 + - *385 + - *386 + - *708 responses: '200': description: Response @@ -96937,7 +97512,7 @@ paths: example: 3782 views: type: array - items: *707 + items: *709 required: - uniques - count @@ -97014,8 +97589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -97051,7 +97626,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -97289,8 +97864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -97313,8 +97888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -97336,8 +97911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -97363,8 +97938,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *383 - - *384 + - *385 + - *386 - name: ref in: path required: true @@ -97456,9 +98031,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *398 + default: *400 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -97499,7 +98074,7 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: default: value: @@ -97609,7 +98184,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &715 + - &717 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -97618,7 +98193,7 @@ paths: schema: type: string example: members - - &720 + - &722 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -97629,7 +98204,7 @@ paths: default: 1 format: int32 example: 1 - - &721 + - &723 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -97671,7 +98246,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &709 + items: &711 allOf: - type: object required: @@ -97746,7 +98321,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &722 + meta: &724 type: object description: The metadata associated with the creation/updates to the user. @@ -97806,31 +98381,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &710 + '400': &712 description: Bad request content: application/json: - schema: *708 + schema: *710 application/scim+json: - schema: *708 - '401': &711 + schema: *710 + '401': &713 description: Authorization failure - '403': &712 + '403': &714 description: Permission denied - '429': &713 + '429': &715 description: Too many requests content: application/json: - schema: *708 + schema: *710 application/scim+json: - schema: *708 - '500': &714 + schema: *710 + '500': &716 description: Internal server error content: application/json: - schema: *708 + schema: *710 application/scim+json: - schema: *708 + schema: *710 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97854,7 +98429,7 @@ paths: required: true content: application/json: - schema: &718 + schema: &720 type: object required: - schemas @@ -97910,9 +98485,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *709 + schema: *711 examples: - group: &716 + group: &718 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -97931,13 +98506,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *710 - '401': *711 - '403': *712 - '409': &719 + '400': *712 + '401': *713 + '403': *714 + '409': &721 description: Duplicate record detected - '429': *713 - '500': *714 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97954,7 +98529,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &717 + - &719 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -97962,22 +98537,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *715 + - *717 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *709 + schema: *711 examples: - default: *716 - '400': *710 - '401': *711 - '403': *712 + default: *718 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '429': *713 - '500': *714 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97996,13 +98571,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *717 + - *719 - *41 requestBody: required: true content: application/json: - schema: *718 + schema: *720 examples: group: summary: Group @@ -98028,17 +98603,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *709 + schema: *711 examples: - group: *716 - groupWithMembers: *716 - '400': *710 - '401': *711 - '403': *712 + group: *718 + groupWithMembers: *718 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '409': *719 - '429': *713 - '500': *714 + '409': *721 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98062,13 +98637,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *717 + - *719 - *41 requestBody: required: true content: application/json: - schema: &729 + schema: &731 type: object required: - Operations @@ -98128,17 +98703,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *709 + schema: *711 examples: - updateGroup: *716 - addMembers: *716 - '400': *710 - '401': *711 - '403': *712 + updateGroup: *718 + addMembers: *718 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '409': *719 - '429': *713 - '500': *714 + '409': *721 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98154,17 +98729,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *717 + - *719 - *41 responses: '204': description: Group was deleted, no content - '400': *710 - '401': *711 - '403': *712 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '429': *713 - '500': *714 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98198,8 +98773,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *720 - - *721 + - *722 + - *723 - *41 responses: '200': @@ -98232,7 +98807,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &724 + items: &726 allOf: - type: object required: @@ -98311,7 +98886,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &723 + roles: &725 type: array description: The roles assigned to the user. items: @@ -98367,7 +98942,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *722 + meta: *724 startIndex: type: integer description: A starting index for the returned page @@ -98404,11 +98979,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *710 - '401': *711 - '403': *712 - '429': *713 - '500': *714 + '400': *712 + '401': *713 + '403': *714 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98432,7 +99007,7 @@ paths: required: true content: application/json: - schema: &727 + schema: &729 type: object required: - schemas @@ -98514,9 +99089,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *723 + roles: *725 examples: - user: &728 + user: &730 summary: User value: schemas: @@ -98563,9 +99138,9 @@ paths: description: User has been created content: application/scim+json: - schema: *724 + schema: *726 examples: - user: &725 + user: &727 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98591,13 +99166,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *725 - '400': *710 - '401': *711 - '403': *712 - '409': *719 - '429': *713 - '500': *714 + enterpriseOwner: *727 + '400': *712 + '401': *713 + '403': *714 + '409': *721 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98614,7 +99189,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &726 + - &728 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -98627,15 +99202,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *724 + schema: *726 examples: - default: *725 - '400': *710 - '401': *711 - '403': *712 + default: *727 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '429': *713 - '500': *714 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98657,30 +99232,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *726 + - *728 - *41 requestBody: required: true content: application/json: - schema: *727 + schema: *729 examples: - user: *728 + user: *730 responses: '200': description: User was updated content: application/scim+json: - schema: *724 + schema: *726 examples: - user: *725 - '400': *710 - '401': *711 - '403': *712 + user: *727 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '409': *719 - '429': *713 - '500': *714 + '409': *721 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98715,13 +99290,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *726 + - *728 - *41 requestBody: required: true content: application/json: - schema: *729 + schema: *731 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -98761,18 +99336,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *724 + schema: *726 examples: - userMultiValuedProperties: *725 - userSingleValuedProperties: *725 - disableUser: *725 - '400': *710 - '401': *711 - '403': *712 + userMultiValuedProperties: *727 + userSingleValuedProperties: *727 + disableUser: *727 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '409': *719 - '429': *713 - '500': *714 + '409': *721 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98792,17 +99367,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *726 + - *728 - *41 responses: '204': description: User was deleted, no content - '400': *710 - '401': *711 - '403': *712 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '429': *713 - '500': *714 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98835,7 +99410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *174 + - *73 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -98889,7 +99464,7 @@ paths: example: 1 Resources: type: array - items: &730 + items: &732 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -99120,22 +99695,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &731 + '404': &733 description: Resource not found content: application/json: - schema: *708 + schema: *710 application/scim+json: - schema: *708 - '403': &732 + schema: *710 + '403': &734 description: Forbidden content: application/json: - schema: *708 + schema: *710 application/scim+json: - schema: *708 - '400': *710 - '429': *713 + schema: *710 + '400': *712 + '429': *715 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -99155,15 +99730,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *174 + - *73 responses: '201': description: Response content: application/scim+json: - schema: *730 + schema: *732 examples: - default: &733 + default: &735 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -99186,17 +99761,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *731 - '403': *732 - '500': *714 + '404': *733 + '403': *734 + '500': *716 '409': description: Conflict content: application/json: - schema: *708 + schema: *710 application/scim+json: - schema: *708 - '400': *710 + schema: *710 + '400': *712 requestBody: required: true content: @@ -99293,18 +99868,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *174 - - *726 + - *73 + - *728 responses: '200': description: Response content: application/scim+json: - schema: *730 + schema: *732 examples: - default: *733 - '404': *731 - '403': *732 + default: *735 + '404': *733 + '403': *734 '304': *37 x-github: githubCloudOnly: true @@ -99327,19 +99902,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *174 - - *726 + - *73 + - *728 responses: '200': description: Response content: application/scim+json: - schema: *730 + schema: *732 examples: - default: *733 + default: *735 '304': *37 - '404': *731 - '403': *732 + '404': *733 + '403': *734 requestBody: required: true content: @@ -99451,20 +100026,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *174 - - *726 + - *73 + - *728 responses: '200': description: Response content: application/scim+json: - schema: *730 + schema: *732 examples: - default: *733 + default: *735 '304': *37 - '404': *731 - '403': *732 - '400': *710 + '404': *733 + '403': *734 + '400': *712 '429': description: Response content: @@ -99554,13 +100129,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *174 - - *726 + - *73 + - *728 responses: '204': description: Response - '404': *731 - '403': *732 + '404': *733 + '403': *734 '304': *37 x-github: githubCloudOnly: true @@ -99675,7 +100250,7 @@ paths: html_url: type: string format: uri - repository: *202 + repository: *204 score: type: number file_size: @@ -99693,7 +100268,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &734 + text_matches: &736 title: Search Result Text Matches type: array items: @@ -99807,7 +100382,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *134 + '503': *137 '422': *15 '403': *29 x-github: @@ -99856,7 +100431,7 @@ paths: enum: - author-date - committer-date - - &735 + - &737 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -99927,7 +100502,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *440 + properties: *442 nullable: true comment_count: type: integer @@ -99947,7 +100522,7 @@ paths: url: type: string format: uri - verification: *565 + verification: *567 required: - author - committer @@ -99966,7 +100541,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *440 + properties: *442 nullable: true parents: type: array @@ -99979,12 +100554,12 @@ paths: type: string sha: type: string - repository: *202 + repository: *204 score: type: number node_id: type: string - text_matches: *734 + text_matches: *736 required: - sha - node_id @@ -100167,7 +100742,7 @@ paths: - interactions - created - updated - - *735 + - *737 - *17 - *19 - name: advanced_search @@ -100294,8 +100869,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *508 - required: *509 + properties: *510 + required: *511 nullable: true comments: type: integer @@ -100309,7 +100884,7 @@ paths: type: string format: date-time nullable: true - text_matches: *734 + text_matches: *736 pull_request: type: object properties: @@ -100342,7 +100917,7 @@ paths: type: string score: type: number - author_association: *144 + author_association: *147 draft: type: boolean repository: *64 @@ -100353,7 +100928,7 @@ paths: timeline_url: type: string format: uri - type: *293 + type: *295 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -100363,9 +100938,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 - reactions: *145 + properties: *145 + required: *146 + reactions: *148 required: - assignee - closed_at @@ -100481,7 +101056,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *134 + '503': *137 '422': *15 '304': *37 '403': *29 @@ -100537,7 +101112,7 @@ paths: enum: - created - updated - - *735 + - *737 - *17 - *19 responses: @@ -100581,7 +101156,7 @@ paths: nullable: true score: type: number - text_matches: *734 + text_matches: *736 required: - id - node_id @@ -100667,7 +101242,7 @@ paths: - forks - help-wanted-issues - updated - - *735 + - *737 - *17 - *19 responses: @@ -100886,8 +101461,8 @@ paths: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 nullable: true permissions: type: object @@ -100906,7 +101481,7 @@ paths: - admin - pull - push - text_matches: *734 + text_matches: *736 temp_clone_token: type: string allow_merge_commit: @@ -101108,7 +101683,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *134 + '503': *137 '422': *15 '304': *37 x-github: @@ -101207,7 +101782,7 @@ paths: type: string format: uri nullable: true - text_matches: *734 + text_matches: *736 related: type: array nullable: true @@ -101400,7 +101975,7 @@ paths: - followers - repositories - joined - - *735 + - *737 - *17 - *19 responses: @@ -101504,7 +102079,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *734 + text_matches: *736 blog: type: string nullable: true @@ -101563,7 +102138,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *134 + '503': *137 '422': *15 x-github: githubCloudOnly: false @@ -101583,7 +102158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &736 + - &738 name: team_id description: The unique identifier of the team. in: path @@ -101595,9 +102170,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '404': *6 x-github: githubCloudOnly: false @@ -101624,7 +102199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *736 + - *738 requestBody: required: true content: @@ -101687,16 +102262,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '201': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '404': *6 '422': *15 '403': *29 @@ -101724,7 +102299,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *736 + - *738 responses: '204': description: Response @@ -101755,8 +102330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *736 - - *88 + - *738 + - *91 - *17 - *19 responses: @@ -101766,9 +102341,9 @@ paths: application/json: schema: type: array - items: *366 + items: *368 examples: - default: *737 + default: *739 headers: Link: *40 x-github: @@ -101797,7 +102372,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *736 + - *738 requestBody: required: true content: @@ -101831,9 +102406,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: triggersNotification: true githubCloudOnly: false @@ -101860,16 +102435,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *736 - - *368 + - *738 + - *370 responses: '200': description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101894,8 +102469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *736 - - *368 + - *738 + - *370 requestBody: required: false content: @@ -101918,9 +102493,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *738 + default: *740 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101945,8 +102520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *736 - - *368 + - *738 + - *370 responses: '204': description: Response @@ -101975,9 +102550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *736 - - *368 - - *88 + - *738 + - *370 + - *91 - *17 - *19 responses: @@ -101987,9 +102562,9 @@ paths: application/json: schema: type: array - items: *369 + items: *371 examples: - default: *739 + default: *741 headers: Link: *40 x-github: @@ -102018,8 +102593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *736 - - *368 + - *738 + - *370 requestBody: required: true content: @@ -102041,9 +102616,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: *370 + default: *372 x-github: triggersNotification: true githubCloudOnly: false @@ -102070,17 +102645,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *736 - - *368 - - *371 + - *738 + - *370 + - *373 responses: '200': description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: *370 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102105,9 +102680,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *736 - - *368 - - *371 + - *738 + - *370 + - *373 requestBody: required: true content: @@ -102129,9 +102704,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: *740 + default: *742 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102156,9 +102731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *736 - - *368 - - *371 + - *738 + - *370 + - *373 responses: '204': description: Response @@ -102187,9 +102762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *736 - - *368 - - *371 + - *738 + - *370 + - *373 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -102215,9 +102790,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 x-github: @@ -102246,9 +102821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *736 - - *368 - - *371 + - *738 + - *370 + - *373 requestBody: required: true content: @@ -102280,9 +102855,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102308,8 +102883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *736 - - *368 + - *738 + - *370 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -102335,9 +102910,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 x-github: @@ -102366,8 +102941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *736 - - *368 + - *738 + - *370 requestBody: required: true content: @@ -102399,9 +102974,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102425,7 +103000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *736 + - *738 - *17 - *19 responses: @@ -102435,9 +103010,9 @@ paths: application/json: schema: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 headers: Link: *40 x-github: @@ -102463,7 +103038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *736 + - *738 - name: role description: Filters members returned by their role in the team. in: query @@ -102486,7 +103061,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 '404': *6 @@ -102514,8 +103089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *736 - - *224 + - *738 + - *226 responses: '204': description: if user is a member @@ -102551,8 +103126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *736 - - *224 + - *738 + - *226 responses: '204': description: Response @@ -102591,8 +103166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *736 - - *224 + - *738 + - *226 responses: '204': description: Response @@ -102628,16 +103203,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *736 - - *224 + - *738 + - *226 responses: '200': description: Response content: application/json: - schema: *380 + schema: *382 examples: - response-if-user-is-a-team-maintainer: *741 + response-if-user-is-a-team-maintainer: *743 '404': *6 x-github: githubCloudOnly: false @@ -102670,8 +103245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *736 - - *224 + - *738 + - *226 requestBody: required: false content: @@ -102696,9 +103271,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *382 examples: - response-if-users-membership-with-team-is-now-pending: *742 + response-if-users-membership-with-team-is-now-pending: *744 '403': description: Forbidden if team synchronization is set up '422': @@ -102732,8 +103307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *736 - - *224 + - *738 + - *226 responses: '204': description: Response @@ -102761,7 +103336,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *736 + - *738 - *17 - *19 responses: @@ -102771,9 +103346,9 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: - default: *743 + default: *745 headers: Link: *40 '404': *6 @@ -102799,16 +103374,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *736 - - *382 + - *738 + - *384 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *744 + default: *746 '404': description: Not Found if project is not managed by this team x-github: @@ -102832,8 +103407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *736 - - *382 + - *738 + - *384 requestBody: required: false content: @@ -102900,8 +103475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *736 - - *382 + - *738 + - *384 responses: '204': description: Response @@ -102928,7 +103503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *736 + - *738 - *17 - *19 responses: @@ -102938,9 +103513,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 '404': *6 @@ -102970,15 +103545,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *736 - - *383 - - *384 + - *738 + - *385 + - *386 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *745 + schema: *747 examples: alternative-response-with-extra-repository-information: value: @@ -103129,9 +103704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *736 - - *383 - - *384 + - *738 + - *385 + - *386 requestBody: required: false content: @@ -103181,9 +103756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *736 - - *383 - - *384 + - *738 + - *385 + - *386 responses: '204': description: Response @@ -103212,15 +103787,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *736 + - *738 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *386 + default: *388 '403': *29 '404': *6 x-github: @@ -103247,7 +103822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *736 + - *738 requestBody: required: true content: @@ -103304,7 +103879,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: default: value: @@ -103335,7 +103910,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *736 + - *738 - *17 - *19 responses: @@ -103345,9 +103920,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - response-if-child-teams-exist: *746 + response-if-child-teams-exist: *748 headers: Link: *40 '404': *6 @@ -103380,7 +103955,7 @@ paths: application/json: schema: oneOf: - - &748 + - &750 title: Private User description: Private User type: object @@ -103583,7 +104158,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *747 + - *749 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -103736,7 +104311,7 @@ paths: description: Response content: application/json: - schema: *748 + schema: *750 examples: default: value: @@ -103815,7 +104390,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 '304': *37 '404': *6 '403': *29 @@ -103838,7 +104413,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *224 + - *226 responses: '204': description: If the user is blocked @@ -103866,7 +104441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *224 + - *226 responses: '204': description: Response @@ -103890,7 +104465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *224 + - *226 responses: '204': description: Response @@ -103939,11 +104514,11 @@ paths: type: integer codespaces: type: array - items: *299 + items: *301 examples: - default: *300 + default: *302 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -104080,21 +104655,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '401': *25 '403': *29 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104134,7 +104709,7 @@ paths: type: integer secrets: type: array - items: &749 + items: &751 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -104174,7 +104749,7 @@ paths: - visibility - selected_repositories_url examples: - default: *496 + default: *498 headers: Link: *40 x-github: @@ -104244,13 +104819,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *212 + - *214 responses: '200': description: Response content: application/json: - schema: *749 + schema: *751 examples: default: value: @@ -104280,7 +104855,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *212 + - *214 requestBody: required: true content: @@ -104325,7 +104900,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -104353,7 +104928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *212 + - *214 responses: '204': description: Response @@ -104378,7 +104953,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *212 + - *214 responses: '200': description: Response @@ -104394,13 +104969,13 @@ paths: type: integer repositories: type: array - items: *202 + items: *204 examples: - default: *750 + default: *752 '401': *25 '403': *29 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104421,7 +104996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *212 + - *214 requestBody: required: true content: @@ -104453,7 +105028,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104475,7 +105050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *212 + - *214 - name: repository_id in: path required: true @@ -104487,7 +105062,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104508,7 +105083,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *212 + - *214 - name: repository_id in: path required: true @@ -104520,7 +105095,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104540,17 +105115,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *301 + - *303 responses: '200': description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -104574,7 +105149,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *301 + - *303 requestBody: required: false content: @@ -104604,9 +105179,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '401': *25 '403': *29 '404': *6 @@ -104628,11 +105203,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *301 + - *303 responses: '202': *39 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -104657,13 +105232,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *301 + - *303 responses: '202': description: Response content: application/json: - schema: &751 + schema: &753 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -104704,7 +105279,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &752 + default: &754 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -104712,7 +105287,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -104736,7 +105311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *301 + - *303 - name: export_id in: path required: true @@ -104749,9 +105324,9 @@ paths: description: Response content: application/json: - schema: *751 + schema: *753 examples: - default: *752 + default: *754 '404': *6 x-github: githubCloudOnly: false @@ -104772,7 +105347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *301 + - *303 responses: '200': description: Response @@ -104788,11 +105363,11 @@ paths: type: integer machines: type: array - items: *753 + items: *755 examples: - default: *754 + default: *756 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -104819,7 +105394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *301 + - *303 requestBody: required: true content: @@ -104869,13 +105444,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *396 + repository: *398 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *494 - required: *495 + properties: *496 + required: *497 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -105649,17 +106224,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *301 + - *303 responses: '200': description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '304': *37 - '500': *85 + '500': *88 '400': *14 '401': *25 '402': @@ -105669,7 +106244,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105689,16 +106264,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *301 + - *303 responses: '200': description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *493 - '500': *85 + default: *495 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -105727,9 +106302,9 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: - default: &767 + default: &769 value: - id: 197 name: hello_docker @@ -105830,7 +106405,7 @@ paths: application/json: schema: type: array - items: &755 + items: &757 title: Email description: Email type: object @@ -105895,9 +106470,9 @@ paths: application/json: schema: type: array - items: *755 + items: *757 examples: - default: &769 + default: &771 value: - email: octocat@github.com verified: true @@ -105972,7 +106547,7 @@ paths: application/json: schema: type: array - items: *755 + items: *757 examples: default: value: @@ -106082,7 +106657,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 '304': *37 @@ -106115,7 +106690,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 '304': *37 @@ -106137,7 +106712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *224 + - *226 responses: '204': description: if the person is followed by the authenticated user @@ -106167,7 +106742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *224 + - *226 responses: '204': description: Response @@ -106192,7 +106767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *224 + - *226 responses: '204': description: Response @@ -106228,7 +106803,7 @@ paths: application/json: schema: type: array - items: &756 + items: &758 title: GPG Key description: A unique encryption key type: object @@ -106359,7 +106934,7 @@ paths: - subkeys - revoked examples: - default: &783 + default: &785 value: - id: 3 name: Octocat's GPG Key @@ -106444,9 +107019,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *758 examples: - default: &757 + default: &759 value: id: 3 name: Octocat's GPG Key @@ -106503,7 +107078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &758 + - &760 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -106515,9 +107090,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *758 examples: - default: *757 + default: *759 '404': *6 '304': *37 '403': *29 @@ -106540,7 +107115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *758 + - *760 responses: '204': description: Response @@ -106731,7 +107306,7 @@ paths: type: array items: *64 examples: - default: *759 + default: *761 headers: Link: *40 '404': *6 @@ -106756,7 +107331,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *197 + - *199 responses: '204': description: Response @@ -106782,7 +107357,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *197 + - *199 responses: '204': description: Response @@ -106816,12 +107391,12 @@ paths: application/json: schema: anyOf: - - *288 + - *290 - type: object properties: {} additionalProperties: false examples: - default: *289 + default: *291 '204': description: Response when there are no restrictions x-github: @@ -106845,7 +107420,7 @@ paths: required: true content: application/json: - schema: *576 + schema: *578 examples: default: value: @@ -106856,7 +107431,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: default: value: @@ -106937,7 +107512,7 @@ paths: - closed - all default: open - - *296 + - *298 - name: sort description: What to sort results by. in: query @@ -106949,8 +107524,8 @@ paths: - updated - comments default: created - - *88 - - *147 + - *91 + - *150 - *17 - *19 responses: @@ -106960,9 +107535,9 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: *297 + default: *299 headers: Link: *40 '404': *6 @@ -106995,7 +107570,7 @@ paths: application/json: schema: type: array - items: &760 + items: &762 title: Key description: Key type: object @@ -107092,9 +107667,9 @@ paths: description: Response content: application/json: - schema: *760 + schema: *762 examples: - default: &761 + default: &763 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107127,15 +107702,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *605 + - *607 responses: '200': description: Response content: application/json: - schema: *760 + schema: *762 examples: - default: *761 + default: *763 '404': *6 '304': *37 '403': *29 @@ -107158,7 +107733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *605 + - *607 responses: '204': description: Response @@ -107191,7 +107766,7 @@ paths: application/json: schema: type: array - items: &762 + items: &764 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -107248,7 +107823,7 @@ paths: - id - type - login - plan: *161 + plan: *164 required: - billing_cycle - next_billing_date @@ -107259,7 +107834,7 @@ paths: - account - plan examples: - default: &763 + default: &765 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -107321,9 +107896,9 @@ paths: application/json: schema: type: array - items: *762 + items: *764 examples: - default: *763 + default: *765 headers: Link: *40 '304': *37 @@ -107363,7 +107938,7 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: default: value: @@ -107465,13 +108040,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -107529,7 +108104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *174 + - *73 requestBody: required: true content: @@ -107554,7 +108129,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -107622,7 +108197,7 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: default: value: @@ -107875,7 +108450,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -108055,7 +108630,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *305 + - *307 - name: exclude in: query required: false @@ -108068,7 +108643,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -108262,7 +108837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *305 + - *307 responses: '302': description: Response @@ -108288,7 +108863,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *305 + - *307 responses: '204': description: Response @@ -108317,8 +108892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *305 - - *764 + - *307 + - *766 responses: '204': description: Response @@ -108342,7 +108917,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *305 + - *307 - *17 - *19 responses: @@ -108352,9 +108927,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 '404': *6 @@ -108391,7 +108966,7 @@ paths: type: array items: *59 examples: - default: *765 + default: *767 headers: Link: *40 '304': *37 @@ -108433,7 +109008,7 @@ paths: - docker - nuget - container - - *766 + - *768 - *19 - *17 responses: @@ -108443,10 +109018,10 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: - default: *767 - '400': *768 + default: *769 + '400': *770 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108466,16 +109041,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *313 - - *314 + - *315 + - *316 responses: '200': description: Response content: application/json: - schema: *311 + schema: *313 examples: - default: &784 + default: &786 value: id: 40201 name: octo-name @@ -108588,8 +109163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *313 - - *314 + - *315 + - *316 responses: '204': description: Response @@ -108619,8 +109194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *313 - - *314 + - *315 + - *316 - name: token description: package token schema: @@ -108652,8 +109227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *313 - - *314 + - *315 + - *316 - *19 - *17 - name: state @@ -108673,7 +109248,7 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: default: value: @@ -108722,15 +109297,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *313 - - *314 + - *315 - *316 + - *318 responses: '200': description: Response content: application/json: - schema: *315 + schema: *317 examples: default: value: @@ -108766,9 +109341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *313 - - *314 + - *315 - *316 + - *318 responses: '204': description: Response @@ -108798,9 +109373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *313 - - *314 + - *315 - *316 + - *318 responses: '204': description: Response @@ -108856,7 +109431,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *329 examples: default: value: @@ -108928,9 +109503,9 @@ paths: application/json: schema: type: array - items: *755 + items: *757 examples: - default: *769 + default: *771 headers: Link: *40 '304': *37 @@ -109043,7 +109618,7 @@ paths: type: array items: *64 examples: - default: &776 + default: &778 summary: Default response value: - id: 1296269 @@ -109347,9 +109922,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *398 + default: *400 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -109387,9 +109962,9 @@ paths: application/json: schema: type: array - items: *578 + items: *580 examples: - default: *770 + default: *772 headers: Link: *40 '304': *37 @@ -109412,12 +109987,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *292 + - *294 responses: '204': description: Response '403': *29 - '409': *96 + '409': *99 '404': *6 '304': *37 x-github: @@ -109435,11 +110010,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *292 + - *294 responses: '204': description: Response - '409': *96 + '409': *99 '304': *37 '404': *6 '403': *29 @@ -109468,7 +110043,7 @@ paths: application/json: schema: type: array - items: &771 + items: &773 title: Social account description: Social media account type: object @@ -109483,7 +110058,7 @@ paths: - provider - url examples: - default: &772 + default: &774 value: - provider: twitter url: https://twitter.com/github @@ -109545,9 +110120,9 @@ paths: application/json: schema: type: array - items: *771 + items: *773 examples: - default: *772 + default: *774 '422': *15 '304': *37 '404': *6 @@ -109634,7 +110209,7 @@ paths: application/json: schema: type: array - items: &773 + items: &775 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -109654,7 +110229,7 @@ paths: - title - created_at examples: - default: &785 + default: &787 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109720,9 +110295,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *775 examples: - default: &774 + default: &776 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109753,7 +110328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &775 + - &777 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -109765,9 +110340,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *775 examples: - default: *774 + default: *776 '404': *6 '304': *37 '403': *29 @@ -109790,7 +110365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *775 + - *777 responses: '204': description: Response @@ -109819,7 +110394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &786 + - &788 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -109832,7 +110407,7 @@ paths: - created - updated default: created - - *88 + - *91 - *17 - *19 responses: @@ -109844,11 +110419,11 @@ paths: type: array items: *64 examples: - default-response: *776 + default-response: *778 application/vnd.github.v3.star+json: schema: type: array - items: &787 + items: &789 title: Starred Repository description: Starred Repository type: object @@ -110004,8 +110579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response if this repository is starred by you @@ -110033,8 +110608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -110058,8 +110633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -110092,9 +110667,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 '304': *37 @@ -110131,7 +110706,7 @@ paths: application/json: schema: type: array - items: *364 + items: *366 examples: default: value: @@ -110209,7 +110784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *163 + - *166 responses: '200': description: Response @@ -110217,10 +110792,10 @@ paths: application/json: schema: oneOf: - - *748 - - *747 + - *750 + - *749 examples: - default-response: &778 + default-response: &780 summary: Default response value: login: octocat @@ -110255,7 +110830,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &779 + response-with-git-hub-plan-information: &781 summary: Response with GitHub plan information value: login: octocat @@ -110315,7 +110890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *777 + - *779 - *17 responses: '200': @@ -110326,7 +110901,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: example: ; rel="next" @@ -110356,7 +110931,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *224 + - *226 responses: '200': description: Response @@ -110364,11 +110939,11 @@ paths: application/json: schema: oneOf: - - *748 - - *747 + - *750 + - *749 examples: - default-response: *778 - response-with-git-hub-plan-information: *779 + default-response: *780 + response-with-git-hub-plan-information: *781 '404': *6 x-github: githubCloudOnly: false @@ -110392,9 +110967,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *86 - - *87 - - *224 + - *89 + - *90 + - *226 requestBody: required: true content: @@ -110417,8 +110992,8 @@ paths: required: - subject_digests examples: - default: *780 - withPredicateType: *781 + default: *782 + withPredicateType: *783 responses: '200': description: Response @@ -110471,7 +111046,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *782 + default: *784 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110489,7 +111064,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *224 + - *226 requestBody: required: true content: @@ -110554,7 +111129,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *224 + - *226 - name: subject_digest description: Subject Digest in: path @@ -110585,7 +111160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *224 + - *226 - name: attestation_id description: Attestation ID in: path @@ -110621,9 +111196,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *86 - - *87 - - *224 + - *89 + - *90 + - *226 - name: subject_digest description: Subject Digest in: path @@ -110673,12 +111248,12 @@ paths: bundle_url: type: string examples: - default: *436 + default: *438 '201': description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -110704,7 +111279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *224 + - *226 responses: '200': description: Response @@ -110712,9 +111287,9 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: - default: *767 + default: *769 '403': *29 '401': *25 x-github: @@ -110737,7 +111312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -110747,7 +111322,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: value: @@ -110818,8 +111393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *224 - - *174 + - *226 + - *73 - *17 - *19 responses: @@ -110829,7 +111404,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: value: @@ -110908,7 +111483,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -110918,7 +111493,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: value: @@ -110985,7 +111560,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -110997,7 +111572,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 x-github: @@ -111016,7 +111591,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *224 + - *226 - *17 - *19 responses: @@ -111028,7 +111603,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 x-github: @@ -111047,7 +111622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *224 + - *226 - name: target_user in: path required: true @@ -111074,8 +111649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *224 - - *147 + - *226 + - *150 - *17 - *19 responses: @@ -111085,9 +111660,9 @@ paths: application/json: schema: type: array - items: *148 + items: *151 examples: - default: *149 + default: *152 headers: Link: *40 '422': *15 @@ -111108,7 +111683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -111118,9 +111693,9 @@ paths: application/json: schema: type: array - items: *756 + items: *758 examples: - default: *783 + default: *785 headers: Link: *40 x-github: @@ -111144,7 +111719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *224 + - *226 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -111216,7 +111791,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *224 + - *226 responses: '200': description: Response @@ -111224,7 +111799,7 @@ paths: application/json: schema: *22 examples: - default: *575 + default: *577 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111242,7 +111817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -111293,7 +111868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -111305,7 +111880,7 @@ paths: type: array items: *59 examples: - default: *765 + default: *767 headers: Link: *40 x-github: @@ -111344,8 +111919,8 @@ paths: - docker - nuget - container - - *766 - - *224 + - *768 + - *226 - *19 - *17 responses: @@ -111355,12 +111930,12 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: - default: *767 + default: *769 '403': *29 '401': *25 - '400': *768 + '400': *770 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111380,17 +111955,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *313 - - *314 - - *224 + - *315 + - *316 + - *226 responses: '200': description: Response content: application/json: - schema: *311 + schema: *313 examples: - default: *784 + default: *786 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111411,9 +111986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *313 - - *314 - - *224 + - *315 + - *316 + - *226 responses: '204': description: Response @@ -111445,9 +112020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *313 - - *314 - - *224 + - *315 + - *316 + - *226 - name: token description: package token schema: @@ -111479,9 +112054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *313 - - *314 - - *224 + - *315 + - *316 + - *226 responses: '200': description: Response @@ -111489,7 +112064,7 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: default: value: @@ -111547,16 +112122,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *313 - - *314 + - *315 - *316 - - *224 + - *318 + - *226 responses: '200': description: Response content: application/json: - schema: *315 + schema: *317 examples: default: value: @@ -111591,10 +112166,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *313 - - *314 - - *224 + - *315 - *316 + - *226 + - *318 responses: '204': description: Response @@ -111626,10 +112201,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *313 - - *314 - - *224 + - *315 - *316 + - *226 + - *318 responses: '204': description: Response @@ -111655,7 +112230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *224 + - *226 - name: state description: Indicates the state of the projects to return. in: query @@ -111676,7 +112251,7 @@ paths: application/json: schema: type: array - items: *327 + items: *329 examples: default: value: @@ -111738,7 +112313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -111748,7 +112323,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: value: @@ -111827,7 +112402,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -111837,7 +112412,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: value: @@ -111914,7 +112489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *224 + - *226 - name: type description: Limit results to repositories of the specified type. in: query @@ -111957,9 +112532,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 x-github: @@ -111983,15 +112558,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *224 + - *226 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112013,15 +112588,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *224 + - *226 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112043,15 +112618,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *224 + - *226 responses: '200': description: Response content: application/json: - schema: *358 + schema: *360 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112071,11 +112646,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *224 - - *177 - - *178 + - *226 - *179 - *180 + - *181 + - *182 responses: '200': description: Response when getting a billing usage report @@ -112145,8 +112720,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112164,7 +112739,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -112174,9 +112749,9 @@ paths: application/json: schema: type: array - items: *771 + items: *773 examples: - default: *772 + default: *774 headers: Link: *40 x-github: @@ -112196,7 +112771,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -112206,9 +112781,9 @@ paths: application/json: schema: type: array - items: *773 + items: *775 examples: - default: *785 + default: *787 headers: Link: *40 x-github: @@ -112232,9 +112807,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *224 - - *786 - - *88 + - *226 + - *788 + - *91 - *17 - *19 responses: @@ -112245,11 +112820,11 @@ paths: schema: anyOf: - type: array - items: *787 + items: *789 - type: array items: *64 examples: - default-response: *776 + default-response: *778 headers: Link: *40 x-github: @@ -112268,7 +112843,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -112278,9 +112853,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 x-github: @@ -112408,7 +112983,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &788 + enterprise: &790 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -112466,7 +113041,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &789 + installation: &791 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -112485,7 +113060,7 @@ x-webhooks: required: - id - node_id - organization: &790 + organization: &792 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -112545,13 +113120,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &791 + repository: &793 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &828 + properties: &830 id: description: Unique identifier of the repository example: 42 @@ -112571,8 +113146,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 nullable: true organization: title: Simple User @@ -113234,7 +113809,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &829 + required: &831 - archive_url - assignees_url - blobs_url @@ -113385,10 +113960,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -113464,11 +114039,11 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - rule: &792 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + rule: &794 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -113691,11 +114266,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - rule: *792 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + rule: *794 sender: *4 required: - action @@ -113878,11 +114453,11 @@ x-webhooks: - everyone required: - from - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - rule: *792 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + rule: *794 sender: *4 required: - action @@ -113953,7 +114528,7 @@ x-webhooks: required: true content: application/json: - schema: &795 + schema: &797 title: Exemption request cancellation event type: object properties: @@ -113961,11 +114536,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - exemption_request: &793 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + exemption_request: &795 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -114198,7 +114773,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &794 + items: &796 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -114306,7 +114881,7 @@ x-webhooks: required: true content: application/json: - schema: &796 + schema: &798 title: Exemption request completed event type: object properties: @@ -114314,11 +114889,11 @@ x-webhooks: type: string enum: - completed - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - exemption_request: *793 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + exemption_request: *795 sender: *4 required: - action @@ -114388,7 +114963,7 @@ x-webhooks: required: true content: application/json: - schema: &797 + schema: &799 title: Exemption request created event type: object properties: @@ -114396,11 +114971,11 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - exemption_request: *793 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + exemption_request: *795 sender: *4 required: - action @@ -114470,7 +115045,7 @@ x-webhooks: required: true content: application/json: - schema: &798 + schema: &800 title: Exemption response dismissed event type: object properties: @@ -114478,12 +115053,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - exemption_request: *793 - exemption_response: *794 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + exemption_request: *795 + exemption_response: *796 sender: *4 required: - action @@ -114555,7 +115130,7 @@ x-webhooks: required: true content: application/json: - schema: &799 + schema: &801 title: Exemption response submitted event type: object properties: @@ -114563,12 +115138,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - exemption_request: *793 - exemption_response: *794 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + exemption_request: *795 + exemption_response: *796 sender: *4 required: - action @@ -114641,7 +115216,7 @@ x-webhooks: required: true content: application/json: - schema: *795 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114708,7 +115283,7 @@ x-webhooks: required: true content: application/json: - schema: *796 + schema: *798 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114775,7 +115350,7 @@ x-webhooks: required: true content: application/json: - schema: *797 + schema: *799 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114842,7 +115417,7 @@ x-webhooks: required: true content: application/json: - schema: *798 + schema: *800 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114910,7 +115485,7 @@ x-webhooks: required: true content: application/json: - schema: *799 + schema: *801 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114988,7 +115563,7 @@ x-webhooks: type: string enum: - completed - check_run: &801 + check_run: &803 title: CheckRun description: A check performed on the code of a given code change type: object @@ -115041,8 +115616,8 @@ x-webhooks: type: string pull_requests: type: array - items: *455 - repository: *202 + items: *457 + repository: *204 status: example: completed type: string @@ -115079,7 +115654,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *800 + deployment: *802 details_url: example: https://example.com type: string @@ -115129,7 +115704,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *455 + items: *457 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -115164,9 +115739,9 @@ x-webhooks: - output - app - pull_requests - installation: *789 - organization: *790 - repository: *791 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - check_run @@ -115559,10 +116134,10 @@ x-webhooks: type: string enum: - created - check_run: *801 - installation: *789 - organization: *790 - repository: *791 + check_run: *803 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - check_run @@ -115958,10 +116533,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *801 - installation: *789 - organization: *790 - repository: *791 + check_run: *803 + installation: *791 + organization: *792 + repository: *793 requested_action: description: The action requested by the user. type: object @@ -116366,10 +116941,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *801 - installation: *789 - organization: *790 - repository: *791 + check_run: *803 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - check_run @@ -117346,10 +117921,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -118019,10 +118594,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -118686,10 +119261,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -118852,7 +119427,7 @@ x-webhooks: required: - login - id - dismissed_comment: *468 + dismissed_comment: *470 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -118997,20 +119572,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &802 + commit_oid: &804 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *788 - installation: *789 - organization: *790 - ref: &803 + enterprise: *790 + installation: *791 + organization: *792 + ref: &805 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *791 + repository: *793 sender: *4 required: - action @@ -119172,7 +119747,7 @@ x-webhooks: required: - login - id - dismissed_comment: *468 + dismissed_comment: *470 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -119402,12 +119977,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *802 - enterprise: *788 - installation: *789 - organization: *790 - ref: *803 - repository: *791 + commit_oid: *804 + enterprise: *790 + installation: *791 + organization: *792 + ref: *805 + repository: *793 sender: *4 required: - action @@ -119502,7 +120077,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *468 + dismissed_comment: *470 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119670,12 +120245,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *802 - enterprise: *788 - installation: *789 - organization: *790 - ref: *803 - repository: *791 + commit_oid: *804 + enterprise: *790 + installation: *791 + organization: *792 + ref: *805 + repository: *793 sender: *4 required: - action @@ -119838,7 +120413,7 @@ x-webhooks: required: - login - id - dismissed_comment: *468 + dismissed_comment: *470 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -120004,12 +120579,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *802 - enterprise: *788 - installation: *789 - organization: *790 - ref: *803 - repository: *791 + commit_oid: *804 + enterprise: *790 + installation: *791 + organization: *792 + ref: *805 + repository: *793 sender: *4 required: - action @@ -120106,7 +120681,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *468 + dismissed_comment: *470 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120274,16 +120849,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *791 + repository: *793 sender: *4 required: - action @@ -120377,7 +120952,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *468 + dismissed_comment: *470 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120517,12 +121092,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *802 - enterprise: *788 - installation: *789 - organization: *790 - ref: *803 - repository: *791 + commit_oid: *804 + enterprise: *790 + installation: *791 + organization: *792 + ref: *805 + repository: *793 sender: *4 required: - action @@ -120779,10 +121354,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -120862,18 +121437,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *790 - pusher_type: &804 + organization: *792 + pusher_type: &806 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &805 + ref: &807 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -120883,7 +121458,7 @@ x-webhooks: enum: - tag - branch - repository: *791 + repository: *793 sender: *4 required: - ref @@ -120965,10 +121540,10 @@ x-webhooks: type: string enum: - created - definition: *116 - enterprise: *788 - installation: *789 - organization: *790 + definition: *119 + enterprise: *790 + installation: *791 + organization: *792 sender: *4 required: - action @@ -121053,9 +121628,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 sender: *4 required: - action @@ -121132,10 +121707,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *116 - enterprise: *788 - installation: *789 - organization: *790 + definition: *119 + enterprise: *790 + installation: *791 + organization: *792 sender: *4 required: - action @@ -121212,10 +121787,10 @@ x-webhooks: type: string enum: - updated - definition: *116 - enterprise: *788 - installation: *789 - organization: *790 + definition: *119 + enterprise: *790 + installation: *791 + organization: *792 sender: *4 required: - action @@ -121292,19 +121867,19 @@ x-webhooks: type: string enum: - updated - enterprise: *788 - installation: *789 - repository: *791 - organization: *790 + enterprise: *790 + installation: *791 + repository: *793 + organization: *792 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *329 + items: *331 old_property_values: type: array description: The old custom property values for the repository. - items: *329 + items: *331 required: - action - repository @@ -121380,18 +121955,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *788 - installation: *789 - organization: *790 - pusher_type: *804 - ref: *805 + enterprise: *790 + installation: *791 + organization: *792 + pusher_type: *806 + ref: *807 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *791 + repository: *793 sender: *4 required: - ref @@ -121475,11 +122050,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -121563,11 +122138,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -121651,11 +122226,11 @@ x-webhooks: type: string enum: - created - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -121737,11 +122312,11 @@ x-webhooks: type: string enum: - dismissed - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -121823,11 +122398,11 @@ x-webhooks: type: string enum: - fixed - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -121910,11 +122485,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -121996,11 +122571,11 @@ x-webhooks: type: string enum: - reopened - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -122077,9 +122652,9 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - key: &806 + enterprise: *790 + installation: *791 + key: &808 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -122115,8 +122690,8 @@ x-webhooks: - verified - created_at - read_only - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -122193,11 +122768,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - key: *806 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + key: *808 + organization: *792 + repository: *793 sender: *4 required: - action @@ -122758,12 +123333,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - workflow: &810 + workflow: &812 title: Workflow type: object nullable: true @@ -123489,13 +124064,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *531 + deployment: *533 pull_requests: type: array - items: *625 - repository: *791 - organization: *790 - installation: *789 + items: *627 + repository: *793 + organization: *792 + installation: *791 sender: *4 responses: '200': @@ -123566,7 +124141,7 @@ x-webhooks: type: string enum: - approved - approver: &807 + approver: &809 type: object properties: avatar_url: @@ -123609,11 +124184,11 @@ x-webhooks: type: string comment: type: string - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - reviewers: &808 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + reviewers: &810 type: array items: type: object @@ -123692,7 +124267,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &809 + workflow_job_run: &811 type: object properties: conclusion: @@ -124423,18 +124998,18 @@ x-webhooks: type: string enum: - rejected - approver: *807 + approver: *809 comment: type: string - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - reviewers: *808 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + reviewers: *810 sender: *4 since: type: string - workflow_job_run: *809 + workflow_job_run: *811 workflow_job_runs: type: array items: @@ -125138,13 +125713,13 @@ x-webhooks: type: string enum: - requested - enterprise: *788 + enterprise: *790 environment: type: string - installation: *789 - organization: *790 - repository: *791 - requestor: &815 + installation: *791 + organization: *792 + repository: *793 + requestor: &817 title: User type: object nullable: true @@ -127043,12 +127618,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - workflow: *810 + workflow: *812 workflow_run: title: Deployment Workflow Run type: object @@ -127728,7 +128303,7 @@ x-webhooks: type: string enum: - answered - answer: &813 + answer: &815 type: object properties: author_association: @@ -127885,7 +128460,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &811 + discussion: &813 title: Discussion description: A Discussion in a repository. type: object @@ -128171,7 +128746,7 @@ x-webhooks: - id labels: type: array - items: *587 + items: *589 required: - repository_url - category @@ -128193,10 +128768,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -128323,11 +128898,11 @@ x-webhooks: - from required: - category - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -128410,11 +128985,11 @@ x-webhooks: type: string enum: - closed - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -128496,7 +129071,7 @@ x-webhooks: type: string enum: - created - comment: &812 + comment: &814 type: object properties: author_association: @@ -128653,11 +129228,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -128740,12 +129315,12 @@ x-webhooks: type: string enum: - deleted - comment: *812 - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + comment: *814 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -128840,12 +129415,12 @@ x-webhooks: - from required: - body - comment: *812 - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + comment: *814 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -128929,11 +129504,11 @@ x-webhooks: type: string enum: - created - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129015,11 +129590,11 @@ x-webhooks: type: string enum: - deleted - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129119,11 +129694,11 @@ x-webhooks: type: string required: - from - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129205,10 +129780,10 @@ x-webhooks: type: string enum: - labeled - discussion: *811 - enterprise: *788 - installation: *789 - label: &814 + discussion: *813 + enterprise: *790 + installation: *791 + label: &816 title: Label type: object properties: @@ -129240,8 +129815,8 @@ x-webhooks: - color - default - description - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129324,11 +129899,11 @@ x-webhooks: type: string enum: - locked - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129410,11 +129985,11 @@ x-webhooks: type: string enum: - pinned - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129496,11 +130071,11 @@ x-webhooks: type: string enum: - reopened - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129585,16 +130160,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *811 - new_repository: *791 + new_discussion: *813 + new_repository: *793 required: - new_discussion - new_repository - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129677,10 +130252,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *811 - old_answer: *813 - organization: *790 - repository: *791 + discussion: *813 + old_answer: *815 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129762,12 +130337,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *811 - enterprise: *788 - installation: *789 - label: *814 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129850,11 +130425,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129936,11 +130511,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -130009,7 +130584,7 @@ x-webhooks: required: true content: application/json: - schema: *797 + schema: *799 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130072,7 +130647,7 @@ x-webhooks: required: true content: application/json: - schema: *799 + schema: *801 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130138,7 +130713,7 @@ x-webhooks: required: true content: application/json: - schema: *795 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130204,7 +130779,7 @@ x-webhooks: required: true content: application/json: - schema: *796 + schema: *798 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130270,7 +130845,7 @@ x-webhooks: required: true content: application/json: - schema: *797 + schema: *799 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130336,7 +130911,7 @@ x-webhooks: required: true content: application/json: - schema: *798 + schema: *800 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130402,7 +130977,7 @@ x-webhooks: required: true content: application/json: - schema: *799 + schema: *801 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130469,7 +131044,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *788 + enterprise: *790 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -131129,9 +131704,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *789 - organization: *790 - repository: *791 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - forkee @@ -131277,9 +131852,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pages: description: The pages that were updated. type: array @@ -131316,7 +131891,7 @@ x-webhooks: - action - sha - html_url - repository: *791 + repository: *793 sender: *4 required: - pages @@ -131392,10 +131967,10 @@ x-webhooks: type: string enum: - created - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories: &816 + organization: *792 + repositories: &818 description: An array of repository objects that the installation can access. type: array @@ -131421,8 +131996,8 @@ x-webhooks: - name - full_name - private - repository: *791 - requester: *815 + repository: *793 + requester: *817 sender: *4 required: - action @@ -131497,11 +132072,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories: *816 - repository: *791 + organization: *792 + repositories: *818 + repository: *793 requester: nullable: true sender: *4 @@ -131577,11 +132152,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories: *816 - repository: *791 + organization: *792 + repositories: *818 + repository: *793 requester: nullable: true sender: *4 @@ -131657,10 +132232,10 @@ x-webhooks: type: string enum: - added - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories_added: &817 + organization: *792 + repositories_added: &819 description: An array of repository objects, which were added to the installation. type: array @@ -131706,15 +132281,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *791 - repository_selection: &818 + repository: *793 + repository_selection: &820 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *815 + requester: *817 sender: *4 required: - action @@ -131793,10 +132368,10 @@ x-webhooks: type: string enum: - removed - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories_added: *817 + organization: *792 + repositories_added: *819 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -131823,9 +132398,9 @@ x-webhooks: - name - full_name - private - repository: *791 - repository_selection: *818 - requester: *815 + repository: *793 + repository_selection: *820 + requester: *817 sender: *4 required: - action @@ -131904,11 +132479,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories: *816 - repository: *791 + organization: *792 + repositories: *818 + repository: *793 requester: nullable: true sender: *4 @@ -132087,10 +132662,10 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 target_type: type: string @@ -132169,11 +132744,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories: *816 - repository: *791 + organization: *792 + repositories: *818 + repository: *793 requester: nullable: true sender: *4 @@ -132297,8 +132872,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 reactions: title: Reactions type: object @@ -132425,8 +133000,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133249,7 +133824,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -133582,8 +134157,8 @@ x-webhooks: - state - locked - assignee - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -133663,7 +134238,7 @@ x-webhooks: type: string enum: - deleted - comment: &819 + comment: &821 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -133828,8 +134403,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134648,7 +135223,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -134983,8 +135558,8 @@ x-webhooks: - state - locked - assignee - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -135064,7 +135639,7 @@ x-webhooks: type: string enum: - edited - changes: &847 + changes: &849 description: The changes to the comment. type: object properties: @@ -135076,9 +135651,9 @@ x-webhooks: type: string required: - from - comment: *819 - enterprise: *788 - installation: *789 + comment: *821 + enterprise: *790 + installation: *791 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135900,7 +136475,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -136233,8 +136808,8 @@ x-webhooks: - state - locked - assignee - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -136316,10 +136891,10 @@ x-webhooks: type: string enum: - assigned - assignee: *815 - enterprise: *788 - installation: *789 - issue: &822 + assignee: *817 + enterprise: *790 + installation: *791 + issue: &824 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -137137,7 +137712,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -137238,8 +137813,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -137319,8 +137894,8 @@ x-webhooks: type: string enum: - closed - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138143,7 +138718,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -138379,8 +138954,8 @@ x-webhooks: required: - state - closed_at - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -138459,8 +139034,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139274,7 +139849,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -139374,8 +139949,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -139454,8 +140029,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140291,7 +140866,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -140370,7 +140945,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &820 + milestone: &822 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140508,8 +141083,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -140608,8 +141183,8 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141424,7 +141999,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *293 + type: *295 title: description: Title of the issue type: string @@ -141528,9 +142103,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *814 - organization: *790 - repository: *791 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -141610,8 +142185,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142425,7 +143000,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *293 + type: *295 title: description: Title of the issue type: string @@ -142529,9 +143104,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *814 - organization: *790 - repository: *791 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -142611,8 +143186,8 @@ x-webhooks: type: string enum: - locked - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143450,7 +144025,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *293 + type: *295 title: description: Title of the issue type: string @@ -143531,8 +144106,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -143611,8 +144186,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144447,7 +145022,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -144525,9 +145100,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *820 - organization: *790 - repository: *791 + milestone: *822 + organization: *792 + repository: *793 sender: *4 required: - action @@ -145501,7 +146076,7 @@ x-webhooks: required: - login - id - type: *293 + type: *295 required: - id - number @@ -145970,8 +146545,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146789,7 +147364,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -146889,8 +147464,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -146970,9 +147545,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *788 - installation: *789 - issue: &821 + enterprise: *790 + installation: *791 + issue: &823 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147784,7 +148359,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -147884,8 +148459,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -147964,8 +148539,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148882,9 +149457,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *293 - organization: *790 - repository: *791 + type: *295 + organization: *792 + repository: *793 sender: *4 required: - action @@ -149779,7 +150354,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -150347,11 +150922,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *788 - installation: *789 - issue: *821 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + issue: *823 + organization: *792 + repository: *793 sender: *4 required: - action @@ -150431,12 +151006,12 @@ x-webhooks: type: string enum: - typed - enterprise: *788 - installation: *789 - issue: *822 - type: *293 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + issue: *824 + type: *295 + organization: *792 + repository: *793 sender: *4 required: - action @@ -150517,7 +151092,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &850 + assignee: &852 title: User type: object nullable: true @@ -150587,11 +151162,11 @@ x-webhooks: required: - login - id - enterprise: *788 - installation: *789 - issue: *822 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + issue: *824 + organization: *792 + repository: *793 sender: *4 required: - action @@ -150670,12 +151245,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *788 - installation: *789 - issue: *822 - label: *814 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + issue: *824 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -150755,8 +151330,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151595,7 +152170,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -151673,8 +152248,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -151754,11 +152329,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *788 - installation: *789 - issue: *821 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + issue: *823 + organization: *792 + repository: *793 sender: *4 required: - action @@ -151837,12 +152412,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *788 - installation: *789 - issue: *822 - type: *293 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + issue: *824 + type: *295 + organization: *792 + repository: *793 sender: *4 required: - action @@ -151922,11 +152497,11 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - label: *814 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -152004,11 +152579,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - label: *814 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -152118,11 +152693,11 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - label: *814 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -152204,9 +152779,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *788 - installation: *789 - marketplace_purchase: &823 + enterprise: *790 + installation: *791 + marketplace_purchase: &825 title: Marketplace Purchase type: object required: @@ -152289,8 +152864,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *790 - previous_marketplace_purchase: &824 + organization: *792 + previous_marketplace_purchase: &826 title: Marketplace Purchase type: object properties: @@ -152370,7 +152945,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *791 + repository: *793 sender: *4 required: - action @@ -152450,10 +153025,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *788 - installation: *789 - marketplace_purchase: *823 - organization: *790 + enterprise: *790 + installation: *791 + marketplace_purchase: *825 + organization: *792 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152536,7 +153111,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *791 + repository: *793 sender: *4 required: - action @@ -152618,10 +153193,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *788 - installation: *789 - marketplace_purchase: *823 - organization: *790 + enterprise: *790 + installation: *791 + marketplace_purchase: *825 + organization: *792 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152703,7 +153278,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *791 + repository: *793 sender: *4 required: - action @@ -152784,8 +153359,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 marketplace_purchase: title: Marketplace Purchase type: object @@ -152867,9 +153442,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *790 - previous_marketplace_purchase: *824 - repository: *791 + organization: *792 + previous_marketplace_purchase: *826 + repository: *793 sender: *4 required: - action @@ -152949,12 +153524,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *788 - installation: *789 - marketplace_purchase: *823 - organization: *790 - previous_marketplace_purchase: *824 - repository: *791 + enterprise: *790 + installation: *791 + marketplace_purchase: *825 + organization: *792 + previous_marketplace_purchase: *826 + repository: *793 sender: *4 required: - action @@ -153056,11 +153631,11 @@ x-webhooks: type: string required: - to - enterprise: *788 - installation: *789 - member: *815 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + member: *817 + organization: *792 + repository: *793 sender: *4 required: - action @@ -153160,11 +153735,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *788 - installation: *789 - member: *815 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + member: *817 + organization: *792 + repository: *793 sender: *4 required: - action @@ -153243,11 +153818,11 @@ x-webhooks: type: string enum: - removed - enterprise: *788 - installation: *789 - member: *815 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + member: *817 + organization: *792 + repository: *793 sender: *4 required: - action @@ -153325,11 +153900,11 @@ x-webhooks: type: string enum: - added - enterprise: *788 - installation: *789 - member: *815 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + member: *817 + organization: *792 + repository: *793 scope: description: The scope of the membership. Currently, can only be `team`. @@ -153405,7 +153980,7 @@ x-webhooks: required: - login - id - team: &825 + team: &827 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -153595,11 +154170,11 @@ x-webhooks: type: string enum: - removed - enterprise: *788 - installation: *789 - member: *815 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + member: *817 + organization: *792 + repository: *793 scope: description: The scope of the membership. Currently, can only be `team`. @@ -153676,7 +154251,7 @@ x-webhooks: required: - login - id - team: *825 + team: *827 required: - action - scope @@ -153758,8 +154333,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *789 - merge_group: &827 + installation: *791 + merge_group: &829 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -153778,15 +154353,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *826 + head_commit: *828 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -153872,10 +154447,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *789 - merge_group: *827 - organization: *790 - repository: *791 + installation: *791 + merge_group: *829 + organization: *792 + repository: *793 sender: *4 required: - action @@ -153948,7 +154523,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 + enterprise: *790 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -154057,16 +154632,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *789 - organization: *790 + installation: *791 + organization: *792 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *828 - required: *829 + properties: *830 + required: *831 nullable: true sender: *4 required: @@ -154147,11 +154722,11 @@ x-webhooks: type: string enum: - closed - enterprise: *788 - installation: *789 - milestone: *820 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + milestone: *822 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154230,9 +154805,9 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - milestone: &830 + enterprise: *790 + installation: *791 + milestone: &832 title: Milestone description: A collection of related issues and pull requests. type: object @@ -154369,8 +154944,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154449,11 +155024,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - milestone: *820 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + milestone: *822 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154563,11 +155138,11 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - milestone: *820 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + milestone: *822 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154647,11 +155222,11 @@ x-webhooks: type: string enum: - opened - enterprise: *788 - installation: *789 - milestone: *830 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + milestone: *832 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154730,11 +155305,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *815 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + blocked_user: *817 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154813,11 +155388,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *815 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + blocked_user: *817 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154896,9 +155471,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - membership: &831 + enterprise: *790 + installation: *791 + membership: &833 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -154990,8 +155565,8 @@ x-webhooks: - role - organization_url - user - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -155069,11 +155644,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *788 - installation: *789 - membership: *831 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + membership: *833 + organization: *792 + repository: *793 sender: *4 required: - action @@ -155152,8 +155727,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -155269,10 +155844,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 - user: *815 + user: *817 required: - action - invitation @@ -155350,11 +155925,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *788 - installation: *789 - membership: *831 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + membership: *833 + organization: *792 + repository: *793 sender: *4 required: - action @@ -155441,11 +156016,11 @@ x-webhooks: properties: from: type: string - enterprise: *788 - installation: *789 - membership: *831 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + membership: *833 + organization: *792 + repository: *793 sender: *4 required: - action @@ -155521,9 +156096,9 @@ x-webhooks: type: string enum: - published - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 package: description: Information about the package. type: object @@ -156022,7 +156597,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &832 + items: &834 title: Ruby Gems metadata type: object properties: @@ -156117,7 +156692,7 @@ x-webhooks: - owner - package_version - registry - repository: *791 + repository: *793 sender: *4 required: - action @@ -156193,9 +156768,9 @@ x-webhooks: type: string enum: - updated - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 package: description: Information about the package. type: object @@ -156548,7 +157123,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *832 + items: *834 source_url: type: string format: uri @@ -156618,7 +157193,7 @@ x-webhooks: - owner - package_version - registry - repository: *791 + repository: *793 sender: *4 required: - action @@ -156795,12 +157370,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *788 + enterprise: *790 id: type: integer - installation: *789 - organization: *790 - repository: *791 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - id @@ -156877,7 +157452,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &833 + personal_access_token_request: &835 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -157023,10 +157598,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *788 - organization: *790 + enterprise: *790 + organization: *792 sender: *4 - installation: *789 + installation: *791 required: - action - personal_access_token_request @@ -157103,11 +157678,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *833 - enterprise: *788 - organization: *790 + personal_access_token_request: *835 + enterprise: *790 + organization: *792 sender: *4 - installation: *789 + installation: *791 required: - action - personal_access_token_request @@ -157183,11 +157758,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *833 - enterprise: *788 - organization: *790 + personal_access_token_request: *835 + enterprise: *790 + organization: *792 sender: *4 - installation: *789 + installation: *791 required: - action - personal_access_token_request @@ -157262,11 +157837,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *833 - organization: *790 - enterprise: *788 + personal_access_token_request: *835 + organization: *792 + enterprise: *790 sender: *4 - installation: *789 + installation: *791 required: - action - personal_access_token_request @@ -157371,7 +157946,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *834 + last_response: *836 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -157403,8 +157978,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 zen: description: Random string of GitHub zen. @@ -157649,10 +158224,10 @@ x-webhooks: - from required: - note - enterprise: *788 - installation: *789 - organization: *790 - project_card: &835 + enterprise: *790 + installation: *791 + organization: *792 + project_card: &837 title: Project Card type: object properties: @@ -157771,7 +158346,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *791 + repository: *793 sender: *4 required: - action @@ -157852,11 +158427,11 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - project_card: *835 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project_card: *837 + repository: *793 sender: *4 required: - action @@ -157936,9 +158511,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 project_card: title: Project Card type: object @@ -158066,8 +158641,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *828 - required: *829 + properties: *830 + required: *831 nullable: true sender: *4 required: @@ -158161,11 +158736,11 @@ x-webhooks: - from required: - note - enterprise: *788 - installation: *789 - organization: *790 - project_card: *835 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project_card: *837 + repository: *793 sender: *4 required: - action @@ -158259,9 +158834,9 @@ x-webhooks: - from required: - column_id - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 project_card: allOf: - title: Project Card @@ -158451,7 +159026,7 @@ x-webhooks: type: string required: - after_id - repository: *791 + repository: *793 sender: *4 required: - action @@ -158531,10 +159106,10 @@ x-webhooks: type: string enum: - closed - enterprise: *788 - installation: *789 - organization: *790 - project: &837 + enterprise: *790 + installation: *791 + organization: *792 + project: &839 title: Project type: object properties: @@ -158658,7 +159233,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *791 + repository: *793 sender: *4 required: - action @@ -158738,10 +159313,10 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - project_column: &836 + enterprise: *790 + installation: *791 + organization: *792 + project_column: &838 title: Project Column type: object properties: @@ -158780,7 +159355,7 @@ x-webhooks: - name - created_at - updated_at - repository: *791 + repository: *793 sender: *4 required: - action @@ -158859,18 +159434,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - project_column: *836 + enterprise: *790 + installation: *791 + organization: *792 + project_column: *838 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *828 - required: *829 + properties: *830 + required: *831 nullable: true sender: *4 required: @@ -158960,11 +159535,11 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - organization: *790 - project_column: *836 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project_column: *838 + repository: *793 sender: *4 required: - action @@ -159044,11 +159619,11 @@ x-webhooks: type: string enum: - moved - enterprise: *788 - installation: *789 - organization: *790 - project_column: *836 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project_column: *838 + repository: *793 sender: *4 required: - action @@ -159128,11 +159703,11 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - project: *837 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project: *839 + repository: *793 sender: *4 required: - action @@ -159212,18 +159787,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - project: *837 + enterprise: *790 + installation: *791 + organization: *792 + project: *839 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *828 - required: *829 + properties: *830 + required: *831 nullable: true sender: *4 required: @@ -159325,11 +159900,11 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - organization: *790 - project: *837 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project: *839 + repository: *793 sender: *4 required: - action @@ -159408,11 +159983,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *788 - installation: *789 - organization: *790 - project: *837 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project: *839 + repository: *793 sender: *4 required: - action @@ -159493,9 +160068,9 @@ x-webhooks: type: string enum: - closed - installation: *789 - organization: *790 - projects_v2: &838 + installation: *791 + organization: *792 + projects_v2: &840 title: Projects v2 Project description: A projects v2 project type: object @@ -159638,9 +160213,9 @@ x-webhooks: type: string enum: - created - installation: *789 - organization: *790 - projects_v2: *838 + installation: *791 + organization: *792 + projects_v2: *840 sender: *4 required: - action @@ -159721,9 +160296,9 @@ x-webhooks: type: string enum: - deleted - installation: *789 - organization: *790 - projects_v2: *838 + installation: *791 + organization: *792 + projects_v2: *840 sender: *4 required: - action @@ -159840,9 +160415,9 @@ x-webhooks: type: string to: type: string - installation: *789 - organization: *790 - projects_v2: *838 + installation: *791 + organization: *792 + projects_v2: *840 sender: *4 required: - action @@ -159925,7 +160500,7 @@ x-webhooks: type: string enum: - archived - changes: &842 + changes: &844 type: object properties: archived_at: @@ -159939,9 +160514,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *789 - organization: *790 - projects_v2_item: &839 + installation: *791 + organization: *792 + projects_v2_item: &841 title: Projects v2 Item description: An item belonging to a project type: object @@ -160075,9 +160650,9 @@ x-webhooks: nullable: true to: type: string - installation: *789 - organization: *790 - projects_v2_item: *839 + installation: *791 + organization: *792 + projects_v2_item: *841 sender: *4 required: - action @@ -160159,9 +160734,9 @@ x-webhooks: type: string enum: - created - installation: *789 - organization: *790 - projects_v2_item: *839 + installation: *791 + organization: *792 + projects_v2_item: *841 sender: *4 required: - action @@ -160242,9 +160817,9 @@ x-webhooks: type: string enum: - deleted - installation: *789 - organization: *790 - projects_v2_item: *839 + installation: *791 + organization: *792 + projects_v2_item: *841 sender: *4 required: - action @@ -160350,7 +160925,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &840 + - &842 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -160368,7 +160943,7 @@ x-webhooks: required: - id - name - - &841 + - &843 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -160391,8 +160966,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *840 - - *841 + - *842 + - *843 required: - field_value - type: object @@ -160408,9 +160983,9 @@ x-webhooks: nullable: true required: - body - installation: *789 - organization: *790 - projects_v2_item: *839 + installation: *791 + organization: *792 + projects_v2_item: *841 sender: *4 required: - action @@ -160505,9 +161080,9 @@ x-webhooks: to: type: string nullable: true - installation: *789 - organization: *790 - projects_v2_item: *839 + installation: *791 + organization: *792 + projects_v2_item: *841 sender: *4 required: - action @@ -160590,10 +161165,10 @@ x-webhooks: type: string enum: - restored - changes: *842 - installation: *789 - organization: *790 - projects_v2_item: *839 + changes: *844 + installation: *791 + organization: *792 + projects_v2_item: *841 sender: *4 required: - action @@ -160675,9 +161250,9 @@ x-webhooks: type: string enum: - reopened - installation: *789 - organization: *790 - projects_v2: *838 + installation: *791 + organization: *792 + projects_v2: *840 sender: *4 required: - action @@ -160758,9 +161333,9 @@ x-webhooks: type: string enum: - created - installation: *789 - organization: *790 - projects_v2_status_update: &843 + installation: *791 + organization: *792 + projects_v2_status_update: &845 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -160887,9 +161462,9 @@ x-webhooks: type: string enum: - deleted - installation: *789 - organization: *790 - projects_v2_status_update: *843 + installation: *791 + organization: *792 + projects_v2_status_update: *845 sender: *4 required: - action @@ -161025,9 +161600,9 @@ x-webhooks: type: string format: date nullable: true - installation: *789 - organization: *790 - projects_v2_status_update: *843 + installation: *791 + organization: *792 + projects_v2_status_update: *845 sender: *4 required: - action @@ -161098,10 +161673,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - repository @@ -161178,13 +161753,13 @@ x-webhooks: type: string enum: - assigned - assignee: *815 - enterprise: *788 - installation: *789 - number: &844 + assignee: *817 + enterprise: *790 + installation: *791 + number: &846 description: The pull request number. type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -163467,7 +164042,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -163549,11 +164124,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -165831,7 +166406,7 @@ x-webhooks: - draft reason: type: string - repository: *791 + repository: *793 sender: *4 required: - action @@ -165913,11 +166488,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -168195,7 +168770,7 @@ x-webhooks: - draft reason: type: string - repository: *791 + repository: *793 sender: *4 required: - action @@ -168277,13 +168852,13 @@ x-webhooks: type: string enum: - closed - enterprise: *788 - installation: *789 - number: *844 - organization: *790 - pull_request: &845 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 + pull_request: &847 allOf: - - *625 + - *627 - type: object properties: allow_auto_merge: @@ -168345,7 +168920,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *791 + repository: *793 sender: *4 required: - action @@ -168426,12 +169001,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *788 - installation: *789 - number: *844 - organization: *790 - pull_request: *845 - repository: *791 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 + pull_request: *847 + repository: *793 sender: *4 required: - action @@ -168511,11 +169086,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *788 - milestone: *608 - number: *844 - organization: *790 - pull_request: &846 + enterprise: *790 + milestone: *610 + number: *846 + organization: *792 + pull_request: &848 title: Pull Request type: object properties: @@ -170778,7 +171353,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -170857,11 +171432,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -173143,7 +173718,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *791 + repository: *793 sender: *4 required: - action @@ -173267,12 +173842,12 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - number: *844 - organization: *790 - pull_request: *845 - repository: *791 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 + pull_request: *847 + repository: *793 sender: *4 required: - action @@ -173352,11 +173927,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -175623,7 +176198,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -175703,11 +176278,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *788 - installation: *789 - label: *814 - number: *844 - organization: *790 + enterprise: *790 + installation: *791 + label: *816 + number: *846 + organization: *792 pull_request: title: Pull Request type: object @@ -177989,7 +178564,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -178070,10 +178645,10 @@ x-webhooks: type: string enum: - locked - enterprise: *788 - installation: *789 - number: *844 - organization: *790 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 pull_request: title: Pull Request type: object @@ -180353,7 +180928,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -180433,12 +181008,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *788 - milestone: *608 - number: *844 - organization: *790 - pull_request: *846 - repository: *791 + enterprise: *790 + milestone: *610 + number: *846 + organization: *792 + pull_request: *848 + repository: *793 sender: *4 required: - action @@ -180517,12 +181092,12 @@ x-webhooks: type: string enum: - opened - enterprise: *788 - installation: *789 - number: *844 - organization: *790 - pull_request: *845 - repository: *791 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 + pull_request: *847 + repository: *793 sender: *4 required: - action @@ -180603,12 +181178,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *788 - installation: *789 - number: *844 - organization: *790 - pull_request: *845 - repository: *791 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 + pull_request: *847 + repository: *793 sender: *4 required: - action @@ -180688,12 +181263,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *788 - installation: *789 - number: *844 - organization: *790 - pull_request: *845 - repository: *791 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 + pull_request: *847 + repository: *793 sender: *4 required: - action @@ -181059,9 +181634,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: type: object properties: @@ -183231,7 +183806,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *791 + repository: *793 sender: *4 required: - action @@ -183311,7 +183886,7 @@ x-webhooks: type: string enum: - deleted - comment: &848 + comment: &850 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -183596,9 +184171,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: type: object properties: @@ -185756,7 +186331,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *791 + repository: *793 sender: *4 required: - action @@ -185836,11 +186411,11 @@ x-webhooks: type: string enum: - edited - changes: *847 - comment: *848 - enterprise: *788 - installation: *789 - organization: *790 + changes: *849 + comment: *850 + enterprise: *790 + installation: *791 + organization: *792 pull_request: type: object properties: @@ -188001,7 +188576,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *791 + repository: *793 sender: *4 required: - action @@ -188082,9 +188657,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: title: Simple Pull Request type: object @@ -190257,7 +190832,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *791 + repository: *793 review: description: The review that was affected. type: object @@ -190500,9 +191075,9 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: title: Simple Pull Request type: object @@ -192556,8 +193131,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *791 - review: &849 + repository: *793 + review: &851 description: The review that was affected. type: object properties: @@ -192786,12 +193361,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: description: The pull request number. type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -195074,7 +195649,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 requested_reviewer: title: User type: object @@ -195158,12 +195733,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: description: The pull request number. type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -197453,7 +198028,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197645,12 +198220,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: description: The pull request number. type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -199935,7 +200510,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 requested_reviewer: title: User type: object @@ -200020,12 +200595,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: description: The pull request number. type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -202301,7 +202876,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 requested_team: title: Team description: Groups of organization members that gives permissions @@ -202482,9 +203057,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: title: Simple Pull Request type: object @@ -204659,8 +205234,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *791 - review: *849 + repository: *793 + review: *851 sender: *4 required: - action @@ -204740,9 +205315,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: title: Simple Pull Request type: object @@ -206812,7 +207387,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *791 + repository: *793 sender: *4 thread: type: object @@ -207195,9 +207770,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: title: Simple Pull Request type: object @@ -209253,7 +209828,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *791 + repository: *793 sender: *4 thread: type: object @@ -209639,10 +210214,10 @@ x-webhooks: type: string before: type: string - enterprise: *788 - installation: *789 - number: *844 - organization: *790 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 pull_request: title: Pull Request type: object @@ -211913,7 +212488,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -211995,11 +212570,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *850 - enterprise: *788 - installation: *789 - number: *844 - organization: *790 + assignee: *852 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 pull_request: title: Pull Request type: object @@ -214282,7 +214857,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -214361,11 +214936,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *788 - installation: *789 - label: *814 - number: *844 - organization: *790 + enterprise: *790 + installation: *791 + label: *816 + number: *846 + organization: *792 pull_request: title: Pull Request type: object @@ -216638,7 +217213,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -216719,10 +217294,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *788 - installation: *789 - number: *844 - organization: *790 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 pull_request: title: Pull Request type: object @@ -218987,7 +219562,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -219187,7 +219762,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *788 + enterprise: *790 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -219279,8 +219854,8 @@ x-webhooks: - url - author - committer - installation: *789 - organization: *790 + installation: *791 + organization: *792 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -219855,9 +220430,9 @@ x-webhooks: type: string enum: - published - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 registry_package: type: object properties: @@ -220303,7 +220878,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *832 + items: *834 summary: type: string tag_name: @@ -220357,7 +220932,7 @@ x-webhooks: - owner - package_version - registry - repository: *791 + repository: *793 sender: *4 required: - action @@ -220435,9 +221010,9 @@ x-webhooks: type: string enum: - updated - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 registry_package: type: object properties: @@ -220745,7 +221320,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *832 + items: *834 summary: type: string tag_name: @@ -220794,7 +221369,7 @@ x-webhooks: - owner - package_version - registry - repository: *791 + repository: *793 sender: *4 required: - action @@ -220871,10 +221446,10 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - release: &851 + enterprise: *790 + installation: *791 + organization: *792 + release: &853 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -221183,7 +221758,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *791 + repository: *793 sender: *4 required: - action @@ -221260,11 +221835,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - release: *851 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + release: *853 + repository: *793 sender: *4 required: - action @@ -221381,11 +221956,11 @@ x-webhooks: type: boolean required: - to - enterprise: *788 - installation: *789 - organization: *790 - release: *851 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + release: *853 + repository: *793 sender: *4 required: - action @@ -221463,9 +222038,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -221778,7 +222353,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *791 + repository: *793 sender: *4 required: - action @@ -221854,10 +222429,10 @@ x-webhooks: type: string enum: - published - enterprise: *788 - installation: *789 - organization: *790 - release: &852 + enterprise: *790 + installation: *791 + organization: *792 + release: &854 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -222167,7 +222742,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *791 + repository: *793 sender: *4 required: - action @@ -222243,11 +222818,11 @@ x-webhooks: type: string enum: - released - enterprise: *788 - installation: *789 - organization: *790 - release: *851 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + release: *853 + repository: *793 sender: *4 required: - action @@ -222323,11 +222898,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *788 - installation: *789 - organization: *790 - release: *852 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + release: *854 + repository: *793 sender: *4 required: - action @@ -222403,11 +222978,11 @@ x-webhooks: type: string enum: - published - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - repository_advisory: *696 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + repository_advisory: *698 sender: *4 required: - action @@ -222483,11 +223058,11 @@ x-webhooks: type: string enum: - reported - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - repository_advisory: *696 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + repository_advisory: *698 sender: *4 required: - action @@ -222563,10 +223138,10 @@ x-webhooks: type: string enum: - archived - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -222643,10 +223218,10 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -222724,10 +223299,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -222811,10 +223386,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -222926,10 +223501,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -223001,10 +223576,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 status: type: string @@ -223085,10 +223660,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -223165,10 +223740,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -223262,10 +223837,10 @@ x-webhooks: - name required: - repository - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -223345,11 +223920,11 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - repository_ruleset: *130 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + repository_ruleset: *133 sender: *4 required: - action @@ -223427,11 +224002,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - repository_ruleset: *130 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + repository_ruleset: *133 sender: *4 required: - action @@ -223509,11 +224084,11 @@ x-webhooks: type: string enum: - edited - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - repository_ruleset: *130 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + repository_ruleset: *133 changes: type: object properties: @@ -223532,16 +224107,16 @@ x-webhooks: properties: added: type: array - items: *123 + items: *126 deleted: type: array - items: *123 + items: *126 updated: type: array items: type: object properties: - condition: *123 + condition: *126 changes: type: object properties: @@ -223574,16 +224149,16 @@ x-webhooks: properties: added: type: array - items: *129 + items: *132 deleted: type: array - items: *129 + items: *132 updated: type: array items: type: object properties: - rule: *129 + rule: *132 changes: type: object properties: @@ -223817,10 +224392,10 @@ x-webhooks: - from required: - owner - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -223898,10 +224473,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -223979,7 +224554,7 @@ x-webhooks: type: string enum: - create - alert: &853 + alert: &855 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -224100,10 +224675,10 @@ x-webhooks: type: string enum: - open - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -224309,10 +224884,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -224390,11 +224965,11 @@ x-webhooks: type: string enum: - reopen - alert: *853 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + alert: *855 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -224593,10 +225168,10 @@ x-webhooks: enum: - fixed - open - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -224674,11 +225249,11 @@ x-webhooks: type: string enum: - created - alert: &854 + alert: &856 type: object properties: - number: *100 - created_at: *107 + number: *103 + created_at: *110 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -224686,8 +225261,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *105 - html_url: *106 + url: *108 + html_url: *109 locations_url: type: string format: uri @@ -224785,10 +225360,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -224869,11 +225444,11 @@ x-webhooks: type: string enum: - created - alert: *854 - installation: *789 - location: *855 - organization: *790 - repository: *791 + alert: *856 + installation: *791 + location: *857 + organization: *792 + repository: *793 sender: *4 required: - location @@ -225111,11 +225686,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *854 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + alert: *856 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -225193,11 +225768,11 @@ x-webhooks: type: string enum: - reopened - alert: *854 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + alert: *856 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -225275,11 +225850,11 @@ x-webhooks: type: string enum: - resolved - alert: *854 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + alert: *856 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -225357,11 +225932,11 @@ x-webhooks: type: string enum: - validated - alert: *854 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + alert: *856 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -225487,10 +226062,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *791 - enterprise: *788 - installation: *789 - organization: *790 + repository: *793 + enterprise: *790 + installation: *791 + organization: *792 sender: *4 required: - action @@ -225568,11 +226143,11 @@ x-webhooks: type: string enum: - published - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - security_advisory: &856 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + security_advisory: &858 description: The details of the security advisory, including summary, description, and severity. type: object @@ -225588,7 +226163,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *102 + cvss_severities: *105 cwes: type: array items: @@ -225755,11 +226330,11 @@ x-webhooks: type: string enum: - updated - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - security_advisory: *856 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + security_advisory: *858 sender: *4 required: - action @@ -225832,10 +226407,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -225852,7 +226427,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *102 + cvss_severities: *105 cwes: type: array items: @@ -226019,11 +226594,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *332 - enterprise: *788 - installation: *789 - organization: *790 - repository: *396 + security_and_analysis: *334 + enterprise: *790 + installation: *791 + organization: *792 + repository: *398 sender: *4 required: - changes @@ -226101,12 +226676,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - sponsorship: &857 + sponsorship: &859 type: object properties: created_at: @@ -226407,12 +226982,12 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - sponsorship: *857 + sponsorship: *859 required: - action - sponsorship @@ -226500,12 +227075,12 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - sponsorship: *857 + sponsorship: *859 required: - action - changes @@ -226582,17 +227157,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &858 + effective_date: &860 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - sponsorship: *857 + sponsorship: *859 required: - action - sponsorship @@ -226666,7 +227241,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &859 + changes: &861 type: object properties: tier: @@ -226710,13 +227285,13 @@ x-webhooks: - from required: - tier - effective_date: *858 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + effective_date: *860 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - sponsorship: *857 + sponsorship: *859 required: - action - changes @@ -226793,13 +227368,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *859 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + changes: *861 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - sponsorship: *857 + sponsorship: *859 required: - action - changes @@ -226873,10 +227448,10 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226959,10 +227534,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -227382,15 +227957,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *788 + enterprise: *790 id: description: The unique identifier of the status. type: integer - installation: *789 + installation: *791 name: type: string - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 sha: description: The Commit SHA. @@ -227499,15 +228074,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *157 + parent_issue: *160 parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *157 - installation: *789 - organization: *790 - repository: *791 + sub_issue: *160 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -227591,15 +228166,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *157 + parent_issue: *160 parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *157 - installation: *789 - organization: *790 - repository: *791 + sub_issue: *160 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -227683,15 +228258,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *157 + sub_issue: *160 sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *157 - installation: *789 - organization: *790 - repository: *791 + parent_issue: *160 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -227775,15 +228350,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *157 + sub_issue: *160 sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *157 - installation: *789 - organization: *790 - repository: *791 + parent_issue: *160 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -227860,12 +228435,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - team: &860 + team: &862 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -228055,9 +228630,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 repository: title: Repository description: A git repository @@ -228515,7 +229090,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *860 + team: *862 required: - action - team @@ -228591,9 +229166,9 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 repository: title: Repository description: A git repository @@ -229051,7 +229626,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *860 + team: *862 required: - action - team @@ -229128,9 +229703,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 repository: title: Repository description: A git repository @@ -229588,7 +230163,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *860 + team: *862 required: - action - team @@ -229732,9 +230307,9 @@ x-webhooks: - from required: - permissions - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 repository: title: Repository description: A git repository @@ -230192,7 +230767,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *860 + team: *862 required: - action - changes @@ -230270,9 +230845,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 repository: title: Repository description: A git repository @@ -230730,7 +231305,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *860 + team: *862 required: - action - team @@ -230806,10 +231381,10 @@ x-webhooks: type: string enum: - started - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -230882,16 +231457,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *788 + enterprise: *790 inputs: type: object nullable: true additionalProperties: true - installation: *789 - organization: *790 + installation: *791 + organization: *792 ref: type: string - repository: *791 + repository: *793 sender: *4 workflow: type: string @@ -230973,10 +231548,10 @@ x-webhooks: type: string enum: - completed - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 workflow_job: allOf: @@ -231213,7 +231788,7 @@ x-webhooks: type: string required: - conclusion - deployment: *531 + deployment: *533 required: - action - repository @@ -231292,10 +231867,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 workflow_job: allOf: @@ -231555,7 +232130,7 @@ x-webhooks: required: - status - steps - deployment: *531 + deployment: *533 required: - action - repository @@ -231634,10 +232209,10 @@ x-webhooks: type: string enum: - queued - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 workflow_job: type: object @@ -231772,7 +232347,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *531 + deployment: *533 required: - action - repository @@ -231851,10 +232426,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 workflow_job: type: object @@ -231990,7 +232565,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *531 + deployment: *533 required: - action - repository @@ -232070,12 +232645,12 @@ x-webhooks: type: string enum: - completed - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - workflow: *810 + workflow: *812 workflow_run: title: Workflow Run type: object @@ -233074,12 +233649,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - workflow: *810 + workflow: *812 workflow_run: title: Workflow Run type: object @@ -234063,12 +234638,12 @@ x-webhooks: type: string enum: - requested - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - workflow: *810 + workflow: *812 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index f140854913..c01a8c90bd 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -4663,7 +4663,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -4689,6 +4689,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -5603,7 +5607,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -5629,6 +5633,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -6318,7 +6326,7 @@ }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -6385,7 +6393,7 @@ "/app/installations/{installation_id}/access_tokens": { "post": { "summary": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an enterprise, organization, or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nEnterprise account installations do not have access to repositories and cannot be scoped down using the `permissions` parameter.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -6855,7 +6863,7 @@ "application/json": { "schema": { "title": "Installation Token", - "description": "Authentication token for a GitHub App installed on a user or org.", + "description": "Authentication token for a GitHub App installed on a user, org, or enterprise.", "type": "object", "properties": { "token": { @@ -8322,7 +8330,7 @@ "/app/installations/{installation_id}/suspended": { "put": { "summary": "Suspend an app installation", - "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -24359,18 +24367,3016 @@ } } }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "self-hosted-runners" + } + } + }, + "/enterprises/{enterprise}/announcement": { + "get": { + "summary": "Get announcement banner for enterprise", + "description": "Gets the announcement banner currently set for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "announcement-banners/get-announcement-banner-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Announcement Banner", + "description": "Announcement at either the repository, organization, or enterprise level", + "type": "object", + "properties": { + "announcement": { + "type": "string", + "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", + "example": "Very **important** announcement about _something_.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", + "example": "\"2021-01-01T00:00:00.000-07:00\"", + "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false + } + }, + "required": [ + "announcement", + "expires_at", + "user_dismissible" + ] + }, + "examples": { + "default": { + "summary": "Announcement banner", + "value": { + "announcement": "Very **important** announcement about _something_.", + "expires_at": "2021-01-01T00:00:00.000+00:00", + "user_dismissible": false + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "announcement-banners", + "subcategory": "enterprises" + } + }, + "patch": { + "summary": "Set announcement banner for enterprise", + "description": "Sets the announcement banner to display for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "announcement-banners/set-announcement-banner-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#set-announcement-banner-for-enterprise" + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Enterprise Announcement", + "description": "Enterprise global announcement", + "type": "object", + "properties": { + "announcement": { + "type": "string", + "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", + "example": "Very **important** announcement about _something_.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", + "example": "\"2021-01-01T00:00:00.000-07:00\"", + "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false + } + }, + "required": [ + "announcement" + ] + }, + "examples": { + "default": { + "summary": "Announcement banner", + "value": { + "announcement": "Very **important** announcement about _something_.", + "expires_at": "2021-01-01T00:00:00.000+00:00", + "user_dismissible": false + } + } + } + } + } + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Announcement Banner", + "description": "Announcement at either the repository, organization, or enterprise level", + "type": "object", + "properties": { + "announcement": { + "type": "string", + "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", + "example": "Very **important** announcement about _something_.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", + "example": "\"2021-01-01T00:00:00.000-07:00\"", + "nullable": true + }, + "user_dismissible": { + "type": "boolean", + "description": "Whether an announcement can be dismissed by the user.", + "example": false, + "nullable": true, + "default": false + } + }, + "required": [ + "announcement", + "expires_at", + "user_dismissible" + ] + }, + "examples": { + "default": { + "summary": "Announcement banner", + "value": { + "announcement": "Very **important** announcement about _something_.", + "expires_at": "2021-01-01T00:00:00.000+00:00", + "user_dismissible": false + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "announcement-banners", + "subcategory": "enterprises" + } + }, + "delete": { + "summary": "Remove announcement banner from enterprise", + "description": "Removes the announcement banner currently set for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "announcement-banners/remove-announcement-banner-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "announcement-banners", + "subcategory": "enterprises" + } + } + }, + "/enterprises/{enterprise}/apps/installable_organizations": { + "get": { + "summary": "Get enterprise-owned organizations that can have GitHub Apps installed", + "description": "List the organizations owned by the enterprise, intended for use by GitHub Apps that are managing applications across the enterprise.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/installable-organizations", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-enterprise-owned-organizations-that-can-have-github-apps-installed" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of organizations owned by the enterprise on which the authenticated GitHub App is installed.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Installable Organization", + "description": "A GitHub organization on which a GitHub App can be installed.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "login": { + "type": "string", + "example": "github" + }, + "accessible_repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/enterprises/biz-name/apps/organizations/org-login/accessible_repositories" + } + }, + "required": [ + "id", + "login" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "login": "github" + }, + { + "id": 2, + "login": "microsoft" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/installable_organizations/{org}/accessible_repositories": { + "get": { + "summary": "Get repositories belonging to an enterprise-owned organization", + "description": "List the repositories belonging to an enterprise-owned organization that can be made accessible to a GitHub App installed on that organization. This API provides a shallow list of repositories in the organization, allowing the caller to then add or remove those repositories to an installation in that organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/installable-organization-accessible-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of repositories owned by the enterprise organization on which the authenticated GitHub App is installed.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + } + }, + "required": [ + "full_name", + "id", + "name" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations": { + "get": { + "summary": "List GitHub Apps installed on an enterprise-owned organization", + "description": "Lists the GitHub App installations associated with the given enterprise-owned organization. This lists all GitHub Apps that have been installed on the organization, regardless of who owns the application.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/organization-installations", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "A list of GitHub App installations that have been granted access to the organization", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Enterprise Organization Installation", + "description": "A GitHub App Installation on an enterprise-owned organization", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "app_slug": { + "type": "string", + "example": "github/github-actions" + }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories" + }, + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for custom property management.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "team_discussions": { + "type": "string", + "description": "The level of permission to grant the access token to manage team discussions and related comments.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "client_id", + "repository_selection", + "repositories_url", + "permissions", + "created_at", + "updated_at" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "value": { + "id": 1, + "app_slug": "monalisa/orbit", + "repository_selection": "selected", + "repositories_url": "https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": [ + "push", + "pull_request" + ], + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00" + } + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + }, + "post": { + "summary": "Install a GitHub App on an enterprise-owned organization", + "description": "Installs any valid GitHub App on the specified organization owned by the enterprise. If the app is already installed on the organization, and is suspended, it will be unsuspended.\nIf the app has a pending installation request, they will all be approved.\n\nIf the app is already installed and has a pending update request, it will be updated to the latest version. If the app is now requesting repository permissions, it will be given access to the repositories listed in the request or fail if no `repository_selection` is provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/create-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "A GitHub App installation that was installed previously.", + "content": { + "application/json": { + "schema": { + "title": "Installation", + "description": "Installation", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "account": { + "nullable": true, + "anyOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "access_tokens_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/app/installations/1/access_tokens" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/installation/repositories" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/organizations/github/settings/installations/1" + }, + "app_id": { + "type": "integer", + "example": 1 + }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { + "type": "string", + "example": "Organization" + }, + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for custom property management.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "team_discussions": { + "type": "string", + "description": "The level of permission to grant the access token to manage team discussions and related comments.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "single_file_name": { + "type": "string", + "example": "config.yaml", + "nullable": true + }, + "has_multiple_single_files": { + "type": "boolean", + "example": true + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "app_slug": { + "type": "string", + "example": "github-actions" + }, + "suspended_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "suspended_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "contact_email": { + "type": "string", + "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", + "nullable": true + } + }, + "required": [ + "id", + "app_id", + "app_slug", + "target_id", + "target_type", + "single_file_name", + "repository_selection", + "access_tokens_url", + "html_url", + "repositories_url", + "events", + "account", + "permissions", + "created_at", + "updated_at", + "suspended_by", + "suspended_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "account": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/organizations/github/settings/installations/1", + "app_id": 1, + "target_id": 1, + "target_type": "Organization", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": [ + "push", + "pull_request" + ], + "single_file_name": "config.yaml", + "has_multiple_single_files": true, + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "repository_selection": "selected", + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00", + "app_slug": "github-actions", + "suspended_at": null, + "suspended_by": null + } + } + } + } + } + }, + "201": { + "description": "A GitHub App installation.", + "content": { + "application/json": { + "schema": { + "title": "Installation", + "description": "Installation", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "account": { + "nullable": true, + "anyOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "access_tokens_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/app/installations/1/access_tokens" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/installation/repositories" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/organizations/github/settings/installations/1" + }, + "app_id": { + "type": "integer", + "example": 1 + }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { + "type": "string", + "example": "Organization" + }, + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for custom property management.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "team_discussions": { + "type": "string", + "description": "The level of permission to grant the access token to manage team discussions and related comments.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "single_file_name": { + "type": "string", + "example": "config.yaml", + "nullable": true + }, + "has_multiple_single_files": { + "type": "boolean", + "example": true + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "app_slug": { + "type": "string", + "example": "github-actions" + }, + "suspended_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "suspended_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "contact_email": { + "type": "string", + "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", + "nullable": true + } + }, + "required": [ + "id", + "app_id", + "app_slug", + "target_id", + "target_type", + "single_file_name", + "repository_selection", + "access_tokens_url", + "html_url", + "repositories_url", + "events", + "account", + "permissions", + "created_at", + "updated_at", + "suspended_by", + "suspended_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "account": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/organizations/github/settings/installations/1", + "app_id": 1, + "target_id": 1, + "target_type": "Organization", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": [ + "push", + "pull_request" + ], + "single_file_name": "config.yaml", + "has_multiple_single_files": true, + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "repository_selection": "selected", + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00", + "app_slug": "github-actions", + "suspended_at": null, + "suspended_by": null + } + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "description": "The Client ID of the GitHub App to install." + }, + "repository_selection": { + "type": "string", + "description": "The repository selection for the GitHub App. Must be one of:\n* `all` - the installation can access all repositories in the organization.\n* `selected` - the installation can access only the listed repositories.\n* `none` - no repository permissions are requested. Only use when the app does not request repository permissions.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "repositories": { + "type": "array", + "description": "The names of the repositories to which the installation will be granted access. This is the simple name of the repository, not the full name (e.g., `hello-world` not `octocat/hello-world`). This is only required when `repository_selection` is `selected`.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "client_id", + "repository_selection" + ] + }, + "examples": { + "default": { + "summary": "Example of installing a GitHub App on an organization and granting access to all of its repositories.", + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "all" + } + }, + "repository_selection_selected": { + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": { + "delete": { + "summary": "Uninstall a GitHub App from an enterprise-owned organization", + "description": "Uninstall a GitHub App from an organization. Any app installed on the organization can be removed.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/delete-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + } + ], + "responses": { + "204": { + "description": "An empty response indicates that the installation was successfully removed." + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "required": [ - "message", - "documentation_url" - ], "properties": { "message": { "type": "string" @@ -24378,11 +27384,11 @@ "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "string" - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -24392,23 +27398,23 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "actions", - "subcategory": "self-hosted-runners" + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" } } }, - "/enterprises/{enterprise}/announcement": { + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": { "get": { - "summary": "Get announcement banner for enterprise", - "description": "Gets the announcement banner currently set for the enterprise.", + "summary": "Get the repositories accessible to a given GitHub App installation", + "description": "Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", "tags": [ - "enterprise-admin" + "apps" ], - "operationId": "announcement-banners/get-announcement-banner-for-enterprise", + "operationId": "enterprise-apps/organization-installation-repositories", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation" }, "parameters": [ { @@ -24419,53 +27425,98 @@ "schema": { "type": "string" } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } } ], "responses": { "200": { - "description": "Response", + "description": "A list of repositories owned by the enterprise organization to which the installation has access.", "content": { "application/json": { "schema": { - "title": "Announcement Banner", - "description": "Announcement at either the repository, organization, or enterprise level", - "type": "object", - "properties": { - "announcement": { - "type": "string", - "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", - "example": "Very **important** announcement about _something_.", - "nullable": true - }, - "expires_at": { - "type": "string", - "format": "date-time", - "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", - "example": "\"2021-01-01T00:00:00.000-07:00\"", - "nullable": true + "type": "array", + "items": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + } }, - "user_dismissible": { - "type": "boolean", - "description": "Whether an announcement can be dismissed by the user.", - "example": false, - "nullable": true, - "default": false - } - }, - "required": [ - "announcement", - "expires_at", - "user_dismissible" - ] + "required": [ + "full_name", + "id", + "name" + ] + } }, "examples": { "default": { - "summary": "Announcement banner", - "value": { - "announcement": "Very **important** announcement about _something_.", - "expires_at": "2021-01-01T00:00:00.000+00:00", - "user_dismissible": false - } + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] } } } @@ -24474,124 +27525,989 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "announcement-banners", - "subcategory": "enterprises" + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" } }, "patch": { - "summary": "Set announcement banner for enterprise", - "description": "Sets the announcement banner to display for the enterprise.", + "summary": "Toggle installation repository access between selected and all repositories", + "description": "Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", "tags": [ - "enterprise-admin" + "apps" ], - "operationId": "announcement-banners/set-announcement-banner-for-enterprise", + "operationId": "enterprise-apps/change-installation-repository-access-selection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#set-announcement-banner-for-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories" }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + } + ], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "title": "Enterprise Announcement", - "description": "Enterprise global announcement", "type": "object", "properties": { - "announcement": { - "type": "string", - "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", - "example": "Very **important** announcement about _something_.", - "nullable": true - }, - "expires_at": { + "repository_selection": { "type": "string", - "format": "date-time", - "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", - "example": "\"2021-01-01T00:00:00.000-07:00\"", - "nullable": true + "description": "One of either 'all' or 'selected'", + "enum": [ + "all", + "selected" + ] }, - "user_dismissible": { - "type": "boolean", - "description": "Whether an announcement can be dismissed by the user.", - "example": false, - "nullable": true, - "default": false + "repositories": { + "type": "array", + "description": "The repository names to add to the installation. Only required when repository_selection is 'selected'", + "items": { + "type": "string" + }, + "maxItems": 50 } }, "required": [ - "announcement" + "repository_selection" ] }, "examples": { "default": { - "summary": "Announcement banner", + "summary": "Change the repositories accessible to a GitHub App from 'all repositories' to a specified subset.", "value": { - "announcement": "Very **important** announcement about _something_.", - "expires_at": "2021-01-01T00:00:00.000+00:00", - "user_dismissible": false + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] } } } } } }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], "responses": { "200": { - "description": "Response", + "description": "The GitHub App installation that was updated.", "content": { "application/json": { "schema": { - "title": "Announcement Banner", - "description": "Announcement at either the repository, organization, or enterprise level", + "title": "Installation", + "description": "Installation", "type": "object", "properties": { - "announcement": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "account": { + "nullable": true, + "anyOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": "string", + "nullable": true + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/enterprises/octo-business" + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": "string", + "nullable": true, + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "example": 42, + "type": "integer" + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "example": "Octo Business" + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "example": "octo-business" + }, + "created_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:01:12Z" + }, + "updated_at": { + "type": "string", + "nullable": true, + "format": "date-time", + "example": "2019-01-26T19:14:43Z" + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", - "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", - "example": "Very **important** announcement about _something_.", + "enum": [ + "all", + "selected" + ] + }, + "access_tokens_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/app/installations/1/access_tokens" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/installation/repositories" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/organizations/github/settings/installations/1" + }, + "app_id": { + "type": "integer", + "example": 1 + }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { + "type": "string", + "example": "Organization" + }, + "permissions": { + "title": "App Permissions", + "type": "object", + "description": "The permissions granted to the user access token.", + "properties": { + "actions": { + "type": "string", + "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", + "enum": [ + "read", + "write" + ] + }, + "administration": { + "type": "string", + "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", + "enum": [ + "read", + "write" + ] + }, + "checks": { + "type": "string", + "description": "The level of permission to grant the access token for checks on code.", + "enum": [ + "read", + "write" + ] + }, + "codespaces": { + "type": "string", + "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", + "enum": [ + "read", + "write" + ] + }, + "contents": { + "type": "string", + "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", + "enum": [ + "read", + "write" + ] + }, + "dependabot_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot secrets.", + "enum": [ + "read", + "write" + ] + }, + "deployments": { + "type": "string", + "description": "The level of permission to grant the access token for deployments and deployment statuses.", + "enum": [ + "read", + "write" + ] + }, + "environments": { + "type": "string", + "description": "The level of permission to grant the access token for managing repository environments.", + "enum": [ + "read", + "write" + ] + }, + "issues": { + "type": "string", + "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", + "enum": [ + "read", + "write" + ] + }, + "metadata": { + "type": "string", + "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", + "enum": [ + "read", + "write" + ] + }, + "packages": { + "type": "string", + "description": "The level of permission to grant the access token for packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "pages": { + "type": "string", + "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", + "enum": [ + "read", + "write" + ] + }, + "pull_requests": { + "type": "string", + "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", + "enum": [ + "read", + "write" + ] + }, + "repository_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, + "repository_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", + "enum": [ + "read", + "write" + ] + }, + "repository_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "secret_scanning_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage repository secrets.", + "enum": [ + "read", + "write" + ] + }, + "security_events": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", + "enum": [ + "read", + "write" + ] + }, + "single_file": { + "type": "string", + "description": "The level of permission to grant the access token to manage just a single file.", + "enum": [ + "read", + "write" + ] + }, + "statuses": { + "type": "string", + "description": "The level of permission to grant the access token for commit statuses.", + "enum": [ + "read", + "write" + ] + }, + "vulnerability_alerts": { + "type": "string", + "description": "The level of permission to grant the access token to manage Dependabot alerts.", + "enum": [ + "read", + "write" + ] + }, + "workflows": { + "type": "string", + "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", + "enum": [ + "write" + ] + }, + "members": { + "type": "string", + "description": "The level of permission to grant the access token for organization teams and members.", + "enum": [ + "read", + "write" + ] + }, + "organization_administration": { + "type": "string", + "description": "The level of permission to grant the access token to manage access to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom repository roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_org_roles": { + "type": "string", + "description": "The level of permission to grant the access token for custom organization roles management.", + "enum": [ + "read", + "write" + ] + }, + "organization_custom_properties": { + "type": "string", + "description": "The level of permission to grant the access token for custom property management.", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_copilot_seat_management": { + "type": "string", + "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", + "enum": [ + "write" + ] + }, + "organization_announcement_banners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_events": { + "type": "string", + "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", + "enum": [ + "read" + ] + }, + "organization_hooks": { + "type": "string", + "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_tokens": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_personal_access_token_requests": { + "type": "string", + "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_plan": { + "type": "string", + "description": "The level of permission to grant the access token for viewing an organization's plan.", + "enum": [ + "read" + ] + }, + "organization_projects": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", + "enum": [ + "read", + "write", + "admin" + ] + }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", + "enum": [ + "read", + "write" + ] + }, + "organization_secrets": { + "type": "string", + "description": "The level of permission to grant the access token to manage organization secrets.", + "enum": [ + "read", + "write" + ] + }, + "organization_self_hosted_runners": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", + "enum": [ + "read", + "write" + ] + }, + "organization_user_blocking": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", + "enum": [ + "read", + "write" + ] + }, + "team_discussions": { + "type": "string", + "description": "The level of permission to grant the access token to manage team discussions and related comments.", + "enum": [ + "read", + "write" + ] + }, + "email_addresses": { + "type": "string", + "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "followers": { + "type": "string", + "description": "The level of permission to grant the access token to manage the followers belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "git_ssh_keys": { + "type": "string", + "description": "The level of permission to grant the access token to manage git SSH keys.", + "enum": [ + "read", + "write" + ] + }, + "gpg_keys": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", + "enum": [ + "read", + "write" + ] + }, + "interaction_limits": { + "type": "string", + "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", + "enum": [ + "read", + "write" + ] + }, + "profile": { + "type": "string", + "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", + "enum": [ + "write" + ] + }, + "starring": { + "type": "string", + "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", + "enum": [ + "read", + "write" + ] + } + }, + "example": { + "contents": "read", + "issues": "read", + "deployments": "write", + "single_file": "read" + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "single_file_name": { + "type": "string", + "example": "config.yaml", "nullable": true }, - "expires_at": { + "has_multiple_single_files": { + "type": "boolean", + "example": true + }, + "single_file_paths": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ] + }, + "app_slug": { + "type": "string", + "example": "github-actions" + }, + "suspended_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ], + "nullable": true + }, + "suspended_at": { "type": "string", "format": "date-time", - "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", - "example": "\"2021-01-01T00:00:00.000-07:00\"", "nullable": true }, - "user_dismissible": { - "type": "boolean", - "description": "Whether an announcement can be dismissed by the user.", - "example": false, - "nullable": true, - "default": false + "contact_email": { + "type": "string", + "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", + "nullable": true } }, "required": [ - "announcement", - "expires_at", - "user_dismissible" + "id", + "app_id", + "app_slug", + "target_id", + "target_type", + "single_file_name", + "repository_selection", + "access_tokens_url", + "html_url", + "repositories_url", + "events", + "account", + "permissions", + "created_at", + "updated_at", + "suspended_by", + "suspended_at" ] }, "examples": { "default": { - "summary": "Announcement banner", "value": { - "announcement": "Very **important** announcement about _something_.", - "expires_at": "2021-01-01T00:00:00.000+00:00", - "user_dismissible": false + "id": 1, + "account": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/organizations/github/settings/installations/1", + "app_id": 1, + "target_id": 1, + "target_type": "Organization", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": [ + "push", + "pull_request" + ], + "single_file_name": "config.yaml", + "has_multiple_single_files": true, + "single_file_paths": [ + "config.yml", + ".github/issue_TEMPLATE.md" + ], + "repository_selection": "selected", + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00", + "app_slug": "github-actions", + "suspended_at": null, + "suspended_by": null } } } @@ -24601,21 +28517,23 @@ }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "announcement-banners", - "subcategory": "enterprises" + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" } - }, - "delete": { - "summary": "Remove announcement banner from enterprise", - "description": "Removes the announcement banner currently set for the enterprise.", + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/add": { + "patch": { + "summary": "Grant repository access to an organization installation", + "description": "Grant repository access to an organization installation. You can add up to 50 repositories at a time. If the installation already has access to the repository, it will not be added again.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", "tags": [ - "enterprise-admin" + "apps" ], - "operationId": "announcement-banners/remove-announcement-banner-for-enterprise", + "operationId": "enterprise-apps/grant-repository-access-to-installation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation" }, "parameters": [ { @@ -24626,18 +28544,307 @@ "schema": { "type": "string" } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "A list of repositories which the authenticated GitHub App should be granted access to.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + } + }, + "required": [ + "full_name", + "id", + "name" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repositories": { + "type": "array", + "description": "The repository names to add to the installation.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "repositories" + ] + }, + "examples": { + "repositories": { + "value": { + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } } }, "x-github": { "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "announcement-banners", - "subcategory": "enterprises" + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/remove": { + "patch": { + "summary": "Remove repository access from an organization installation", + "description": "Remove repository access from a GitHub App installed on an organization. You can remove up to 50 repositories at a time. You cannot remove repositories from an app installed on `all` repositories, nor can you remove the last repository for an app. If you attempt to do so, the API will return a 422 Unprocessable Entity error.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/remove-repository-access-to-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "installation_id", + "description": "The unique identifier of the installation.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + }, + "examples": { + "default": { + "value": 1 + } + } + } + ], + "responses": { + "200": { + "description": "A list of repositories which the authenticated GitHub App has lost access to.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + } + }, + "required": [ + "full_name", + "id", + "name" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + }, + "422": { + "description": "The request was well-formed but was unable to be followed due to semantic errors. This can happen if you attempt to remove a repository from an installation that has access to `all` repositories, or if you attempt to remove the last repository from an installation.", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + }, + "examples": { + "default": { + "value": [ + { + "message": "Cannot remove the last repository from this installation. Uninstall this application instead." + }, + { + "documentation_url": "https://docs.github.com/rest/enterprise-admin/organization-installations#remove-repository-access-to-an-organization-installation" + }, + { + "status": 422 + } + ] + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repositories": { + "type": "array", + "description": "The repository names to remove from the installation.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "repositories" + ] + }, + "examples": { + "repositories": { + "value": { + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" } } }, @@ -126684,7 +130891,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -126710,6 +130917,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -127639,7 +131850,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -127665,6 +131876,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -133506,7 +137721,7 @@ }, "delete": { "summary": "Remove an organization member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -138731,7 +142946,7 @@ }, "delete": { "summary": "Remove organization membership for a user", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -331821,7 +336036,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -331847,6 +336062,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -543273,7 +547492,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -543299,6 +547518,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -585948,7 +590171,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -585974,6 +590197,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -770956,7 +775183,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -770982,6 +775209,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -773503,7 +777734,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -773529,6 +777760,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -775957,7 +780192,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -775983,6 +780218,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -778411,7 +782650,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -778437,6 +782676,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -780997,7 +785240,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -781023,6 +785266,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -783590,7 +787837,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -783616,6 +787863,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -787806,7 +792057,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -787832,6 +792083,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 8592dd6a6f..c6f0ef8aa7 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -442,7 +442,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &86 + - &89 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For @@ -451,7 +451,7 @@ paths: required: false schema: type: string - - &87 + - &90 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For @@ -460,7 +460,7 @@ paths: required: false schema: type: string - - &88 + - &91 name: direction description: The direction to sort the results by. in: query @@ -681,7 +681,7 @@ paths: required: - vector_string - score - cvss_severities: &102 + cvss_severities: &105 type: object nullable: true properties: @@ -721,7 +721,7 @@ paths: required: - vector_string - score - epss: &103 + epss: &106 type: object nullable: true readOnly: true @@ -859,7 +859,7 @@ paths: - subscriptions_url - type - url - type: &349 + type: &351 type: string description: The type of credit the user is receiving. enum: @@ -992,7 +992,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &186 + schema: &188 title: Validation Error Simple description: Validation Error Simple type: object @@ -1025,7 +1025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &698 + - &700 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1143,7 +1143,7 @@ paths: GitHub. type: object nullable: true - properties: &142 + properties: &145 id: description: Unique identifier of the GitHub app example: 37 @@ -1276,7 +1276,7 @@ paths: about itself. example: 5 type: integer - required: &143 + required: &146 - id - node_id - owner @@ -1581,7 +1581,7 @@ paths: schema: type: integer default: 30 - - &271 + - &273 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1597,7 +1597,7 @@ paths: application/json: schema: type: array - items: &272 + items: &274 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1677,7 +1677,7 @@ paths: - installation_id - repository_id examples: - default: &273 + default: &275 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1709,7 +1709,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &708 + schema: &710 title: Scim Error description: Scim Error type: object @@ -1736,7 +1736,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &185 + schema: &187 title: Validation Error description: Validation Error type: object @@ -1805,7 +1805,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &276 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1919,7 +1919,7 @@ paths: - request - response examples: - default: &275 + default: &277 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2120,7 +2120,7 @@ paths: parameters: - *17 - *19 - - &147 + - &150 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2159,7 +2159,8 @@ paths: - *18 repository_selection: description: Describe whether all repositories have been selected - or there's a selection involved + or there's a selection involved. For enterprise installations + this is `selected`. type: string enum: - all @@ -2179,6 +2180,9 @@ paths: app_id: type: integer example: 1 + client_id: + type: string + example: Iv1.ab1112223334445c target_id: description: The ID of the user or organization this token is being scoped to. @@ -2694,7 +2698,7 @@ paths: application/json: schema: *22 examples: - default: + default: &74 value: id: 1 account: @@ -2749,7 +2753,7 @@ paths: delete: summary: Delete an installation for the authenticated app description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)" endpoint. + Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)" endpoint. You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -2773,12 +2777,14 @@ paths: post: summary: Create an installation access token for an app description: |- - Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. + Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an enterprise, organization, or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. Optionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner. Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. + Enterprise account installations do not have access to repositories and cannot be scoped down using the `permissions` parameter. + You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: - apps @@ -2827,7 +2833,7 @@ paths: schema: title: Installation Token description: Authentication token for a GitHub App installed on a - user or org. + user, org, or enterprise. type: object properties: token: @@ -2846,7 +2852,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &330 + properties: &332 id: description: Unique identifier of the repository example: 42 @@ -2866,7 +2872,7 @@ paths: title: License Simple description: License Simple type: object - properties: &158 + properties: &161 key: type: string example: mit @@ -2888,7 +2894,7 @@ paths: html_url: type: string format: uri - required: &159 + required: &162 - key - name - url @@ -3284,7 +3290,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &331 + required: &333 - archive_url - assignees_url - blobs_url @@ -3518,7 +3524,7 @@ paths: put: summary: Suspend an app installation description: |- - Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account. + Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account. You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -5071,7 +5077,7 @@ paths: responses: '202': *39 '422': *7 - '500': &85 + '500': &88 description: Internal Error content: application/json: @@ -7357,7 +7363,7 @@ paths: description: Response content: application/json: - schema: &187 + schema: &189 type: object properties: total_active_caches_count: @@ -7372,7 +7378,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &188 + default: &190 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7556,7 +7562,7 @@ paths: - public_ip_enabled - platform examples: - default: &189 + default: &191 value: total_count: 2 runners: @@ -7842,7 +7848,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &192 type: object properties: public_ips: @@ -7867,7 +7873,7 @@ paths: required: - public_ips examples: - default: &191 + default: &193 value: public_ips: current_usage: 17 @@ -7907,7 +7913,7 @@ paths: type: array items: *45 examples: - default: &192 + default: &194 value: id: 4-core cpu_cores: 4 @@ -8164,7 +8170,7 @@ paths: - all - local_only - selected - selected_actions_url: &195 + selected_actions_url: &197 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -8253,7 +8259,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &98 + properties: &101 login: type: string example: github @@ -8294,7 +8300,7 @@ paths: type: string example: A great organization nullable: true - required: &99 + required: &102 - login - url - id @@ -8532,7 +8538,7 @@ paths: description: Success response content: application/json: - schema: &198 + schema: &200 type: object properties: default_workflow_permissions: &53 @@ -8580,7 +8586,7 @@ paths: required: true content: application/json: - schema: &199 + schema: &201 type: object properties: default_workflow_permissions: *53 @@ -9416,7 +9422,7 @@ paths: application/json: schema: type: array - items: &203 + items: &205 title: Runner Application description: Runner Application type: object @@ -9441,7 +9447,7 @@ paths: - download_url - filename examples: - default: &204 + default: &206 value: - os: osx architecture: x64 @@ -9525,7 +9531,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &205 + '201': &207 description: Response content: application/json: @@ -9564,7 +9570,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &96 + '409': &99 description: Conflict content: application/json: @@ -9640,7 +9646,7 @@ paths: - token - expires_at examples: - default: &206 + default: &208 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9680,7 +9686,7 @@ paths: application/json: schema: *65 examples: - default: &207 + default: &209 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9712,7 +9718,7 @@ paths: application/json: schema: *62 examples: - default: &208 + default: &210 value: id: 23 name: MBP @@ -9928,7 +9934,7 @@ paths: - *41 - *61 responses: - '200': &209 + '200': &211 description: Response content: application/json: @@ -9984,7 +9990,7 @@ paths: parameters: - *41 - *61 - - &210 + - &212 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10075,7 +10081,7 @@ paths: required: true content: application/json: - schema: &217 + schema: &219 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10121,6 +10127,575 @@ paths: enabledForGitHubApps: false category: announcement-banners subcategory: enterprises + "/enterprises/{enterprise}/apps/installable_organizations": + get: + summary: Get enterprise-owned organizations that can have GitHub Apps installed + description: |- + List the organizations owned by the enterprise, intended for use by GitHub Apps that are managing applications across the enterprise. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/installable-organizations + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-enterprise-owned-organizations-that-can-have-github-apps-installed + parameters: + - *41 + - *17 + - *19 + responses: + '200': + description: A list of organizations owned by the enterprise on which the + authenticated GitHub App is installed. + content: + application/json: + schema: + type: array + items: + title: Installable Organization + description: A GitHub organization on which a GitHub App can be + installed. + type: object + properties: + id: + type: integer + example: 1 + login: + type: string + example: github + accessible_repositories_url: + type: string + format: uri + example: https://api.github.com/enterprises/biz-name/apps/organizations/org-login/accessible_repositories + required: + - id + - login + examples: + default: + value: + - id: 1 + login: github + - id: 2 + login: microsoft + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/installable_organizations/{org}/accessible_repositories": + get: + summary: Get repositories belonging to an enterprise-owned organization + description: |- + List the repositories belonging to an enterprise-owned organization that can be made accessible to a GitHub App installed on that organization. This API provides a shallow list of repositories in the organization, allowing the caller to then add or remove those repositories to an installation in that organization. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/installable-organization-accessible-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization + parameters: + - *41 + - &73 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + - *17 + - *19 + responses: + '200': + description: A list of repositories owned by the enterprise organization + on which the authenticated GitHub App is installed. + content: + application/json: + schema: + type: array + items: &75 + title: Accessible Repository + description: A repository that may be made accessible to a GitHub + App. + type: object + properties: + id: + description: Unique identifier of the repository + type: integer + format: int64 + example: 1 + name: + description: The name of the repository. + type: string + example: Team Environment + full_name: + type: string + example: octocat/Hello-World + required: + - full_name + - id + - name + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations": + get: + summary: List GitHub Apps installed on an enterprise-owned organization + description: |- + Lists the GitHub App installations associated with the given enterprise-owned organization. This lists all GitHub Apps that have been installed on the organization, regardless of who owns the application. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/organization-installations + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization + parameters: + - *41 + - *73 + - *17 + - *19 + responses: + '200': + description: A list of GitHub App installations that have been granted access + to the organization + content: + application/json: + schema: + type: array + items: + title: Enterprise Organization Installation + description: A GitHub App Installation on an enterprise-owned organization + type: object + properties: + id: + description: The ID of the installation. + type: integer + example: 1 + app_slug: + type: string + example: github/github-actions + client_id: + type: string + example: Iv1.ab1112223334445c + repository_selection: + description: Describe whether all repositories have been selected + or there's a selection involved + type: string + enum: + - all + - selected + repositories_url: + type: string + format: uri + example: https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories + permissions: *24 + events: + type: array + items: + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - id + - client_id + - repository_selection + - repositories_url + - permissions + - created_at + - updated_at + examples: + default: + value: + - value: + id: 1 + app_slug: monalisa/orbit + repository_selection: selected + repositories_url: https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories + permissions: + checks: write + metadata: read + contents: read + events: + - push + - pull_request + created_at: '2017-07-08T16:18:44-04:00' + updated_at: '2017-07-08T16:18:44-04:00' + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + post: + summary: Install a GitHub App on an enterprise-owned organization + description: |- + Installs any valid GitHub App on the specified organization owned by the enterprise. If the app is already installed on the organization, and is suspended, it will be unsuspended. + If the app has a pending installation request, they will all be approved. + + If the app is already installed and has a pending update request, it will be updated to the latest version. If the app is now requesting repository permissions, it will be given access to the repositories listed in the request or fail if no `repository_selection` is provided. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/create-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization + parameters: + - *41 + - *73 + responses: + '200': + description: A GitHub App installation that was installed previously. + content: + application/json: + schema: *22 + examples: + default: *74 + '201': + description: A GitHub App installation. + content: + application/json: + schema: *22 + examples: + default: *74 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + client_id: + type: string + description: The Client ID of the GitHub App to install. + repository_selection: + type: string + description: |- + The repository selection for the GitHub App. Must be one of: + * `all` - the installation can access all repositories in the organization. + * `selected` - the installation can access only the listed repositories. + * `none` - no repository permissions are requested. Only use when the app does not request repository permissions. + enum: + - all + - selected + - none + repositories: + type: array + description: The names of the repositories to which the installation + will be granted access. This is the simple name of the repository, + not the full name (e.g., `hello-world` not `octocat/hello-world`). + This is only required when `repository_selection` is `selected`. + items: + type: string + maxItems: 50 + required: + - client_id + - repository_selection + examples: + default: + summary: Example of installing a GitHub App on an organization and + granting access to all of its repositories. + value: + client_id: Iv2abc123aabbcc + repository_selection: all + repository_selection_selected: + value: + client_id: Iv2abc123aabbcc + repository_selection: selected + repositories: + - hello-world + - hello-world-2 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": + delete: + summary: Uninstall a GitHub App from an enterprise-owned organization + description: |- + Uninstall a GitHub App from an organization. Any app installed on the organization can be removed. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/delete-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization + parameters: + - *41 + - *73 + - *23 + responses: + '204': + description: An empty response indicates that the installation was successfully + removed. + '404': *6 + '403': *29 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": + get: + summary: Get the repositories accessible to a given GitHub App installation + description: |- + Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/organization-installation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation + parameters: + - *41 + - *73 + - *23 + - *17 + - *19 + responses: + '200': + description: A list of repositories owned by the enterprise organization + to which the installation has access. + content: + application/json: + schema: + type: array + items: *75 + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + patch: + summary: Toggle installation repository access between selected and all repositories + description: |- + Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/change-installation-repository-access-selection + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories + parameters: + - *41 + - *73 + - *23 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_selection: + type: string + description: One of either 'all' or 'selected' + enum: + - all + - selected + repositories: + type: array + description: The repository names to add to the installation. Only + required when repository_selection is 'selected' + items: + type: string + maxItems: 50 + required: + - repository_selection + examples: + default: + summary: Change the repositories accessible to a GitHub App from 'all + repositories' to a specified subset. + value: + repository_selection: selected + repositories: + - hello-world + - hello-world-2 + responses: + '200': + description: The GitHub App installation that was updated. + content: + application/json: + schema: *22 + examples: + default: *74 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/add": + patch: + summary: Grant repository access to an organization installation + description: |- + Grant repository access to an organization installation. You can add up to 50 repositories at a time. If the installation already has access to the repository, it will not be added again. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/grant-repository-access-to-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation + parameters: + - *41 + - *73 + - *23 + responses: + '200': + description: A list of repositories which the authenticated GitHub App should + be granted access to. + content: + application/json: + schema: + type: array + items: *75 + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repositories: + type: array + description: The repository names to add to the installation. + items: + type: string + maxItems: 50 + required: + - repositories + examples: + repositories: + value: + repositories: + - hello-world + - hello-world-2 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/remove": + patch: + summary: Remove repository access from an organization installation + description: |- + Remove repository access from a GitHub App installed on an organization. You can remove up to 50 repositories at a time. You cannot remove repositories from an app installed on `all` repositories, nor can you remove the last repository for an app. If you attempt to do so, the API will return a 422 Unprocessable Entity error. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/remove-repository-access-to-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation + parameters: + - *41 + - *73 + - *23 + responses: + '200': + description: A list of repositories which the authenticated GitHub App has + lost access to. + content: + application/json: + schema: + type: array + items: *75 + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + '422': + description: The request was well-formed but was unable to be followed due + to semantic errors. This can happen if you attempt to remove a repository + from an installation that has access to `all` repositories, or if you + attempt to remove the last repository from an installation. + content: + application/json: + schema: *3 + examples: + default: + value: + - message: Cannot remove the last repository from this installation. + Uninstall this application instead. + - documentation_url: https://docs.github.com/rest/enterprise-admin/organization-installations#remove-repository-access-to-an-organization-installation + - status: 422 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repositories: + type: array + description: The repository names to remove from the installation. + items: + type: string + maxItems: 50 + required: + - repositories + examples: + repositories: + value: + repositories: + - hello-world + - hello-world-2 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations "/enterprises/{enterprise}/audit-log": get: summary: Get the audit log for an enterprise @@ -10147,7 +10722,7 @@ paths: required: false schema: type: string - - &218 + - &220 name: include description: |- The event types to include: @@ -10165,7 +10740,7 @@ paths: - web - git - all - - &219 + - &221 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -10173,7 +10748,7 @@ paths: required: false schema: type: string - - &220 + - &222 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -10181,7 +10756,7 @@ paths: required: false schema: type: string - - &221 + - &223 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10203,7 +10778,7 @@ paths: application/json: schema: type: array - items: &222 + items: &224 type: object properties: "@timestamp": @@ -10325,7 +10900,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &223 + default: &225 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10504,7 +11079,7 @@ paths: vendor_specific: type: object oneOf: - - &76 + - &79 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -10518,7 +11093,7 @@ paths: required: - key_id - encrypted_sas_url - - &77 + - &80 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -10537,7 +11112,7 @@ paths: - name - encrypted_connstring - key_id - - &78 + - &81 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -10565,7 +11140,7 @@ paths: - bucket - key_id - region - - &79 + - &82 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -10599,7 +11174,7 @@ paths: - encrypted_secret_key - key_id - region - - &80 + - &83 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -10627,7 +11202,7 @@ paths: - key_id - port - ssl_verify - - &81 + - &84 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -10659,7 +11234,7 @@ paths: - key_id - port - ssl_verify - - &82 + - &85 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -10677,7 +11252,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &83 + - &86 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -10708,7 +11283,7 @@ paths: - stream_type - vendor_specific examples: - default: &84 + default: &87 value: enabled: false stream_type: Azure Event Hubs @@ -10722,7 +11297,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &73 + schema: &76 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -10753,7 +11328,7 @@ paths: - created_at - updated_at examples: - default: &74 + default: &77 value: id: 1 stream_type: Splunk @@ -10782,7 +11357,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id parameters: - *41 - - &75 + - &78 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -10794,9 +11369,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *73 + schema: *76 examples: - default: *74 + default: *77 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -10816,7 +11391,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *41 - - *75 + - *78 requestBody: required: true content: @@ -10842,28 +11417,28 @@ paths: vendor_specific: type: object oneOf: - - *76 - - *77 - - *78 - *79 - *80 - *81 - *82 - *83 + - *84 + - *85 + - *86 required: - enabled - stream_type - vendor_specific examples: - default: *84 + default: *87 responses: '200': description: Successful update content: application/json: - schema: *73 + schema: *76 examples: - default: *74 + default: *77 '422': description: Validation error content: @@ -10894,7 +11469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise parameters: - *41 - - *75 + - *78 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -10926,7 +11501,7 @@ paths: in: query schema: type: string - - &225 + - &227 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -10934,7 +11509,7 @@ paths: required: false schema: type: string - - &226 + - &228 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -10942,7 +11517,7 @@ paths: required: false schema: type: string - - &227 + - &229 name: time_period description: |- The time period to filter by. @@ -10958,7 +11533,7 @@ paths: - week - month default: day - - &228 + - &230 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -10985,7 +11560,7 @@ paths: application/json: schema: type: array - items: &229 + items: &231 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11102,7 +11677,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &232 + items: &234 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -11146,7 +11721,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &230 + default: &232 value: - id: 21 number: 42 @@ -11215,7 +11790,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *85 + '500': *88 "/enterprises/{enterprise}/code-scanning/alerts": get: summary: List code scanning alerts for an enterprise @@ -11233,17 +11808,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &237 + - &239 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &89 + schema: &92 type: string description: The name of the tool used to generate the code scanning analysis. - - &238 + - &240 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -11251,22 +11826,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &90 + schema: &93 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *86 - - *87 + - *89 + - *90 - *19 - *17 - - *88 + - *91 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &239 + schema: &241 type: string description: State of a code scanning alert. enum: @@ -11291,42 +11866,42 @@ paths: application/json: schema: type: array - items: &240 + items: &242 type: object properties: - number: &100 + number: &103 type: integer description: The security alert number. readOnly: true - created_at: &107 + created_at: &110 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &108 + updated_at: &111 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &105 + url: &108 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &106 + html_url: &109 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &466 + instances_url: &468 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &91 + state: &94 type: string description: State of a code scanning alert. nullable: true @@ -11334,7 +11909,7 @@ paths: - open - dismissed - fixed - fixed_at: &110 + fixed_at: &113 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -11348,14 +11923,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &109 + dismissed_at: &112 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &467 + dismissed_reason: &469 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11364,13 +11939,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &468 + dismissed_comment: &470 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &469 + rule: &471 type: object properties: id: @@ -11423,25 +11998,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &470 + tool: &472 type: object properties: - name: *89 + name: *92 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *90 - most_recent_instance: &471 + guid: *93 + most_recent_instance: &473 type: object properties: - ref: &464 + ref: &466 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &481 + analysis_key: &483 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11452,13 +12027,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &482 + category: &484 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *91 + state: *94 commit_sha: type: string message: @@ -11497,11 +12072,11 @@ paths: - generated - test - library - repository: &97 + repository: &100 title: Simple Repository description: A GitHub repository. type: object - properties: &175 + properties: &177 id: type: integer format: int64 @@ -11728,7 +12303,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &176 + required: &178 - archive_url - assignees_url - blobs_url @@ -11797,7 +12372,7 @@ paths: - most_recent_instance - repository examples: - default: &241 + default: &243 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12028,7 +12603,7 @@ paths: headers: Link: *40 '404': *6 - '503': &134 + '503': &137 description: Service unavailable content: application/json: @@ -12072,8 +12647,8 @@ paths: schema: type: integer default: 30 - - *86 - - *87 + - *89 + - *90 responses: '200': description: Response @@ -12081,7 +12656,7 @@ paths: application/json: schema: type: array - items: &92 + items: &95 type: object description: A code security configuration properties: @@ -12444,7 +13019,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &95 + code_scanning_default_setup_options: &98 type: object description: Feature options for code scanning default setup nullable: true @@ -12554,9 +13129,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *92 + schema: *95 examples: - default: &93 + default: &96 value: id: 1325 target_type: enterprise @@ -12614,7 +13189,7 @@ paths: description: Response content: application/json: - schema: &243 + schema: &245 type: array description: A list of default code security configurations items: @@ -12628,9 +13203,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *92 + configuration: *95 examples: - default: &244 + default: &246 value: - default_for_new_repos: public configuration: @@ -12715,7 +13290,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *41 - - &94 + - &97 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -12727,9 +13302,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *95 examples: - default: *93 + default: *96 '304': *37 '403': *29 '404': *6 @@ -12754,7 +13329,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *41 - - *94 + - *97 requestBody: required: true content: @@ -12824,7 +13399,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *95 + code_scanning_default_setup_options: *98 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -12905,13 +13480,13 @@ paths: description: Response content: application/json: - schema: *92 + schema: *95 examples: - default: *93 + default: *96 '304': *37 '403': *29 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -12935,14 +13510,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *41 - - *94 + - *97 responses: - '204': &120 + '204': &123 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -12967,7 +13542,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *41 - - *94 + - *97 requestBody: required: true content: @@ -12994,7 +13569,7 @@ paths: '202': *39 '403': *29 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -13019,7 +13594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - *41 - - *94 + - *97 requestBody: required: true content: @@ -13059,12 +13634,12 @@ paths: - none - private_and_internal - public - configuration: *92 + configuration: *95 examples: default: value: default_for_new_repos: all - configuration: &242 + configuration: &244 value: id: 1325 target_type: organization @@ -13119,7 +13694,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *41 - - *94 + - *97 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -13128,8 +13703,8 @@ paths: schema: type: integer default: 30 - - *86 - - *87 + - *89 + - *90 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -13147,7 +13722,7 @@ paths: application/json: schema: type: array - items: &245 + items: &247 type: object description: Repositories associated with a code security configuration and attachment status @@ -13165,13 +13740,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *97 + repository: *100 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &246 + repository: &248 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13636,7 +14211,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &111 + items: &114 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -13653,14 +14228,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *98 - required: *99 + properties: *101 + required: *102 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &233 + - &235 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13719,7 +14294,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &308 + properties: &310 id: description: Unique identifier of the team type: integer @@ -13775,7 +14350,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &309 + required: &311 - id - node_id - url @@ -13897,7 +14472,7 @@ paths: - created_at additionalProperties: false examples: - default: &112 + default: &115 value: total_seats: 2 seats: @@ -13966,7 +14541,7 @@ paths: site_admin: false headers: Link: *40 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -14028,7 +14603,7 @@ paths: application/json: schema: type: array - items: &138 + items: &141 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -14335,7 +14910,7 @@ paths: - date additionalProperties: true examples: - default: &139 + default: &142 value: - date: '2024-06-24' total_active_users: 24 @@ -14434,10 +15009,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *85 + '500': *88 '403': *29 '404': *6 - '422': &140 + '422': &143 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -14467,7 +15042,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &253 + - &255 name: state in: query description: |- @@ -14476,7 +15051,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &254 + - &256 name: severity in: query description: |- @@ -14485,7 +15060,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &255 + - &257 name: ecosystem in: query description: |- @@ -14494,14 +15069,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &256 + - &258 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &257 + - &259 name: epss_percentage in: query description: |- @@ -14513,7 +15088,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &258 + - &260 name: has in: query description: |- @@ -14527,7 +15102,7 @@ paths: type: string enum: - patch - - &259 + - &261 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14537,7 +15112,7 @@ paths: enum: - development - runtime - - &260 + - &262 name: sort in: query description: |- @@ -14552,10 +15127,10 @@ paths: - updated - epss_percentage default: created - - *88 - - *86 - - *87 - - &261 + - *91 + - *89 + - *90 + - &263 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14568,7 +15143,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &262 + - &264 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14588,11 +15163,11 @@ paths: application/json: schema: type: array - items: &263 + items: &265 type: object description: A Dependabot alert. properties: - number: *100 + number: *103 state: type: string description: The state of the Dependabot alert. @@ -14607,7 +15182,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &101 + package: &104 type: object description: Details for the vulnerable package. readOnly: true @@ -14651,7 +15226,7 @@ paths: - unknown - direct - transitive - security_advisory: &523 + security_advisory: &525 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14681,13 +15256,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &104 + items: &107 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *101 + package: *104 severity: type: string description: The severity of the vulnerability. @@ -14753,8 +15328,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *102 - epss: *103 + cvss_severities: *105 + epss: *106 cwes: type: array description: Details for the advisory pertaining to Common @@ -14853,12 +15428,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *104 - url: *105 - html_url: *106 - created_at: *107 - updated_at: *108 - dismissed_at: *109 + security_vulnerability: *107 + url: *108 + html_url: *109 + created_at: *110 + updated_at: *111 + dismissed_at: *112 dismissed_by: title: Simple User description: A GitHub user. @@ -14882,15 +15457,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *110 - auto_dismissed_at: &524 + fixed_at: *113 + auto_dismissed_at: &526 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - repository: *97 + repository: *100 required: - number - state @@ -14909,7 +15484,7 @@ paths: - repository additionalProperties: false examples: - default: &264 + default: &266 value: - number: 2 state: dismissed @@ -15326,7 +15901,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *41 - - &224 + - &226 name: username description: The handle for the GitHub user account. in: path @@ -15348,10 +15923,10 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *111 + items: *114 examples: - default: *112 - '500': *85 + default: *115 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -15393,7 +15968,7 @@ paths: type: integer network_configurations: type: array - items: &113 + items: &116 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -15433,7 +16008,7 @@ paths: - name - created_on examples: - default: &360 + default: &362 value: total_count: 2 network_configurations: @@ -15511,9 +16086,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *116 examples: - default: &114 + default: &117 value: id: 123456789ABCDEF name: My network configuration @@ -15540,7 +16115,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *41 - - &115 + - &118 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -15552,9 +16127,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *116 examples: - default: *114 + default: *117 headers: Link: *40 x-github: @@ -15574,7 +16149,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *41 - - *115 + - *118 requestBody: required: true content: @@ -15613,9 +16188,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *116 examples: - default: *114 + default: *117 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -15633,7 +16208,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *41 - - *115 + - *118 responses: '204': description: Response @@ -15656,7 +16231,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &361 + - &363 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -15668,7 +16243,7 @@ paths: description: Response content: application/json: - schema: &362 + schema: &364 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -15702,7 +16277,7 @@ paths: - subnet_id - region examples: - default: &363 + default: &365 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -15737,7 +16312,7 @@ paths: application/json: schema: type: array - items: &116 + items: &119 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -15803,7 +16378,7 @@ paths: - property_name - value_type examples: - default: &117 + default: &120 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -15860,7 +16435,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *116 + items: *119 minItems: 1 maxItems: 100 required: @@ -15890,9 +16465,9 @@ paths: application/json: schema: type: array - items: *116 + items: *119 examples: - default: *117 + default: *120 '403': *29 '404': *6 x-github: @@ -15915,14 +16490,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *41 - - &174 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string - - &118 + - *73 + - &121 name: custom_property_name description: The custom property name in: path @@ -15934,9 +16503,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *119 examples: - default: &119 + default: &122 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -15969,15 +16538,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *118 + - *121 responses: '200': description: Response content: application/json: - schema: *116 + schema: *119 examples: - default: *119 + default: *122 '403': *29 '404': *6 x-github: @@ -15999,12 +16568,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *41 - - *118 + - *121 requestBody: required: true content: application/json: - schema: &328 + schema: &330 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16068,9 +16637,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *119 examples: - default: *119 + default: *122 '403': *29 '404': *6 x-github: @@ -16092,9 +16661,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *118 + - *121 responses: - '204': *120 + '204': *123 '403': *29 '404': *6 x-github: @@ -16134,7 +16703,7 @@ paths: - push - repository default: branch - enforcement: &127 + enforcement: &130 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -16147,7 +16716,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &128 + items: &131 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -16184,7 +16753,7 @@ paths: - always - pull_request default: always - conditions: &132 + conditions: &135 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -16198,7 +16767,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &121 + - &124 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -16224,7 +16793,7 @@ paths: type: string required: - organization_name - - &124 + - &127 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -16253,7 +16822,7 @@ paths: is prevented. required: - repository_name - - &123 + - &126 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -16281,8 +16850,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *121 - - &126 + - *124 + - &129 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -16295,7 +16864,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &122 + items: &125 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -16326,16 +16895,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *122 + items: *125 required: - repository_property - - *123 + - *126 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &125 + - &128 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -16352,25 +16921,25 @@ paths: type: integer required: - organization_id - - *124 - - *123 + - *127 + - *126 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *125 + - *128 + - *129 - *126 - - *123 rules: type: array description: An array of rules within the ruleset. - items: &129 + items: &132 title: Repository Rule type: object description: A repository rule. oneOf: - - &642 + - &644 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16382,7 +16951,7 @@ paths: type: string enum: - creation - - &643 + - &645 title: update description: Only allow users with bypass permission to update matching refs. @@ -16403,7 +16972,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &645 + - &647 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16415,7 +16984,7 @@ paths: type: string enum: - deletion - - &646 + - &648 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16427,7 +16996,7 @@ paths: type: string enum: - required_linear_history - - &647 + - &649 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16503,7 +17072,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &648 + - &650 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16527,7 +17096,7 @@ paths: type: string required: - required_deployment_environments - - &649 + - &651 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16539,7 +17108,7 @@ paths: type: string enum: - required_signatures - - &650 + - &652 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -16599,7 +17168,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &651 + - &653 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16646,7 +17215,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &652 + - &654 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16658,7 +17227,7 @@ paths: type: string enum: - non_fast_forward - - &653 + - &655 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16694,7 +17263,7 @@ paths: required: - operator - pattern - - &654 + - &656 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16730,7 +17299,7 @@ paths: required: - operator - pattern - - &655 + - &657 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16766,7 +17335,7 @@ paths: required: - operator - pattern - - &656 + - &658 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16802,7 +17371,7 @@ paths: required: - operator - pattern - - &657 + - &659 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16838,7 +17407,7 @@ paths: required: - operator - pattern - - &658 + - &660 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16862,7 +17431,7 @@ paths: type: string required: - restricted_file_paths - - &659 + - &661 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16886,7 +17455,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &660 + - &662 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16909,7 +17478,7 @@ paths: type: string required: - restricted_file_extensions - - &661 + - &663 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16933,7 +17502,7 @@ paths: maximum: 100 required: - max_file_size - - &662 + - &664 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16982,7 +17551,7 @@ paths: - repository_id required: - workflows - - &663 + - &665 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17068,7 +17637,7 @@ paths: description: Response content: application/json: - schema: &130 + schema: &133 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -17103,11 +17672,11 @@ paths: source: type: string description: The name of the source - enforcement: *127 + enforcement: *130 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *128 + items: *131 current_user_can_bypass: type: string description: |- @@ -17138,8 +17707,8 @@ paths: conditions: nullable: true anyOf: - - *123 - - &335 + - *126 + - &337 title: Organization ruleset conditions type: object description: |- @@ -17153,14 +17722,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *123 - - *124 + - *126 + - *127 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *123 + - *126 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -17182,11 +17751,11 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *123 - *126 + - *129 rules: type: array - items: *129 + items: *132 created_at: type: string format: date-time @@ -17194,7 +17763,7 @@ paths: type: string format: date-time examples: - default: &131 + default: &134 value: id: 21 name: super cool ruleset @@ -17220,7 +17789,7 @@ paths: created_at: '2024-08-15T08:43:03Z' updated_at: '2024-09-23T16:29:47Z' '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17253,11 +17822,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: *131 + default: *134 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17299,16 +17868,16 @@ paths: - tag - push - repository - enforcement: *127 + enforcement: *130 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *128 - conditions: *132 + items: *131 + conditions: *135 rules: description: An array of rules within the ruleset. type: array - items: *129 + items: *132 examples: default: value: @@ -17332,11 +17901,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: *131 + default: *134 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17363,7 +17932,7 @@ paths: '204': description: Response '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -17396,7 +17965,7 @@ paths: application/json: schema: type: array - items: &133 + items: &136 title: Ruleset version type: object description: The historical version of a ruleset @@ -17420,7 +17989,7 @@ paths: type: string format: date-time examples: - default: &337 + default: &339 value: - version_id: 3 actor: @@ -17438,7 +18007,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17473,9 +18042,9 @@ paths: description: Response content: application/json: - schema: &338 + schema: &340 allOf: - - *133 + - *136 - type: object required: - state @@ -17508,7 +18077,7 @@ paths: rules: - type: repository_delete '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17528,7 +18097,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &339 + - &341 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17539,7 +18108,7 @@ paths: enum: - open - resolved - - &340 + - &342 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17549,7 +18118,7 @@ paths: required: false schema: type: string - - &341 + - &343 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17558,7 +18127,7 @@ paths: required: false schema: type: string - - &342 + - &344 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -17570,11 +18139,11 @@ paths: - created - updated default: created - - *88 + - *91 - *17 - - *86 - - *87 - - &343 + - *89 + - *90 + - &345 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17583,7 +18152,7 @@ paths: required: false schema: type: string - - &344 + - &346 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17592,7 +18161,7 @@ paths: schema: type: boolean default: false - - &345 + - &347 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17601,7 +18170,7 @@ paths: schema: type: boolean default: false - - &346 + - &348 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -17617,11 +18186,11 @@ paths: application/json: schema: type: array - items: &347 + items: &349 type: object properties: - number: *100 - created_at: *107 + number: *103 + created_at: *110 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -17629,21 +18198,21 @@ paths: format: date-time readOnly: true nullable: true - url: *105 - html_url: *106 + url: *108 + html_url: *109 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &676 + state: &678 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &677 + resolution: &679 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17677,7 +18246,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *97 + repository: *100 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -17750,8 +18319,8 @@ paths: pull request. ' - oneOf: &678 - - &680 + oneOf: &680 + - &682 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -17803,7 +18372,7 @@ paths: - blob_url - commit_sha - commit_url - - &681 + - &683 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -17858,7 +18427,7 @@ paths: - page_url - commit_sha - commit_url - - &682 + - &684 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -17872,7 +18441,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &683 + - &685 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -17886,7 +18455,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &684 + - &686 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -17900,7 +18469,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &685 + - &687 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -17914,7 +18483,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &686 + - &688 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -17928,7 +18497,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &687 + - &689 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -17942,7 +18511,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &688 + - &690 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -17956,7 +18525,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &689 + - &691 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -17970,7 +18539,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &690 + - &692 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -17984,7 +18553,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &691 + - &693 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -17998,7 +18567,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &692 + - &694 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -18018,7 +18587,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &348 + default: &350 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18269,7 +18838,7 @@ paths: headers: Link: *40 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18300,7 +18869,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 type: object properties: total_minutes_used: @@ -18370,7 +18939,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &352 + default: &354 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18401,7 +18970,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &353 + - &355 name: advanced_security_product in: query description: | @@ -18421,7 +18990,7 @@ paths: description: Success content: application/json: - schema: &354 + schema: &356 type: object properties: total_advanced_security_committers: @@ -18476,7 +19045,7 @@ paths: required: - repositories examples: - default: &355 + default: &357 value: total_advanced_security_committers: 2 total_count: 2 @@ -18572,8 +19141,8 @@ paths: name: octocat/hello-world '400': *14 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18592,7 +19161,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *41 - - &137 + - &140 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -18604,7 +19173,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &135 + schema: &138 type: object properties: id: @@ -18632,7 +19201,7 @@ paths: - name - resources examples: - default: &136 + default: &139 value: - id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -18643,8 +19212,8 @@ paths: name: octocat/hello-world '400': *14 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18694,15 +19263,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *135 + schema: *138 examples: - default: *136 + default: *139 '400': *14 '403': *29 '404': *6 - '409': *96 - '500': *85 - '503': *134 + '409': *99 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18720,7 +19289,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *41 - - *137 + - *140 responses: '200': description: Response when deleting a cost center @@ -18758,8 +19327,8 @@ paths: '400': *14 '404': *6 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18780,7 +19349,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *41 - - *137 + - *140 requestBody: required: true content: @@ -18815,9 +19384,9 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *29 - '409': *96 - '500': *85 - '503': *134 + '409': *99 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18837,7 +19406,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *41 - - *137 + - *140 requestBody: required: true content: @@ -18873,8 +19442,8 @@ paths: message: Resources successfully removed from the cost center. '400': *14 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -18905,7 +19474,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &358 type: object properties: total_gigabytes_bandwidth_used: @@ -18923,7 +19492,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &357 + default: &359 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18958,7 +19527,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &360 type: object properties: days_left_in_billing_cycle: @@ -18976,7 +19545,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &359 + default: &361 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -19001,7 +19570,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - &177 + - &179 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -19010,7 +19579,7 @@ paths: required: false schema: type: integer - - &178 + - &180 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -19019,7 +19588,7 @@ paths: required: false schema: type: integer - - &179 + - &181 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -19028,7 +19597,7 @@ paths: required: false schema: type: integer - - &180 + - &182 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -19049,7 +19618,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &181 + schema: &183 type: object properties: usageItems: @@ -19102,7 +19671,7 @@ paths: - netAmount - organizationName examples: - default: &182 + default: &184 value: usageItems: - date: '2023-08-01' @@ -19118,8 +19687,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19190,13 +19759,13 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: - default: *139 - '500': *85 + default: *142 + '500': *88 '403': *29 '404': *6 - '422': *140 + '422': *143 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19285,7 +19854,7 @@ paths: application/json: schema: type: array - items: &169 + items: &172 title: Event description: Event type: object @@ -19295,7 +19864,7 @@ paths: type: type: string nullable: true - actor: &141 + actor: &144 title: Actor description: Actor type: object @@ -19335,18 +19904,18 @@ paths: - id - name - url - org: *141 + org: *144 payload: type: object properties: action: type: string - issue: &157 + issue: &160 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &581 + properties: &583 id: type: integer format: int64 @@ -19457,7 +20026,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &508 + properties: &510 url: type: string format: uri @@ -19527,7 +20096,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &509 + required: &511 - closed_issues - creator - description @@ -19606,7 +20175,7 @@ paths: timeline_url: type: string format: uri - type: &293 + type: &295 title: Issue Type description: The type of issue. type: object @@ -19665,9 +20234,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 - author_association: &144 + properties: *145 + required: *146 + author_association: &147 title: author_association type: string example: OWNER @@ -19681,7 +20250,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &145 + reactions: &148 title: Reaction Rollup type: object properties: @@ -19731,7 +20300,7 @@ paths: - total - completed - percent_completed - required: &582 + required: &584 - assignee - closed_at - comments @@ -19753,7 +20322,7 @@ paths: - author_association - created_at - updated_at - comment: &579 + comment: &581 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19801,7 +20370,7 @@ paths: issue_url: type: string format: uri - author_association: *144 + author_association: *147 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -19811,9 +20380,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 - reactions: *145 + properties: *145 + required: *146 + reactions: *148 required: - id - node_id @@ -19908,7 +20477,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19989,7 +20558,7 @@ paths: _links: type: object properties: - timeline: &146 + timeline: &149 title: Link With Type description: Hypermedia Link with Type type: object @@ -20001,17 +20570,17 @@ paths: required: - href - type - user: *146 - security_advisories: *146 - current_user: *146 - current_user_public: *146 - current_user_actor: *146 - current_user_organization: *146 + user: *149 + security_advisories: *149 + current_user: *149 + current_user_public: *149 + current_user_actor: *149 + current_user_organization: *149 current_user_organizations: type: array - items: *146 - repository_discussions: *146 - repository_discussions_category: *146 + items: *149 + repository_discussions: *149 + repository_discussions_category: *149 required: - timeline - user @@ -20073,7 +20642,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *147 + - *150 - *17 - *19 responses: @@ -20083,7 +20652,7 @@ paths: application/json: schema: type: array - items: &148 + items: &151 title: Base Gist description: Base Gist type: object @@ -20182,7 +20751,7 @@ paths: - created_at - updated_at examples: - default: &149 + default: &152 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -20303,7 +20872,7 @@ paths: description: Response content: application/json: - schema: &150 + schema: &153 title: Gist Simple description: Gist Simple type: object @@ -20320,7 +20889,7 @@ paths: url: type: string format: uri - user: &747 + user: &749 title: Public User description: Public User type: object @@ -20682,7 +21251,7 @@ paths: truncated: type: boolean examples: - default: &151 + default: &154 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -20786,7 +21355,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *147 + - *150 - *17 - *19 responses: @@ -20796,9 +21365,9 @@ paths: application/json: schema: type: array - items: *148 + items: *151 examples: - default: *149 + default: *152 headers: Link: *40 '422': *15 @@ -20820,7 +21389,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *147 + - *150 - *17 - *19 responses: @@ -20830,9 +21399,9 @@ paths: application/json: schema: type: array - items: *148 + items: *151 examples: - default: *149 + default: *152 headers: Link: *40 '401': *25 @@ -20860,7 +21429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &152 + - &155 name: gist_id description: The unique identifier of the gist. in: path @@ -20872,10 +21441,10 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: *151 - '403': &155 + default: *154 + '403': &158 description: Forbidden Gist content: application/json: @@ -20923,7 +21492,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *152 + - *155 requestBody: required: true content: @@ -20983,9 +21552,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - updateGist: *151 + updateGist: *154 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -21143,7 +21712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *152 + - *155 responses: '204': description: Response @@ -21172,7 +21741,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *152 + - *155 - *17 - *19 responses: @@ -21182,7 +21751,7 @@ paths: application/json: schema: type: array - items: &153 + items: &156 title: Gist Comment description: A comment made to a gist. type: object @@ -21217,7 +21786,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *144 + author_association: *147 required: - url - id @@ -21282,7 +21851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *152 + - *155 requestBody: required: true content: @@ -21307,9 +21876,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: &154 + default: &157 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -21367,8 +21936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *152 - - &156 + - *155 + - &159 name: comment_id description: The unique identifier of the comment. in: path @@ -21381,12 +21950,12 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 '304': *37 '404': *6 - '403': *155 + '403': *158 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21408,8 +21977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *152 - - *156 + - *155 + - *159 requestBody: required: true content: @@ -21434,9 +22003,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *156 examples: - default: *154 + default: *157 '404': *6 x-github: githubCloudOnly: false @@ -21453,8 +22022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *152 - - *156 + - *155 + - *159 responses: '204': description: Response @@ -21477,7 +22046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *152 + - *155 - *17 - *19 responses: @@ -21578,7 +22147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *152 + - *155 - *17 - *19 responses: @@ -21588,7 +22157,7 @@ paths: application/json: schema: type: array - items: *150 + items: *153 examples: default: value: @@ -21653,13 +22222,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *152 + - *155 responses: '201': description: Response content: application/json: - schema: *148 + schema: *151 examples: default: value: @@ -21730,7 +22299,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *152 + - *155 responses: '204': description: Response if gist is starred @@ -21760,7 +22329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *152 + - *155 responses: '204': description: Response @@ -21782,7 +22351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *152 + - *155 responses: '204': description: Response @@ -21811,7 +22380,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *152 + - *155 - name: sha in: path required: true @@ -21822,9 +22391,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *153 examples: - default: *151 + default: *154 '422': *15 '404': *6 '403': *29 @@ -22190,7 +22759,7 @@ paths: - closed - all default: open - - &296 + - &298 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -22208,8 +22777,8 @@ paths: - updated - comments default: created - - *88 - - *147 + - *91 + - *150 - name: collab in: query required: false @@ -22239,9 +22808,9 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: &297 + default: &299 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22525,8 +23094,8 @@ paths: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 examples: default: value: @@ -22811,7 +23380,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &160 + X-CommonMarker-Version: &163 example: 0.17.4 schema: type: string @@ -22866,7 +23435,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *160 + X-CommonMarker-Version: *163 content: text/html: schema: @@ -22895,7 +23464,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &163 + - &166 name: account_id description: account_id parameter in: path @@ -22907,7 +23476,7 @@ paths: description: Response content: application/json: - schema: &162 + schema: &165 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -22937,7 +23506,7 @@ paths: nullable: true id: type: integer - plan: &161 + plan: &164 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -23026,7 +23595,7 @@ paths: nullable: true updated_at: type: string - plan: *161 + plan: *164 required: - url - id @@ -23034,7 +23603,7 @@ paths: - login - marketplace_purchase examples: - default: &164 + default: &167 value: url: https://api.github.com/orgs/github type: Organization @@ -23119,9 +23688,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: &165 + default: &168 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -23161,14 +23730,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &166 + - &169 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &167 + - &170 name: sort description: The property to sort the results by. in: query @@ -23198,9 +23767,9 @@ paths: application/json: schema: type: array - items: *162 + items: *165 examples: - default: &168 + default: &171 value: - url: https://api.github.com/orgs/github type: Organization @@ -23274,15 +23843,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *163 + - *166 responses: '200': description: Response content: application/json: - schema: *162 + schema: *165 examples: - default: *164 + default: *167 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -23314,9 +23883,9 @@ paths: application/json: schema: type: array - items: *161 + items: *164 examples: - default: *165 + default: *168 headers: Link: *40 '401': *25 @@ -23339,8 +23908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *166 - - *167 + - *169 + - *170 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -23360,9 +23929,9 @@ paths: application/json: schema: type: array - items: *162 + items: *165 examples: - default: *168 + default: *171 headers: Link: *40 '401': *25 @@ -23626,14 +24195,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &383 + - &385 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &384 + - &386 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23650,7 +24219,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: value: @@ -23704,7 +24273,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &397 + '301': &399 description: Moved permanently content: application/json: @@ -23726,7 +24295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &611 + - &613 name: all description: If `true`, show notifications marked as read. in: query @@ -23734,7 +24303,7 @@ paths: schema: type: boolean default: false - - &612 + - &614 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23743,8 +24312,8 @@ paths: schema: type: boolean default: false - - *147 - - &613 + - *150 + - &615 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -23769,18 +24338,18 @@ paths: application/json: schema: type: array - items: &170 + items: &173 title: Thread description: Thread type: object properties: id: type: string - repository: &202 + repository: &204 title: Minimal Repository description: Minimal Repository type: object - properties: &266 + properties: &268 id: type: integer format: int64 @@ -24056,7 +24625,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &332 + security_and_analysis: &334 nullable: true type: object properties: @@ -24134,7 +24703,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &267 + required: &269 - archive_url - assignees_url - blobs_url @@ -24222,7 +24791,7 @@ paths: - url - subscription_url examples: - default: &614 + default: &616 value: - id: '1' repository: @@ -24388,7 +24957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &171 + - &174 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -24402,7 +24971,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *173 examples: default: value: @@ -24505,7 +25074,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *171 + - *174 responses: '205': description: Reset Content @@ -24528,7 +25097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *171 + - *174 responses: '204': description: No content @@ -24551,13 +25120,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *171 + - *174 responses: '200': description: Response content: application/json: - schema: &172 + schema: &175 title: Thread Subscription description: Thread Subscription type: object @@ -24594,7 +25163,7 @@ paths: - url - subscribed examples: - default: &173 + default: &176 value: subscribed: true ignored: false @@ -24625,7 +25194,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *171 + - *174 requestBody: required: false content: @@ -24646,9 +25215,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *175 examples: - default: *173 + default: *176 '304': *37 '403': *29 '401': *25 @@ -24671,7 +25240,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *171 + - *174 responses: '204': description: Response @@ -24768,7 +25337,7 @@ paths: type: array items: *59 examples: - default: &765 + default: &767 value: - login: github id: 1 @@ -24832,7 +25401,7 @@ paths: type: integer custom_roles: type: array - items: &248 + items: &250 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24880,7 +25449,7 @@ paths: - created_at - updated_at examples: - default: &249 + default: &251 value: id: 8030 name: Security Engineer @@ -24927,7 +25496,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *174 + - *73 - name: page in: query description: The page number of results to fetch. @@ -24971,8 +25540,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *175 - required: *176 + properties: *177 + required: *178 nullable: true additionalProperties: false examples: @@ -25078,7 +25647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -25144,7 +25713,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *174 + - *73 requestBody: required: true content: @@ -25191,23 +25760,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *174 - - *177 - - *178 + - *73 - *179 - *180 + - *181 + - *182 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *181 + schema: *183 examples: - default: *182 + default: *184 '400': *14 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25233,13 +25802,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: &183 + schema: &185 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -25572,7 +26141,7 @@ paths: - updated_at - archived_at examples: - default-response: &184 + default-response: &186 value: login: github id: 1 @@ -25674,7 +26243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *174 + - *73 requestBody: required: false content: @@ -25897,18 +26466,18 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: - default: *184 + default: *186 '422': description: Validation failed content: application/json: schema: oneOf: - - *185 - - *186 - '409': *96 + - *187 + - *188 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25931,7 +26500,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *174 + - *73 responses: '202': *39 '404': *6 @@ -25956,15 +26525,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 headers: Link: *40 x-github: @@ -25987,7 +26556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -26005,7 +26574,7 @@ paths: type: integer repository_cache_usages: type: array - items: &402 + items: &404 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -26060,7 +26629,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -26080,7 +26649,7 @@ paths: type: array items: *42 examples: - default: *189 + default: *191 headers: Link: *40 x-github: @@ -26100,7 +26669,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -26187,7 +26756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -26223,7 +26792,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -26258,15 +26827,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *190 + schema: *192 examples: - default: *191 + default: *193 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26284,7 +26853,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -26302,7 +26871,7 @@ paths: type: array items: *45 examples: - default: *192 + default: *194 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26320,7 +26889,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -26364,7 +26933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *47 responses: '200': @@ -26393,7 +26962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *47 requestBody: required: true @@ -26450,7 +27019,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *47 responses: '202': @@ -26479,13 +27048,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *174 + - *73 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &193 + schema: &195 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -26499,7 +27068,7 @@ paths: required: - include_claim_keys examples: - default: &194 + default: &196 value: include_claim_keys: - repo @@ -26521,20 +27090,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: application/json: - schema: *193 + schema: *195 examples: - default: *194 + default: *196 responses: '201': description: Empty response content: application/json: - schema: &213 + schema: &215 title: Empty Object description: An object without any properties. type: object @@ -26564,7 +27133,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -26573,7 +27142,7 @@ paths: schema: type: object properties: - enabled_repositories: &196 + enabled_repositories: &198 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -26587,7 +27156,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *195 + selected_actions_url: *197 required: - enabled_repositories examples: @@ -26616,7 +27185,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *174 + - *73 responses: '204': description: Response @@ -26627,7 +27196,7 @@ paths: schema: type: object properties: - enabled_repositories: *196 + enabled_repositories: *198 allowed_actions: *49 required: - enabled_repositories @@ -26655,7 +27224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -26675,7 +27244,7 @@ paths: type: array items: *64 examples: - default: &759 + default: &761 value: total_count: 1 repositories: @@ -26815,7 +27384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *174 + - *73 responses: '204': description: Response @@ -26859,8 +27428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *174 - - &197 + - *73 + - &199 name: repository_id description: The unique identifier of the repository. in: path @@ -26888,8 +27457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *174 - - *197 + - *73 + - *199 responses: '204': description: Response @@ -26912,7 +27481,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -26943,7 +27512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *174 + - *73 responses: '204': description: Response @@ -26975,13 +27544,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *198 + schema: *200 examples: default: *55 x-github: @@ -27004,7 +27573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *174 + - *73 responses: '204': description: Success response @@ -27015,7 +27584,7 @@ paths: required: false content: application/json: - schema: *199 + schema: *201 examples: default: *55 x-github: @@ -27037,7 +27606,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *174 + - *73 - *17 - *19 - name: visible_to_repository @@ -27062,7 +27631,7 @@ paths: type: number runner_groups: type: array - items: &200 + items: &202 type: object properties: id: @@ -27178,7 +27747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -27250,9 +27819,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *202 examples: - default: &201 + default: &203 value: id: 2 name: octo-runner-group @@ -27287,14 +27856,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *174 + - *73 - *58 responses: '200': description: Response content: application/json: - schema: *200 + schema: *202 examples: default: value: @@ -27330,7 +27899,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *174 + - *73 - *58 requestBody: required: true @@ -27385,9 +27954,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *202 examples: - default: *201 + default: *203 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27406,7 +27975,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *174 + - *73 - *58 responses: '204': @@ -27430,7 +27999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *174 + - *73 - *58 - *17 - *19 @@ -27451,7 +28020,7 @@ paths: type: array items: *42 examples: - default: *189 + default: *191 headers: Link: *40 x-github: @@ -27473,7 +28042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *174 + - *73 - *58 - *19 - *17 @@ -27492,9 +28061,9 @@ paths: type: number repositories: type: array - items: *202 + items: *204 examples: - default: &750 + default: &752 value: total_count: 1 repositories: @@ -27746,7 +28315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *174 + - *73 - *58 requestBody: required: true @@ -27791,9 +28360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *174 + - *73 - *58 - - *197 + - *199 responses: '204': description: Response @@ -27815,9 +28384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *174 + - *73 - *58 - - *197 + - *199 responses: '204': description: Response @@ -27840,7 +28409,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *174 + - *73 - *58 - *17 - *19 @@ -27882,7 +28451,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *174 + - *73 - *58 requestBody: required: true @@ -27927,7 +28496,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *174 + - *73 - *58 - *61 responses: @@ -27951,7 +28520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *174 + - *73 - *58 - *61 responses: @@ -27983,7 +28552,7 @@ paths: in: query schema: type: string - - *174 + - *73 - *17 - *19 responses: @@ -28027,7 +28596,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -28035,9 +28604,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28059,7 +28628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -28102,10 +28671,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *205 + '201': *207 '404': *6 '422': *7 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28133,7 +28702,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *174 + - *73 responses: '201': description: Response @@ -28141,7 +28710,7 @@ paths: application/json: schema: *65 examples: - default: *206 + default: *208 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28169,7 +28738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *174 + - *73 responses: '201': description: Response @@ -28177,7 +28746,7 @@ paths: application/json: schema: *65 examples: - default: *207 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28199,7 +28768,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *61 responses: '200': @@ -28208,7 +28777,7 @@ paths: application/json: schema: *62 examples: - default: *208 + default: *210 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28229,7 +28798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *174 + - *73 - *61 responses: '204': @@ -28256,7 +28825,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *61 responses: '200': *67 @@ -28281,7 +28850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *61 requestBody: required: true @@ -28330,7 +28899,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *61 requestBody: required: true @@ -28380,10 +28949,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *61 responses: - '200': *209 + '200': *211 '404': *6 x-github: githubCloudOnly: false @@ -28410,9 +28979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *174 + - *73 - *61 - - *210 + - *212 responses: '200': *67 '404': *6 @@ -28439,7 +29008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *174 + - *73 - *17 - *19 responses: @@ -28457,7 +29026,7 @@ paths: type: integer secrets: type: array - items: &211 + items: &213 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -28530,13 +29099,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: &422 + schema: &424 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -28565,7 +29134,7 @@ paths: - key_id - key examples: - default: &423 + default: &425 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28590,8 +29159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *174 - - &212 + - *73 + - &214 name: secret_name description: The name of the secret. in: path @@ -28603,7 +29172,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -28633,8 +29202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -28691,7 +29260,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -28717,8 +29286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 responses: '204': description: Response @@ -28744,8 +29313,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - *19 - *17 responses: @@ -28763,9 +29332,9 @@ paths: type: integer repositories: type: array - items: *202 + items: *204 examples: - default: &216 + default: &218 value: total_count: 1 repositories: @@ -28857,8 +29426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -28910,8 +29479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - name: repository_id in: path required: true @@ -28944,8 +29513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - name: repository_id in: path required: true @@ -28977,8 +29546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *174 - - &407 + - *73 + - &409 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -29002,7 +29571,7 @@ paths: type: integer variables: type: array - items: &214 + items: &216 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -29087,7 +29656,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *174 + - *73 requestBody: required: true content: @@ -29135,7 +29704,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -29160,8 +29729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *174 - - &215 + - *73 + - &217 name: name description: The name of the variable. in: path @@ -29173,7 +29742,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -29203,8 +29772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *174 - - *215 + - *73 + - *217 requestBody: required: true content: @@ -29266,8 +29835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *174 - - *215 + - *73 + - *217 responses: '204': description: Response @@ -29293,8 +29862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *174 - - *215 + - *73 + - *217 - *19 - *17 responses: @@ -29312,9 +29881,9 @@ paths: type: integer repositories: type: array - items: *202 + items: *204 examples: - default: *216 + default: *218 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29340,8 +29909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *174 - - *215 + - *73 + - *217 requestBody: required: true content: @@ -29390,8 +29959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *174 - - *215 + - *73 + - *217 - name: repository_id in: path required: true @@ -29425,8 +29994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *174 - - *215 + - *73 + - *217 - name: repository_id in: path required: true @@ -29457,7 +30026,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -29484,11 +30053,11 @@ paths: required: true content: application/json: - schema: *217 + schema: *219 examples: default: *71 parameters: - - *174 + - *73 responses: '200': description: Response @@ -29512,7 +30081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *174 + - *73 responses: '204': description: Response @@ -29538,9 +30107,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations-by-bulk-subject-digests parameters: - *17 - - *86 - - *87 - - *174 + - *89 + - *90 + - *73 requestBody: required: true content: @@ -29563,12 +30132,12 @@ paths: required: - subject_digests examples: - default: &780 + default: &782 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &781 + withPredicateType: &783 value: subject_digests: - sha256:abc123 @@ -29626,7 +30195,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &782 + default: &784 value: attestations_subject_digests: - sha256:abc: @@ -29735,7 +30304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *174 + - *73 requestBody: required: true content: @@ -29800,7 +30369,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *174 + - *73 - name: subject_digest description: Subject Digest in: path @@ -29831,7 +30400,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *174 + - *73 - name: attestation_id description: Attestation ID in: path @@ -29867,9 +30436,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations parameters: - *17 - - *86 - - *87 - - *174 + - *89 + - *90 + - *73 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -29920,7 +30489,7 @@ paths: bundle_url: type: string examples: - default: &436 + default: &438 value: attestations: - bundle: @@ -30038,7 +30607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *174 + - *73 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -30046,10 +30615,10 @@ paths: required: false schema: type: string - - *218 - - *219 - *220 - *221 + - *222 + - *223 - *17 responses: '200': @@ -30058,9 +30627,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *223 + default: *225 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30077,7 +30646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -30089,7 +30658,7 @@ paths: type: array items: *4 examples: - default: &298 + default: &300 value: - login: octocat id: 1 @@ -30127,8 +30696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: If the user is blocked @@ -30153,8 +30722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -30174,8 +30743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -30201,17 +30770,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *174 - - &231 + - *73 + - &233 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *225 - - *226 - *227 - *228 + - *229 + - *230 - *17 - *19 responses: @@ -30221,11 +30790,11 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *230 + default: *232 '404': *6 - '500': *85 + '500': *88 "/orgs/{org}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for an org @@ -30246,12 +30815,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *174 - - *231 - - *225 - - *226 + - *73 + - *233 - *227 - *228 + - *229 + - *230 - *17 - *19 responses: @@ -30261,7 +30830,7 @@ paths: application/json: schema: type: array - items: &453 + items: &455 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -30375,7 +30944,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *232 + items: *234 url: type: string format: uri @@ -30386,7 +30955,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &454 + default: &456 value: - id: 21 number: 42 @@ -30453,7 +31022,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *85 + '500': *88 "/orgs/{org}/campaigns": get: summary: List campaigns for an organization @@ -30470,15 +31039,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *174 + - *73 - *19 - *17 - - *88 + - *91 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &234 + schema: &236 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -30504,7 +31073,7 @@ paths: application/json: schema: type: array - items: &235 + items: &237 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -30535,7 +31104,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *233 + items: *235 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -30553,7 +31122,7 @@ paths: type: string format: date-time nullable: true - state: *234 + state: *236 contact_link: description: The contact link of the campaign. type: string @@ -30650,7 +31219,7 @@ paths: headers: Link: *40 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30674,7 +31243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -30768,9 +31337,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: &236 + default: &238 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -30819,7 +31388,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30841,7 +31410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *174 + - *73 - name: campaign_number description: The campaign number. in: path @@ -30853,16 +31422,16 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *236 + default: *238 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30883,7 +31452,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *174 + - *73 - name: campaign_number description: The campaign number. in: path @@ -30932,7 +31501,7 @@ paths: type: string format: uri nullable: true - state: *234 + state: *236 examples: default: value: @@ -30942,9 +31511,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *236 + default: *238 '400': description: Bad Request content: @@ -30956,7 +31525,7 @@ paths: content: application/json: schema: *3 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30977,7 +31546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *174 + - *73 - name: campaign_number description: The campaign number. in: path @@ -30988,7 +31557,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31010,20 +31579,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *174 - - *237 - - *238 - - *86 - - *87 + - *73 + - *239 + - *240 + - *89 + - *90 - *19 - *17 - - *88 + - *91 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *239 + schema: *241 - name: sort description: The property by which to sort the results. in: query @@ -31039,7 +31608,7 @@ paths: be returned. in: query required: false - schema: &465 + schema: &467 type: string description: Severity of a code scanning alert. enum: @@ -31057,13 +31626,13 @@ paths: application/json: schema: type: array - items: *240 + items: *242 examples: - default: *241 + default: *243 headers: Link: *40 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31085,7 +31654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *174 + - *73 - name: target_type in: query description: The target type of the code security configuration @@ -31104,8 +31673,8 @@ paths: schema: type: integer default: 30 - - *86 - - *87 + - *89 + - *90 responses: '200': description: Response @@ -31113,7 +31682,7 @@ paths: application/json: schema: type: array - items: *92 + items: *95 examples: default: value: @@ -31196,7 +31765,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *174 + - *73 requestBody: required: true content: @@ -31273,7 +31842,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *95 + code_scanning_default_setup_options: *98 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -31398,9 +31967,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *92 + schema: *95 examples: - default: *242 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31422,15 +31991,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: *244 + default: *246 '304': *37 '403': *29 '404': *6 @@ -31456,7 +32025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *174 + - *73 requestBody: required: true content: @@ -31479,11 +32048,11 @@ paths: - 32 - 91 responses: - '204': *120 + '204': *123 '400': *14 '403': *29 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31505,16 +32074,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *174 - - *94 + - *73 + - *97 responses: '200': description: Response content: application/json: - schema: *92 + schema: *95 examples: - default: *242 + default: *244 '304': *37 '403': *29 '404': *6 @@ -31538,8 +32107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *174 - - *94 + - *73 + - *97 requestBody: required: true content: @@ -31609,7 +32178,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *95 + code_scanning_default_setup_options: *98 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -31720,7 +32289,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *92 + schema: *95 examples: default: value: @@ -31777,14 +32346,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *174 - - *94 + - *73 + - *97 responses: - '204': *120 + '204': *123 '400': *14 '403': *29 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31808,8 +32377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *174 - - *94 + - *73 + - *97 requestBody: required: true content: @@ -31872,8 +32441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *174 - - *94 + - *73 + - *97 requestBody: required: true content: @@ -31913,12 +32482,12 @@ paths: - none - private_and_internal - public - configuration: *92 + configuration: *95 examples: default: value: default_for_new_repos: all - configuration: *242 + configuration: *244 '403': *29 '404': *6 x-github: @@ -31942,8 +32511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *174 - - *94 + - *73 + - *97 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -31952,8 +32521,8 @@ paths: schema: type: integer default: 30 - - *86 - - *87 + - *89 + - *90 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -31971,13 +32540,13 @@ paths: application/json: schema: type: array - items: *245 + items: *247 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *246 + repository: *248 '403': *29 '404': *6 x-github: @@ -32001,7 +32570,7 @@ paths: parameters: - *17 - *19 - - *174 + - *73 responses: '200': description: Response @@ -32017,7 +32586,7 @@ paths: type: integer codespaces: type: array - items: &299 + items: &301 type: object title: Codespace description: A codespace. @@ -32042,12 +32611,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *202 + repository: *204 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &494 + properties: &496 name: type: string description: The name of the machine. @@ -32089,7 +32658,7 @@ paths: - ready - in_progress nullable: true - required: &495 + required: &497 - name - display_name - operating_system @@ -32294,7 +32863,7 @@ paths: - pulls_url - recent_folders examples: - default: &300 + default: &302 value: total_count: 3 codespaces: @@ -32704,7 +33273,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -32726,7 +33295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *174 + - *73 deprecated: true requestBody: required: true @@ -32770,7 +33339,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32793,7 +33362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *174 + - *73 deprecated: true requestBody: required: true @@ -32825,7 +33394,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32848,7 +33417,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *174 + - *73 requestBody: required: true content: @@ -32879,7 +33448,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32900,7 +33469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *174 + - *73 - *17 - *19 responses: @@ -32918,7 +33487,7 @@ paths: type: integer secrets: type: array - items: &247 + items: &249 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -32957,7 +33526,7 @@ paths: - updated_at - visibility examples: - default: &496 + default: &498 value: total_count: 2 secrets: @@ -32989,13 +33558,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: &497 + schema: &499 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -33024,7 +33593,7 @@ paths: - key_id - key examples: - default: &498 + default: &500 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33047,16 +33616,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 responses: '200': description: Response content: application/json: - schema: *247 + schema: *249 examples: - default: &500 + default: &502 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -33083,8 +33652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -33139,7 +33708,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -33165,8 +33734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 responses: '204': description: Response @@ -33191,8 +33760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - *19 - *17 responses: @@ -33210,9 +33779,9 @@ paths: type: integer repositories: type: array - items: *202 + items: *204 examples: - default: *216 + default: *218 '404': *6 x-github: githubCloudOnly: false @@ -33234,8 +33803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -33285,8 +33854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - name: repository_id in: path required: true @@ -33319,8 +33888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - name: repository_id in: path required: true @@ -33359,7 +33928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *174 + - *73 responses: '200': description: OK @@ -33468,7 +34037,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -33500,7 +34069,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *174 + - *73 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -33523,12 +34092,12 @@ paths: currently being billed. seats: type: array - items: *111 + items: *114 examples: - default: *112 + default: *115 headers: Link: *40 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -33561,7 +34130,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *174 + - *73 requestBody: content: application/json: @@ -33603,7 +34172,7 @@ paths: default: value: seats_created: 5 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -33639,7 +34208,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *174 + - *73 requestBody: content: application/json: @@ -33681,7 +34250,7 @@ paths: default: value: seats_cancelled: 5 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -33719,7 +34288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *174 + - *73 requestBody: content: application/json: @@ -33760,7 +34329,7 @@ paths: default: value: seats_created: 5 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -33796,7 +34365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *174 + - *73 requestBody: content: application/json: @@ -33838,7 +34407,7 @@ paths: default: value: seats_cancelled: 5 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -33877,7 +34446,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *174 + - *73 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -33909,13 +34478,13 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: - default: *139 - '500': *85 + default: *142 + '500': *88 '403': *29 '404': *6 - '422': *140 + '422': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33937,7 +34506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *174 + - *73 - *17 - name: page description: Page token @@ -34081,7 +34650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *174 + - *73 - name: credential_id in: path required: true @@ -34112,7 +34681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *174 + - *73 responses: '200': description: Response - list of custom role names @@ -34127,7 +34696,7 @@ paths: type: integer custom_roles: type: array - items: *248 + items: *250 examples: default: value: @@ -34214,12 +34783,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *174 + - *73 requestBody: required: true content: application/json: - schema: &251 + schema: &253 type: object properties: name: @@ -34260,9 +34829,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 '422': *15 '404': *6 x-github: @@ -34286,8 +34855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *174 - - &250 + - *73 + - &252 name: role_id description: The unique identifier of the role. in: path @@ -34299,9 +34868,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 '404': *6 x-github: githubCloudOnly: true @@ -34323,13 +34892,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *174 - - *250 + - *73 + - *252 requestBody: required: true content: application/json: - schema: &252 + schema: &254 type: object properties: name: @@ -34367,9 +34936,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 '422': *15 '404': *6 x-github: @@ -34393,8 +34962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *174 - - *250 + - *73 + - *252 responses: '204': description: Response @@ -34422,12 +34991,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *174 + - *73 requestBody: required: true content: application/json: - schema: *251 + schema: *253 examples: default: value: @@ -34441,9 +35010,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 '422': *15 '404': *6 x-github: @@ -34473,16 +35042,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *174 - - *250 + - *73 + - *252 responses: '200': description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 '404': *6 x-github: githubCloudOnly: true @@ -34510,13 +35079,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *174 - - *250 + - *73 + - *252 requestBody: required: true content: application/json: - schema: *252 + schema: *254 examples: default: value: @@ -34531,9 +35100,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 '422': *15 '404': *6 x-github: @@ -34563,8 +35132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *174 - - *250 + - *73 + - *252 responses: '204': description: Response @@ -34592,20 +35161,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *174 - - *253 - - *254 + - *73 - *255 - *256 - *257 - *258 - *259 - *260 - - *88 - - *86 - - *87 - *261 - *262 + - *91 + - *89 + - *90 + - *263 + - *264 - *17 responses: '200': @@ -34614,9 +35183,9 @@ paths: application/json: schema: type: array - items: *263 + items: *265 examples: - default: *264 + default: *266 '304': *37 '400': *14 '403': *29 @@ -34642,7 +35211,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *174 + - *73 - *17 - *19 responses: @@ -34660,7 +35229,7 @@ paths: type: integer secrets: type: array - items: &265 + items: &267 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -34731,13 +35300,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: &527 + schema: &529 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -34754,7 +35323,7 @@ paths: - key_id - key examples: - default: &528 + default: &530 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34777,14 +35346,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -34812,8 +35381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -34868,7 +35437,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -34892,8 +35461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 responses: '204': description: Response @@ -34917,8 +35486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - *19 - *17 responses: @@ -34936,9 +35505,9 @@ paths: type: integer repositories: type: array - items: *202 + items: *204 examples: - default: *216 + default: *218 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34959,8 +35528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -35010,8 +35579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - name: repository_id in: path required: true @@ -35042,8 +35611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *174 - - *212 + - *73 + - *214 - name: repository_id in: path required: true @@ -35079,8 +35648,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *174 - - &536 + - *73 + - &538 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -35088,7 +35657,7 @@ paths: required: false schema: type: string - - &537 + - &539 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -35096,7 +35665,7 @@ paths: required: false schema: type: string - - &538 + - &540 name: time_period description: |- The time period to filter by. @@ -35112,7 +35681,7 @@ paths: - week - month default: month - - &539 + - &541 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -35127,7 +35696,7 @@ paths: - denied - all default: all - - *231 + - *233 - *17 - *19 responses: @@ -35137,7 +35706,7 @@ paths: application/json: schema: type: array - items: &540 + items: &542 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -35293,7 +35862,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &541 + default: &543 value: - id: 21 number: 42 @@ -35358,7 +35927,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *85 + '500': *88 "/orgs/{org}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for an org @@ -35379,12 +35948,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *174 - - *231 - - *225 - - *226 + - *73 + - *233 - *227 - - &542 + - *228 + - *229 + - &544 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -35410,7 +35979,7 @@ paths: application/json: schema: type: array - items: &543 + items: &545 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -35520,7 +36089,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *232 + items: *234 url: type: string format: uri @@ -35531,7 +36100,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &544 + default: &546 value: - id: 21 number: 42 @@ -35596,7 +36165,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/19 '404': *6 '403': *29 - '500': *85 + '500': *88 "/orgs/{org}/docker/conflicts": get: summary: Get list of conflicting packages during Docker migration for organization @@ -35611,7 +36180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -35619,7 +36188,7 @@ paths: application/json: schema: type: array - items: &311 + items: &313 title: Package description: A software package type: object @@ -35669,8 +36238,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *266 - required: *267 + properties: *268 + required: *269 nullable: true created_at: type: string @@ -35689,7 +36258,7 @@ paths: - created_at - updated_at examples: - default: &312 + default: &314 value: - id: 197 name: hello_docker @@ -35767,7 +36336,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *174 + - *73 - *17 - *19 responses: @@ -35777,7 +36346,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: 200-response: value: @@ -35847,7 +36416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *174 + - *73 - name: group_id description: The unique identifier of the group. in: path @@ -35873,7 +36442,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &380 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -35954,7 +36523,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &379 + default: &381 value: group_id: '123' group_name: Octocat admins @@ -35992,7 +36561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *174 + - *73 - *17 - name: page description: Page token @@ -36009,7 +36578,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &378 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -36046,7 +36615,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &377 + default: &379 value: groups: - group_id: '123' @@ -36080,7 +36649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *174 + - *73 - *17 - *19 responses: @@ -36090,7 +36659,7 @@ paths: application/json: schema: type: array - items: &290 + items: &292 title: Organization Invitation description: Organization Invitation type: object @@ -36137,7 +36706,7 @@ paths: - invitation_teams_url - node_id examples: - default: &291 + default: &293 value: - id: 1 login: monalisa @@ -36196,7 +36765,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -36204,7 +36773,7 @@ paths: application/json: schema: type: array - items: &333 + items: &335 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -36218,7 +36787,7 @@ paths: - name - description examples: - default: &334 + default: &336 value: - name: add_assignee description: Assign or remove a user @@ -36249,7 +36818,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *174 + - *73 - *17 - *19 responses: @@ -36259,7 +36828,7 @@ paths: application/json: schema: type: array - items: &268 + items: &270 title: Org Hook description: Org Hook type: object @@ -36368,7 +36937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *174 + - *73 requestBody: required: true content: @@ -36428,9 +36997,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: &269 + default: &271 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -36474,8 +37043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *174 - - &270 + - *73 + - &272 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -36488,9 +37057,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: - default: *269 + default: *271 '404': *6 x-github: githubCloudOnly: false @@ -36511,8 +37080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *174 - - *270 + - *73 + - *272 requestBody: required: false content: @@ -36557,7 +37126,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: default: value: @@ -36596,8 +37165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *174 - - *270 + - *73 + - *272 responses: '204': description: Response @@ -36622,8 +37191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *174 - - *270 + - *73 + - *272 responses: '200': description: Response @@ -36651,8 +37220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *174 - - *270 + - *73 + - *272 requestBody: required: false content: @@ -36700,10 +37269,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *174 - - *270 + - *73 + - *272 - *17 - - *271 + - *273 responses: '200': description: Response @@ -36711,9 +37280,9 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: - default: *273 + default: *275 '400': *14 '422': *15 x-github: @@ -36736,17 +37305,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *174 - - *270 + - *73 + - *272 - *16 responses: '200': description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '400': *14 '422': *15 x-github: @@ -36769,8 +37338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *174 - - *270 + - *73 + - *272 - *16 responses: '202': *39 @@ -36796,8 +37365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *174 - - *270 + - *73 + - *272 responses: '204': description: Response @@ -36819,8 +37388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *174 - - &280 + - *73 + - &282 name: actor_type in: path description: The type of the actor @@ -36833,14 +37402,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &281 + - &283 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &276 + - &278 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -36848,7 +37417,7 @@ paths: required: true schema: type: string - - &277 + - &279 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -36859,7 +37428,7 @@ paths: type: string - *19 - *17 - - *88 + - *91 - name: sort description: The property to sort the results by. in: query @@ -36941,13 +37510,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *174 - - *276 - - *277 + - *73 + - *278 + - *279 - *19 - *17 - - *88 - - &286 + - *91 + - &288 name: sort description: The property to sort the results by. in: query @@ -37025,15 +37594,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *174 - - *276 - - *277 + - *73 + - *278 + - *279 responses: '200': description: Response content: application/json: - schema: &278 + schema: &280 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -37049,7 +37618,7 @@ paths: type: integer format: int64 examples: - default: &279 + default: &281 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -37069,24 +37638,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *174 - - &282 + - *73 + - &284 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *276 - - *277 + - *278 + - *279 responses: '200': description: Response content: application/json: - schema: *278 + schema: *280 examples: - default: *279 + default: *281 x-github: enabledForGitHubApps: true category: orgs @@ -37104,19 +37673,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *174 - - *276 - - *277 - - *280 - - *281 + - *73 + - *278 + - *279 + - *282 + - *283 responses: '200': description: Response content: application/json: - schema: *278 + schema: *280 examples: - default: *279 + default: *281 x-github: enabledForGitHubApps: true category: orgs @@ -37133,10 +37702,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *174 - - *276 - - *277 - - &283 + - *73 + - *278 + - *279 + - &285 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -37149,7 +37718,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &286 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -37165,7 +37734,7 @@ paths: type: integer format: int64 examples: - default: &285 + default: &287 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -37201,19 +37770,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *174 - - *282 - - *276 - - *277 - - *283 + - *73 + - *284 + - *278 + - *279 + - *285 responses: '200': description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 x-github: enabledForGitHubApps: true category: orgs @@ -37230,20 +37799,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *174 - - *280 - - *281 - - *276 - - *277 + - *73 + - *282 - *283 + - *278 + - *279 + - *285 responses: '200': description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 x-github: enabledForGitHubApps: true category: orgs @@ -37260,14 +37829,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *174 - - *282 - - *276 - - *277 + - *73 + - *284 + - *278 + - *279 - *19 - *17 - - *88 - - *286 + - *91 + - *288 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -37340,7 +37909,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *174 + - *73 responses: '200': description: Response @@ -37348,7 +37917,7 @@ paths: application/json: schema: *22 examples: - default: &575 + default: &577 value: id: 1 account: @@ -37417,7 +37986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -37506,7 +38075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -37514,12 +38083,12 @@ paths: application/json: schema: anyOf: - - &288 + - &290 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &287 + limit: &289 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -37544,7 +38113,7 @@ paths: properties: {} additionalProperties: false examples: - default: &289 + default: &291 value: limit: collaborators_only origin: organization @@ -37568,18 +38137,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: application/json: - schema: &576 + schema: &578 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *287 + limit: *289 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -37603,9 +38172,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *289 + default: *291 '422': *15 x-github: githubCloudOnly: false @@ -37623,7 +38192,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *174 + - *73 responses: '204': description: Response @@ -37649,7 +38218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *174 + - *73 - *17 - *19 - name: role @@ -37683,9 +38252,9 @@ paths: application/json: schema: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 headers: Link: *40 '404': *6 @@ -37709,7 +38278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *174 + - *73 requestBody: required: false content: @@ -37763,7 +38332,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: default: value: @@ -37819,8 +38388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *174 - - &292 + - *73 + - &294 name: invitation_id description: The unique identifier of the invitation. in: path @@ -37853,8 +38422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *174 - - *292 + - *73 + - *294 - *17 - *19 responses: @@ -37864,9 +38433,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: &310 + default: &312 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -37901,7 +38470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -37909,7 +38478,7 @@ paths: application/json: schema: type: array - items: *293 + items: *295 examples: default: value: @@ -37947,7 +38516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -37994,9 +38563,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *295 examples: - default: &294 + default: &296 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -38028,8 +38597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *174 - - &295 + - *73 + - &297 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -38082,9 +38651,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *295 examples: - default: *294 + default: *296 '404': *6 '422': *7 x-github: @@ -38108,8 +38677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *174 - - *295 + - *73 + - *297 responses: '204': description: Response @@ -38142,7 +38711,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *174 + - *73 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -38172,7 +38741,7 @@ paths: - closed - all default: open - - *296 + - *298 - name: type description: Can be the name of an issue type. in: query @@ -38190,8 +38759,8 @@ paths: - updated - comments default: created - - *88 - - *147 + - *91 + - *150 - *17 - *19 responses: @@ -38201,9 +38770,9 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: *297 + default: *299 headers: Link: *40 '404': *6 @@ -38225,7 +38794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *174 + - *73 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -38263,7 +38832,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 '422': *15 @@ -38283,8 +38852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response if requester is an organization member and user is @@ -38306,8 +38875,11 @@ paths: subcategory: members delete: summary: Remove an organization member - description: Removing a user from this list will remove them from all teams - and they will no longer have any access to the organization's repositories. + description: |- + Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-member @@ -38315,8 +38887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -38342,8 +38914,8 @@ paths: parameters: - *17 - *19 - - *174 - - *224 + - *73 + - *226 responses: '200': description: Response @@ -38359,11 +38931,11 @@ paths: type: integer codespaces: type: array - items: *299 + items: *301 examples: - default: *300 + default: *302 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -38386,9 +38958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *174 - - *224 - - &301 + - *73 + - *226 + - &303 name: codespace_name in: path required: true @@ -38398,7 +38970,7 @@ paths: responses: '202': *39 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -38421,17 +38993,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *174 - - *224 - - *301 + - *73 + - *226 + - *303 responses: '200': description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: &493 + default: &495 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -38573,7 +39145,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -38604,14 +39176,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *111 + schema: *114 examples: default: value: @@ -38654,7 +39226,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -38679,14 +39251,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '200': description: Response content: application/json: - schema: &302 + schema: &304 title: Org Membership description: Org Membership type: object @@ -38738,7 +39310,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &303 + response-if-user-has-an-active-admin-membership-with-organization: &305 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -38806,8 +39378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 requestBody: required: false content: @@ -38835,9 +39407,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - response-if-user-already-had-membership-with-organization: *303 + response-if-user-already-had-membership-with-organization: *305 '422': *15 '403': *29 x-github: @@ -38851,6 +39423,9 @@ paths: In order to remove a user's membership with an organization, the authenticated user must be an organization owner. If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-membership-for-user @@ -38858,8 +39433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -38884,7 +39459,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *174 + - *73 - *17 - *19 - name: exclude @@ -38905,7 +39480,7 @@ paths: application/json: schema: type: array - items: &304 + items: &306 title: Migration description: A migration. type: object @@ -39158,7 +39733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *174 + - *73 requestBody: required: true content: @@ -39234,7 +39809,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -39412,8 +39987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *174 - - &305 + - *73 + - &307 name: migration_id description: The unique identifier of the migration. in: path @@ -39440,7 +40015,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -39609,8 +40184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *174 - - *305 + - *73 + - *307 responses: '302': description: Response @@ -39631,8 +40206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *174 - - *305 + - *73 + - *307 responses: '204': description: Response @@ -39655,9 +40230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *174 - - *305 - - &764 + - *73 + - *307 + - &766 name: repo_name description: repo_name parameter in: path @@ -39684,8 +40259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *174 - - *305 + - *73 + - *307 - *17 - *19 responses: @@ -39695,9 +40270,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: &317 + default: &319 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39836,7 +40411,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -39890,7 +40465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response - list of organization roles @@ -39906,7 +40481,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &306 + items: &308 title: Organization Role description: Organization roles type: object @@ -40066,7 +40641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *174 + - *73 requestBody: required: true content: @@ -40113,7 +40688,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: default: value: @@ -40142,7 +40717,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40164,8 +40739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *174 - - &307 + - *73 + - &309 name: team_slug description: The slug of the team name. in: path @@ -40196,9 +40771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *174 - - *307 - - *250 + - *73 + - *309 + - *252 responses: '204': description: Response @@ -40227,9 +40802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *174 - - *307 - - *250 + - *73 + - *309 + - *252 responses: '204': description: Response @@ -40254,8 +40829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -40280,9 +40855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *174 - - *224 - - *250 + - *73 + - *226 + - *252 responses: '204': description: Response @@ -40312,9 +40887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *174 - - *224 - - *250 + - *73 + - *226 + - *252 responses: '204': description: Response @@ -40342,14 +40917,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *174 - - *250 + - *73 + - *252 responses: '200': description: Response content: application/json: - schema: *306 + schema: *308 examples: default: value: @@ -40406,8 +40981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *174 - - *250 + - *73 + - *252 requestBody: required: true content: @@ -40446,7 +41021,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: default: value: @@ -40474,7 +41049,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *96 + '409': *99 '404': *6 x-github: githubCloudOnly: true @@ -40499,8 +41074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *174 - - *250 + - *73 + - *252 responses: '204': description: Response @@ -40525,8 +41100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *174 - - *250 + - *73 + - *252 - *17 - *19 responses: @@ -40604,8 +41179,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *308 - required: *309 + properties: *310 + required: *311 nullable: true required: - id @@ -40620,7 +41195,7 @@ paths: - slug - parent examples: - default: *310 + default: *312 headers: Link: *40 '404': @@ -40649,8 +41224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *174 - - *250 + - *73 + - *252 - *17 - *19 responses: @@ -40678,13 +41253,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &350 + items: &352 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *308 - required: *309 + properties: *310 + required: *311 name: nullable: true type: string @@ -40779,7 +41354,7 @@ paths: - type - url examples: - default: *298 + default: *300 headers: Link: *40 '404': @@ -40803,7 +41378,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *174 + - *73 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -40830,7 +41405,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 x-github: @@ -40855,8 +41430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *174 - - *224 + - *73 + - *226 requestBody: required: false content: @@ -40913,8 +41488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -40971,8 +41546,8 @@ paths: - docker - nuget - container - - *174 - - &766 + - *73 + - &768 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -41008,12 +41583,12 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: - default: *312 + default: *314 '403': *29 '401': *25 - '400': &768 + '400': &770 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -41035,7 +41610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &313 + - &315 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -41053,20 +41628,20 @@ paths: - docker - nuget - container - - &314 + - &316 name: package_name description: The name of the package. in: path required: true schema: type: string - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *311 + schema: *313 examples: default: value: @@ -41118,9 +41693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *313 - - *314 - - *174 + - *315 + - *316 + - *73 responses: '204': description: Response @@ -41152,9 +41727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *313 - - *314 - - *174 + - *315 + - *316 + - *73 - name: token description: package token schema: @@ -41186,9 +41761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *313 - - *314 - - *174 + - *315 + - *316 + - *73 - *19 - *17 - name: state @@ -41208,7 +41783,7 @@ paths: application/json: schema: type: array - items: &315 + items: &317 title: Package Version description: A version of a software package type: object @@ -41333,10 +41908,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *313 - - *314 - - *174 - - &316 + - *315 + - *316 + - *73 + - &318 name: package_version_id description: Unique identifier of the package version. in: path @@ -41348,7 +41923,7 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: default: value: @@ -41384,10 +41959,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *313 - - *314 - - *174 + - *315 - *316 + - *73 + - *318 responses: '204': description: Response @@ -41419,10 +41994,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *313 - - *314 - - *174 + - *315 - *316 + - *73 + - *318 responses: '204': description: Response @@ -41449,10 +42024,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *174 + - *73 - *17 - *19 - - &318 + - &320 name: sort description: The property by which to sort the results. in: query @@ -41462,8 +42037,8 @@ paths: enum: - created_at default: created_at - - *88 - - &319 + - *91 + - &321 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -41474,7 +42049,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &320 + - &322 name: repository description: The name of the repository to use to filter the results. in: query @@ -41482,7 +42057,7 @@ paths: schema: type: string example: Hello-World - - &321 + - &323 name: permission description: The permission to use to filter the results. in: query @@ -41490,7 +42065,7 @@ paths: schema: type: string example: issues_read - - &322 + - &324 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -41500,7 +42075,7 @@ paths: schema: type: string format: date-time - - &323 + - &325 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -41510,7 +42085,7 @@ paths: schema: type: string format: date-time - - &324 + - &326 name: token_id description: The ID of the token in: query @@ -41522,7 +42097,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *85 + '500': *88 '422': *15 '404': *6 '403': *29 @@ -41674,7 +42249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *174 + - *73 requestBody: required: true content: @@ -41715,7 +42290,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *85 + '500': *88 '422': *15 '404': *6 '403': *29 @@ -41740,7 +42315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *174 + - *73 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -41776,11 +42351,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *85 + '500': *88 '422': *15 '404': *6 '403': *29 - '204': *120 + '204': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41801,7 +42376,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *174 + - *73 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -41812,7 +42387,7 @@ paths: - *17 - *19 responses: - '500': *85 + '500': *88 '404': *6 '403': *29 '200': @@ -41821,9 +42396,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 x-github: @@ -41846,19 +42421,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *174 + - *73 - *17 - *19 - - *318 - - *88 - - *319 - *320 + - *91 - *321 - *322 - *323 - *324 + - *325 + - *326 responses: - '500': *85 + '500': *88 '422': *15 '404': *6 '403': *29 @@ -42005,7 +42580,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *174 + - *73 requestBody: required: true content: @@ -42040,7 +42615,7 @@ paths: - 1296269 - 1296280 responses: - '500': *85 + '500': *88 '404': *6 '202': *39 '403': *29 @@ -42065,7 +42640,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *174 + - *73 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -42093,9 +42668,9 @@ paths: value: action: revoke responses: - '500': *85 + '500': *88 '404': *6 - '204': *120 + '204': *123 '403': *29 '422': *15 x-github: @@ -42117,7 +42692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *174 + - *73 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -42127,7 +42702,7 @@ paths: - *17 - *19 responses: - '500': *85 + '500': *88 '404': *6 '403': *29 '200': @@ -42136,9 +42711,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 x-github: @@ -42162,7 +42737,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -42180,7 +42755,7 @@ paths: type: integer configurations: type: array - items: &325 + items: &327 title: Organization private registry description: Private registry configuration for an organization type: object @@ -42256,7 +42831,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -42397,7 +42972,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &326 + org-private-registry-with-selected-visibility: &328 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -42438,7 +43013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -42486,16 +43061,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *174 - - *212 + - *73 + - *214 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *325 + schema: *327 examples: - default: *326 + default: *328 '404': *6 x-github: githubCloudOnly: false @@ -42516,8 +43091,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *174 - - *212 + - *73 + - *214 requestBody: required: true content: @@ -42600,8 +43175,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *174 - - *212 + - *73 + - *214 responses: '204': description: Response @@ -42626,7 +43201,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *174 + - *73 - name: state description: Indicates the state of the projects to return. in: query @@ -42647,7 +43222,7 @@ paths: application/json: schema: type: array - items: &327 + items: &329 title: Project description: Projects are a way to organize columns and cards of work. @@ -42794,7 +43369,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *174 + - *73 requestBody: required: true content: @@ -42820,7 +43395,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *329 examples: default: value: @@ -42858,7 +43433,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &394 + '410': &396 description: Gone content: application/json: @@ -42885,7 +43460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -42893,9 +43468,9 @@ paths: application/json: schema: type: array - items: *116 + items: *119 examples: - default: *117 + default: *120 '403': *29 '404': *6 x-github: @@ -42922,7 +43497,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -42933,7 +43508,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *116 + items: *119 minItems: 1 maxItems: 100 required: @@ -42963,9 +43538,9 @@ paths: application/json: schema: type: array - items: *116 + items: *119 examples: - default: *117 + default: *120 '403': *29 '404': *6 x-github: @@ -42986,16 +43561,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *174 - - *118 + - *73 + - *121 responses: '200': description: Response content: application/json: - schema: *116 + schema: *119 examples: - default: *119 + default: *122 '403': *29 '404': *6 x-github: @@ -43018,13 +43593,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *174 - - *118 + - *73 + - *121 requestBody: required: true content: application/json: - schema: *328 + schema: *330 examples: default: value: @@ -43040,9 +43615,9 @@ paths: description: Response content: application/json: - schema: *116 + schema: *119 examples: - default: *119 + default: *122 '403': *29 '404': *6 x-github: @@ -43065,10 +43640,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *174 - - *118 + - *73 + - *121 responses: - '204': *120 + '204': *123 '403': *29 '404': *6 x-github: @@ -43089,7 +43664,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *174 + - *73 - *17 - *19 - name: repository_query @@ -43127,7 +43702,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &329 + items: &331 title: Custom Property Value description: Custom property name and associated value type: object @@ -43194,7 +43769,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *174 + - *73 requestBody: required: true content: @@ -43214,7 +43789,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *329 + items: *331 required: - repository_names - properties @@ -43255,7 +43830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *174 + - *73 - *17 - *19 responses: @@ -43267,7 +43842,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 x-github: @@ -43286,8 +43861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response if user is a public member @@ -43311,8 +43886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -43333,8 +43908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *174 - - *224 + - *73 + - *226 responses: '204': description: Response @@ -43358,7 +43933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *174 + - *73 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -43405,9 +43980,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 x-github: @@ -43428,7 +44003,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *174 + - *73 requestBody: required: true content: @@ -43610,7 +44185,7 @@ paths: description: Response content: application/json: - schema: &396 + schema: &398 title: Full Repository description: Full Repository type: object @@ -43887,8 +44462,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *330 - required: *331 + properties: *332 + required: *333 nullable: true temp_clone_token: type: string @@ -43975,8 +44550,8 @@ paths: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 nullable: true organization: title: Simple User @@ -44003,7 +44578,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &515 + properties: &517 url: type: string format: uri @@ -44019,12 +44594,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &516 + required: &518 - url - key - name - html_url - security_and_analysis: *332 + security_and_analysis: *334 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -44108,7 +44683,7 @@ paths: - network_count - subscribers_count examples: - default: &398 + default: &400 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44626,7 +45201,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response @@ -44634,9 +45209,9 @@ paths: application/json: schema: type: array - items: *333 + items: *335 examples: - default: *334 + default: *336 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44658,10 +45233,10 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *73 - *17 - *19 - - &664 + - &666 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44679,7 +45254,7 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: default: value: @@ -44710,7 +45285,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *85 + '500': *88 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -44726,7 +45301,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *73 requestBody: description: Request body required: true @@ -44747,16 +45322,16 @@ paths: - push - repository default: branch - enforcement: *127 + enforcement: *130 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *128 - conditions: *335 + items: *131 + conditions: *337 rules: type: array description: An array of rules within the ruleset. - items: *129 + items: *132 required: - name - enforcement @@ -44794,9 +45369,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: &336 + default: &338 value: id: 21 name: super cool ruleset @@ -44836,7 +45411,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *85 + '500': *88 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -44850,8 +45425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *174 - - &665 + - *73 + - &667 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -44861,16 +45436,16 @@ paths: schema: type: string x-multi-segment: true - - *231 - - *227 - - &666 + - *233 + - *229 + - &668 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &667 + - &669 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44890,7 +45465,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &670 title: Rule Suites description: Response type: array @@ -44945,7 +45520,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &669 + default: &671 value: - id: 21 actor_id: 12 @@ -44969,7 +45544,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44988,8 +45563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *174 - - &670 + - *73 + - &672 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -45005,7 +45580,7 @@ paths: description: Response content: application/json: - schema: &671 + schema: &673 title: Rule Suite description: Response type: object @@ -45104,7 +45679,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &672 + default: &674 value: id: 21 actor_id: 12 @@ -45139,7 +45714,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45165,7 +45740,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *73 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45177,11 +45752,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: *336 + default: *338 '404': *6 - '500': *85 + '500': *88 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -45197,7 +45772,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *73 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45223,16 +45798,16 @@ paths: - tag - push - repository - enforcement: *127 + enforcement: *130 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *128 - conditions: *335 + items: *131 + conditions: *337 rules: description: An array of rules within the ruleset. type: array - items: *129 + items: *132 examples: default: value: @@ -45267,11 +45842,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: *336 + default: *338 '404': *6 - '500': *85 + '500': *88 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -45287,7 +45862,7 @@ paths: category: orgs subcategory: rules parameters: - - *174 + - *73 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45298,7 +45873,7 @@ paths: '204': description: Response '404': *6 - '500': *85 + '500': *88 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -45310,7 +45885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *174 + - *73 - *17 - *19 - name: ruleset_id @@ -45326,11 +45901,11 @@ paths: application/json: schema: type: array - items: *133 + items: *136 examples: - default: *337 + default: *339 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45347,7 +45922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *174 + - *73 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45365,7 +45940,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *340 examples: default: value: @@ -45405,7 +45980,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45427,15 +46002,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *174 - - *339 - - *340 + - *73 - *341 - *342 - - *88 + - *343 + - *344 + - *91 - *19 - *17 - - &674 + - &676 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -45445,7 +46020,7 @@ paths: required: false schema: type: string - - &675 + - &677 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -45455,10 +46030,10 @@ paths: required: false schema: type: string - - *343 - - *344 - *345 - *346 + - *347 + - *348 responses: '200': description: Response @@ -45466,13 +46041,13 @@ paths: application/json: schema: type: array - items: *347 + items: *349 examples: - default: *348 + default: *350 headers: Link: *40 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45494,8 +46069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *174 - - *88 + - *73 + - *91 - name: sort description: The property to sort the results by. in: query @@ -45507,8 +46082,8 @@ paths: - updated - published default: created - - *86 - - *87 + - *89 + - *90 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -45538,7 +46113,7 @@ paths: application/json: schema: type: array - items: &696 + items: &698 description: A repository security advisory. type: object properties: @@ -45725,7 +46300,7 @@ paths: required: - vector_string - score - cvss_severities: *102 + cvss_severities: *105 cwes: type: array nullable: true @@ -45758,7 +46333,7 @@ paths: login: type: string description: The username of the user credited. - type: *349 + type: *351 credits_detailed: type: array nullable: true @@ -45768,7 +46343,7 @@ paths: type: object properties: user: *4 - type: *349 + type: *351 state: type: string description: The state of the user's acceptance of the @@ -45792,14 +46367,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *233 + items: *235 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *97 + - *100 required: - ghsa_id - cve_id @@ -45829,7 +46404,7 @@ paths: - private_fork additionalProperties: false examples: - default: &697 + default: &699 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -46208,7 +46783,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *174 + - *73 responses: '200': description: Response @@ -46216,9 +46791,9 @@ paths: application/json: schema: type: array - items: *350 + items: *352 examples: - default: *310 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46241,8 +46816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *174 - - *307 + - *73 + - *309 responses: '204': description: Response @@ -46267,8 +46842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *174 - - *307 + - *73 + - *309 responses: '204': description: Response @@ -46297,15 +46872,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46329,8 +46904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *174 - - *353 + - *73 + - *355 - *17 - *19 responses: @@ -46338,9 +46913,9 @@ paths: description: Success content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -46362,15 +46937,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46392,15 +46967,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *358 + schema: *360 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46420,7 +46995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *174 + - *73 - *17 - *19 responses: @@ -46438,9 +47013,9 @@ paths: type: integer network_configurations: type: array - items: *113 + items: *116 examples: - default: *360 + default: *362 headers: Link: *40 x-github: @@ -46461,7 +47036,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *174 + - *73 requestBody: required: true content: @@ -46503,9 +47078,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *116 examples: - default: *114 + default: *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46525,16 +47100,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *174 - - *115 + - *73 + - *118 responses: '200': description: Response content: application/json: - schema: *113 + schema: *116 examples: - default: *114 + default: *117 headers: Link: *40 x-github: @@ -46555,8 +47130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *174 - - *115 + - *73 + - *118 requestBody: required: true content: @@ -46595,9 +47170,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *116 examples: - default: *114 + default: *117 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46616,8 +47191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *174 - - *115 + - *73 + - *118 responses: '204': description: Response @@ -46640,16 +47215,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *174 - - *361 + - *73 + - *363 responses: '200': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 headers: Link: *40 x-github: @@ -46668,7 +47243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *174 + - *73 - *17 - name: page description: Page token @@ -46687,7 +47262,7 @@ paths: description: Response content: application/json: - schema: &385 + schema: &387 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -46733,7 +47308,7 @@ paths: type: string nullable: true examples: - default: &386 + default: &388 value: groups: - group_id: '123' @@ -46778,8 +47353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *174 - - *307 + - *73 + - *309 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -46811,13 +47386,13 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: - default: *139 - '500': *85 + default: *142 + '500': *88 '403': *29 '404': *6 - '422': *140 + '422': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46835,7 +47410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *174 + - *73 - *17 - *19 responses: @@ -46845,9 +47420,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *310 + default: *312 headers: Link: *40 '403': *29 @@ -46869,7 +47444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *174 + - *73 requestBody: required: true content: @@ -46941,7 +47516,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &366 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -47004,8 +47579,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *308 - required: *309 + properties: *310 + required: *311 nullable: true members_count: type: integer @@ -47251,7 +47826,7 @@ paths: - repos_count - organization examples: - default: &365 + default: &367 value: id: 1 node_id: MDQ6VGVhbTE= @@ -47321,16 +47896,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *174 - - *307 + - *73 + - *309 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '404': *6 x-github: githubCloudOnly: false @@ -47351,8 +47926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *174 - - *307 + - *73 + - *309 requestBody: required: false content: @@ -47414,16 +47989,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '201': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '404': *6 '422': *15 '403': *29 @@ -47448,8 +48023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *174 - - *307 + - *73 + - *309 responses: '204': description: Response @@ -47475,9 +48050,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *174 - - *307 - - *88 + - *73 + - *309 + - *91 - *17 - *19 - name: pinned @@ -47493,7 +48068,7 @@ paths: application/json: schema: type: array - items: &366 + items: &368 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -47572,7 +48147,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *145 + reactions: *148 required: - author - body @@ -47592,7 +48167,7 @@ paths: - updated_at - url examples: - default: &737 + default: &739 value: - author: login: octocat @@ -47666,8 +48241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *174 - - *307 + - *73 + - *309 requestBody: required: true content: @@ -47701,9 +48276,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: &367 + default: &369 value: author: login: octocat @@ -47775,9 +48350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *174 - - *307 - - &368 + - *73 + - *309 + - &370 name: discussion_number description: The number that identifies the discussion. in: path @@ -47789,9 +48364,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47813,9 +48388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *174 - - *307 - - *368 + - *73 + - *309 + - *370 requestBody: required: false content: @@ -47838,9 +48413,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: &738 + default: &740 value: author: login: octocat @@ -47910,9 +48485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *174 - - *307 - - *368 + - *73 + - *309 + - *370 responses: '204': description: Response @@ -47938,10 +48513,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *174 - - *307 - - *368 - - *88 + - *73 + - *309 + - *370 + - *91 - *17 - *19 responses: @@ -47951,7 +48526,7 @@ paths: application/json: schema: type: array - items: &369 + items: &371 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -48008,7 +48583,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *145 + reactions: *148 required: - author - body @@ -48023,7 +48598,7 @@ paths: - updated_at - url examples: - default: &739 + default: &741 value: - author: login: octocat @@ -48091,9 +48666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *174 - - *307 - - *368 + - *73 + - *309 + - *370 requestBody: required: true content: @@ -48115,9 +48690,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: &370 + default: &372 value: author: login: octocat @@ -48183,10 +48758,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *174 - - *307 - - *368 - - &371 + - *73 + - *309 + - *370 + - &373 name: comment_number description: The number that identifies the comment. in: path @@ -48198,9 +48773,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: *370 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48222,10 +48797,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *174 - - *307 - - *368 - - *371 + - *73 + - *309 + - *370 + - *373 requestBody: required: true content: @@ -48247,9 +48822,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: &740 + default: &742 value: author: login: octocat @@ -48313,10 +48888,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *174 - - *307 - - *368 - - *371 + - *73 + - *309 + - *370 + - *373 responses: '204': description: Response @@ -48342,10 +48917,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *174 - - *307 - - *368 - - *371 + - *73 + - *309 + - *370 + - *373 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -48371,7 +48946,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -48414,7 +48989,7 @@ paths: - content - created_at examples: - default: &374 + default: &376 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -48464,10 +49039,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *174 - - *307 - - *368 - - *371 + - *73 + - *309 + - *370 + - *373 requestBody: required: true content: @@ -48500,9 +49075,9 @@ paths: team discussion comment content: application/json: - schema: *372 + schema: *374 examples: - default: &373 + default: &375 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -48531,9 +49106,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48556,11 +49131,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *174 - - *307 - - *368 - - *371 - - &375 + - *73 + - *309 + - *370 + - *373 + - &377 name: reaction_id description: The unique identifier of the reaction. in: path @@ -48592,9 +49167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *174 - - *307 - - *368 + - *73 + - *309 + - *370 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -48620,9 +49195,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 x-github: @@ -48648,9 +49223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *174 - - *307 - - *368 + - *73 + - *309 + - *370 requestBody: required: true content: @@ -48682,16 +49257,16 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '201': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48714,10 +49289,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *174 - - *307 - - *368 - - *375 + - *73 + - *309 + - *370 + - *377 responses: '204': description: Response @@ -48740,16 +49315,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *174 - - *307 + - *73 + - *309 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: *377 + default: *379 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -48768,8 +49343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *174 - - *307 + - *73 + - *309 requestBody: required: true content: @@ -48792,9 +49367,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: - default: *379 + default: *381 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -48813,8 +49388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *174 - - *307 + - *73 + - *309 responses: '204': description: Response @@ -48838,8 +49413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *174 - - *307 + - *73 + - *309 - *17 - *19 responses: @@ -48849,9 +49424,9 @@ paths: application/json: schema: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 headers: Link: *40 x-github: @@ -48873,8 +49448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *174 - - *307 + - *73 + - *309 - name: role description: Filters members returned by their role in the team. in: query @@ -48897,7 +49472,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 x-github: @@ -48927,15 +49502,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *174 - - *307 - - *224 + - *73 + - *309 + - *226 responses: '200': description: Response content: application/json: - schema: &380 + schema: &382 title: Team Membership description: Team Membership type: object @@ -48962,7 +49537,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &741 + response-if-user-is-a-team-maintainer: &743 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48998,9 +49573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *174 - - *307 - - *224 + - *73 + - *309 + - *226 requestBody: required: false content: @@ -49025,9 +49600,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *382 examples: - response-if-users-membership-with-team-is-now-pending: &742 + response-if-users-membership-with-team-is-now-pending: &744 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -49062,9 +49637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *174 - - *307 - - *224 + - *73 + - *309 + - *226 responses: '204': description: Response @@ -49089,8 +49664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *174 - - *307 + - *73 + - *309 - *17 - *19 responses: @@ -49100,7 +49675,7 @@ paths: application/json: schema: type: array - items: &381 + items: &383 title: Team Project description: A team's access to a project. type: object @@ -49168,7 +49743,7 @@ paths: - updated_at - permissions examples: - default: &743 + default: &745 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49231,9 +49806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *174 - - *307 - - &382 + - *73 + - *309 + - &384 name: project_id description: The unique identifier of the project. in: path @@ -49245,9 +49820,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: &744 + default: &746 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49309,9 +49884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *174 - - *307 - - *382 + - *73 + - *309 + - *384 requestBody: required: false content: @@ -49377,9 +49952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *174 - - *307 - - *382 + - *73 + - *309 + - *384 responses: '204': description: Response @@ -49406,8 +49981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *174 - - *307 + - *73 + - *309 - *17 - *19 responses: @@ -49417,9 +49992,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 x-github: @@ -49448,16 +50023,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *174 - - *307 - - *383 - - *384 + - *73 + - *309 + - *385 + - *386 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &745 + schema: &747 title: Team Repository description: A team's access to a repository. type: object @@ -49480,8 +50055,8 @@ paths: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 nullable: true forks: type: integer @@ -50026,10 +50601,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *174 - - *307 - - *383 - - *384 + - *73 + - *309 + - *385 + - *386 requestBody: required: false content: @@ -50074,10 +50649,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *174 - - *307 - - *383 - - *384 + - *73 + - *309 + - *385 + - *386 responses: '204': description: Response @@ -50103,16 +50678,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *174 - - *307 + - *73 + - *309 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *386 + default: *388 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -50134,8 +50709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *174 - - *307 + - *73 + - *309 requestBody: required: true content: @@ -50178,7 +50753,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: default: value: @@ -50210,8 +50785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *174 - - *307 + - *73 + - *309 - *17 - *19 responses: @@ -50221,9 +50796,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - response-if-child-teams-exist: &746 + response-if-child-teams-exist: &748 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -50276,7 +50851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *174 + - *73 - name: security_product in: path description: The security feature to enable or disable. @@ -50350,7 +50925,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &387 + - &389 name: card_id description: The unique identifier of the card. in: path @@ -50362,7 +50937,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &390 title: Project Card description: Project cards represent a scope of work. type: object @@ -50429,7 +51004,7 @@ paths: - created_at - updated_at examples: - default: &389 + default: &391 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -50485,7 +51060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *387 + - *389 requestBody: required: false content: @@ -50512,9 +51087,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *389 + default: *391 '304': *37 '403': *29 '401': *25 @@ -50541,7 +51116,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *387 + - *389 responses: '204': description: Response @@ -50585,7 +51160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *387 + - *389 requestBody: required: true content: @@ -50696,7 +51271,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &390 + - &392 name: column_id description: The unique identifier of the column. in: path @@ -50708,7 +51283,7 @@ paths: description: Response content: application/json: - schema: &391 + schema: &393 title: Project Column description: Project columns contain cards of work. type: object @@ -50754,7 +51329,7 @@ paths: - created_at - updated_at examples: - default: &392 + default: &394 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -50789,7 +51364,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *390 + - *392 requestBody: required: true content: @@ -50813,9 +51388,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *393 examples: - default: *392 + default: *394 '304': *37 '403': *29 '401': *25 @@ -50840,7 +51415,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *390 + - *392 responses: '204': description: Response @@ -50869,7 +51444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *390 + - *392 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -50890,7 +51465,7 @@ paths: application/json: schema: type: array - items: *388 + items: *390 examples: default: value: @@ -50949,7 +51524,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *390 + - *392 requestBody: required: true content: @@ -50989,9 +51564,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *389 + default: *391 '304': *37 '403': *29 '401': *25 @@ -51001,8 +51576,8 @@ paths: application/json: schema: oneOf: - - *185 - - *186 + - *187 + - *188 '503': description: Response content: @@ -51047,7 +51622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *390 + - *392 requestBody: required: true content: @@ -51107,15 +51682,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *382 + - *384 responses: '200': description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: &393 + default: &395 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -51172,7 +51747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *382 + - *384 requestBody: required: false content: @@ -51218,9 +51793,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: *393 + default: *395 '404': description: Not Found if the authenticated user does not have access to the project @@ -51241,7 +51816,7 @@ paths: items: type: string '401': *25 - '410': *394 + '410': *396 '422': *7 x-github: githubCloudOnly: false @@ -51264,7 +51839,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *382 + - *384 responses: '204': description: Delete Success @@ -51285,7 +51860,7 @@ paths: items: type: string '401': *25 - '410': *394 + '410': *396 '404': *6 x-github: githubCloudOnly: false @@ -51309,7 +51884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *382 + - *384 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -51336,7 +51911,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 '404': *6 @@ -51366,8 +51941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *382 - - *224 + - *384 + - *226 requestBody: required: false content: @@ -51419,8 +51994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *382 - - *224 + - *384 + - *226 responses: '204': description: Response @@ -51451,8 +52026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *382 - - *224 + - *384 + - *226 responses: '200': description: Response @@ -51525,7 +52100,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *382 + - *384 - *17 - *19 responses: @@ -51535,7 +52110,7 @@ paths: application/json: schema: type: array - items: *391 + items: *393 examples: default: value: @@ -51573,7 +52148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *382 + - *384 requestBody: required: true content: @@ -51596,7 +52171,7 @@ paths: description: Response content: application/json: - schema: *391 + schema: *393 examples: default: value: @@ -51661,7 +52236,7 @@ paths: resources: type: object properties: - core: &395 + core: &397 title: Rate Limit type: object properties: @@ -51678,21 +52253,21 @@ paths: - remaining - reset - used - graphql: *395 - search: *395 - code_search: *395 - source_import: *395 - integration_manifest: *395 - code_scanning_upload: *395 - actions_runner_registration: *395 - scim: *395 - dependency_snapshots: *395 - dependency_sbom: *395 - code_scanning_autofix: *395 + graphql: *397 + search: *397 + code_search: *397 + source_import: *397 + integration_manifest: *397 + code_scanning_upload: *397 + actions_runner_registration: *397 + scim: *397 + dependency_snapshots: *397 + dependency_sbom: *397 + code_scanning_autofix: *397 required: - core - search - rate: *395 + rate: *397 required: - rate - resources @@ -51796,14 +52371,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: default-response: summary: Default response @@ -52308,7 +52883,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *397 + '301': *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52326,8 +52901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: false content: @@ -52581,10 +53156,10 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *398 - '307': &399 + default: *400 + '307': &401 description: Temporary Redirect content: application/json: @@ -52613,8 +53188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -52636,9 +53211,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *399 + '307': *401 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52660,11 +53235,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 - - &414 + - &416 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -52687,7 +53262,7 @@ paths: type: integer artifacts: type: array - items: &400 + items: &402 title: Artifact description: An artifact type: object @@ -52765,7 +53340,7 @@ paths: - expires_at - updated_at examples: - default: &415 + default: &417 value: total_count: 2 artifacts: @@ -52826,9 +53401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *383 - - *384 - - &401 + - *385 + - *386 + - &403 name: artifact_id description: The unique identifier of the artifact. in: path @@ -52840,7 +53415,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: default: value: @@ -52878,9 +53453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *383 - - *384 - - *401 + - *385 + - *386 + - *403 responses: '204': description: Response @@ -52904,9 +53479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *383 - - *384 - - *401 + - *385 + - *386 + - *403 - name: archive_format in: path required: true @@ -52920,7 +53495,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52943,14 +53518,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *402 + schema: *404 examples: default: value: @@ -52976,11 +53551,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 - - &403 + - &405 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -53008,13 +53583,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *88 + - *91 responses: '200': description: Response content: application/json: - schema: &404 + schema: &406 title: Repository actions caches description: Repository actions caches type: object @@ -53056,7 +53631,7 @@ paths: - total_count - actions_caches examples: - default: &405 + default: &407 value: total_count: 1 actions_caches: @@ -53088,23 +53663,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *383 - - *384 + - *385 + - *386 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *403 + - *405 responses: '200': description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *405 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53124,8 +53699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *383 - - *384 + - *385 + - *386 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -53156,9 +53731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *383 - - *384 - - &406 + - *385 + - *386 + - &408 name: job_id description: The unique identifier of the job. in: path @@ -53170,7 +53745,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &420 title: Job description: Information of a job execution in a workflow run type: object @@ -53477,9 +54052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *383 - - *384 - - *406 + - *385 + - *386 + - *408 responses: '302': description: Response @@ -53507,9 +54082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *383 - - *384 - - *406 + - *385 + - *386 + - *408 requestBody: required: false content: @@ -53530,7 +54105,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -53554,8 +54129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Status response @@ -53605,8 +54180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -53640,7 +54215,7 @@ paths: description: Empty response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -53669,8 +54244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -53688,7 +54263,7 @@ paths: type: integer secrets: type: array - items: &420 + items: &422 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -53708,7 +54283,7 @@ paths: - created_at - updated_at examples: - default: &421 + default: &423 value: total_count: 2 secrets: @@ -53741,9 +54316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *383 - - *384 - - *407 + - *385 + - *386 + - *409 - *19 responses: '200': @@ -53760,7 +54335,7 @@ paths: type: integer variables: type: array - items: &424 + items: &426 title: Actions Variable type: object properties: @@ -53790,7 +54365,7 @@ paths: - created_at - updated_at examples: - default: &425 + default: &427 value: total_count: 2 variables: @@ -53823,8 +54398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -53833,11 +54408,11 @@ paths: schema: type: object properties: - enabled: &408 + enabled: &410 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *195 + selected_actions_url: *197 required: - enabled examples: @@ -53866,8 +54441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -53878,7 +54453,7 @@ paths: schema: type: object properties: - enabled: *408 + enabled: *410 allowed_actions: *49 required: - enabled @@ -53909,14 +54484,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: &409 + schema: &411 type: object properties: access_level: @@ -53934,7 +54509,7 @@ paths: required: - access_level examples: - default: &410 + default: &412 value: access_level: organization x-github: @@ -53959,15 +54534,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: application/json: - schema: *409 + schema: *411 examples: - default: *410 + default: *412 responses: '204': description: Response @@ -53991,8 +54566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -54023,8 +54598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -54056,14 +54631,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *198 + schema: *200 examples: default: *55 x-github: @@ -54086,8 +54661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Success response @@ -54098,7 +54673,7 @@ paths: required: true content: application/json: - schema: *199 + schema: *201 examples: default: *55 x-github: @@ -54127,8 +54702,8 @@ paths: in: query schema: type: string - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -54172,8 +54747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -54181,9 +54756,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54205,8 +54780,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -54249,10 +54824,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *205 + '201': *207 '404': *6 '422': *7 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54280,8 +54855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '201': description: Response @@ -54289,7 +54864,7 @@ paths: application/json: schema: *65 examples: - default: *206 + default: *208 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54317,8 +54892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '201': description: Response @@ -54326,7 +54901,7 @@ paths: application/json: schema: *65 examples: - default: *207 + default: *209 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54348,8 +54923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 responses: '200': @@ -54358,7 +54933,7 @@ paths: application/json: schema: *62 examples: - default: *208 + default: *210 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54379,8 +54954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 responses: '204': @@ -54407,8 +54982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 responses: '200': *67 @@ -54433,8 +55008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 requestBody: required: true @@ -54483,8 +55058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 requestBody: required: true @@ -54534,11 +55109,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 responses: - '200': *209 + '200': *211 '404': *6 x-github: githubCloudOnly: false @@ -54565,10 +55140,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *61 - - *210 + - *212 responses: '200': *67 '404': *6 @@ -54596,9 +55171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *383 - - *384 - - &428 + - *385 + - *386 + - &430 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -54606,7 +55181,7 @@ paths: required: false schema: type: string - - &429 + - &431 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -54614,7 +55189,7 @@ paths: required: false schema: type: string - - &430 + - &432 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -54623,7 +55198,7 @@ paths: required: false schema: type: string - - &431 + - &433 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -54650,7 +55225,7 @@ paths: - pending - *17 - *19 - - &432 + - &434 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -54659,7 +55234,7 @@ paths: schema: type: string format: date-time - - &411 + - &413 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -54668,13 +55243,13 @@ paths: schema: type: boolean default: false - - &433 + - &435 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &434 + - &436 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -54697,7 +55272,7 @@ paths: type: integer workflow_runs: type: array - items: &412 + items: &414 title: Workflow Run description: An invocation of a workflow type: object @@ -54792,7 +55367,7 @@ paths: that triggered the run. type: array nullable: true - items: &455 + items: &457 title: Pull Request Minimal type: object properties: @@ -54911,7 +55486,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &459 + properties: &461 id: type: string description: SHA for the commit @@ -54962,7 +55537,7 @@ paths: - name - email nullable: true - required: &460 + required: &462 - id - tree_id - message @@ -54970,8 +55545,8 @@ paths: - author - committer nullable: true - repository: *202 - head_repository: *202 + repository: *204 + head_repository: *204 head_repository_id: type: integer example: 5 @@ -55009,7 +55584,7 @@ paths: - workflow_url - pull_requests examples: - default: &435 + default: &437 value: total_count: 1 workflow_runs: @@ -55245,24 +55820,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *383 - - *384 - - &413 + - *385 + - *386 + - &415 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *411 + - *413 responses: '200': description: Response content: application/json: - schema: *412 + schema: *414 examples: - default: &416 + default: &418 value: id: 30433642 name: Build @@ -55503,9 +56078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '204': description: Response @@ -55528,9 +56103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '200': description: Response @@ -55649,15 +56224,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '201': description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -55684,12 +56259,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 - *17 - *19 - - *414 + - *416 responses: '200': description: Response @@ -55705,9 +56280,9 @@ paths: type: integer artifacts: type: array - items: *400 + items: *402 examples: - default: *415 + default: *417 headers: Link: *40 x-github: @@ -55731,25 +56306,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *383 - - *384 - - *413 - - &417 + - *385 + - *386 + - *415 + - &419 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *411 + - *413 responses: '200': description: Response content: application/json: - schema: *412 + schema: *414 examples: - default: *416 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55772,10 +56347,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *383 - - *384 - - *413 - - *417 + - *385 + - *386 + - *415 + - *419 - *17 - *19 responses: @@ -55793,9 +56368,9 @@ paths: type: integer jobs: type: array - items: *418 + items: *420 examples: - default: &419 + default: &421 value: total_count: 1 jobs: @@ -55908,10 +56483,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *383 - - *384 - - *413 - - *417 + - *385 + - *386 + - *415 + - *419 responses: '302': description: Response @@ -55939,19 +56514,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '202': description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55974,9 +56549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 requestBody: required: true content: @@ -56043,19 +56618,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '202': description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56078,9 +56653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -56110,9 +56685,9 @@ paths: type: integer jobs: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *40 x-github: @@ -56137,9 +56712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '302': description: Response @@ -56166,14 +56741,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '204': description: Response '403': *29 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56195,9 +56770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '200': description: Response @@ -56257,7 +56832,7 @@ paths: items: type: object properties: - type: &545 + type: &547 type: string description: The type of reviewer. enum: @@ -56267,7 +56842,7 @@ paths: reviewer: anyOf: - *4 - - *233 + - *235 required: - environment - wait_timer @@ -56342,9 +56917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 requestBody: required: true content: @@ -56391,7 +56966,7 @@ paths: application/json: schema: type: array - items: &531 + items: &533 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -56479,8 +57054,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 required: - id - node_id @@ -56497,7 +57072,7 @@ paths: - created_at - updated_at examples: - default: &532 + default: &534 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -56553,9 +57128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 requestBody: required: false content: @@ -56576,7 +57151,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -56599,9 +57174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 requestBody: required: false content: @@ -56622,7 +57197,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -56655,9 +57230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *383 - - *384 - - *413 + - *385 + - *386 + - *415 responses: '200': description: Response @@ -56794,8 +57369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -56813,9 +57388,9 @@ paths: type: integer secrets: type: array - items: *420 + items: *422 examples: - default: *421 + default: *423 headers: Link: *40 x-github: @@ -56840,16 +57415,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: *423 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56871,17 +57446,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 responses: '200': description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: &558 + default: &560 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56907,9 +57482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 requestBody: required: true content: @@ -56940,7 +57515,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -56966,9 +57541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 responses: '204': description: Response @@ -56993,9 +57568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *383 - - *384 - - *407 + - *385 + - *386 + - *409 - *19 responses: '200': @@ -57012,9 +57587,9 @@ paths: type: integer variables: type: array - items: *424 + items: *426 examples: - default: *425 + default: *427 headers: Link: *40 x-github: @@ -57037,8 +57612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -57065,7 +57640,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -57090,17 +57665,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *383 - - *384 - - *215 + - *385 + - *386 + - *217 responses: '200': description: Response content: application/json: - schema: *424 + schema: *426 examples: - default: &559 + default: &561 value: name: USERNAME value: octocat @@ -57126,9 +57701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *383 - - *384 - - *215 + - *385 + - *386 + - *217 requestBody: required: true content: @@ -57170,9 +57745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *383 - - *384 - - *215 + - *385 + - *386 + - *217 responses: '204': description: Response @@ -57197,8 +57772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -57216,7 +57791,7 @@ paths: type: integer workflows: type: array - items: &426 + items: &428 title: Workflow description: A GitHub Actions workflow type: object @@ -57323,9 +57898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *383 - - *384 - - &427 + - *385 + - *386 + - &429 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -57340,7 +57915,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *428 examples: default: value: @@ -57373,9 +57948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *383 - - *384 - - *427 + - *385 + - *386 + - *429 responses: '204': description: Response @@ -57400,9 +57975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *383 - - *384 - - *427 + - *385 + - *386 + - *429 responses: '204': description: Response @@ -57453,9 +58028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *383 - - *384 - - *427 + - *385 + - *386 + - *429 responses: '204': description: Response @@ -57482,19 +58057,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *383 - - *384 - - *427 - - *428 + - *385 + - *386 - *429 - *430 - *431 - - *17 - - *19 - *432 - - *411 - *433 + - *17 + - *19 - *434 + - *413 + - *435 + - *436 responses: '200': description: Response @@ -57510,9 +58085,9 @@ paths: type: integer workflow_runs: type: array - items: *412 + items: *414 examples: - default: *435 + default: *437 headers: Link: *40 x-github: @@ -57545,9 +58120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *383 - - *384 - - *427 + - *385 + - *386 + - *429 responses: '200': description: Response @@ -57608,12 +58183,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *383 - - *384 - - *88 + - *385 + - *386 + - *91 - *17 - - *86 - - *87 + - *89 + - *90 - name: ref description: |- The Git reference for the activities you want to list. @@ -57773,8 +58348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -57786,7 +58361,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 '404': *6 @@ -57811,8 +58386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *383 - - *384 + - *385 + - *386 - name: assignee in: path required: true @@ -57848,8 +58423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -57961,11 +58536,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *383 - - *384 + - *385 + - *386 - *17 - - *86 - - *87 + - *89 + - *90 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -58016,7 +58591,7 @@ paths: bundle_url: type: string examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58036,8 +58611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -58045,7 +58620,7 @@ paths: application/json: schema: type: array - items: &437 + items: &439 title: Autolink reference description: An autolink reference. type: object @@ -58095,8 +58670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -58135,9 +58710,9 @@ paths: description: response content: application/json: - schema: *437 + schema: *439 examples: - default: &438 + default: &440 value: id: 1 key_prefix: TICKET- @@ -58168,9 +58743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *383 - - *384 - - &439 + - *385 + - *386 + - &441 name: autolink_id description: The unique identifier of the autolink. in: path @@ -58182,9 +58757,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 '404': *6 x-github: githubCloudOnly: false @@ -58204,9 +58779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *383 - - *384 - - *439 + - *385 + - *386 + - *441 responses: '204': description: Response @@ -58230,8 +58805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response if Dependabot is enabled @@ -58279,8 +58854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -58301,8 +58876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -58322,8 +58897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *383 - - *384 + - *385 + - *386 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -58361,7 +58936,7 @@ paths: - url protected: type: boolean - protection: &441 + protection: &443 title: Branch Protection description: Branch Protection type: object @@ -58403,7 +58978,7 @@ paths: required: - contexts - checks - enforce_admins: &444 + enforce_admins: &446 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -58418,7 +58993,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &446 + required_pull_request_reviews: &448 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -58439,7 +59014,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *233 + items: *235 apps: description: The list of apps with review dismissal access. @@ -58468,7 +59043,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *233 + items: *235 apps: description: The list of apps allowed to bypass pull request requirements. @@ -58494,7 +59069,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &443 + restrictions: &445 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -58801,9 +59376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *383 - - *384 - - &442 + - *385 + - *386 + - &444 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -58817,14 +59392,14 @@ paths: description: Response content: application/json: - schema: &452 + schema: &454 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &504 + commit: &506 title: Commit description: Commit type: object @@ -58858,7 +59433,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &440 + properties: &442 name: type: string example: '"Chris Wanstrath"' @@ -58873,7 +59448,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *440 + properties: *442 nullable: true message: type: string @@ -58894,7 +59469,7 @@ paths: required: - sha - url - verification: &565 + verification: &567 title: Verification type: object properties: @@ -58928,12 +59503,12 @@ paths: nullable: true oneOf: - *4 - - *213 + - *215 committer: nullable: true oneOf: - *4 - - *213 + - *215 parents: type: array items: @@ -58964,7 +59539,7 @@ paths: type: integer files: type: array - items: &519 + items: &521 title: Diff Entry description: Diff Entry type: object @@ -59047,7 +59622,7 @@ paths: - self protected: type: boolean - protection: *441 + protection: *443 protection_url: type: string format: uri @@ -59154,7 +59729,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *397 + '301': *399 '404': *6 x-github: githubCloudOnly: false @@ -59176,15 +59751,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -59378,9 +59953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -59635,7 +60210,7 @@ paths: url: type: string format: uri - required_status_checks: &449 + required_status_checks: &451 title: Status Check Policy description: Status Check Policy type: object @@ -59711,7 +60286,7 @@ paths: items: *4 teams: type: array - items: *233 + items: *235 apps: type: array items: *5 @@ -59729,7 +60304,7 @@ paths: items: *4 teams: type: array - items: *233 + items: *235 apps: type: array items: *5 @@ -59787,7 +60362,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *443 + restrictions: *445 required_conversation_resolution: type: object properties: @@ -59899,9 +60474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '204': description: Response @@ -59926,17 +60501,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: &445 + default: &447 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -59958,17 +60533,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59987,9 +60562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '204': description: Response @@ -60014,17 +60589,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: &447 + default: &449 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -60120,9 +60695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: false content: @@ -60220,9 +60795,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *447 + default: *449 '422': *15 x-github: githubCloudOnly: false @@ -60243,9 +60818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '204': description: Response @@ -60272,17 +60847,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: &448 + default: &450 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -60305,17 +60880,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *448 + default: *450 '404': *6 x-github: githubCloudOnly: false @@ -60335,9 +60910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '204': description: Response @@ -60362,17 +60937,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: &450 + default: &452 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -60398,9 +60973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: false content: @@ -60452,9 +61027,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *451 examples: - default: *450 + default: *452 '404': *6 '422': *15 x-github: @@ -60476,9 +61051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '204': description: Response @@ -60502,9 +61077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response @@ -60538,9 +61113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: false content: @@ -60607,9 +61182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: false content: @@ -60673,9 +61248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: content: application/json: @@ -60741,15 +61316,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response content: application/json: - schema: *443 + schema: *445 examples: default: value: @@ -60840,9 +61415,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '204': description: Response @@ -60865,9 +61440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response @@ -60877,7 +61452,7 @@ paths: type: array items: *5 examples: - default: &451 + default: &453 value: - id: 1 slug: octoapp @@ -60934,9 +61509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -60970,7 +61545,7 @@ paths: type: array items: *5 examples: - default: *451 + default: *453 '422': *15 x-github: githubCloudOnly: false @@ -60991,9 +61566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -61027,7 +61602,7 @@ paths: type: array items: *5 examples: - default: *451 + default: *453 '422': *15 x-github: githubCloudOnly: false @@ -61048,9 +61623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -61084,7 +61659,7 @@ paths: type: array items: *5 examples: - default: *451 + default: *453 '422': *15 x-github: githubCloudOnly: false @@ -61106,9 +61681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response @@ -61116,9 +61691,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *310 + default: *312 '404': *6 x-github: githubCloudOnly: false @@ -61138,9 +61713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: false content: @@ -61176,9 +61751,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *310 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -61199,9 +61774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: false content: @@ -61237,9 +61812,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *310 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -61260,9 +61835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: content: application/json: @@ -61297,9 +61872,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *310 + default: *312 '422': *15 x-github: githubCloudOnly: false @@ -61321,9 +61896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 responses: '200': description: Response @@ -61333,7 +61908,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 '404': *6 x-github: githubCloudOnly: false @@ -61357,9 +61932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -61392,7 +61967,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 '422': *15 x-github: githubCloudOnly: false @@ -61417,9 +61992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -61452,7 +62027,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 '422': *15 x-github: githubCloudOnly: false @@ -61477,9 +62052,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -61512,7 +62087,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 '422': *15 x-github: githubCloudOnly: false @@ -61539,9 +62114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 requestBody: required: true content: @@ -61563,7 +62138,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *454 examples: default: value: @@ -61677,12 +62252,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *383 - - *384 - - *225 - - *226 + - *385 + - *386 - *227 - *228 + - *229 + - *230 - *17 - *19 responses: @@ -61692,11 +62267,11 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *230 + default: *232 '404': *6 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": get: summary: Get a repository push bypass request @@ -61714,8 +62289,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *383 - - *384 + - *385 + - *386 - name: bypass_request_number in: path required: true @@ -61729,7 +62304,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *231 examples: default: value: @@ -61767,7 +62342,7 @@ paths: url: https://api.github.com/repos/octo-org/smile/bypass-requests/push-rules/2 html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/bypass-requests/secret-scanning": get: summary: List bypass requests for secret scanning for a repository @@ -61788,12 +62363,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *383 - - *384 - - *225 - - *226 + - *385 + - *386 - *227 - *228 + - *229 + - *230 - *17 - *19 responses: @@ -61803,12 +62378,12 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *454 + default: *456 '404': *6 '403': *29 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}": get: summary: Get a bypass request for secret scanning @@ -61829,8 +62404,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *383 - - *384 + - *385 + - *386 - name: bypass_request_number in: path required: true @@ -61842,7 +62417,7 @@ paths: description: A single bypass request. content: application/json: - schema: *453 + schema: *455 examples: default: value: @@ -61880,7 +62455,7 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/1 '404': *6 '403': *29 - '500': *85 + '500': *88 patch: summary: Review a bypass request for secret scanning description: |- @@ -61900,8 +62475,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *383 - - *384 + - *385 + - *386 - name: bypass_request_number in: path required: true @@ -61951,7 +62526,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}": delete: summary: Dismiss a response on a bypass request for secret scanning @@ -61972,8 +62547,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *383 - - *384 + - *385 + - *386 - name: bypass_response_id in: path required: true @@ -61986,7 +62561,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/check-runs": post: summary: Create a check run @@ -62006,8 +62581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -62286,7 +62861,7 @@ paths: description: Response content: application/json: - schema: &456 + schema: &458 title: CheckRun description: A check performed on the code of a given code change type: object @@ -62397,16 +62972,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *455 - deployment: &800 + items: *457 + deployment: &802 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -62473,8 +63048,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 required: - id - node_id @@ -62686,9 +63261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *383 - - *384 - - &457 + - *385 + - *386 + - &459 name: check_run_id description: The unique identifier of the check run. in: path @@ -62700,9 +63275,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: &458 + default: &460 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -62802,9 +63377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *383 - - *384 - - *457 + - *385 + - *386 + - *459 requestBody: required: true content: @@ -63044,9 +63619,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: - default: *458 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63066,9 +63641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *383 - - *384 - - *457 + - *385 + - *386 + - *459 - *17 - *19 responses: @@ -63163,15 +63738,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *383 - - *384 - - *457 + - *385 + - *386 + - *459 responses: '201': description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -63209,8 +63784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -63232,7 +63807,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &461 + schema: &463 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -63296,7 +63871,7 @@ paths: nullable: true pull_requests: type: array - items: *455 + items: *457 nullable: true app: title: GitHub app @@ -63307,9 +63882,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 - repository: *202 + properties: *145 + required: *146 + repository: *204 created_at: type: string format: date-time @@ -63318,12 +63893,12 @@ paths: type: string format: date-time nullable: true - head_commit: &826 + head_commit: &828 title: Simple Commit description: A commit. type: object - properties: *459 - required: *460 + properties: *461 + required: *462 latest_check_runs_count: type: integer check_runs_url: @@ -63351,7 +63926,7 @@ paths: - check_runs_url - pull_requests examples: - default: &462 + default: &464 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -63642,9 +64217,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *461 + schema: *463 examples: - default: *462 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63663,8 +64238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -63725,7 +64300,7 @@ paths: required: - app_id - setting - repository: *202 + repository: *204 examples: default: value: @@ -63973,9 +64548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *383 - - *384 - - &463 + - *385 + - *386 + - &465 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -63987,9 +64562,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - default: *462 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64012,17 +64587,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *383 - - *384 - - *463 - - &512 + - *385 + - *386 + - *465 + - &514 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &513 + - &515 name: status description: Returns check runs with the specified `status`. in: query @@ -64061,9 +64636,9 @@ paths: type: integer check_runs: type: array - items: *456 + items: *458 examples: - default: &514 + default: &516 value: total_count: 1 check_runs: @@ -64165,15 +64740,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *383 - - *384 - - *463 + - *385 + - *386 + - *465 responses: '201': description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -64200,30 +64775,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *383 - - *384 - - *237 - - *238 + - *385 + - *386 + - *239 + - *240 - *19 - *17 - - &479 + - &481 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *464 - - &480 + schema: *466 + - &482 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *88 - - *86 - - *87 + - *91 + - *89 + - *90 - name: sort description: The property by which to sort the results. in: query @@ -64239,13 +64814,13 @@ paths: be returned. in: query required: false - schema: *239 + schema: *241 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *465 + schema: *467 responses: '200': description: Response @@ -64256,14 +64831,14 @@ paths: items: type: object properties: - number: *100 - created_at: *107 - updated_at: *108 - url: *105 - html_url: *106 - instances_url: *466 - state: *91 - fixed_at: *110 + number: *103 + created_at: *110 + updated_at: *111 + url: *108 + html_url: *109 + instances_url: *468 + state: *94 + fixed_at: *113 dismissed_by: title: Simple User description: A GitHub user. @@ -64271,12 +64846,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *109 - dismissed_reason: *467 - dismissed_comment: *468 - rule: *469 - tool: *470 - most_recent_instance: *471 + dismissed_at: *112 + dismissed_reason: *469 + dismissed_comment: *470 + rule: *471 + tool: *472 + most_recent_instance: *473 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -64399,14 +64974,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &472 + '403': &474 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64426,9 +65001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *383 - - *384 - - &473 + - *385 + - *386 + - &475 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -64436,23 +65011,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *100 + schema: *103 responses: '200': description: Response content: application/json: - schema: &474 + schema: &476 type: object properties: - number: *100 - created_at: *107 - updated_at: *108 - url: *105 - html_url: *106 - instances_url: *466 - state: *91 - fixed_at: *110 + number: *103 + created_at: *110 + updated_at: *111 + url: *108 + html_url: *109 + instances_url: *468 + state: *94 + fixed_at: *113 dismissed_by: title: Simple User description: A GitHub user. @@ -64460,9 +65035,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *109 - dismissed_reason: *467 - dismissed_comment: *468 + dismissed_at: *112 + dismissed_reason: *469 + dismissed_comment: *470 rule: type: object properties: @@ -64516,8 +65091,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *470 - most_recent_instance: *471 + tool: *472 + most_recent_instance: *473 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -64613,9 +65188,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64633,9 +65208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 requestBody: required: true content: @@ -64650,8 +65225,8 @@ paths: enum: - open - dismissed - dismissed_reason: *467 - dismissed_comment: *468 + dismissed_reason: *469 + dismissed_comment: *470 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -64670,7 +65245,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *476 examples: default: value: @@ -64746,14 +65321,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &478 + '403': &480 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64773,15 +65348,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 responses: '200': description: Response content: application/json: - schema: &475 + schema: &477 type: object properties: status: @@ -64807,13 +65382,13 @@ paths: - description - started_at examples: - default: &476 + default: &478 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &477 + '400': &479 description: Bad Request content: application/json: @@ -64824,9 +65399,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64849,29 +65424,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 responses: '200': description: OK content: application/json: - schema: *475 + schema: *477 examples: - default: *476 + default: *478 '202': description: Accepted content: application/json: - schema: *475 + schema: *477 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *477 + '400': *479 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64881,7 +65456,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64903,9 +65478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 requestBody: required: false content: @@ -64950,12 +65525,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *477 - '403': *478 + '400': *479 + '403': *480 '404': *6 '422': description: Unprocessable Entity - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64975,13 +65550,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 - *19 - *17 - - *479 - - *480 + - *481 + - *482 responses: '200': description: Response @@ -64989,7 +65564,7 @@ paths: application/json: schema: type: array - items: *471 + items: *473 examples: default: value: @@ -65028,9 +65603,9 @@ paths: end_column: 50 classifications: - source - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65062,29 +65637,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *383 - - *384 - - *237 - - *238 + - *385 + - *386 + - *239 + - *240 - *19 - *17 - - *480 + - *482 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *464 + schema: *466 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &483 + schema: &485 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *88 + - *91 - name: sort description: The property by which to sort the results. in: query @@ -65101,23 +65676,23 @@ paths: application/json: schema: type: array - items: &484 + items: &486 type: object properties: - ref: *464 - commit_sha: &492 + ref: *466 + commit_sha: &494 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *481 + analysis_key: *483 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *482 + category: *484 error: type: string example: error reading field xyz @@ -65141,8 +65716,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *483 - tool: *470 + sarif_id: *485 + tool: *472 deletable: type: boolean warning: @@ -65203,9 +65778,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65239,8 +65814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65253,7 +65828,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: response: summary: application/json response @@ -65307,14 +65882,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *472 + '403': *474 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65394,8 +65969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65448,9 +66023,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *478 + '403': *480 '404': *6 - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65470,8 +66045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -65479,7 +66054,7 @@ paths: application/json: schema: type: array - items: &485 + items: &487 title: CodeQL Database description: A CodeQL database. type: object @@ -65590,9 +66165,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65619,8 +66194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - name: language in: path description: The language of the CodeQL database. @@ -65632,7 +66207,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: default: value: @@ -65664,11 +66239,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &521 + '302': &523 description: Found - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65688,8 +66263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *383 - - *384 + - *385 + - *386 - name: language in: path description: The language of the CodeQL database. @@ -65699,9 +66274,9 @@ paths: responses: '204': description: Response - '403': *478 + '403': *480 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65727,8 +66302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -65737,7 +66312,7 @@ paths: type: object additionalProperties: false properties: - language: &486 + language: &488 type: string description: The language targeted by the CodeQL query enum: @@ -65816,7 +66391,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &490 + schema: &492 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -65824,9 +66399,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *97 + controller_repo: *100 actor: *4 - query_language: *486 + query_language: *488 query_pack_url: type: string description: The download url for the query pack. @@ -65873,7 +66448,7 @@ paths: items: type: object properties: - repository: &487 + repository: &489 title: Repository Identifier description: Repository Identifier type: object @@ -65909,7 +66484,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &491 + analysis_status: &493 type: string description: The new status of the CodeQL variant analysis repository task. @@ -65941,7 +66516,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &488 + access_mismatch_repos: &490 type: object properties: repository_count: @@ -65955,7 +66530,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *487 + items: *489 required: - repository_count - repositories @@ -65977,8 +66552,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *488 - over_limit_repos: *488 + no_codeql_db_repos: *490 + over_limit_repos: *490 required: - access_mismatch_repos - not_found_repos @@ -65994,7 +66569,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &489 + value: &491 summary: Default response value: id: 1 @@ -66146,17 +66721,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *489 + value: *491 repository_lists: summary: Response for a successful variant analysis submission - value: *489 + value: *491 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66177,8 +66752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *383 - - *384 + - *385 + - *386 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -66190,11 +66765,11 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *489 + default: *491 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66215,7 +66790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *383 + - *385 - name: repo in: path description: The name of the controller repository. @@ -66249,8 +66824,8 @@ paths: schema: type: object properties: - repository: *97 - analysis_status: *491 + repository: *100 + analysis_status: *493 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -66354,7 +66929,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66375,8 +66950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -66461,9 +67036,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *472 + '403': *474 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66482,8 +67057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -66550,7 +67125,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -66575,7 +67150,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *478 + '403': *480 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -66583,7 +67158,7 @@ paths: content: application/json: schema: *3 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66640,8 +67215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -66649,7 +67224,7 @@ paths: schema: type: object properties: - commit_sha: *492 + commit_sha: *494 ref: type: string description: |- @@ -66707,7 +67282,7 @@ paths: schema: type: object properties: - id: *483 + id: *485 url: type: string description: The REST API URL for checking the status of the upload. @@ -66721,11 +67296,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *478 + '403': *480 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66744,8 +67319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *383 - - *384 + - *385 + - *386 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -66791,10 +67366,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *472 + '403': *474 '404': description: Not Found if the sarif id does not match any upload - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66816,8 +67391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -66841,7 +67416,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *92 + configuration: *95 examples: default: value: @@ -66873,7 +67448,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *120 + '204': *123 '304': *37 '403': *29 '404': *6 @@ -66898,8 +67473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *383 - - *384 + - *385 + - *386 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -67019,8 +67594,8 @@ paths: parameters: - *17 - *19 - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -67036,7 +67611,7 @@ paths: type: integer codespaces: type: array - items: *299 + items: *301 examples: default: value: @@ -67312,7 +67887,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -67334,8 +67909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -67398,22 +67973,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67437,8 +68012,8 @@ paths: parameters: - *17 - *19 - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -67478,7 +68053,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *85 + '500': *88 '400': *14 '401': *25 '403': *29 @@ -67502,8 +68077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -67538,14 +68113,14 @@ paths: type: integer machines: type: array - items: &753 + items: &755 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *494 - required: *495 + properties: *496 + required: *497 examples: - default: &754 + default: &756 value: total_count: 2 machines: @@ -67562,7 +68137,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -67585,8 +68160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *383 - - *384 + - *385 + - *386 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -67670,8 +68245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *383 - - *384 + - *385 + - *386 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -67716,7 +68291,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67737,8 +68312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -67756,7 +68331,7 @@ paths: type: integer secrets: type: array - items: &499 + items: &501 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -67776,7 +68351,7 @@ paths: - created_at - updated_at examples: - default: *496 + default: *498 headers: Link: *40 x-github: @@ -67799,16 +68374,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *497 + schema: *499 examples: - default: *498 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67828,17 +68403,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 responses: '200': description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *500 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67858,9 +68433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 requestBody: required: true content: @@ -67888,7 +68463,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -67912,9 +68487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 responses: '204': description: Response @@ -67942,8 +68517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *383 - - *384 + - *385 + - *386 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67985,7 +68560,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &501 + properties: &503 login: type: string example: octocat @@ -68078,7 +68653,7 @@ paths: user_view_type: type: string example: public - required: &502 + required: &504 - avatar_url - events_url - followers_url @@ -68152,9 +68727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *383 - - *384 - - *224 + - *385 + - *386 + - *226 responses: '204': description: Response if user is a collaborator @@ -68200,9 +68775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *383 - - *384 - - *224 + - *385 + - *386 + - *226 requestBody: required: false content: @@ -68228,7 +68803,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &578 + schema: &580 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -68239,7 +68814,7 @@ paths: example: 42 type: integer format: int64 - repository: *202 + repository: *204 invitee: title: Simple User description: A GitHub user. @@ -68417,7 +68992,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *185 + schema: *187 '403': *29 x-github: triggersNotification: true @@ -68457,9 +69032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *383 - - *384 - - *224 + - *385 + - *386 + - *226 responses: '204': description: No Content when collaborator was removed from the repository. @@ -68490,9 +69065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *383 - - *384 - - *224 + - *385 + - *386 + - *226 responses: '200': description: if user has admin permissions @@ -68512,8 +69087,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *501 - required: *502 + properties: *503 + required: *504 nullable: true required: - permission @@ -68568,8 +69143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -68579,7 +69154,7 @@ paths: application/json: schema: type: array - items: &503 + items: &505 title: Commit Comment description: Commit Comment type: object @@ -68620,8 +69195,8 @@ paths: updated_at: type: string format: date-time - author_association: *144 - reactions: *145 + author_association: *147 + reactions: *148 required: - url - html_url @@ -68637,7 +69212,7 @@ paths: - created_at - updated_at examples: - default: &506 + default: &508 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68696,17 +69271,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: &507 + default: &509 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68763,9 +69338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 requestBody: required: true content: @@ -68787,7 +69362,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *505 examples: default: value: @@ -68838,9 +69413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 responses: '204': description: Response @@ -68861,9 +69436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -68889,9 +69464,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 '404': *6 @@ -68912,9 +69487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 requestBody: required: true content: @@ -68946,16 +69521,16 @@ paths: description: Reaction exists content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '201': description: Reaction created content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -68977,10 +69552,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *383 - - *384 - - *156 - - *375 + - *385 + - *386 + - *159 + - *377 responses: '204': description: Response @@ -69029,8 +69604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *383 - - *384 + - *385 + - *386 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -69086,9 +69661,9 @@ paths: application/json: schema: type: array - items: *504 + items: *506 examples: - default: &629 + default: &631 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69159,10 +69734,10 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *40 - '500': *85 + '500': *88 '400': *14 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69182,9 +69757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *383 - - *384 - - &505 + - *385 + - *386 + - &507 name: commit_sha description: The SHA of the commit. in: path @@ -69231,7 +69806,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69256,9 +69831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *383 - - *384 - - *505 + - *385 + - *386 + - *507 - *17 - *19 responses: @@ -69268,9 +69843,9 @@ paths: application/json: schema: type: array - items: *503 + items: *505 examples: - default: *506 + default: *508 headers: Link: *40 x-github: @@ -69298,9 +69873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *383 - - *384 - - *505 + - *385 + - *386 + - *507 requestBody: required: true content: @@ -69335,9 +69910,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *507 + default: *509 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -69365,9 +69940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *383 - - *384 - - *505 + - *385 + - *386 + - *507 - *17 - *19 responses: @@ -69377,7 +69952,7 @@ paths: application/json: schema: type: array - items: &620 + items: &622 title: Pull Request Simple description: Pull Request Simple type: object @@ -69483,8 +70058,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *508 - required: *509 + properties: *510 + required: *511 nullable: true active_lock_reason: type: string @@ -69529,7 +70104,7 @@ paths: nullable: true requested_teams: type: array - items: *233 + items: *235 nullable: true head: type: object @@ -69580,7 +70155,7 @@ paths: _links: type: object properties: - comments: &510 + comments: &512 title: Link description: Hypermedia Link type: object @@ -69589,13 +70164,13 @@ paths: type: string required: - href - commits: *510 - statuses: *510 - html: *510 - issue: *510 - review_comments: *510 - review_comment: *510 - self: *510 + commits: *512 + statuses: *512 + html: *512 + issue: *512 + review_comments: *512 + review_comment: *512 + self: *512 required: - comments - commits @@ -69605,8 +70180,8 @@ paths: - review_comments - review_comment - self - author_association: *144 - auto_merge: &622 + author_association: *147 + auto_merge: &624 title: Auto merge description: The status of auto merging a pull request. type: object @@ -69669,7 +70244,7 @@ paths: - author_association - auto_merge examples: - default: &621 + default: &623 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -70149,7 +70724,7 @@ paths: draft: false headers: Link: *40 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70206,11 +70781,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *383 - - *384 + - *385 + - *386 - *19 - *17 - - &511 + - &513 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -70225,9 +70800,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *506 examples: - default: &607 + default: &609 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70313,9 +70888,9 @@ paths: ..... '422': *15 '404': *6 - '500': *85 - '503': *134 - '409': *96 + '500': *88 + '503': *137 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70340,11 +70915,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *383 - - *384 - - *511 - - *512 + - *385 + - *386 - *513 + - *514 + - *515 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -70378,9 +70953,9 @@ paths: type: integer check_runs: type: array - items: *456 + items: *458 examples: - default: *514 + default: *516 headers: Link: *40 x-github: @@ -70405,9 +70980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *383 - - *384 - - *511 + - *385 + - *386 + - *513 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -70415,7 +70990,7 @@ paths: schema: type: integer example: 1 - - *512 + - *514 - *17 - *19 responses: @@ -70433,7 +71008,7 @@ paths: type: integer check_suites: type: array - items: *461 + items: *463 examples: default: value: @@ -70633,9 +71208,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *383 - - *384 - - *511 + - *385 + - *386 + - *513 - *17 - *19 responses: @@ -70702,7 +71277,7 @@ paths: type: string total_count: type: integer - repository: *202 + repository: *204 commit_url: type: string format: uri @@ -70833,9 +71408,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *383 - - *384 - - *511 + - *385 + - *386 + - *513 - *17 - *19 responses: @@ -70845,7 +71420,7 @@ paths: application/json: schema: type: array - items: &701 + items: &703 title: Status description: The status of a commit. type: object @@ -70926,7 +71501,7 @@ paths: site_admin: false headers: Link: *40 - '301': *397 + '301': *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70954,8 +71529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -70984,20 +71559,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *515 - required: *516 + properties: *517 + required: *518 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &517 + properties: &519 url: type: string format: uri html_url: type: string format: uri - required: &518 + required: &520 - url - html_url nullable: true @@ -71005,32 +71580,32 @@ paths: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 nullable: true contributing: title: Community Health File type: object - properties: *517 - required: *518 + properties: *519 + required: *520 nullable: true readme: title: Community Health File type: object - properties: *517 - required: *518 + properties: *519 + required: *520 nullable: true issue_template: title: Community Health File type: object - properties: *517 - required: *518 + properties: *519 + required: *520 nullable: true pull_request_template: title: Community Health File type: object - properties: *517 - required: *518 + properties: *519 + required: *520 nullable: true required: - code_of_conduct @@ -71157,8 +71732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *383 - - *384 + - *385 + - *386 - *19 - *17 - name: basehead @@ -71201,8 +71776,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *504 - merge_base_commit: *504 + base_commit: *506 + merge_base_commit: *506 status: type: string enum: @@ -71222,10 +71797,10 @@ paths: example: 6 commits: type: array - items: *504 + items: *506 files: type: array - items: *519 + items: *521 required: - url - html_url @@ -71468,8 +72043,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71511,8 +72086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *383 - - *384 + - *385 + - *386 - name: path description: path parameter in: path @@ -71655,7 +72230,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &520 + response-if-content-is-a-file: &522 summary: Response if content is a file value: type: file @@ -71787,7 +72362,7 @@ paths: - size - type - url - - &634 + - &636 title: Content File description: Content File type: object @@ -71988,7 +72563,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *520 + response-if-content-is-a-file: *522 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -72057,7 +72632,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *521 + '302': *523 '304': *37 x-github: githubCloudOnly: false @@ -72080,8 +72655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *383 - - *384 + - *385 + - *386 - name: path description: path parameter in: path @@ -72174,7 +72749,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &524 title: File Commit description: File Commit type: object @@ -72326,7 +72901,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: example-for-creating-a-file: value: @@ -72380,7 +72955,7 @@ paths: schema: oneOf: - *3 - - &560 + - &562 description: Repository rule violation was detected type: object properties: @@ -72401,7 +72976,7 @@ paths: items: type: object properties: - placeholder_id: &693 + placeholder_id: &695 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -72433,8 +73008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *383 - - *384 + - *385 + - *386 - name: path description: path parameter in: path @@ -72495,7 +73070,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: default: value: @@ -72529,8 +73104,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *96 - '503': *134 + '409': *99 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72550,8 +73125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *383 - - *384 + - *385 + - *386 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -72674,23 +73249,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *383 - - *384 - - *253 - - *254 + - *385 + - *386 - *255 - *256 + - *257 + - *258 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *257 - - *258 - *259 - *260 - - *88 + - *261 + - *262 + - *91 - name: page description: "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead." @@ -72707,10 +73282,10 @@ paths: schema: type: integer default: 30 - - *86 - - *87 - - *261 - - *262 + - *89 + - *90 + - *263 + - *264 responses: '200': description: Response @@ -72718,11 +73293,11 @@ paths: application/json: schema: type: array - items: &525 + items: &527 type: object description: A Dependabot alert. properties: - number: *100 + number: *103 state: type: string description: The state of the Dependabot alert. @@ -72737,7 +73312,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *101 + package: *104 manifest_path: type: string description: The full path to the dependency manifest file, @@ -72764,13 +73339,13 @@ paths: - unknown - direct - transitive - security_advisory: *523 - security_vulnerability: *104 - url: *105 - html_url: *106 - created_at: *107 - updated_at: *108 - dismissed_at: *109 + security_advisory: *525 + security_vulnerability: *107 + url: *108 + html_url: *109 + created_at: *110 + updated_at: *111 + dismissed_at: *112 dismissed_by: title: Simple User description: A GitHub user. @@ -72794,8 +73369,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *110 - auto_dismissed_at: *524 + fixed_at: *113 + auto_dismissed_at: *526 required: - number - state @@ -73025,9 +73600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *383 - - *384 - - &526 + - *385 + - *386 + - &528 name: alert_number in: path description: |- @@ -73036,13 +73611,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *100 + schema: *103 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: default: value: @@ -73155,9 +73730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *383 - - *384 - - *526 + - *385 + - *386 + - *528 requestBody: required: true content: @@ -73202,7 +73777,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *527 examples: default: value: @@ -73308,7 +73883,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *96 + '409': *99 '422': *7 x-github: githubCloudOnly: false @@ -73331,8 +73906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -73350,7 +73925,7 @@ paths: type: integer secrets: type: array - items: &529 + items: &531 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -73403,16 +73978,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *527 + schema: *529 examples: - default: *528 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73432,15 +74007,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 responses: '200': description: Response content: application/json: - schema: *529 + schema: *531 examples: default: value: @@ -73466,9 +74041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 requestBody: required: true content: @@ -73496,7 +74071,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -73520,9 +74095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *383 - - *384 - - *212 + - *385 + - *386 + - *214 responses: '204': description: Response @@ -73544,8 +74119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *383 - - *384 + - *385 + - *386 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -73705,8 +74280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -73945,8 +74520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -74021,7 +74596,7 @@ paths: - version - url additionalProperties: false - metadata: &530 + metadata: &532 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -74054,7 +74629,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *530 + metadata: *532 resolved: type: object description: A collection of resolved package dependencies. @@ -74067,7 +74642,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *530 + metadata: *532 relationship: type: string description: A notation of whether a dependency is requested @@ -74196,8 +74771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *383 - - *384 + - *385 + - *386 - name: sha description: The SHA recorded at creation time. in: query @@ -74237,9 +74812,9 @@ paths: application/json: schema: type: array - items: *531 + items: *533 examples: - default: *532 + default: *534 headers: Link: *40 x-github: @@ -74305,8 +74880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -74387,7 +74962,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *533 examples: simple-example: summary: Simple example @@ -74460,9 +75035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *383 - - *384 - - &533 + - *385 + - *386 + - &535 name: deployment_id description: deployment_id parameter in: path @@ -74474,7 +75049,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *533 examples: default: value: @@ -74539,9 +75114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *383 - - *384 - - *533 + - *385 + - *386 + - *535 responses: '204': description: Response @@ -74563,9 +75138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *383 - - *384 - - *533 + - *385 + - *386 + - *535 - *17 - *19 responses: @@ -74575,7 +75150,7 @@ paths: application/json: schema: type: array - items: &534 + items: &536 title: Deployment Status description: The status of a deployment. type: object @@ -74666,8 +75241,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 required: - id - node_id @@ -74736,9 +75311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *383 - - *384 - - *533 + - *385 + - *386 + - *535 requestBody: required: true content: @@ -74813,9 +75388,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: &535 + default: &537 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -74871,9 +75446,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *383 - - *384 - - *533 + - *385 + - *386 + - *535 - name: status_id in: path required: true @@ -74884,9 +75459,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: *535 + default: *537 '404': *6 x-github: githubCloudOnly: false @@ -74913,12 +75488,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *383 - - *384 - - *536 - - *537 + - *385 + - *386 - *538 - *539 + - *540 + - *541 - *17 - *19 responses: @@ -74928,12 +75503,12 @@ paths: application/json: schema: type: array - items: *540 + items: *542 examples: - default: *541 + default: *543 '404': *6 '403': *29 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/dismissal-requests/code-scanning/{alert_number}": get: summary: Get a dismissal request for a code scanning alert for a repository @@ -74954,8 +75529,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *383 - - *384 + - *385 + - *386 - name: alert_number in: path required: true @@ -74967,7 +75542,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *540 + schema: *542 examples: default: value: @@ -75003,7 +75578,7 @@ paths: html_url: https://github.com/octo-org/smile/code-scanning/alerts/1 '404': *6 '403': *29 - '500': *85 + '500': *88 patch: summary: Review a dismissal request for a code scanning alert for a repository description: |- @@ -75023,8 +75598,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *383 - - *384 + - *385 + - *386 - name: alert_number in: path required: true @@ -75062,7 +75637,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning": get: summary: List alert dismissal requests for secret scanning for a repository @@ -75083,12 +75658,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *383 - - *384 - - *225 - - *226 + - *385 + - *386 - *227 - - *542 + - *228 + - *229 + - *544 - *17 - *19 responses: @@ -75098,12 +75673,12 @@ paths: application/json: schema: type: array - items: *543 + items: *545 examples: - default: *544 + default: *546 '404': *6 '403': *29 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/dismissal-requests/secret-scanning/{alert_number}": get: summary: Get an alert dismissal request for secret scanning @@ -75125,8 +75700,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *383 - - *384 + - *385 + - *386 - name: alert_number in: path required: true @@ -75138,7 +75713,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *543 + schema: *545 examples: default: value: @@ -75175,7 +75750,7 @@ paths: html_url: https://github.com/octo-org/smile/security/secret-scanning/17 '404': *6 '403': *29 - '500': *85 + '500': *88 patch: summary: Review an alert dismissal request for secret scanning description: |- @@ -75196,8 +75771,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *383 - - *384 + - *385 + - *386 - name: alert_number in: path required: true @@ -75247,7 +75822,7 @@ paths: '404': *6 '403': *29 '422': *15 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/dispatches": post: summary: Create a repository dispatch event @@ -75266,8 +75841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -75324,8 +75899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -75342,7 +75917,7 @@ paths: type: integer environments: type: array - items: &546 + items: &548 title: Environment description: Details of a deployment environment type: object @@ -75394,7 +75969,7 @@ paths: type: type: string example: wait_timer - wait_timer: &548 + wait_timer: &550 type: integer example: 30 description: The amount of time to delay a job after @@ -75431,11 +76006,11 @@ paths: items: type: object properties: - type: *545 + type: *547 reviewer: anyOf: - *4 - - *233 + - *235 required: - id - node_id @@ -75455,7 +76030,7 @@ paths: - id - node_id - type - deployment_branch_policy: &549 + deployment_branch_policy: &551 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -75571,9 +76146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *383 - - *384 - - &547 + - *385 + - *386 + - &549 name: environment_name in: path required: true @@ -75586,9 +76161,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: &550 + default: &552 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75672,9 +76247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 requestBody: required: false content: @@ -75683,7 +76258,7 @@ paths: type: object nullable: true properties: - wait_timer: *548 + wait_timer: *550 prevent_self_review: type: boolean example: false @@ -75700,13 +76275,13 @@ paths: items: type: object properties: - type: *545 + type: *547 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *549 + deployment_branch_policy: *551 additionalProperties: false examples: default: @@ -75726,9 +76301,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: *550 + default: *552 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -75752,9 +76327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 responses: '204': description: Default response @@ -75779,9 +76354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 - *17 - *19 responses: @@ -75799,7 +76374,7 @@ paths: example: 2 branch_policies: type: array - items: &551 + items: &553 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -75856,9 +76431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 requestBody: required: true content: @@ -75904,9 +76479,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - example-wildcard: &552 + example-wildcard: &554 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75948,10 +76523,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *383 - - *384 - - *547 - - &553 + - *385 + - *386 + - *549 + - &555 name: branch_policy_id in: path required: true @@ -75963,9 +76538,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: *552 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75984,10 +76559,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *383 - - *384 - - *547 - - *553 + - *385 + - *386 + - *549 + - *555 requestBody: required: true content: @@ -76015,9 +76590,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: *552 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76036,10 +76611,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *383 - - *384 - - *547 - - *553 + - *385 + - *386 + - *549 + - *555 responses: '204': description: Response @@ -76064,9 +76639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *547 - - *384 - - *383 + - *549 + - *386 + - *385 responses: '200': description: List of deployment protection rules @@ -76082,7 +76657,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &554 + items: &556 title: Deployment protection rule description: Deployment protection rule type: object @@ -76101,7 +76676,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &555 + app: &557 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -76200,9 +76775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *547 - - *384 - - *383 + - *549 + - *386 + - *385 requestBody: content: application/json: @@ -76223,9 +76798,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *554 + schema: *556 examples: - default: &556 + default: &558 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -76260,9 +76835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *547 - - *384 - - *383 + - *549 + - *386 + - *385 - *19 - *17 responses: @@ -76281,7 +76856,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *555 + items: *557 examples: default: value: @@ -76316,10 +76891,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *383 - - *384 - - *547 - - &557 + - *385 + - *386 + - *549 + - &559 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -76331,9 +76906,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76354,10 +76929,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *547 - - *384 - - *383 - - *557 + - *549 + - *386 + - *385 + - *559 responses: '204': description: Response @@ -76383,9 +76958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 - *17 - *19 responses: @@ -76403,9 +76978,9 @@ paths: type: integer secrets: type: array - items: *420 + items: *422 examples: - default: *421 + default: *423 headers: Link: *40 x-github: @@ -76430,17 +77005,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: *423 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76462,18 +77037,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *383 - - *384 - - *547 - - *212 + - *385 + - *386 + - *549 + - *214 responses: '200': description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *558 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76495,10 +77070,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *383 - - *384 - - *547 - - *212 + - *385 + - *386 + - *549 + - *214 requestBody: required: true content: @@ -76529,7 +77104,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -76555,10 +77130,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *383 - - *384 - - *547 - - *212 + - *385 + - *386 + - *549 + - *214 responses: '204': description: Default response @@ -76583,10 +77158,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *383 - - *384 - - *547 - - *407 + - *385 + - *386 + - *549 + - *409 - *19 responses: '200': @@ -76603,9 +77178,9 @@ paths: type: integer variables: type: array - items: *424 + items: *426 examples: - default: *425 + default: *427 headers: Link: *40 x-github: @@ -76628,9 +77203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *383 - - *384 - - *547 + - *385 + - *386 + - *549 requestBody: required: true content: @@ -76657,7 +77232,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -76682,18 +77257,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *383 - - *384 - - *547 - - *215 + - *385 + - *386 + - *549 + - *217 responses: '200': description: Response content: application/json: - schema: *424 + schema: *426 examples: - default: *559 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76714,10 +77289,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *383 - - *384 - - *215 - - *547 + - *385 + - *386 + - *217 + - *549 requestBody: required: true content: @@ -76759,10 +77334,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *383 - - *384 - - *215 - - *547 + - *385 + - *386 + - *217 + - *549 responses: '204': description: Response @@ -76784,8 +77359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -76795,7 +77370,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: 200-response: value: @@ -76862,8 +77437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *383 - - *384 + - *385 + - *386 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -76885,7 +77460,7 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: default: value: @@ -77022,8 +77597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: false content: @@ -77055,9 +77630,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *398 + default: *400 '400': *14 '422': *15 '403': *29 @@ -77078,8 +77653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -77130,7 +77705,7 @@ paths: schema: type: string '404': *6 - '409': *96 + '409': *99 '403': *29 '422': description: Validation failed @@ -77138,8 +77713,8 @@ paths: application/json: schema: oneOf: - - *185 - - *560 + - *187 + - *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77164,8 +77739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *383 - - *384 + - *385 + - *386 - name: file_sha in: path required: true @@ -77216,7 +77791,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77264,8 +77839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -77374,7 +77949,7 @@ paths: description: Response content: application/json: - schema: &561 + schema: &563 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -77538,7 +78113,7 @@ paths: type: string '422': *15 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77588,15 +78163,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *383 - - *384 - - *505 + - *385 + - *386 + - *507 responses: '200': description: Response content: application/json: - schema: *561 + schema: *563 examples: default: value: @@ -77627,7 +78202,7 @@ paths: payload: verified_at: '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77652,9 +78227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *383 - - *384 - - &562 + - *385 + - *386 + - &564 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -77671,7 +78246,7 @@ paths: application/json: schema: type: array - items: &563 + items: &565 title: Git Reference description: Git references within a repository type: object @@ -77725,7 +78300,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *40 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77746,17 +78321,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *383 - - *384 - - *562 + - *385 + - *386 + - *564 responses: '200': description: Response content: application/json: - schema: *563 + schema: *565 examples: - default: &564 + default: &566 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -77766,7 +78341,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77785,8 +78360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -77815,16 +78390,16 @@ paths: description: Response content: application/json: - schema: *563 + schema: *565 examples: - default: *564 + default: *566 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77843,9 +78418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *383 - - *384 - - *562 + - *385 + - *386 + - *564 requestBody: required: true content: @@ -77874,11 +78449,11 @@ paths: description: Response content: application/json: - schema: *563 + schema: *565 examples: - default: *564 + default: *566 '422': *15 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77894,16 +78469,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *383 - - *384 - - *562 + - *385 + - *386 + - *564 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77951,8 +78526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -78019,7 +78594,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &568 title: Git Tag description: Metadata for a Git tag type: object @@ -78070,7 +78645,7 @@ paths: - sha - type - url - verification: *565 + verification: *567 required: - sha - url @@ -78080,7 +78655,7 @@ paths: - tag - message examples: - default: &567 + default: &569 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -78107,7 +78682,7 @@ paths: schema: type: string '422': *15 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78153,8 +78728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *383 - - *384 + - *385 + - *386 - name: tag_sha in: path required: true @@ -78165,11 +78740,11 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: - default: *567 + default: *569 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78191,8 +78766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -78265,7 +78840,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &570 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -78338,7 +78913,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78361,8 +78936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *383 - - *384 + - *385 + - *386 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -78385,7 +78960,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *570 examples: default-response: summary: Default response @@ -78426,7 +79001,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78444,8 +79019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -78455,7 +79030,7 @@ paths: application/json: schema: type: array - items: &569 + items: &571 title: Webhook description: Webhooks for repositories. type: object @@ -78509,7 +79084,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &834 + last_response: &836 title: Hook Response type: object properties: @@ -78583,8 +79158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: false content: @@ -78636,9 +79211,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: &570 + default: &572 value: type: Repository id: 12345678 @@ -78686,17 +79261,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 responses: '200': description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '404': *6 x-github: githubCloudOnly: false @@ -78716,9 +79291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 requestBody: required: true content: @@ -78763,9 +79338,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '422': *15 '404': *6 x-github: @@ -78786,9 +79361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 responses: '204': description: Response @@ -78812,9 +79387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 responses: '200': description: Response @@ -78841,9 +79416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 requestBody: required: false content: @@ -78887,11 +79462,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 - *17 - - *271 + - *273 responses: '200': description: Response @@ -78899,9 +79474,9 @@ paths: application/json: schema: type: array - items: *272 + items: *274 examples: - default: *273 + default: *275 '400': *14 '422': *15 x-github: @@ -78920,18 +79495,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 - *16 responses: '200': description: Response content: application/json: - schema: *274 + schema: *276 examples: - default: *275 + default: *277 '400': *14 '422': *15 x-github: @@ -78950,9 +79525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 - *16 responses: '202': *39 @@ -78975,9 +79550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 responses: '204': description: Response @@ -79002,9 +79577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *383 - - *384 - - *270 + - *385 + - *386 + - *272 responses: '204': description: Response @@ -79062,14 +79637,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: &571 + schema: &573 title: Import description: A repository import from an external source. type: object @@ -79168,7 +79743,7 @@ paths: - html_url - authors_url examples: - default: &574 + default: &576 value: vcs: subversion use_lfs: true @@ -79184,7 +79759,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &572 + '503': &574 description: Unavailable due to service under maintenance. content: application/json: @@ -79213,8 +79788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -79262,7 +79837,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: default: value: @@ -79287,7 +79862,7 @@ paths: type: string '422': *15 '404': *6 - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79315,8 +79890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: false content: @@ -79365,7 +79940,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: example-1: summary: Example 1 @@ -79413,7 +79988,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79436,12 +80011,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79467,9 +80042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *383 - - *384 - - &777 + - *385 + - *386 + - &779 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -79483,7 +80058,7 @@ paths: application/json: schema: type: array - items: &573 + items: &575 title: Porter Author description: Porter Author type: object @@ -79537,7 +80112,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79562,8 +80137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *383 - - *384 + - *385 + - *386 - name: author_id in: path required: true @@ -79593,7 +80168,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *575 examples: default: value: @@ -79606,7 +80181,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79630,8 +80205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -79672,7 +80247,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79700,8 +80275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -79728,11 +80303,11 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *574 + default: *576 '422': *15 - '503': *572 + '503': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79755,8 +80330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -79764,8 +80339,8 @@ paths: application/json: schema: *22 examples: - default: *575 - '301': *397 + default: *577 + '301': *399 '404': *6 x-github: githubCloudOnly: false @@ -79785,8 +80360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -79794,12 +80369,12 @@ paths: application/json: schema: anyOf: - - *288 + - *290 - type: object properties: {} additionalProperties: false examples: - default: &577 + default: &579 value: limit: collaborators_only origin: repository @@ -79824,13 +80399,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: application/json: - schema: *576 + schema: *578 examples: default: summary: Example request body @@ -79842,9 +80417,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *577 + default: *579 '409': description: Response x-github: @@ -79866,8 +80441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -79890,8 +80465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -79901,9 +80476,9 @@ paths: application/json: schema: type: array - items: *578 + items: *580 examples: - default: &770 + default: &772 value: - id: 1 repository: @@ -80034,9 +80609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *383 - - *384 - - *292 + - *385 + - *386 + - *294 requestBody: required: false content: @@ -80065,7 +80640,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: default: value: @@ -80196,9 +80771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *383 - - *384 - - *292 + - *385 + - *386 + - *294 responses: '204': description: Response @@ -80229,8 +80804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *383 - - *384 + - *385 + - *386 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -80278,7 +80853,7 @@ paths: required: false schema: type: string - - *296 + - *298 - name: sort description: What to sort results by. in: query @@ -80290,8 +80865,8 @@ paths: - updated - comments default: created - - *88 - - *147 + - *91 + - *150 - *17 - *19 responses: @@ -80301,9 +80876,9 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: &589 + default: &591 value: - id: 1 node_id: MDU6SXNzdWUx @@ -80451,7 +81026,7 @@ paths: state_reason: completed headers: Link: *40 - '301': *397 + '301': *399 '422': *15 '404': *6 x-github: @@ -80480,8 +81055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -80563,9 +81138,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: &584 + default: &586 value: id: 1 node_id: MDU6SXNzdWUx @@ -80719,9 +81294,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *134 + '503': *137 '404': *6 - '410': *394 + '410': *396 x-github: triggersNotification: true githubCloudOnly: false @@ -80749,9 +81324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *383 - - *384 - - *167 + - *385 + - *386 + - *170 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -80761,7 +81336,7 @@ paths: enum: - asc - desc - - *147 + - *150 - *17 - *19 responses: @@ -80771,9 +81346,9 @@ paths: application/json: schema: type: array - items: *579 + items: *581 examples: - default: &586 + default: &588 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80831,17 +81406,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 responses: '200': description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: &580 + default: &582 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80895,9 +81470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 requestBody: required: true content: @@ -80919,9 +81494,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *580 + default: *582 '422': *15 x-github: githubCloudOnly: false @@ -80939,9 +81514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 responses: '204': description: Response @@ -80961,9 +81536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -80989,9 +81564,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 '404': *6 @@ -81012,9 +81587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 requestBody: required: true content: @@ -81046,16 +81621,16 @@ paths: description: Reaction exists content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '201': description: Reaction created content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -81077,10 +81652,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *383 - - *384 - - *156 - - *375 + - *385 + - *386 + - *159 + - *377 responses: '204': description: Response @@ -81100,8 +81675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -81111,7 +81686,7 @@ paths: application/json: schema: type: array - items: &583 + items: &585 title: Issue Event description: Issue Event type: object @@ -81154,8 +81729,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *581 - required: *582 + properties: *583 + required: *584 nullable: true label: title: Issue Event Label @@ -81199,7 +81774,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *233 + requested_team: *235 dismissed_review: title: Issue Event Dismissed Review type: object @@ -81264,7 +81839,7 @@ paths: required: - from - to - author_association: *144 + author_association: *147 lock_reason: type: string nullable: true @@ -81277,8 +81852,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 required: - id - node_id @@ -81462,8 +82037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *383 - - *384 + - *385 + - *386 - name: event_id in: path required: true @@ -81474,7 +82049,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *585 examples: default: value: @@ -81667,7 +82242,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *394 + '410': *396 '403': *29 x-github: githubCloudOnly: false @@ -81701,9 +82276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *383 - - *384 - - &585 + - *385 + - *386 + - &587 name: issue_number description: The number that identifies the issue. in: path @@ -81715,12 +82290,12 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 - '301': *397 + default: *586 + '301': *399 '404': *6 - '410': *394 + '410': *396 '304': *37 x-github: githubCloudOnly: false @@ -81745,9 +82320,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: false content: @@ -81850,15 +82425,15 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 + default: *586 '422': *15 - '503': *134 + '503': *137 '403': *29 - '301': *397 + '301': *399 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81876,9 +82451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: false content: @@ -81904,9 +82479,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81922,9 +82497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: content: application/json: @@ -81949,9 +82524,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81973,9 +82548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - name: assignee in: path required: true @@ -82015,10 +82590,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *383 - - *384 - - *585 - - *147 + - *385 + - *386 + - *587 + - *150 - *17 - *19 responses: @@ -82028,13 +82603,13 @@ paths: application/json: schema: type: array - items: *579 + items: *581 examples: - default: *586 + default: *588 headers: Link: *40 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82063,9 +82638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: true content: @@ -82087,16 +82662,16 @@ paths: description: Response content: application/json: - schema: *579 + schema: *581 examples: - default: *580 + default: *582 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *394 + '410': *396 '422': *15 '404': *6 x-github: @@ -82116,9 +82691,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - *17 - *19 responses: @@ -82132,7 +82707,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &590 + - &592 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -82163,8 +82738,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 label: type: object properties: @@ -82186,7 +82761,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &591 + - &593 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -82217,8 +82792,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 label: type: object properties: @@ -82306,8 +82881,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 assignee: *4 assigner: *4 required: @@ -82322,7 +82897,7 @@ paths: - performed_via_github_app - assignee - assigner - - &592 + - &594 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -82353,8 +82928,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 milestone: type: object properties: @@ -82373,7 +82948,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &593 + - &595 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -82404,8 +82979,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 milestone: type: object properties: @@ -82424,7 +82999,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &594 + - &596 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -82455,8 +83030,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 rename: type: object properties: @@ -82478,7 +83053,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &595 + - &597 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -82509,10 +83084,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 review_requester: *4 - requested_team: *233 + requested_team: *235 requested_reviewer: *4 required: - review_requester @@ -82525,7 +83100,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &596 + - &598 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -82556,10 +83131,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 review_requester: *4 - requested_team: *233 + requested_team: *235 requested_reviewer: *4 required: - review_requester @@ -82572,7 +83147,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &597 + - &599 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -82603,8 +83178,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 dismissed_review: type: object properties: @@ -82632,7 +83207,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &598 + - &600 title: Locked Issue Event description: Locked Issue Event type: object @@ -82663,8 +83238,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 lock_reason: type: string example: '"off-topic"' @@ -82680,7 +83255,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &599 + - &601 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82711,8 +83286,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 project_card: type: object properties: @@ -82746,7 +83321,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &600 + - &602 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82777,8 +83352,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 project_card: type: object properties: @@ -82812,7 +83387,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &601 + - &603 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82843,8 +83418,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 project_card: type: object properties: @@ -82878,7 +83453,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &602 + - &604 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82969,7 +83544,7 @@ paths: color: red headers: Link: *40 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82986,9 +83561,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - *17 - *19 responses: @@ -82998,7 +83573,7 @@ paths: application/json: schema: type: array - items: &587 + items: &589 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -83045,7 +83620,7 @@ paths: - color - default examples: - default: &588 + default: &590 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -83063,9 +83638,9 @@ paths: default: false headers: Link: *40 - '301': *397 + '301': *399 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83082,9 +83657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: false content: @@ -83143,12 +83718,12 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: - default: *588 - '301': *397 + default: *590 + '301': *399 '404': *6 - '410': *394 + '410': *396 '422': *15 x-github: githubCloudOnly: false @@ -83165,9 +83740,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: false content: @@ -83227,12 +83802,12 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: - default: *588 - '301': *397 + default: *590 + '301': *399 '404': *6 - '410': *394 + '410': *396 '422': *15 x-github: githubCloudOnly: false @@ -83249,15 +83824,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 responses: '204': description: Response - '301': *397 + '301': *399 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83276,9 +83851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - name: name in: path required: true @@ -83291,7 +83866,7 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: default: value: @@ -83302,9 +83877,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *397 + '301': *399 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83324,9 +83899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: false content: @@ -83354,7 +83929,7 @@ paths: '204': description: Response '403': *29 - '410': *394 + '410': *396 '404': *6 '422': *15 x-github: @@ -83372,9 +83947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 responses: '204': description: Response @@ -83396,9 +83971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -83424,13 +83999,13 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83448,9 +84023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: true content: @@ -83482,16 +84057,16 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '201': description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -83513,10 +84088,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *383 - - *384 - - *585 - - *375 + - *385 + - *386 + - *587 + - *377 responses: '204': description: Response @@ -83545,9 +84120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: true content: @@ -83569,9 +84144,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 + default: *586 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -83604,9 +84179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - *17 - *19 responses: @@ -83616,13 +84191,13 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: *589 + default: *591 headers: Link: *40 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83650,9 +84225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: true content: @@ -83679,16 +84254,16 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 + default: *586 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *394 + '410': *396 '422': *15 '404': *6 x-github: @@ -83708,9 +84283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 requestBody: required: true content: @@ -83741,13 +84316,13 @@ paths: description: Response content: application/json: - schema: *157 + schema: *160 examples: - default: *584 + default: *586 '403': *29 '404': *6 '422': *7 - '503': *134 + '503': *137 x-github: triggersNotification: true githubCloudOnly: false @@ -83765,9 +84340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *383 - - *384 - - *585 + - *385 + - *386 + - *587 - *17 - *19 responses: @@ -83782,8 +84357,6 @@ paths: description: Timeline Event type: object anyOf: - - *590 - - *591 - *592 - *593 - *594 @@ -83795,6 +84368,8 @@ paths: - *600 - *601 - *602 + - *603 + - *604 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83837,7 +84412,7 @@ paths: issue_url: type: string format: uri - author_association: *144 + author_association: *147 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -83847,9 +84422,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 - reactions: *145 + properties: *145 + required: *146 + reactions: *148 required: - event - actor @@ -83880,7 +84455,7 @@ paths: properties: type: type: string - issue: *157 + issue: *160 required: - event - created_at @@ -84076,7 +84651,7 @@ paths: type: string body_text: type: string - author_association: *144 + author_association: *147 required: - event - id @@ -84099,7 +84674,7 @@ paths: type: string comments: type: array - items: &623 + items: &625 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -84188,7 +84763,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *144 + author_association: *147 _links: type: object properties: @@ -84272,7 +84847,7 @@ paths: enum: - line - file - reactions: *145 + reactions: *148 body_html: type: string example: '"

comment body

"' @@ -84308,7 +84883,7 @@ paths: type: string comments: type: array - items: *503 + items: *505 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -84339,8 +84914,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 assignee: *4 required: - id @@ -84383,8 +84958,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 assignee: *4 required: - id @@ -84427,8 +85002,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 state_reason: type: string nullable: true @@ -84597,7 +85172,7 @@ paths: headers: Link: *40 '404': *6 - '410': *394 + '410': *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84614,8 +85189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -84625,7 +85200,7 @@ paths: application/json: schema: type: array - items: &603 + items: &605 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -84690,8 +85265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -84727,9 +85302,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: - default: &604 + default: &606 value: id: 1 key: ssh-rsa AAA... @@ -84763,9 +85338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *383 - - *384 - - &605 + - *385 + - *386 + - &607 name: key_id description: The unique identifier of the key. in: path @@ -84777,9 +85352,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: - default: *604 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -84797,9 +85372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *383 - - *384 - - *605 + - *385 + - *386 + - *607 responses: '204': description: Response @@ -84819,8 +85394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -84830,9 +85405,9 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: - default: *588 + default: *590 headers: Link: *40 '404': *6 @@ -84853,8 +85428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -84890,9 +85465,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: &606 + default: &608 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84924,8 +85499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *383 - - *384 + - *385 + - *386 - name: name in: path required: true @@ -84936,9 +85511,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: - default: *606 + default: *608 '404': *6 x-github: githubCloudOnly: false @@ -84955,8 +85530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *383 - - *384 + - *385 + - *386 - name: name in: path required: true @@ -84995,7 +85570,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: default: value: @@ -85021,8 +85596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *383 - - *384 + - *385 + - *386 - name: name in: path required: true @@ -85048,8 +85623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -85085,8 +85660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '202': *39 '403': @@ -85114,8 +85689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -85141,9 +85716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *383 - - *384 - - *479 + - *385 + - *386 + - *481 responses: '200': description: Response @@ -85205,8 +85780,8 @@ paths: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 nullable: true required: - _links @@ -85288,8 +85863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -85354,8 +85929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -85389,9 +85964,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *504 + schema: *506 examples: - default: *607 + default: *609 '204': description: Response when already merged '404': @@ -85416,8 +85991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *383 - - *384 + - *385 + - *386 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -85458,12 +86033,12 @@ paths: application/json: schema: type: array - items: &608 + items: &610 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *508 - required: *509 + properties: *510 + required: *511 examples: default: value: @@ -85519,8 +86094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -85560,9 +86135,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: &609 + default: &611 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -85621,9 +86196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *383 - - *384 - - &610 + - *385 + - *386 + - &612 name: milestone_number description: The number that identifies the milestone. in: path @@ -85635,9 +86210,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *609 + default: *611 '404': *6 x-github: githubCloudOnly: false @@ -85654,9 +86229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *383 - - *384 - - *610 + - *385 + - *386 + - *612 requestBody: required: false content: @@ -85694,9 +86269,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *609 + default: *611 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85712,9 +86287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *383 - - *384 - - *610 + - *385 + - *386 + - *612 responses: '204': description: Response @@ -85735,9 +86310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *383 - - *384 - - *610 + - *385 + - *386 + - *612 - *17 - *19 responses: @@ -85747,9 +86322,9 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: - default: *588 + default: *590 headers: Link: *40 x-github: @@ -85768,12 +86343,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *383 - - *384 - - *611 - - *612 - - *147 + - *385 + - *386 - *613 + - *614 + - *150 + - *615 - *17 - *19 responses: @@ -85783,9 +86358,9 @@ paths: application/json: schema: type: array - items: *170 + items: *173 examples: - default: *614 + default: *616 headers: Link: *40 x-github: @@ -85809,8 +86384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: false content: @@ -85868,14 +86443,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: &615 + schema: &617 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -86000,7 +86575,7 @@ paths: - custom_404 - public examples: - default: &616 + default: &618 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -86041,8 +86616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -86096,11 +86671,11 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: *616 + default: *618 '422': *15 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86121,8 +86696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -86208,7 +86783,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86229,14 +86804,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response '422': *15 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86256,8 +86831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -86267,7 +86842,7 @@ paths: application/json: schema: type: array - items: &617 + items: &619 title: Page Build description: Page Build type: object @@ -86361,8 +86936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *383 - - *384 + - *385 + - *386 responses: '201': description: Response @@ -86407,16 +86982,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *617 + schema: *619 examples: - default: &618 + default: &620 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -86464,8 +87039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *383 - - *384 + - *385 + - *386 - name: build_id in: path required: true @@ -86476,9 +87051,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *619 examples: - default: *618 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86498,8 +87073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -86604,9 +87179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *383 - - *384 - - &619 + - *385 + - *386 + - &621 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -86664,11 +87239,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *383 - - *384 - - *619 + - *385 + - *386 + - *621 responses: - '204': *120 + '204': *123 '404': *6 x-github: githubCloudOnly: false @@ -86693,8 +87268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -86925,7 +87500,7 @@ paths: description: Empty response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -86952,8 +87527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Private vulnerability reporting status @@ -86990,10 +87565,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: - '204': *120 + '204': *123 '422': *14 x-github: githubCloudOnly: false @@ -87012,10 +87587,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: - '204': *120 + '204': *123 '422': *14 x-github: githubCloudOnly: false @@ -87036,8 +87611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *383 - - *384 + - *385 + - *386 - name: state description: Indicates the state of the projects to return. in: query @@ -87058,7 +87633,7 @@ paths: application/json: schema: type: array - items: *327 + items: *329 examples: default: value: @@ -87098,7 +87673,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *394 + '410': *396 '422': *7 x-github: githubCloudOnly: false @@ -87121,8 +87696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -87148,13 +87723,13 @@ paths: description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: *393 + default: *395 '401': *25 '403': *29 '404': *6 - '410': *394 + '410': *396 '422': *7 x-github: githubCloudOnly: false @@ -87177,8 +87752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -87186,7 +87761,7 @@ paths: application/json: schema: type: array - items: *329 + items: *331 examples: default: value: @@ -87217,8 +87792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -87230,7 +87805,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *329 + items: *331 required: - properties examples: @@ -87280,8 +87855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *383 - - *384 + - *385 + - *386 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -87341,9 +87916,9 @@ paths: application/json: schema: type: array - items: *620 + items: *622 examples: - default: *621 + default: *623 headers: Link: *40 '304': *37 @@ -87375,8 +87950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -87441,7 +88016,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &627 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -87552,8 +88127,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *508 - required: *509 + properties: *510 + required: *511 nullable: true active_lock_reason: type: string @@ -87598,7 +88173,7 @@ paths: nullable: true requested_teams: type: array - items: *350 + items: *352 nullable: true head: type: object @@ -87637,14 +88212,14 @@ paths: _links: type: object properties: - comments: *510 - commits: *510 - statuses: *510 - html: *510 - issue: *510 - review_comments: *510 - review_comment: *510 - self: *510 + comments: *512 + commits: *512 + statuses: *512 + html: *512 + issue: *512 + review_comments: *512 + review_comment: *512 + self: *512 required: - comments - commits @@ -87654,8 +88229,8 @@ paths: - review_comments - review_comment - self - author_association: *144 - auto_merge: *622 + author_association: *147 + auto_merge: *624 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -87747,7 +88322,7 @@ paths: - merged_by - review_comments examples: - default: &626 + default: &628 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -88274,8 +88849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - name: sort in: query required: false @@ -88294,7 +88869,7 @@ paths: enum: - asc - desc - - *147 + - *150 - *17 - *19 responses: @@ -88304,9 +88879,9 @@ paths: application/json: schema: type: array - items: *623 + items: *625 examples: - default: &628 + default: &630 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88383,17 +88958,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 responses: '200': description: Response content: application/json: - schema: *623 + schema: *625 examples: - default: &624 + default: &626 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88468,9 +89043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 requestBody: required: true content: @@ -88492,9 +89067,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: - default: *624 + default: *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88510,9 +89085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 responses: '204': description: Response @@ -88533,9 +89108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -88561,9 +89136,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 '404': *6 @@ -88584,9 +89159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *383 - - *384 - - *156 + - *385 + - *386 + - *159 requestBody: required: true content: @@ -88618,16 +89193,16 @@ paths: description: Reaction exists content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '201': description: Reaction created content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -88649,10 +89224,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *383 - - *384 - - *156 - - *375 + - *385 + - *386 + - *159 + - *377 responses: '204': description: Response @@ -88695,9 +89270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *383 - - *384 - - &627 + - *385 + - *386 + - &629 name: pull_number description: The number that identifies the pull request. in: path @@ -88710,9 +89285,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *625 + schema: *627 examples: - default: *626 + default: *628 '304': *37 '404': *6 '406': @@ -88720,8 +89295,8 @@ paths: content: application/json: schema: *3 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88747,9 +89322,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: false content: @@ -88791,9 +89366,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: *626 + default: *628 '422': *15 '403': *29 x-github: @@ -88815,9 +89390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: true content: @@ -88877,21 +89452,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '401': *25 '403': *29 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88917,10 +89492,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *383 - - *384 - - *627 - - *167 + - *385 + - *386 + - *629 + - *170 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -88930,7 +89505,7 @@ paths: enum: - asc - desc - - *147 + - *150 - *17 - *19 responses: @@ -88940,9 +89515,9 @@ paths: application/json: schema: type: array - items: *623 + items: *625 examples: - default: *628 + default: *630 headers: Link: *40 x-github: @@ -88975,9 +89550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: true content: @@ -89082,7 +89657,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: example-for-a-multi-line-comment: value: @@ -89170,10 +89745,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *383 - - *384 - - *627 - - *156 + - *385 + - *386 + - *629 + - *159 requestBody: required: true content: @@ -89195,7 +89770,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: default: value: @@ -89281,9 +89856,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 - *17 - *19 responses: @@ -89293,9 +89868,9 @@ paths: application/json: schema: type: array - items: *504 + items: *506 examples: - default: *629 + default: *631 headers: Link: *40 x-github: @@ -89325,9 +89900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 - *17 - *19 responses: @@ -89337,7 +89912,7 @@ paths: application/json: schema: type: array - items: *519 + items: *521 examples: default: value: @@ -89355,8 +89930,8 @@ paths: headers: Link: *40 '422': *15 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89375,9 +89950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 responses: '204': description: Response if pull request has been merged @@ -89400,9 +89975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: false content: @@ -89513,9 +90088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 responses: '200': description: Response @@ -89531,7 +90106,7 @@ paths: items: *4 teams: type: array - items: *233 + items: *235 required: - users - teams @@ -89590,9 +90165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: false content: @@ -89629,7 +90204,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: default: value: @@ -90165,9 +90740,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: true content: @@ -90201,7 +90776,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *622 examples: default: value: @@ -90706,9 +91281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 - *17 - *19 responses: @@ -90718,7 +91293,7 @@ paths: application/json: schema: type: array - items: &630 + items: &632 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90787,7 +91362,7 @@ paths: type: string body_text: type: string - author_association: *144 + author_association: *147 required: - id - node_id @@ -90869,9 +91444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: false content: @@ -90957,9 +91532,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: - default: &632 + default: &634 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -91022,10 +91597,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *383 - - *384 - - *627 - - &631 + - *385 + - *386 + - *629 + - &633 name: review_id description: The unique identifier of the review. in: path @@ -91037,9 +91612,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: - default: &633 + default: &635 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -91098,10 +91673,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *383 - - *384 - - *627 - - *631 + - *385 + - *386 + - *629 + - *633 requestBody: required: true content: @@ -91124,7 +91699,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: default: value: @@ -91186,18 +91761,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *383 - - *384 - - *627 - - *631 + - *385 + - *386 + - *629 + - *633 responses: '200': description: Response content: application/json: - schema: *630 + schema: *632 examples: - default: *632 + default: *634 '422': *7 '404': *6 x-github: @@ -91224,10 +91799,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *383 - - *384 - - *627 - - *631 + - *385 + - *386 + - *629 + - *633 - *17 - *19 responses: @@ -91306,13 +91881,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *144 + author_association: *147 _links: type: object properties: - self: *510 - html: *510 - pull_request: *510 + self: *512 + html: *512 + pull_request: *512 required: - self - html @@ -91321,7 +91896,7 @@ paths: type: string body_html: type: string - reactions: *145 + reactions: *148 side: description: The side of the first line of the range for a multi-line comment. @@ -91462,10 +92037,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *383 - - *384 - - *627 - - *631 + - *385 + - *386 + - *629 + - *633 requestBody: required: true content: @@ -91493,7 +92068,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: default: value: @@ -91556,10 +92131,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *383 - - *384 - - *627 - - *631 + - *385 + - *386 + - *629 + - *633 requestBody: required: true content: @@ -91594,9 +92169,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: - default: *633 + default: *635 '404': *6 '422': *7 '403': *29 @@ -91618,9 +92193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *383 - - *384 - - *627 + - *385 + - *386 + - *629 requestBody: required: false content: @@ -91683,8 +92258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *383 - - *384 + - *385 + - *386 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -91697,9 +92272,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: &635 + default: &637 value: type: file encoding: base64 @@ -91741,8 +92316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *383 - - *384 + - *385 + - *386 - name: dir description: The alternate path to look for a README file in: path @@ -91762,9 +92337,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: *635 + default: *637 '404': *6 '422': *15 x-github: @@ -91786,8 +92361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -91797,7 +92372,7 @@ paths: application/json: schema: type: array - items: &636 + items: &638 title: Release description: A release. type: object @@ -91860,7 +92435,7 @@ paths: author: *4 assets: type: array - items: &637 + items: &639 title: Release Asset description: Data related to a release. type: object @@ -91935,7 +92510,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *145 + reactions: *148 required: - assets_url - upload_url @@ -92046,8 +92621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -92123,9 +92698,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: &640 + default: &642 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -92229,9 +92804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *383 - - *384 - - &638 + - *385 + - *386 + - &640 name: asset_id description: The unique identifier of the asset. in: path @@ -92243,9 +92818,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *639 examples: - default: &639 + default: &641 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -92280,7 +92855,7 @@ paths: type: User site_admin: false '404': *6 - '302': *521 + '302': *523 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92296,9 +92871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *383 - - *384 - - *638 + - *385 + - *386 + - *640 requestBody: required: false content: @@ -92326,9 +92901,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *639 examples: - default: *639 + default: *641 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92344,9 +92919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *383 - - *384 - - *638 + - *385 + - *386 + - *640 responses: '204': description: Response @@ -92370,8 +92945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -92456,16 +93031,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: *640 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92482,8 +93057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *383 - - *384 + - *385 + - *386 - name: tag description: tag parameter in: path @@ -92496,9 +93071,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: *640 + default: *642 '404': *6 x-github: githubCloudOnly: false @@ -92520,9 +93095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *383 - - *384 - - &641 + - *385 + - *386 + - &643 name: release_id description: The unique identifier of the release. in: path @@ -92536,9 +93111,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *636 + schema: *638 examples: - default: *640 + default: *642 '401': description: Unauthorized x-github: @@ -92556,9 +93131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *383 - - *384 - - *641 + - *385 + - *386 + - *643 requestBody: required: false content: @@ -92622,9 +93197,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: - default: *640 + default: *642 '404': description: Not Found if the discussion category name is invalid content: @@ -92645,9 +93220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *383 - - *384 - - *641 + - *385 + - *386 + - *643 responses: '204': description: Response @@ -92667,9 +93242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *383 - - *384 - - *641 + - *385 + - *386 + - *643 - *17 - *19 responses: @@ -92679,7 +93254,7 @@ paths: application/json: schema: type: array - items: *637 + items: *639 examples: default: value: @@ -92761,9 +93336,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *383 - - *384 - - *641 + - *385 + - *386 + - *643 - name: name in: query required: true @@ -92789,7 +93364,7 @@ paths: description: Response for successful upload content: application/json: - schema: *637 + schema: *639 examples: response-for-successful-upload: value: @@ -92844,9 +93419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *383 - - *384 - - *641 + - *385 + - *386 + - *643 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -92870,9 +93445,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 '404': *6 @@ -92893,9 +93468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *383 - - *384 - - *641 + - *385 + - *386 + - *643 requestBody: required: true content: @@ -92925,16 +93500,16 @@ paths: description: Reaction exists content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '201': description: Reaction created content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -92956,10 +93531,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *383 - - *384 - - *641 - - *375 + - *385 + - *386 + - *643 + - *377 responses: '204': description: Response @@ -92983,9 +93558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *383 - - *384 - - *442 + - *385 + - *386 + - *444 - *17 - *19 responses: @@ -93001,8 +93576,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *642 - - &644 + - *644 + - &646 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -93021,66 +93596,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *643 - - *644 - allOf: - *645 - - *644 - - allOf: - *646 - - *644 - allOf: - *647 - - *644 + - *646 - allOf: - *648 - - *644 + - *646 - allOf: - *649 - - *644 + - *646 - allOf: - *650 - - *644 + - *646 - allOf: - *651 - - *644 + - *646 - allOf: - *652 - - *644 + - *646 - allOf: - *653 - - *644 + - *646 - allOf: - *654 - - *644 + - *646 - allOf: - *655 - - *644 + - *646 - allOf: - *656 - - *644 + - *646 - allOf: - *657 - - *644 + - *646 - allOf: - *658 - - *644 + - *646 - allOf: - *659 - - *644 + - *646 - allOf: - *660 - - *644 + - *646 - allOf: - *661 - - *644 + - *646 - allOf: - *662 - - *644 + - *646 - allOf: - *663 - - *644 + - *646 + - allOf: + - *664 + - *646 + - allOf: + - *665 + - *646 examples: default: value: @@ -93119,8 +93694,8 @@ paths: category: repos subcategory: rules parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 - name: includes_parents @@ -93131,7 +93706,7 @@ paths: schema: type: boolean default: true - - *664 + - *666 responses: '200': description: Response @@ -93139,7 +93714,7 @@ paths: application/json: schema: type: array - items: *130 + items: *133 examples: default: value: @@ -93170,7 +93745,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *85 + '500': *88 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -93186,8 +93761,8 @@ paths: category: repos subcategory: rules parameters: - - *383 - - *384 + - *385 + - *386 requestBody: description: Request body required: true @@ -93207,16 +93782,16 @@ paths: - tag - push default: branch - enforcement: *127 + enforcement: *130 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *128 - conditions: *123 + items: *131 + conditions: *126 rules: type: array description: An array of rules within the ruleset. - items: *129 + items: *132 required: - name - enforcement @@ -93247,9 +93822,9 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: &673 + default: &675 value: id: 42 name: super cool ruleset @@ -93282,7 +93857,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -93296,12 +93871,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *383 - - *384 - - *665 - - *227 - - *666 + - *385 + - *386 - *667 + - *229 + - *668 + - *669 - *17 - *19 responses: @@ -93309,11 +93884,11 @@ paths: description: Response content: application/json: - schema: *668 + schema: *670 examples: - default: *669 + default: *671 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93332,19 +93907,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *383 - - *384 - - *670 + - *385 + - *386 + - *672 responses: '200': description: Response content: application/json: - schema: *671 + schema: *673 examples: - default: *672 + default: *674 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93370,8 +93945,8 @@ paths: category: repos subcategory: rules parameters: - - *383 - - *384 + - *385 + - *386 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93391,11 +93966,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: *673 + default: *675 '404': *6 - '500': *85 + '500': *88 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -93411,8 +93986,8 @@ paths: category: repos subcategory: rules parameters: - - *383 - - *384 + - *385 + - *386 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93437,16 +94012,16 @@ paths: - branch - tag - push - enforcement: *127 + enforcement: *130 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *128 - conditions: *123 + items: *131 + conditions: *126 rules: description: An array of rules within the ruleset. type: array - items: *129 + items: *132 examples: default: value: @@ -93474,11 +94049,11 @@ paths: description: Response content: application/json: - schema: *130 + schema: *133 examples: - default: *673 + default: *675 '404': *6 - '500': *85 + '500': *88 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -93494,8 +94069,8 @@ paths: category: repos subcategory: rules parameters: - - *383 - - *384 + - *385 + - *386 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93506,7 +94081,7 @@ paths: '204': description: Response '404': *6 - '500': *85 + '500': *88 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -93518,8 +94093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 - name: ruleset_id @@ -93535,11 +94110,11 @@ paths: application/json: schema: type: array - items: *133 + items: *136 examples: - default: *337 + default: *339 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93556,8 +94131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *383 - - *384 + - *385 + - *386 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93575,7 +94150,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *340 examples: default: value: @@ -93608,7 +94183,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93630,21 +94205,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *383 - - *384 - - *339 - - *340 + - *385 + - *386 - *341 - *342 - - *88 - - *19 - - *17 - - *674 - - *675 - *343 - *344 + - *91 + - *19 + - *17 + - *676 + - *677 - *345 - *346 + - *347 + - *348 responses: '200': description: Response @@ -93652,11 +94227,11 @@ paths: application/json: schema: type: array - items: &679 + items: &681 type: object properties: - number: *100 - created_at: *107 + number: *103 + created_at: *110 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -93664,15 +94239,15 @@ paths: format: date-time readOnly: true nullable: true - url: *105 - html_url: *106 + url: *108 + html_url: *109 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *676 - resolution: *677 + state: *678 + resolution: *679 resolved_at: type: string format: date-time @@ -93768,7 +94343,7 @@ paths: pull request. ' - oneOf: *678 + oneOf: *680 nullable: true has_more_locations: type: boolean @@ -93896,7 +94471,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93918,16 +94493,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *383 - - *384 - - *473 - - *346 + - *385 + - *386 + - *475 + - *348 responses: '200': description: Response content: application/json: - schema: *679 + schema: *681 examples: default: value: @@ -93958,7 +94533,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93979,9 +94554,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 requestBody: required: true content: @@ -93989,8 +94564,8 @@ paths: schema: type: object properties: - state: *676 - resolution: *677 + state: *678 + resolution: *679 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -94008,7 +94583,7 @@ paths: description: Response content: application/json: - schema: *679 + schema: *681 examples: default: value: @@ -94061,7 +94636,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -94083,9 +94658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *383 - - *384 - - *473 + - *385 + - *386 + - *475 - *19 - *17 responses: @@ -94096,7 +94671,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &855 + items: &857 type: object properties: type: @@ -94122,8 +94697,6 @@ paths: example: commit details: oneOf: - - *680 - - *681 - *682 - *683 - *684 @@ -94135,6 +94708,8 @@ paths: - *690 - *691 - *692 + - *693 + - *694 examples: default: value: @@ -94198,7 +94773,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94220,8 +94795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -94229,14 +94804,14 @@ paths: schema: type: object properties: - reason: &694 + reason: &696 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *693 + placeholder_id: *695 required: - reason - placeholder_id @@ -94253,7 +94828,7 @@ paths: schema: type: object properties: - reason: *694 + reason: *696 expire_at: type: string format: date-time @@ -94276,7 +94851,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *134 + '503': *137 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -94296,13 +94871,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *134 + '503': *137 '200': description: Response content: @@ -94312,7 +94887,7 @@ paths: properties: incremental_scans: type: array - items: &695 + items: &697 description: Information on a single scan performed by secret scanning on the repository type: object @@ -94338,15 +94913,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *695 + items: *697 backfill_scans: type: array - items: *695 + items: *697 custom_pattern_backfill_scans: type: array items: allOf: - - *695 + - *697 - type: object properties: pattern_name: @@ -94416,9 +94991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *383 - - *384 - - *88 + - *385 + - *386 + - *91 - name: sort description: The property to sort the results by. in: query @@ -94430,8 +95005,8 @@ paths: - updated - published default: created - - *86 - - *87 + - *89 + - *90 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -94461,9 +95036,9 @@ paths: application/json: schema: type: array - items: *696 + items: *698 examples: - default: *697 + default: *699 '400': *14 '404': *6 x-github: @@ -94486,8 +95061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -94560,7 +95135,7 @@ paths: login: type: string description: The username of the user credited. - type: *349 + type: *351 required: - login - type @@ -94647,9 +95222,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *698 examples: - default: &699 + default: &701 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -94882,8 +95457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -94987,7 +95562,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *698 examples: default: value: @@ -95134,17 +95709,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *383 - - *384 - - *698 + - *385 + - *386 + - *700 responses: '200': description: Response content: application/json: - schema: *696 + schema: *698 examples: - default: *699 + default: *701 '403': *29 '404': *6 x-github: @@ -95168,9 +95743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *383 - - *384 - - *698 + - *385 + - *386 + - *700 requestBody: required: true content: @@ -95243,7 +95818,7 @@ paths: login: type: string description: The username of the user credited. - type: *349 + type: *351 required: - login - type @@ -95329,17 +95904,17 @@ paths: description: Response content: application/json: - schema: *696 + schema: *698 examples: - default: *699 - add_credit: *699 + default: *701 + add_credit: *701 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *185 + schema: *187 examples: invalid_state_transition: value: @@ -95370,9 +95945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *383 - - *384 - - *698 + - *385 + - *386 + - *700 responses: '202': *39 '400': *14 @@ -95399,17 +95974,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *383 - - *384 - - *698 + - *385 + - *386 + - *700 responses: '202': description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *398 + default: *400 '400': *14 '422': *15 '403': *29 @@ -95435,8 +96010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -95535,8 +96110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -95545,7 +96120,7 @@ paths: application/json: schema: type: array - items: &700 + items: &702 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95558,7 +96133,7 @@ paths: - 1124 - -435 '202': *39 - '204': *120 + '204': *123 '422': description: Repository contains more than 10,000 commits x-github: @@ -95578,8 +96153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -95628,7 +96203,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *120 + '204': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95655,8 +96230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -95730,7 +96305,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *120 + '204': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95752,8 +96327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -95907,8 +96482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -95918,7 +96493,7 @@ paths: application/json: schema: type: array - items: *700 + items: *702 examples: default: value: @@ -95931,7 +96506,7 @@ paths: - - 0 - 2 - 21 - '204': *120 + '204': *123 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95951,8 +96526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *383 - - *384 + - *385 + - *386 - name: sha in: path required: true @@ -96006,7 +96581,7 @@ paths: description: Response content: application/json: - schema: *701 + schema: *703 examples: default: value: @@ -96060,8 +96635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -96073,7 +96648,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 x-github: @@ -96093,14 +96668,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &702 + schema: &704 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -96168,8 +96743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: false content: @@ -96195,7 +96770,7 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: default: value: @@ -96222,8 +96797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -96243,8 +96818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -96323,8 +96898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -96332,7 +96907,7 @@ paths: application/json: schema: type: array - items: &703 + items: &705 title: Tag protection description: Tag protection type: object @@ -96384,8 +96959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -96408,7 +96983,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *705 examples: default: value: @@ -96439,8 +97014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -96477,8 +97052,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *383 - - *384 + - *385 + - *386 - name: ref in: path required: true @@ -96514,8 +97089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *383 - - *384 + - *385 + - *386 - *17 - *19 responses: @@ -96525,9 +97100,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *310 + default: *312 headers: Link: *40 '404': *6 @@ -96547,8 +97122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *383 - - *384 + - *385 + - *386 - *19 - *17 responses: @@ -96556,7 +97131,7 @@ paths: description: Response content: application/json: - schema: &704 + schema: &706 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -96568,7 +97143,7 @@ paths: required: - names examples: - default: &705 + default: &707 value: names: - octocat @@ -96591,8 +97166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -96623,9 +97198,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *706 examples: - default: *705 + default: *707 '404': *6 '422': *7 x-github: @@ -96646,9 +97221,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *383 - - *384 - - &706 + - *385 + - *386 + - &708 name: per description: The time frame to display results for. in: query @@ -96677,7 +97252,7 @@ paths: example: 128 clones: type: array - items: &707 + items: &709 title: Traffic type: object properties: @@ -96764,8 +97339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -96855,8 +97430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *383 - - *384 + - *385 + - *386 responses: '200': description: Response @@ -96916,9 +97491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *383 - - *384 - - *706 + - *385 + - *386 + - *708 responses: '200': description: Response @@ -96937,7 +97512,7 @@ paths: example: 3782 views: type: array - items: *707 + items: *709 required: - uniques - count @@ -97014,8 +97589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *383 - - *384 + - *385 + - *386 requestBody: required: true content: @@ -97051,7 +97626,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -97289,8 +97864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -97313,8 +97888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -97336,8 +97911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -97363,8 +97938,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *383 - - *384 + - *385 + - *386 - name: ref in: path required: true @@ -97456,9 +98031,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *398 + default: *400 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -97499,7 +98074,7 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: default: value: @@ -97609,7 +98184,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &715 + - &717 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -97618,7 +98193,7 @@ paths: schema: type: string example: members - - &720 + - &722 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -97629,7 +98204,7 @@ paths: default: 1 format: int32 example: 1 - - &721 + - &723 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -97671,7 +98246,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &709 + items: &711 allOf: - type: object required: @@ -97746,7 +98321,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &722 + meta: &724 type: object description: The metadata associated with the creation/updates to the user. @@ -97806,31 +98381,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &710 + '400': &712 description: Bad request content: application/json: - schema: *708 + schema: *710 application/scim+json: - schema: *708 - '401': &711 + schema: *710 + '401': &713 description: Authorization failure - '403': &712 + '403': &714 description: Permission denied - '429': &713 + '429': &715 description: Too many requests content: application/json: - schema: *708 + schema: *710 application/scim+json: - schema: *708 - '500': &714 + schema: *710 + '500': &716 description: Internal server error content: application/json: - schema: *708 + schema: *710 application/scim+json: - schema: *708 + schema: *710 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97854,7 +98429,7 @@ paths: required: true content: application/json: - schema: &718 + schema: &720 type: object required: - schemas @@ -97910,9 +98485,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *709 + schema: *711 examples: - group: &716 + group: &718 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -97931,13 +98506,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *710 - '401': *711 - '403': *712 - '409': &719 + '400': *712 + '401': *713 + '403': *714 + '409': &721 description: Duplicate record detected - '429': *713 - '500': *714 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97954,7 +98529,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &717 + - &719 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -97962,22 +98537,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *715 + - *717 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *709 + schema: *711 examples: - default: *716 - '400': *710 - '401': *711 - '403': *712 + default: *718 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '429': *713 - '500': *714 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97996,13 +98571,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *717 + - *719 - *41 requestBody: required: true content: application/json: - schema: *718 + schema: *720 examples: group: summary: Group @@ -98028,17 +98603,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *709 + schema: *711 examples: - group: *716 - groupWithMembers: *716 - '400': *710 - '401': *711 - '403': *712 + group: *718 + groupWithMembers: *718 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '409': *719 - '429': *713 - '500': *714 + '409': *721 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98062,13 +98637,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *717 + - *719 - *41 requestBody: required: true content: application/json: - schema: &729 + schema: &731 type: object required: - Operations @@ -98128,17 +98703,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *709 + schema: *711 examples: - updateGroup: *716 - addMembers: *716 - '400': *710 - '401': *711 - '403': *712 + updateGroup: *718 + addMembers: *718 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '409': *719 - '429': *713 - '500': *714 + '409': *721 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98154,17 +98729,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *717 + - *719 - *41 responses: '204': description: Group was deleted, no content - '400': *710 - '401': *711 - '403': *712 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '429': *713 - '500': *714 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98198,8 +98773,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *720 - - *721 + - *722 + - *723 - *41 responses: '200': @@ -98232,7 +98807,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &724 + items: &726 allOf: - type: object required: @@ -98311,7 +98886,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &723 + roles: &725 type: array description: The roles assigned to the user. items: @@ -98367,7 +98942,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *722 + meta: *724 startIndex: type: integer description: A starting index for the returned page @@ -98404,11 +98979,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *710 - '401': *711 - '403': *712 - '429': *713 - '500': *714 + '400': *712 + '401': *713 + '403': *714 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98432,7 +99007,7 @@ paths: required: true content: application/json: - schema: &727 + schema: &729 type: object required: - schemas @@ -98514,9 +99089,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *723 + roles: *725 examples: - user: &728 + user: &730 summary: User value: schemas: @@ -98563,9 +99138,9 @@ paths: description: User has been created content: application/scim+json: - schema: *724 + schema: *726 examples: - user: &725 + user: &727 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98591,13 +99166,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *725 - '400': *710 - '401': *711 - '403': *712 - '409': *719 - '429': *713 - '500': *714 + enterpriseOwner: *727 + '400': *712 + '401': *713 + '403': *714 + '409': *721 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98614,7 +99189,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &726 + - &728 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -98627,15 +99202,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *724 + schema: *726 examples: - default: *725 - '400': *710 - '401': *711 - '403': *712 + default: *727 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '429': *713 - '500': *714 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98657,30 +99232,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *726 + - *728 - *41 requestBody: required: true content: application/json: - schema: *727 + schema: *729 examples: - user: *728 + user: *730 responses: '200': description: User was updated content: application/scim+json: - schema: *724 + schema: *726 examples: - user: *725 - '400': *710 - '401': *711 - '403': *712 + user: *727 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '409': *719 - '429': *713 - '500': *714 + '409': *721 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98715,13 +99290,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *726 + - *728 - *41 requestBody: required: true content: application/json: - schema: *729 + schema: *731 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -98761,18 +99336,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *724 + schema: *726 examples: - userMultiValuedProperties: *725 - userSingleValuedProperties: *725 - disableUser: *725 - '400': *710 - '401': *711 - '403': *712 + userMultiValuedProperties: *727 + userSingleValuedProperties: *727 + disableUser: *727 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '409': *719 - '429': *713 - '500': *714 + '409': *721 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98792,17 +99367,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *726 + - *728 - *41 responses: '204': description: User was deleted, no content - '400': *710 - '401': *711 - '403': *712 + '400': *712 + '401': *713 + '403': *714 '404': *6 - '429': *713 - '500': *714 + '429': *715 + '500': *716 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98835,7 +99410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *174 + - *73 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -98889,7 +99464,7 @@ paths: example: 1 Resources: type: array - items: &730 + items: &732 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -99120,22 +99695,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &731 + '404': &733 description: Resource not found content: application/json: - schema: *708 + schema: *710 application/scim+json: - schema: *708 - '403': &732 + schema: *710 + '403': &734 description: Forbidden content: application/json: - schema: *708 + schema: *710 application/scim+json: - schema: *708 - '400': *710 - '429': *713 + schema: *710 + '400': *712 + '429': *715 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -99155,15 +99730,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *174 + - *73 responses: '201': description: Response content: application/scim+json: - schema: *730 + schema: *732 examples: - default: &733 + default: &735 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -99186,17 +99761,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *731 - '403': *732 - '500': *714 + '404': *733 + '403': *734 + '500': *716 '409': description: Conflict content: application/json: - schema: *708 + schema: *710 application/scim+json: - schema: *708 - '400': *710 + schema: *710 + '400': *712 requestBody: required: true content: @@ -99293,18 +99868,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *174 - - *726 + - *73 + - *728 responses: '200': description: Response content: application/scim+json: - schema: *730 + schema: *732 examples: - default: *733 - '404': *731 - '403': *732 + default: *735 + '404': *733 + '403': *734 '304': *37 x-github: githubCloudOnly: true @@ -99327,19 +99902,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *174 - - *726 + - *73 + - *728 responses: '200': description: Response content: application/scim+json: - schema: *730 + schema: *732 examples: - default: *733 + default: *735 '304': *37 - '404': *731 - '403': *732 + '404': *733 + '403': *734 requestBody: required: true content: @@ -99451,20 +100026,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *174 - - *726 + - *73 + - *728 responses: '200': description: Response content: application/scim+json: - schema: *730 + schema: *732 examples: - default: *733 + default: *735 '304': *37 - '404': *731 - '403': *732 - '400': *710 + '404': *733 + '403': *734 + '400': *712 '429': description: Response content: @@ -99554,13 +100129,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *174 - - *726 + - *73 + - *728 responses: '204': description: Response - '404': *731 - '403': *732 + '404': *733 + '403': *734 '304': *37 x-github: githubCloudOnly: true @@ -99675,7 +100250,7 @@ paths: html_url: type: string format: uri - repository: *202 + repository: *204 score: type: number file_size: @@ -99693,7 +100268,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &734 + text_matches: &736 title: Search Result Text Matches type: array items: @@ -99807,7 +100382,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *134 + '503': *137 '422': *15 '403': *29 x-github: @@ -99856,7 +100431,7 @@ paths: enum: - author-date - committer-date - - &735 + - &737 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -99927,7 +100502,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *440 + properties: *442 nullable: true comment_count: type: integer @@ -99947,7 +100522,7 @@ paths: url: type: string format: uri - verification: *565 + verification: *567 required: - author - committer @@ -99966,7 +100541,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *440 + properties: *442 nullable: true parents: type: array @@ -99979,12 +100554,12 @@ paths: type: string sha: type: string - repository: *202 + repository: *204 score: type: number node_id: type: string - text_matches: *734 + text_matches: *736 required: - sha - node_id @@ -100167,7 +100742,7 @@ paths: - interactions - created - updated - - *735 + - *737 - *17 - *19 - name: advanced_search @@ -100294,8 +100869,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *508 - required: *509 + properties: *510 + required: *511 nullable: true comments: type: integer @@ -100309,7 +100884,7 @@ paths: type: string format: date-time nullable: true - text_matches: *734 + text_matches: *736 pull_request: type: object properties: @@ -100342,7 +100917,7 @@ paths: type: string score: type: number - author_association: *144 + author_association: *147 draft: type: boolean repository: *64 @@ -100353,7 +100928,7 @@ paths: timeline_url: type: string format: uri - type: *293 + type: *295 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -100363,9 +100938,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 - reactions: *145 + properties: *145 + required: *146 + reactions: *148 required: - assignee - closed_at @@ -100481,7 +101056,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *134 + '503': *137 '422': *15 '304': *37 '403': *29 @@ -100537,7 +101112,7 @@ paths: enum: - created - updated - - *735 + - *737 - *17 - *19 responses: @@ -100581,7 +101156,7 @@ paths: nullable: true score: type: number - text_matches: *734 + text_matches: *736 required: - id - node_id @@ -100667,7 +101242,7 @@ paths: - forks - help-wanted-issues - updated - - *735 + - *737 - *17 - *19 responses: @@ -100886,8 +101461,8 @@ paths: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 nullable: true permissions: type: object @@ -100906,7 +101481,7 @@ paths: - admin - pull - push - text_matches: *734 + text_matches: *736 temp_clone_token: type: string allow_merge_commit: @@ -101108,7 +101683,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *134 + '503': *137 '422': *15 '304': *37 x-github: @@ -101207,7 +101782,7 @@ paths: type: string format: uri nullable: true - text_matches: *734 + text_matches: *736 related: type: array nullable: true @@ -101400,7 +101975,7 @@ paths: - followers - repositories - joined - - *735 + - *737 - *17 - *19 responses: @@ -101504,7 +102079,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *734 + text_matches: *736 blog: type: string nullable: true @@ -101563,7 +102138,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *134 + '503': *137 '422': *15 x-github: githubCloudOnly: false @@ -101583,7 +102158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &736 + - &738 name: team_id description: The unique identifier of the team. in: path @@ -101595,9 +102170,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '404': *6 x-github: githubCloudOnly: false @@ -101624,7 +102199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *736 + - *738 requestBody: required: true content: @@ -101687,16 +102262,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '201': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '404': *6 '422': *15 '403': *29 @@ -101724,7 +102299,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *736 + - *738 responses: '204': description: Response @@ -101755,8 +102330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *736 - - *88 + - *738 + - *91 - *17 - *19 responses: @@ -101766,9 +102341,9 @@ paths: application/json: schema: type: array - items: *366 + items: *368 examples: - default: *737 + default: *739 headers: Link: *40 x-github: @@ -101797,7 +102372,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *736 + - *738 requestBody: required: true content: @@ -101831,9 +102406,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: triggersNotification: true githubCloudOnly: false @@ -101860,16 +102435,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *736 - - *368 + - *738 + - *370 responses: '200': description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *367 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101894,8 +102469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *736 - - *368 + - *738 + - *370 requestBody: required: false content: @@ -101918,9 +102493,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *368 examples: - default: *738 + default: *740 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101945,8 +102520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *736 - - *368 + - *738 + - *370 responses: '204': description: Response @@ -101975,9 +102550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *736 - - *368 - - *88 + - *738 + - *370 + - *91 - *17 - *19 responses: @@ -101987,9 +102562,9 @@ paths: application/json: schema: type: array - items: *369 + items: *371 examples: - default: *739 + default: *741 headers: Link: *40 x-github: @@ -102018,8 +102593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *736 - - *368 + - *738 + - *370 requestBody: required: true content: @@ -102041,9 +102616,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: *370 + default: *372 x-github: triggersNotification: true githubCloudOnly: false @@ -102070,17 +102645,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *736 - - *368 - - *371 + - *738 + - *370 + - *373 responses: '200': description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: *370 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102105,9 +102680,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *736 - - *368 - - *371 + - *738 + - *370 + - *373 requestBody: required: true content: @@ -102129,9 +102704,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *371 examples: - default: *740 + default: *742 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102156,9 +102731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *736 - - *368 - - *371 + - *738 + - *370 + - *373 responses: '204': description: Response @@ -102187,9 +102762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *736 - - *368 - - *371 + - *738 + - *370 + - *373 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -102215,9 +102790,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 x-github: @@ -102246,9 +102821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *736 - - *368 - - *371 + - *738 + - *370 + - *373 requestBody: required: true content: @@ -102280,9 +102855,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102308,8 +102883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *736 - - *368 + - *738 + - *370 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -102335,9 +102910,9 @@ paths: application/json: schema: type: array - items: *372 + items: *374 examples: - default: *374 + default: *376 headers: Link: *40 x-github: @@ -102366,8 +102941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *736 - - *368 + - *738 + - *370 requestBody: required: true content: @@ -102399,9 +102974,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102425,7 +103000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *736 + - *738 - *17 - *19 responses: @@ -102435,9 +103010,9 @@ paths: application/json: schema: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 headers: Link: *40 x-github: @@ -102463,7 +103038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *736 + - *738 - name: role description: Filters members returned by their role in the team. in: query @@ -102486,7 +103061,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 '404': *6 @@ -102514,8 +103089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *736 - - *224 + - *738 + - *226 responses: '204': description: if user is a member @@ -102551,8 +103126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *736 - - *224 + - *738 + - *226 responses: '204': description: Response @@ -102591,8 +103166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *736 - - *224 + - *738 + - *226 responses: '204': description: Response @@ -102628,16 +103203,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *736 - - *224 + - *738 + - *226 responses: '200': description: Response content: application/json: - schema: *380 + schema: *382 examples: - response-if-user-is-a-team-maintainer: *741 + response-if-user-is-a-team-maintainer: *743 '404': *6 x-github: githubCloudOnly: false @@ -102670,8 +103245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *736 - - *224 + - *738 + - *226 requestBody: required: false content: @@ -102696,9 +103271,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *382 examples: - response-if-users-membership-with-team-is-now-pending: *742 + response-if-users-membership-with-team-is-now-pending: *744 '403': description: Forbidden if team synchronization is set up '422': @@ -102732,8 +103307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *736 - - *224 + - *738 + - *226 responses: '204': description: Response @@ -102761,7 +103336,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *736 + - *738 - *17 - *19 responses: @@ -102771,9 +103346,9 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: - default: *743 + default: *745 headers: Link: *40 '404': *6 @@ -102799,16 +103374,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *736 - - *382 + - *738 + - *384 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *744 + default: *746 '404': description: Not Found if project is not managed by this team x-github: @@ -102832,8 +103407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *736 - - *382 + - *738 + - *384 requestBody: required: false content: @@ -102900,8 +103475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *736 - - *382 + - *738 + - *384 responses: '204': description: Response @@ -102928,7 +103503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *736 + - *738 - *17 - *19 responses: @@ -102938,9 +103513,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 '404': *6 @@ -102970,15 +103545,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *736 - - *383 - - *384 + - *738 + - *385 + - *386 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *745 + schema: *747 examples: alternative-response-with-extra-repository-information: value: @@ -103129,9 +103704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *736 - - *383 - - *384 + - *738 + - *385 + - *386 requestBody: required: false content: @@ -103181,9 +103756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *736 - - *383 - - *384 + - *738 + - *385 + - *386 responses: '204': description: Response @@ -103212,15 +103787,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *736 + - *738 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *386 + default: *388 '403': *29 '404': *6 x-github: @@ -103247,7 +103822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *736 + - *738 requestBody: required: true content: @@ -103304,7 +103879,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: default: value: @@ -103335,7 +103910,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *736 + - *738 - *17 - *19 responses: @@ -103345,9 +103920,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - response-if-child-teams-exist: *746 + response-if-child-teams-exist: *748 headers: Link: *40 '404': *6 @@ -103380,7 +103955,7 @@ paths: application/json: schema: oneOf: - - &748 + - &750 title: Private User description: Private User type: object @@ -103583,7 +104158,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *747 + - *749 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -103736,7 +104311,7 @@ paths: description: Response content: application/json: - schema: *748 + schema: *750 examples: default: value: @@ -103815,7 +104390,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 '304': *37 '404': *6 '403': *29 @@ -103838,7 +104413,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *224 + - *226 responses: '204': description: If the user is blocked @@ -103866,7 +104441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *224 + - *226 responses: '204': description: Response @@ -103890,7 +104465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *224 + - *226 responses: '204': description: Response @@ -103939,11 +104514,11 @@ paths: type: integer codespaces: type: array - items: *299 + items: *301 examples: - default: *300 + default: *302 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -104080,21 +104655,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '401': *25 '403': *29 '404': *6 - '503': *134 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104134,7 +104709,7 @@ paths: type: integer secrets: type: array - items: &749 + items: &751 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -104174,7 +104749,7 @@ paths: - visibility - selected_repositories_url examples: - default: *496 + default: *498 headers: Link: *40 x-github: @@ -104244,13 +104819,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *212 + - *214 responses: '200': description: Response content: application/json: - schema: *749 + schema: *751 examples: default: value: @@ -104280,7 +104855,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *212 + - *214 requestBody: required: true content: @@ -104325,7 +104900,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -104353,7 +104928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *212 + - *214 responses: '204': description: Response @@ -104378,7 +104953,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *212 + - *214 responses: '200': description: Response @@ -104394,13 +104969,13 @@ paths: type: integer repositories: type: array - items: *202 + items: *204 examples: - default: *750 + default: *752 '401': *25 '403': *29 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104421,7 +104996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *212 + - *214 requestBody: required: true content: @@ -104453,7 +105028,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104475,7 +105050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *212 + - *214 - name: repository_id in: path required: true @@ -104487,7 +105062,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104508,7 +105083,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *212 + - *214 - name: repository_id in: path required: true @@ -104520,7 +105095,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *85 + '500': *88 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104540,17 +105115,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *301 + - *303 responses: '200': description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -104574,7 +105149,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *301 + - *303 requestBody: required: false content: @@ -104604,9 +105179,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '401': *25 '403': *29 '404': *6 @@ -104628,11 +105203,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *301 + - *303 responses: '202': *39 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -104657,13 +105232,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *301 + - *303 responses: '202': description: Response content: application/json: - schema: &751 + schema: &753 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -104704,7 +105279,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &752 + default: &754 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -104712,7 +105287,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -104736,7 +105311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *301 + - *303 - name: export_id in: path required: true @@ -104749,9 +105324,9 @@ paths: description: Response content: application/json: - schema: *751 + schema: *753 examples: - default: *752 + default: *754 '404': *6 x-github: githubCloudOnly: false @@ -104772,7 +105347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *301 + - *303 responses: '200': description: Response @@ -104788,11 +105363,11 @@ paths: type: integer machines: type: array - items: *753 + items: *755 examples: - default: *754 + default: *756 '304': *37 - '500': *85 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -104819,7 +105394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *301 + - *303 requestBody: required: true content: @@ -104869,13 +105444,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *396 + repository: *398 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *494 - required: *495 + properties: *496 + required: *497 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -105649,17 +106224,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *301 + - *303 responses: '200': description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *493 + default: *495 '304': *37 - '500': *85 + '500': *88 '400': *14 '401': *25 '402': @@ -105669,7 +106244,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *96 + '409': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105689,16 +106264,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *301 + - *303 responses: '200': description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *493 - '500': *85 + default: *495 + '500': *88 '401': *25 '403': *29 '404': *6 @@ -105727,9 +106302,9 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: - default: &767 + default: &769 value: - id: 197 name: hello_docker @@ -105830,7 +106405,7 @@ paths: application/json: schema: type: array - items: &755 + items: &757 title: Email description: Email type: object @@ -105895,9 +106470,9 @@ paths: application/json: schema: type: array - items: *755 + items: *757 examples: - default: &769 + default: &771 value: - email: octocat@github.com verified: true @@ -105972,7 +106547,7 @@ paths: application/json: schema: type: array - items: *755 + items: *757 examples: default: value: @@ -106082,7 +106657,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 '304': *37 @@ -106115,7 +106690,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 '304': *37 @@ -106137,7 +106712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *224 + - *226 responses: '204': description: if the person is followed by the authenticated user @@ -106167,7 +106742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *224 + - *226 responses: '204': description: Response @@ -106192,7 +106767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *224 + - *226 responses: '204': description: Response @@ -106228,7 +106803,7 @@ paths: application/json: schema: type: array - items: &756 + items: &758 title: GPG Key description: A unique encryption key type: object @@ -106359,7 +106934,7 @@ paths: - subkeys - revoked examples: - default: &783 + default: &785 value: - id: 3 name: Octocat's GPG Key @@ -106444,9 +107019,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *758 examples: - default: &757 + default: &759 value: id: 3 name: Octocat's GPG Key @@ -106503,7 +107078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &758 + - &760 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -106515,9 +107090,9 @@ paths: description: Response content: application/json: - schema: *756 + schema: *758 examples: - default: *757 + default: *759 '404': *6 '304': *37 '403': *29 @@ -106540,7 +107115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *758 + - *760 responses: '204': description: Response @@ -106731,7 +107306,7 @@ paths: type: array items: *64 examples: - default: *759 + default: *761 headers: Link: *40 '404': *6 @@ -106756,7 +107331,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *197 + - *199 responses: '204': description: Response @@ -106782,7 +107357,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *197 + - *199 responses: '204': description: Response @@ -106816,12 +107391,12 @@ paths: application/json: schema: anyOf: - - *288 + - *290 - type: object properties: {} additionalProperties: false examples: - default: *289 + default: *291 '204': description: Response when there are no restrictions x-github: @@ -106845,7 +107420,7 @@ paths: required: true content: application/json: - schema: *576 + schema: *578 examples: default: value: @@ -106856,7 +107431,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: default: value: @@ -106937,7 +107512,7 @@ paths: - closed - all default: open - - *296 + - *298 - name: sort description: What to sort results by. in: query @@ -106949,8 +107524,8 @@ paths: - updated - comments default: created - - *88 - - *147 + - *91 + - *150 - *17 - *19 responses: @@ -106960,9 +107535,9 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: - default: *297 + default: *299 headers: Link: *40 '404': *6 @@ -106995,7 +107570,7 @@ paths: application/json: schema: type: array - items: &760 + items: &762 title: Key description: Key type: object @@ -107092,9 +107667,9 @@ paths: description: Response content: application/json: - schema: *760 + schema: *762 examples: - default: &761 + default: &763 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107127,15 +107702,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *605 + - *607 responses: '200': description: Response content: application/json: - schema: *760 + schema: *762 examples: - default: *761 + default: *763 '404': *6 '304': *37 '403': *29 @@ -107158,7 +107733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *605 + - *607 responses: '204': description: Response @@ -107191,7 +107766,7 @@ paths: application/json: schema: type: array - items: &762 + items: &764 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -107248,7 +107823,7 @@ paths: - id - type - login - plan: *161 + plan: *164 required: - billing_cycle - next_billing_date @@ -107259,7 +107834,7 @@ paths: - account - plan examples: - default: &763 + default: &765 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -107321,9 +107896,9 @@ paths: application/json: schema: type: array - items: *762 + items: *764 examples: - default: *763 + default: *765 headers: Link: *40 '304': *37 @@ -107363,7 +107938,7 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: default: value: @@ -107465,13 +108040,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *174 + - *73 responses: '200': description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -107529,7 +108104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *174 + - *73 requestBody: required: true content: @@ -107554,7 +108129,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -107622,7 +108197,7 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: default: value: @@ -107875,7 +108450,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -108055,7 +108630,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *305 + - *307 - name: exclude in: query required: false @@ -108068,7 +108643,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -108262,7 +108837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *305 + - *307 responses: '302': description: Response @@ -108288,7 +108863,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *305 + - *307 responses: '204': description: Response @@ -108317,8 +108892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *305 - - *764 + - *307 + - *766 responses: '204': description: Response @@ -108342,7 +108917,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *305 + - *307 - *17 - *19 responses: @@ -108352,9 +108927,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 '404': *6 @@ -108391,7 +108966,7 @@ paths: type: array items: *59 examples: - default: *765 + default: *767 headers: Link: *40 '304': *37 @@ -108433,7 +109008,7 @@ paths: - docker - nuget - container - - *766 + - *768 - *19 - *17 responses: @@ -108443,10 +109018,10 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: - default: *767 - '400': *768 + default: *769 + '400': *770 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108466,16 +109041,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *313 - - *314 + - *315 + - *316 responses: '200': description: Response content: application/json: - schema: *311 + schema: *313 examples: - default: &784 + default: &786 value: id: 40201 name: octo-name @@ -108588,8 +109163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *313 - - *314 + - *315 + - *316 responses: '204': description: Response @@ -108619,8 +109194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *313 - - *314 + - *315 + - *316 - name: token description: package token schema: @@ -108652,8 +109227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *313 - - *314 + - *315 + - *316 - *19 - *17 - name: state @@ -108673,7 +109248,7 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: default: value: @@ -108722,15 +109297,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *313 - - *314 + - *315 - *316 + - *318 responses: '200': description: Response content: application/json: - schema: *315 + schema: *317 examples: default: value: @@ -108766,9 +109341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *313 - - *314 + - *315 - *316 + - *318 responses: '204': description: Response @@ -108798,9 +109373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *313 - - *314 + - *315 - *316 + - *318 responses: '204': description: Response @@ -108856,7 +109431,7 @@ paths: description: Response content: application/json: - schema: *327 + schema: *329 examples: default: value: @@ -108928,9 +109503,9 @@ paths: application/json: schema: type: array - items: *755 + items: *757 examples: - default: *769 + default: *771 headers: Link: *40 '304': *37 @@ -109043,7 +109618,7 @@ paths: type: array items: *64 examples: - default: &776 + default: &778 summary: Default response value: - id: 1296269 @@ -109347,9 +109922,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *398 examples: - default: *398 + default: *400 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -109387,9 +109962,9 @@ paths: application/json: schema: type: array - items: *578 + items: *580 examples: - default: *770 + default: *772 headers: Link: *40 '304': *37 @@ -109412,12 +109987,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *292 + - *294 responses: '204': description: Response '403': *29 - '409': *96 + '409': *99 '404': *6 '304': *37 x-github: @@ -109435,11 +110010,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *292 + - *294 responses: '204': description: Response - '409': *96 + '409': *99 '304': *37 '404': *6 '403': *29 @@ -109468,7 +110043,7 @@ paths: application/json: schema: type: array - items: &771 + items: &773 title: Social account description: Social media account type: object @@ -109483,7 +110058,7 @@ paths: - provider - url examples: - default: &772 + default: &774 value: - provider: twitter url: https://twitter.com/github @@ -109545,9 +110120,9 @@ paths: application/json: schema: type: array - items: *771 + items: *773 examples: - default: *772 + default: *774 '422': *15 '304': *37 '404': *6 @@ -109634,7 +110209,7 @@ paths: application/json: schema: type: array - items: &773 + items: &775 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -109654,7 +110229,7 @@ paths: - title - created_at examples: - default: &785 + default: &787 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109720,9 +110295,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *775 examples: - default: &774 + default: &776 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109753,7 +110328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &775 + - &777 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -109765,9 +110340,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *775 examples: - default: *774 + default: *776 '404': *6 '304': *37 '403': *29 @@ -109790,7 +110365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *775 + - *777 responses: '204': description: Response @@ -109819,7 +110394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &786 + - &788 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -109832,7 +110407,7 @@ paths: - created - updated default: created - - *88 + - *91 - *17 - *19 responses: @@ -109844,11 +110419,11 @@ paths: type: array items: *64 examples: - default-response: *776 + default-response: *778 application/vnd.github.v3.star+json: schema: type: array - items: &787 + items: &789 title: Starred Repository description: Starred Repository type: object @@ -110004,8 +110579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response if this repository is starred by you @@ -110033,8 +110608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -110058,8 +110633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *383 - - *384 + - *385 + - *386 responses: '204': description: Response @@ -110092,9 +110667,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 '304': *37 @@ -110131,7 +110706,7 @@ paths: application/json: schema: type: array - items: *364 + items: *366 examples: default: value: @@ -110209,7 +110784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *163 + - *166 responses: '200': description: Response @@ -110217,10 +110792,10 @@ paths: application/json: schema: oneOf: - - *748 - - *747 + - *750 + - *749 examples: - default-response: &778 + default-response: &780 summary: Default response value: login: octocat @@ -110255,7 +110830,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &779 + response-with-git-hub-plan-information: &781 summary: Response with GitHub plan information value: login: octocat @@ -110315,7 +110890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *777 + - *779 - *17 responses: '200': @@ -110326,7 +110901,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: example: ; rel="next" @@ -110356,7 +110931,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *224 + - *226 responses: '200': description: Response @@ -110364,11 +110939,11 @@ paths: application/json: schema: oneOf: - - *748 - - *747 + - *750 + - *749 examples: - default-response: *778 - response-with-git-hub-plan-information: *779 + default-response: *780 + response-with-git-hub-plan-information: *781 '404': *6 x-github: githubCloudOnly: false @@ -110392,9 +110967,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *86 - - *87 - - *224 + - *89 + - *90 + - *226 requestBody: required: true content: @@ -110417,8 +110992,8 @@ paths: required: - subject_digests examples: - default: *780 - withPredicateType: *781 + default: *782 + withPredicateType: *783 responses: '200': description: Response @@ -110471,7 +111046,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *782 + default: *784 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110489,7 +111064,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *224 + - *226 requestBody: required: true content: @@ -110554,7 +111129,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *224 + - *226 - name: subject_digest description: Subject Digest in: path @@ -110585,7 +111160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *224 + - *226 - name: attestation_id description: Attestation ID in: path @@ -110621,9 +111196,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *86 - - *87 - - *224 + - *89 + - *90 + - *226 - name: subject_digest description: Subject Digest in: path @@ -110673,12 +111248,12 @@ paths: bundle_url: type: string examples: - default: *436 + default: *438 '201': description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -110704,7 +111279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *224 + - *226 responses: '200': description: Response @@ -110712,9 +111287,9 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: - default: *767 + default: *769 '403': *29 '401': *25 x-github: @@ -110737,7 +111312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -110747,7 +111322,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: value: @@ -110818,8 +111393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *224 - - *174 + - *226 + - *73 - *17 - *19 responses: @@ -110829,7 +111404,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: value: @@ -110908,7 +111483,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -110918,7 +111493,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: value: @@ -110985,7 +111560,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -110997,7 +111572,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 x-github: @@ -111016,7 +111591,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *224 + - *226 - *17 - *19 responses: @@ -111028,7 +111603,7 @@ paths: type: array items: *4 examples: - default: *298 + default: *300 headers: Link: *40 x-github: @@ -111047,7 +111622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *224 + - *226 - name: target_user in: path required: true @@ -111074,8 +111649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *224 - - *147 + - *226 + - *150 - *17 - *19 responses: @@ -111085,9 +111660,9 @@ paths: application/json: schema: type: array - items: *148 + items: *151 examples: - default: *149 + default: *152 headers: Link: *40 '422': *15 @@ -111108,7 +111683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -111118,9 +111693,9 @@ paths: application/json: schema: type: array - items: *756 + items: *758 examples: - default: *783 + default: *785 headers: Link: *40 x-github: @@ -111144,7 +111719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *224 + - *226 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -111216,7 +111791,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *224 + - *226 responses: '200': description: Response @@ -111224,7 +111799,7 @@ paths: application/json: schema: *22 examples: - default: *575 + default: *577 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111242,7 +111817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -111293,7 +111868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -111305,7 +111880,7 @@ paths: type: array items: *59 examples: - default: *765 + default: *767 headers: Link: *40 x-github: @@ -111344,8 +111919,8 @@ paths: - docker - nuget - container - - *766 - - *224 + - *768 + - *226 - *19 - *17 responses: @@ -111355,12 +111930,12 @@ paths: application/json: schema: type: array - items: *311 + items: *313 examples: - default: *767 + default: *769 '403': *29 '401': *25 - '400': *768 + '400': *770 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111380,17 +111955,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *313 - - *314 - - *224 + - *315 + - *316 + - *226 responses: '200': description: Response content: application/json: - schema: *311 + schema: *313 examples: - default: *784 + default: *786 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111411,9 +111986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *313 - - *314 - - *224 + - *315 + - *316 + - *226 responses: '204': description: Response @@ -111445,9 +112020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *313 - - *314 - - *224 + - *315 + - *316 + - *226 - name: token description: package token schema: @@ -111479,9 +112054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *313 - - *314 - - *224 + - *315 + - *316 + - *226 responses: '200': description: Response @@ -111489,7 +112064,7 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: default: value: @@ -111547,16 +112122,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *313 - - *314 + - *315 - *316 - - *224 + - *318 + - *226 responses: '200': description: Response content: application/json: - schema: *315 + schema: *317 examples: default: value: @@ -111591,10 +112166,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *313 - - *314 - - *224 + - *315 - *316 + - *226 + - *318 responses: '204': description: Response @@ -111626,10 +112201,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *313 - - *314 - - *224 + - *315 - *316 + - *226 + - *318 responses: '204': description: Response @@ -111655,7 +112230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *224 + - *226 - name: state description: Indicates the state of the projects to return. in: query @@ -111676,7 +112251,7 @@ paths: application/json: schema: type: array - items: *327 + items: *329 examples: default: value: @@ -111738,7 +112313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -111748,7 +112323,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: value: @@ -111827,7 +112402,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -111837,7 +112412,7 @@ paths: application/json: schema: type: array - items: *169 + items: *172 examples: default: value: @@ -111914,7 +112489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *224 + - *226 - name: type description: Limit results to repositories of the specified type. in: query @@ -111957,9 +112532,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 x-github: @@ -111983,15 +112558,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *224 + - *226 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112013,15 +112588,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *224 + - *226 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112043,15 +112618,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *224 + - *226 responses: '200': description: Response content: application/json: - schema: *358 + schema: *360 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112071,11 +112646,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *224 - - *177 - - *178 + - *226 - *179 - *180 + - *181 + - *182 responses: '200': description: Response when getting a billing usage report @@ -112145,8 +112720,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *85 - '503': *134 + '500': *88 + '503': *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112164,7 +112739,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -112174,9 +112749,9 @@ paths: application/json: schema: type: array - items: *771 + items: *773 examples: - default: *772 + default: *774 headers: Link: *40 x-github: @@ -112196,7 +112771,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -112206,9 +112781,9 @@ paths: application/json: schema: type: array - items: *773 + items: *775 examples: - default: *785 + default: *787 headers: Link: *40 x-github: @@ -112232,9 +112807,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *224 - - *786 - - *88 + - *226 + - *788 + - *91 - *17 - *19 responses: @@ -112245,11 +112820,11 @@ paths: schema: anyOf: - type: array - items: *787 + items: *789 - type: array items: *64 examples: - default-response: *776 + default-response: *778 headers: Link: *40 x-github: @@ -112268,7 +112843,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *224 + - *226 - *17 - *19 responses: @@ -112278,9 +112853,9 @@ paths: application/json: schema: type: array - items: *202 + items: *204 examples: - default: *317 + default: *319 headers: Link: *40 x-github: @@ -112408,7 +112983,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &788 + enterprise: &790 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -112466,7 +113041,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &789 + installation: &791 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -112485,7 +113060,7 @@ x-webhooks: required: - id - node_id - organization: &790 + organization: &792 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -112545,13 +113120,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &791 + repository: &793 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &828 + properties: &830 id: description: Unique identifier of the repository example: 42 @@ -112571,8 +113146,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *158 - required: *159 + properties: *161 + required: *162 nullable: true organization: title: Simple User @@ -113234,7 +113809,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &829 + required: &831 - archive_url - assignees_url - blobs_url @@ -113385,10 +113960,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -113464,11 +114039,11 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - rule: &792 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + rule: &794 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -113691,11 +114266,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - rule: *792 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + rule: *794 sender: *4 required: - action @@ -113878,11 +114453,11 @@ x-webhooks: - everyone required: - from - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - rule: *792 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + rule: *794 sender: *4 required: - action @@ -113953,7 +114528,7 @@ x-webhooks: required: true content: application/json: - schema: &795 + schema: &797 title: Exemption request cancellation event type: object properties: @@ -113961,11 +114536,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - exemption_request: &793 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + exemption_request: &795 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -114198,7 +114773,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &794 + items: &796 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -114306,7 +114881,7 @@ x-webhooks: required: true content: application/json: - schema: &796 + schema: &798 title: Exemption request completed event type: object properties: @@ -114314,11 +114889,11 @@ x-webhooks: type: string enum: - completed - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - exemption_request: *793 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + exemption_request: *795 sender: *4 required: - action @@ -114388,7 +114963,7 @@ x-webhooks: required: true content: application/json: - schema: &797 + schema: &799 title: Exemption request created event type: object properties: @@ -114396,11 +114971,11 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - exemption_request: *793 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + exemption_request: *795 sender: *4 required: - action @@ -114470,7 +115045,7 @@ x-webhooks: required: true content: application/json: - schema: &798 + schema: &800 title: Exemption response dismissed event type: object properties: @@ -114478,12 +115053,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - exemption_request: *793 - exemption_response: *794 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + exemption_request: *795 + exemption_response: *796 sender: *4 required: - action @@ -114555,7 +115130,7 @@ x-webhooks: required: true content: application/json: - schema: &799 + schema: &801 title: Exemption response submitted event type: object properties: @@ -114563,12 +115138,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - exemption_request: *793 - exemption_response: *794 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + exemption_request: *795 + exemption_response: *796 sender: *4 required: - action @@ -114641,7 +115216,7 @@ x-webhooks: required: true content: application/json: - schema: *795 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114708,7 +115283,7 @@ x-webhooks: required: true content: application/json: - schema: *796 + schema: *798 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114775,7 +115350,7 @@ x-webhooks: required: true content: application/json: - schema: *797 + schema: *799 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114842,7 +115417,7 @@ x-webhooks: required: true content: application/json: - schema: *798 + schema: *800 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114910,7 +115485,7 @@ x-webhooks: required: true content: application/json: - schema: *799 + schema: *801 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114988,7 +115563,7 @@ x-webhooks: type: string enum: - completed - check_run: &801 + check_run: &803 title: CheckRun description: A check performed on the code of a given code change type: object @@ -115041,8 +115616,8 @@ x-webhooks: type: string pull_requests: type: array - items: *455 - repository: *202 + items: *457 + repository: *204 status: example: completed type: string @@ -115079,7 +115654,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *800 + deployment: *802 details_url: example: https://example.com type: string @@ -115129,7 +115704,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *455 + items: *457 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -115164,9 +115739,9 @@ x-webhooks: - output - app - pull_requests - installation: *789 - organization: *790 - repository: *791 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - check_run @@ -115559,10 +116134,10 @@ x-webhooks: type: string enum: - created - check_run: *801 - installation: *789 - organization: *790 - repository: *791 + check_run: *803 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - check_run @@ -115958,10 +116533,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *801 - installation: *789 - organization: *790 - repository: *791 + check_run: *803 + installation: *791 + organization: *792 + repository: *793 requested_action: description: The action requested by the user. type: object @@ -116366,10 +116941,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *801 - installation: *789 - organization: *790 - repository: *791 + check_run: *803 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - check_run @@ -117346,10 +117921,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -118019,10 +118594,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -118686,10 +119261,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -118852,7 +119427,7 @@ x-webhooks: required: - login - id - dismissed_comment: *468 + dismissed_comment: *470 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -118997,20 +119572,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &802 + commit_oid: &804 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *788 - installation: *789 - organization: *790 - ref: &803 + enterprise: *790 + installation: *791 + organization: *792 + ref: &805 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *791 + repository: *793 sender: *4 required: - action @@ -119172,7 +119747,7 @@ x-webhooks: required: - login - id - dismissed_comment: *468 + dismissed_comment: *470 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -119402,12 +119977,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *802 - enterprise: *788 - installation: *789 - organization: *790 - ref: *803 - repository: *791 + commit_oid: *804 + enterprise: *790 + installation: *791 + organization: *792 + ref: *805 + repository: *793 sender: *4 required: - action @@ -119502,7 +120077,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *468 + dismissed_comment: *470 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119670,12 +120245,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *802 - enterprise: *788 - installation: *789 - organization: *790 - ref: *803 - repository: *791 + commit_oid: *804 + enterprise: *790 + installation: *791 + organization: *792 + ref: *805 + repository: *793 sender: *4 required: - action @@ -119838,7 +120413,7 @@ x-webhooks: required: - login - id - dismissed_comment: *468 + dismissed_comment: *470 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -120004,12 +120579,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *802 - enterprise: *788 - installation: *789 - organization: *790 - ref: *803 - repository: *791 + commit_oid: *804 + enterprise: *790 + installation: *791 + organization: *792 + ref: *805 + repository: *793 sender: *4 required: - action @@ -120106,7 +120681,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *468 + dismissed_comment: *470 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120274,16 +120849,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *791 + repository: *793 sender: *4 required: - action @@ -120377,7 +120952,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *468 + dismissed_comment: *470 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120517,12 +121092,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *802 - enterprise: *788 - installation: *789 - organization: *790 - ref: *803 - repository: *791 + commit_oid: *804 + enterprise: *790 + installation: *791 + organization: *792 + ref: *805 + repository: *793 sender: *4 required: - action @@ -120779,10 +121354,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -120862,18 +121437,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *790 - pusher_type: &804 + organization: *792 + pusher_type: &806 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &805 + ref: &807 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -120883,7 +121458,7 @@ x-webhooks: enum: - tag - branch - repository: *791 + repository: *793 sender: *4 required: - ref @@ -120965,10 +121540,10 @@ x-webhooks: type: string enum: - created - definition: *116 - enterprise: *788 - installation: *789 - organization: *790 + definition: *119 + enterprise: *790 + installation: *791 + organization: *792 sender: *4 required: - action @@ -121053,9 +121628,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 sender: *4 required: - action @@ -121132,10 +121707,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *116 - enterprise: *788 - installation: *789 - organization: *790 + definition: *119 + enterprise: *790 + installation: *791 + organization: *792 sender: *4 required: - action @@ -121212,10 +121787,10 @@ x-webhooks: type: string enum: - updated - definition: *116 - enterprise: *788 - installation: *789 - organization: *790 + definition: *119 + enterprise: *790 + installation: *791 + organization: *792 sender: *4 required: - action @@ -121292,19 +121867,19 @@ x-webhooks: type: string enum: - updated - enterprise: *788 - installation: *789 - repository: *791 - organization: *790 + enterprise: *790 + installation: *791 + repository: *793 + organization: *792 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *329 + items: *331 old_property_values: type: array description: The old custom property values for the repository. - items: *329 + items: *331 required: - action - repository @@ -121380,18 +121955,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *788 - installation: *789 - organization: *790 - pusher_type: *804 - ref: *805 + enterprise: *790 + installation: *791 + organization: *792 + pusher_type: *806 + ref: *807 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *791 + repository: *793 sender: *4 required: - ref @@ -121475,11 +122050,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -121563,11 +122138,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -121651,11 +122226,11 @@ x-webhooks: type: string enum: - created - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -121737,11 +122312,11 @@ x-webhooks: type: string enum: - dismissed - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -121823,11 +122398,11 @@ x-webhooks: type: string enum: - fixed - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -121910,11 +122485,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -121996,11 +122571,11 @@ x-webhooks: type: string enum: - reopened - alert: *525 - installation: *789 - organization: *790 - enterprise: *788 - repository: *791 + alert: *527 + installation: *791 + organization: *792 + enterprise: *790 + repository: *793 sender: *4 required: - action @@ -122077,9 +122652,9 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - key: &806 + enterprise: *790 + installation: *791 + key: &808 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -122115,8 +122690,8 @@ x-webhooks: - verified - created_at - read_only - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -122193,11 +122768,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - key: *806 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + key: *808 + organization: *792 + repository: *793 sender: *4 required: - action @@ -122758,12 +123333,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - workflow: &810 + workflow: &812 title: Workflow type: object nullable: true @@ -123489,13 +124064,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *531 + deployment: *533 pull_requests: type: array - items: *625 - repository: *791 - organization: *790 - installation: *789 + items: *627 + repository: *793 + organization: *792 + installation: *791 sender: *4 responses: '200': @@ -123566,7 +124141,7 @@ x-webhooks: type: string enum: - approved - approver: &807 + approver: &809 type: object properties: avatar_url: @@ -123609,11 +124184,11 @@ x-webhooks: type: string comment: type: string - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - reviewers: &808 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + reviewers: &810 type: array items: type: object @@ -123692,7 +124267,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &809 + workflow_job_run: &811 type: object properties: conclusion: @@ -124423,18 +124998,18 @@ x-webhooks: type: string enum: - rejected - approver: *807 + approver: *809 comment: type: string - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - reviewers: *808 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + reviewers: *810 sender: *4 since: type: string - workflow_job_run: *809 + workflow_job_run: *811 workflow_job_runs: type: array items: @@ -125138,13 +125713,13 @@ x-webhooks: type: string enum: - requested - enterprise: *788 + enterprise: *790 environment: type: string - installation: *789 - organization: *790 - repository: *791 - requestor: &815 + installation: *791 + organization: *792 + repository: *793 + requestor: &817 title: User type: object nullable: true @@ -127043,12 +127618,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - workflow: *810 + workflow: *812 workflow_run: title: Deployment Workflow Run type: object @@ -127728,7 +128303,7 @@ x-webhooks: type: string enum: - answered - answer: &813 + answer: &815 type: object properties: author_association: @@ -127885,7 +128460,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &811 + discussion: &813 title: Discussion description: A Discussion in a repository. type: object @@ -128171,7 +128746,7 @@ x-webhooks: - id labels: type: array - items: *587 + items: *589 required: - repository_url - category @@ -128193,10 +128768,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -128323,11 +128898,11 @@ x-webhooks: - from required: - category - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -128410,11 +128985,11 @@ x-webhooks: type: string enum: - closed - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -128496,7 +129071,7 @@ x-webhooks: type: string enum: - created - comment: &812 + comment: &814 type: object properties: author_association: @@ -128653,11 +129228,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -128740,12 +129315,12 @@ x-webhooks: type: string enum: - deleted - comment: *812 - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + comment: *814 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -128840,12 +129415,12 @@ x-webhooks: - from required: - body - comment: *812 - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + comment: *814 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -128929,11 +129504,11 @@ x-webhooks: type: string enum: - created - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129015,11 +129590,11 @@ x-webhooks: type: string enum: - deleted - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129119,11 +129694,11 @@ x-webhooks: type: string required: - from - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129205,10 +129780,10 @@ x-webhooks: type: string enum: - labeled - discussion: *811 - enterprise: *788 - installation: *789 - label: &814 + discussion: *813 + enterprise: *790 + installation: *791 + label: &816 title: Label type: object properties: @@ -129240,8 +129815,8 @@ x-webhooks: - color - default - description - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129324,11 +129899,11 @@ x-webhooks: type: string enum: - locked - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129410,11 +129985,11 @@ x-webhooks: type: string enum: - pinned - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129496,11 +130071,11 @@ x-webhooks: type: string enum: - reopened - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129585,16 +130160,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *811 - new_repository: *791 + new_discussion: *813 + new_repository: *793 required: - new_discussion - new_repository - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129677,10 +130252,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *811 - old_answer: *813 - organization: *790 - repository: *791 + discussion: *813 + old_answer: *815 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129762,12 +130337,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *811 - enterprise: *788 - installation: *789 - label: *814 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129850,11 +130425,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -129936,11 +130511,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *811 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + discussion: *813 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -130009,7 +130584,7 @@ x-webhooks: required: true content: application/json: - schema: *797 + schema: *799 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130072,7 +130647,7 @@ x-webhooks: required: true content: application/json: - schema: *799 + schema: *801 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130138,7 +130713,7 @@ x-webhooks: required: true content: application/json: - schema: *795 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130204,7 +130779,7 @@ x-webhooks: required: true content: application/json: - schema: *796 + schema: *798 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130270,7 +130845,7 @@ x-webhooks: required: true content: application/json: - schema: *797 + schema: *799 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130336,7 +130911,7 @@ x-webhooks: required: true content: application/json: - schema: *798 + schema: *800 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130402,7 +130977,7 @@ x-webhooks: required: true content: application/json: - schema: *799 + schema: *801 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130469,7 +131044,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *788 + enterprise: *790 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -131129,9 +131704,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *789 - organization: *790 - repository: *791 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - forkee @@ -131277,9 +131852,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pages: description: The pages that were updated. type: array @@ -131316,7 +131891,7 @@ x-webhooks: - action - sha - html_url - repository: *791 + repository: *793 sender: *4 required: - pages @@ -131392,10 +131967,10 @@ x-webhooks: type: string enum: - created - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories: &816 + organization: *792 + repositories: &818 description: An array of repository objects that the installation can access. type: array @@ -131421,8 +131996,8 @@ x-webhooks: - name - full_name - private - repository: *791 - requester: *815 + repository: *793 + requester: *817 sender: *4 required: - action @@ -131497,11 +132072,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories: *816 - repository: *791 + organization: *792 + repositories: *818 + repository: *793 requester: nullable: true sender: *4 @@ -131577,11 +132152,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories: *816 - repository: *791 + organization: *792 + repositories: *818 + repository: *793 requester: nullable: true sender: *4 @@ -131657,10 +132232,10 @@ x-webhooks: type: string enum: - added - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories_added: &817 + organization: *792 + repositories_added: &819 description: An array of repository objects, which were added to the installation. type: array @@ -131706,15 +132281,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *791 - repository_selection: &818 + repository: *793 + repository_selection: &820 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *815 + requester: *817 sender: *4 required: - action @@ -131793,10 +132368,10 @@ x-webhooks: type: string enum: - removed - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories_added: *817 + organization: *792 + repositories_added: *819 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -131823,9 +132398,9 @@ x-webhooks: - name - full_name - private - repository: *791 - repository_selection: *818 - requester: *815 + repository: *793 + repository_selection: *820 + requester: *817 sender: *4 required: - action @@ -131904,11 +132479,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories: *816 - repository: *791 + organization: *792 + repositories: *818 + repository: *793 requester: nullable: true sender: *4 @@ -132087,10 +132662,10 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 target_type: type: string @@ -132169,11 +132744,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *788 + enterprise: *790 installation: *22 - organization: *790 - repositories: *816 - repository: *791 + organization: *792 + repositories: *818 + repository: *793 requester: nullable: true sender: *4 @@ -132297,8 +132872,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *142 - required: *143 + properties: *145 + required: *146 reactions: title: Reactions type: object @@ -132425,8 +133000,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133249,7 +133824,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -133582,8 +134157,8 @@ x-webhooks: - state - locked - assignee - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -133663,7 +134238,7 @@ x-webhooks: type: string enum: - deleted - comment: &819 + comment: &821 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -133828,8 +134403,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134648,7 +135223,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -134983,8 +135558,8 @@ x-webhooks: - state - locked - assignee - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -135064,7 +135639,7 @@ x-webhooks: type: string enum: - edited - changes: &847 + changes: &849 description: The changes to the comment. type: object properties: @@ -135076,9 +135651,9 @@ x-webhooks: type: string required: - from - comment: *819 - enterprise: *788 - installation: *789 + comment: *821 + enterprise: *790 + installation: *791 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135900,7 +136475,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -136233,8 +136808,8 @@ x-webhooks: - state - locked - assignee - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -136316,10 +136891,10 @@ x-webhooks: type: string enum: - assigned - assignee: *815 - enterprise: *788 - installation: *789 - issue: &822 + assignee: *817 + enterprise: *790 + installation: *791 + issue: &824 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -137137,7 +137712,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -137238,8 +137813,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -137319,8 +137894,8 @@ x-webhooks: type: string enum: - closed - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138143,7 +138718,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -138379,8 +138954,8 @@ x-webhooks: required: - state - closed_at - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -138459,8 +139034,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139274,7 +139849,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -139374,8 +139949,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -139454,8 +140029,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140291,7 +140866,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -140370,7 +140945,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &820 + milestone: &822 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140508,8 +141083,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -140608,8 +141183,8 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141424,7 +141999,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *293 + type: *295 title: description: Title of the issue type: string @@ -141528,9 +142103,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *814 - organization: *790 - repository: *791 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -141610,8 +142185,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142425,7 +143000,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *293 + type: *295 title: description: Title of the issue type: string @@ -142529,9 +143104,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *814 - organization: *790 - repository: *791 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -142611,8 +143186,8 @@ x-webhooks: type: string enum: - locked - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143450,7 +144025,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *293 + type: *295 title: description: Title of the issue type: string @@ -143531,8 +144106,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -143611,8 +144186,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144447,7 +145022,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -144525,9 +145100,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *820 - organization: *790 - repository: *791 + milestone: *822 + organization: *792 + repository: *793 sender: *4 required: - action @@ -145501,7 +146076,7 @@ x-webhooks: required: - login - id - type: *293 + type: *295 required: - id - number @@ -145970,8 +146545,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146789,7 +147364,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -146889,8 +147464,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -146970,9 +147545,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *788 - installation: *789 - issue: &821 + enterprise: *790 + installation: *791 + issue: &823 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147784,7 +148359,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -147884,8 +148459,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -147964,8 +148539,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148882,9 +149457,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *293 - organization: *790 - repository: *791 + type: *295 + organization: *792 + repository: *793 sender: *4 required: - action @@ -149779,7 +150354,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -150347,11 +150922,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *788 - installation: *789 - issue: *821 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + issue: *823 + organization: *792 + repository: *793 sender: *4 required: - action @@ -150431,12 +151006,12 @@ x-webhooks: type: string enum: - typed - enterprise: *788 - installation: *789 - issue: *822 - type: *293 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + issue: *824 + type: *295 + organization: *792 + repository: *793 sender: *4 required: - action @@ -150517,7 +151092,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &850 + assignee: &852 title: User type: object nullable: true @@ -150587,11 +151162,11 @@ x-webhooks: required: - login - id - enterprise: *788 - installation: *789 - issue: *822 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + issue: *824 + organization: *792 + repository: *793 sender: *4 required: - action @@ -150670,12 +151245,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *788 - installation: *789 - issue: *822 - label: *814 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + issue: *824 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -150755,8 +151330,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151595,7 +152170,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *293 + type: *295 updated_at: type: string format: date-time @@ -151673,8 +152248,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -151754,11 +152329,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *788 - installation: *789 - issue: *821 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + issue: *823 + organization: *792 + repository: *793 sender: *4 required: - action @@ -151837,12 +152412,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *788 - installation: *789 - issue: *822 - type: *293 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + issue: *824 + type: *295 + organization: *792 + repository: *793 sender: *4 required: - action @@ -151922,11 +152497,11 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - label: *814 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -152004,11 +152579,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - label: *814 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -152118,11 +152693,11 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - label: *814 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + label: *816 + organization: *792 + repository: *793 sender: *4 required: - action @@ -152204,9 +152779,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *788 - installation: *789 - marketplace_purchase: &823 + enterprise: *790 + installation: *791 + marketplace_purchase: &825 title: Marketplace Purchase type: object required: @@ -152289,8 +152864,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *790 - previous_marketplace_purchase: &824 + organization: *792 + previous_marketplace_purchase: &826 title: Marketplace Purchase type: object properties: @@ -152370,7 +152945,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *791 + repository: *793 sender: *4 required: - action @@ -152450,10 +153025,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *788 - installation: *789 - marketplace_purchase: *823 - organization: *790 + enterprise: *790 + installation: *791 + marketplace_purchase: *825 + organization: *792 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152536,7 +153111,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *791 + repository: *793 sender: *4 required: - action @@ -152618,10 +153193,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *788 - installation: *789 - marketplace_purchase: *823 - organization: *790 + enterprise: *790 + installation: *791 + marketplace_purchase: *825 + organization: *792 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152703,7 +153278,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *791 + repository: *793 sender: *4 required: - action @@ -152784,8 +153359,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 marketplace_purchase: title: Marketplace Purchase type: object @@ -152867,9 +153442,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *790 - previous_marketplace_purchase: *824 - repository: *791 + organization: *792 + previous_marketplace_purchase: *826 + repository: *793 sender: *4 required: - action @@ -152949,12 +153524,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *788 - installation: *789 - marketplace_purchase: *823 - organization: *790 - previous_marketplace_purchase: *824 - repository: *791 + enterprise: *790 + installation: *791 + marketplace_purchase: *825 + organization: *792 + previous_marketplace_purchase: *826 + repository: *793 sender: *4 required: - action @@ -153056,11 +153631,11 @@ x-webhooks: type: string required: - to - enterprise: *788 - installation: *789 - member: *815 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + member: *817 + organization: *792 + repository: *793 sender: *4 required: - action @@ -153160,11 +153735,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *788 - installation: *789 - member: *815 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + member: *817 + organization: *792 + repository: *793 sender: *4 required: - action @@ -153243,11 +153818,11 @@ x-webhooks: type: string enum: - removed - enterprise: *788 - installation: *789 - member: *815 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + member: *817 + organization: *792 + repository: *793 sender: *4 required: - action @@ -153325,11 +153900,11 @@ x-webhooks: type: string enum: - added - enterprise: *788 - installation: *789 - member: *815 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + member: *817 + organization: *792 + repository: *793 scope: description: The scope of the membership. Currently, can only be `team`. @@ -153405,7 +153980,7 @@ x-webhooks: required: - login - id - team: &825 + team: &827 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -153595,11 +154170,11 @@ x-webhooks: type: string enum: - removed - enterprise: *788 - installation: *789 - member: *815 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + member: *817 + organization: *792 + repository: *793 scope: description: The scope of the membership. Currently, can only be `team`. @@ -153676,7 +154251,7 @@ x-webhooks: required: - login - id - team: *825 + team: *827 required: - action - scope @@ -153758,8 +154333,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *789 - merge_group: &827 + installation: *791 + merge_group: &829 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -153778,15 +154353,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *826 + head_commit: *828 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -153872,10 +154447,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *789 - merge_group: *827 - organization: *790 - repository: *791 + installation: *791 + merge_group: *829 + organization: *792 + repository: *793 sender: *4 required: - action @@ -153948,7 +154523,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 + enterprise: *790 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -154057,16 +154632,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *789 - organization: *790 + installation: *791 + organization: *792 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *828 - required: *829 + properties: *830 + required: *831 nullable: true sender: *4 required: @@ -154147,11 +154722,11 @@ x-webhooks: type: string enum: - closed - enterprise: *788 - installation: *789 - milestone: *820 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + milestone: *822 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154230,9 +154805,9 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - milestone: &830 + enterprise: *790 + installation: *791 + milestone: &832 title: Milestone description: A collection of related issues and pull requests. type: object @@ -154369,8 +154944,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154449,11 +155024,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - milestone: *820 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + milestone: *822 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154563,11 +155138,11 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - milestone: *820 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + milestone: *822 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154647,11 +155222,11 @@ x-webhooks: type: string enum: - opened - enterprise: *788 - installation: *789 - milestone: *830 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + milestone: *832 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154730,11 +155305,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *815 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + blocked_user: *817 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154813,11 +155388,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *815 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + blocked_user: *817 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -154896,9 +155471,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - membership: &831 + enterprise: *790 + installation: *791 + membership: &833 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -154990,8 +155565,8 @@ x-webhooks: - role - organization_url - user - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -155069,11 +155644,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *788 - installation: *789 - membership: *831 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + membership: *833 + organization: *792 + repository: *793 sender: *4 required: - action @@ -155152,8 +155727,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -155269,10 +155844,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 - user: *815 + user: *817 required: - action - invitation @@ -155350,11 +155925,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *788 - installation: *789 - membership: *831 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + membership: *833 + organization: *792 + repository: *793 sender: *4 required: - action @@ -155441,11 +156016,11 @@ x-webhooks: properties: from: type: string - enterprise: *788 - installation: *789 - membership: *831 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + membership: *833 + organization: *792 + repository: *793 sender: *4 required: - action @@ -155521,9 +156096,9 @@ x-webhooks: type: string enum: - published - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 package: description: Information about the package. type: object @@ -156022,7 +156597,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &832 + items: &834 title: Ruby Gems metadata type: object properties: @@ -156117,7 +156692,7 @@ x-webhooks: - owner - package_version - registry - repository: *791 + repository: *793 sender: *4 required: - action @@ -156193,9 +156768,9 @@ x-webhooks: type: string enum: - updated - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 package: description: Information about the package. type: object @@ -156548,7 +157123,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *832 + items: *834 source_url: type: string format: uri @@ -156618,7 +157193,7 @@ x-webhooks: - owner - package_version - registry - repository: *791 + repository: *793 sender: *4 required: - action @@ -156795,12 +157370,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *788 + enterprise: *790 id: type: integer - installation: *789 - organization: *790 - repository: *791 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - id @@ -156877,7 +157452,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &833 + personal_access_token_request: &835 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -157023,10 +157598,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *788 - organization: *790 + enterprise: *790 + organization: *792 sender: *4 - installation: *789 + installation: *791 required: - action - personal_access_token_request @@ -157103,11 +157678,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *833 - enterprise: *788 - organization: *790 + personal_access_token_request: *835 + enterprise: *790 + organization: *792 sender: *4 - installation: *789 + installation: *791 required: - action - personal_access_token_request @@ -157183,11 +157758,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *833 - enterprise: *788 - organization: *790 + personal_access_token_request: *835 + enterprise: *790 + organization: *792 sender: *4 - installation: *789 + installation: *791 required: - action - personal_access_token_request @@ -157262,11 +157837,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *833 - organization: *790 - enterprise: *788 + personal_access_token_request: *835 + organization: *792 + enterprise: *790 sender: *4 - installation: *789 + installation: *791 required: - action - personal_access_token_request @@ -157371,7 +157946,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *834 + last_response: *836 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -157403,8 +157978,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 zen: description: Random string of GitHub zen. @@ -157649,10 +158224,10 @@ x-webhooks: - from required: - note - enterprise: *788 - installation: *789 - organization: *790 - project_card: &835 + enterprise: *790 + installation: *791 + organization: *792 + project_card: &837 title: Project Card type: object properties: @@ -157771,7 +158346,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *791 + repository: *793 sender: *4 required: - action @@ -157852,11 +158427,11 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - project_card: *835 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project_card: *837 + repository: *793 sender: *4 required: - action @@ -157936,9 +158511,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 project_card: title: Project Card type: object @@ -158066,8 +158641,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *828 - required: *829 + properties: *830 + required: *831 nullable: true sender: *4 required: @@ -158161,11 +158736,11 @@ x-webhooks: - from required: - note - enterprise: *788 - installation: *789 - organization: *790 - project_card: *835 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project_card: *837 + repository: *793 sender: *4 required: - action @@ -158259,9 +158834,9 @@ x-webhooks: - from required: - column_id - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 project_card: allOf: - title: Project Card @@ -158451,7 +159026,7 @@ x-webhooks: type: string required: - after_id - repository: *791 + repository: *793 sender: *4 required: - action @@ -158531,10 +159106,10 @@ x-webhooks: type: string enum: - closed - enterprise: *788 - installation: *789 - organization: *790 - project: &837 + enterprise: *790 + installation: *791 + organization: *792 + project: &839 title: Project type: object properties: @@ -158658,7 +159233,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *791 + repository: *793 sender: *4 required: - action @@ -158738,10 +159313,10 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - project_column: &836 + enterprise: *790 + installation: *791 + organization: *792 + project_column: &838 title: Project Column type: object properties: @@ -158780,7 +159355,7 @@ x-webhooks: - name - created_at - updated_at - repository: *791 + repository: *793 sender: *4 required: - action @@ -158859,18 +159434,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - project_column: *836 + enterprise: *790 + installation: *791 + organization: *792 + project_column: *838 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *828 - required: *829 + properties: *830 + required: *831 nullable: true sender: *4 required: @@ -158960,11 +159535,11 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - organization: *790 - project_column: *836 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project_column: *838 + repository: *793 sender: *4 required: - action @@ -159044,11 +159619,11 @@ x-webhooks: type: string enum: - moved - enterprise: *788 - installation: *789 - organization: *790 - project_column: *836 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project_column: *838 + repository: *793 sender: *4 required: - action @@ -159128,11 +159703,11 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - project: *837 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project: *839 + repository: *793 sender: *4 required: - action @@ -159212,18 +159787,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - project: *837 + enterprise: *790 + installation: *791 + organization: *792 + project: *839 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *828 - required: *829 + properties: *830 + required: *831 nullable: true sender: *4 required: @@ -159325,11 +159900,11 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - organization: *790 - project: *837 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project: *839 + repository: *793 sender: *4 required: - action @@ -159408,11 +159983,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *788 - installation: *789 - organization: *790 - project: *837 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + project: *839 + repository: *793 sender: *4 required: - action @@ -159493,9 +160068,9 @@ x-webhooks: type: string enum: - closed - installation: *789 - organization: *790 - projects_v2: &838 + installation: *791 + organization: *792 + projects_v2: &840 title: Projects v2 Project description: A projects v2 project type: object @@ -159638,9 +160213,9 @@ x-webhooks: type: string enum: - created - installation: *789 - organization: *790 - projects_v2: *838 + installation: *791 + organization: *792 + projects_v2: *840 sender: *4 required: - action @@ -159721,9 +160296,9 @@ x-webhooks: type: string enum: - deleted - installation: *789 - organization: *790 - projects_v2: *838 + installation: *791 + organization: *792 + projects_v2: *840 sender: *4 required: - action @@ -159840,9 +160415,9 @@ x-webhooks: type: string to: type: string - installation: *789 - organization: *790 - projects_v2: *838 + installation: *791 + organization: *792 + projects_v2: *840 sender: *4 required: - action @@ -159925,7 +160500,7 @@ x-webhooks: type: string enum: - archived - changes: &842 + changes: &844 type: object properties: archived_at: @@ -159939,9 +160514,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *789 - organization: *790 - projects_v2_item: &839 + installation: *791 + organization: *792 + projects_v2_item: &841 title: Projects v2 Item description: An item belonging to a project type: object @@ -160075,9 +160650,9 @@ x-webhooks: nullable: true to: type: string - installation: *789 - organization: *790 - projects_v2_item: *839 + installation: *791 + organization: *792 + projects_v2_item: *841 sender: *4 required: - action @@ -160159,9 +160734,9 @@ x-webhooks: type: string enum: - created - installation: *789 - organization: *790 - projects_v2_item: *839 + installation: *791 + organization: *792 + projects_v2_item: *841 sender: *4 required: - action @@ -160242,9 +160817,9 @@ x-webhooks: type: string enum: - deleted - installation: *789 - organization: *790 - projects_v2_item: *839 + installation: *791 + organization: *792 + projects_v2_item: *841 sender: *4 required: - action @@ -160350,7 +160925,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &840 + - &842 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -160368,7 +160943,7 @@ x-webhooks: required: - id - name - - &841 + - &843 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -160391,8 +160966,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *840 - - *841 + - *842 + - *843 required: - field_value - type: object @@ -160408,9 +160983,9 @@ x-webhooks: nullable: true required: - body - installation: *789 - organization: *790 - projects_v2_item: *839 + installation: *791 + organization: *792 + projects_v2_item: *841 sender: *4 required: - action @@ -160505,9 +161080,9 @@ x-webhooks: to: type: string nullable: true - installation: *789 - organization: *790 - projects_v2_item: *839 + installation: *791 + organization: *792 + projects_v2_item: *841 sender: *4 required: - action @@ -160590,10 +161165,10 @@ x-webhooks: type: string enum: - restored - changes: *842 - installation: *789 - organization: *790 - projects_v2_item: *839 + changes: *844 + installation: *791 + organization: *792 + projects_v2_item: *841 sender: *4 required: - action @@ -160675,9 +161250,9 @@ x-webhooks: type: string enum: - reopened - installation: *789 - organization: *790 - projects_v2: *838 + installation: *791 + organization: *792 + projects_v2: *840 sender: *4 required: - action @@ -160758,9 +161333,9 @@ x-webhooks: type: string enum: - created - installation: *789 - organization: *790 - projects_v2_status_update: &843 + installation: *791 + organization: *792 + projects_v2_status_update: &845 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -160887,9 +161462,9 @@ x-webhooks: type: string enum: - deleted - installation: *789 - organization: *790 - projects_v2_status_update: *843 + installation: *791 + organization: *792 + projects_v2_status_update: *845 sender: *4 required: - action @@ -161025,9 +161600,9 @@ x-webhooks: type: string format: date nullable: true - installation: *789 - organization: *790 - projects_v2_status_update: *843 + installation: *791 + organization: *792 + projects_v2_status_update: *845 sender: *4 required: - action @@ -161098,10 +161673,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - repository @@ -161178,13 +161753,13 @@ x-webhooks: type: string enum: - assigned - assignee: *815 - enterprise: *788 - installation: *789 - number: &844 + assignee: *817 + enterprise: *790 + installation: *791 + number: &846 description: The pull request number. type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -163467,7 +164042,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -163549,11 +164124,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -165831,7 +166406,7 @@ x-webhooks: - draft reason: type: string - repository: *791 + repository: *793 sender: *4 required: - action @@ -165913,11 +166488,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -168195,7 +168770,7 @@ x-webhooks: - draft reason: type: string - repository: *791 + repository: *793 sender: *4 required: - action @@ -168277,13 +168852,13 @@ x-webhooks: type: string enum: - closed - enterprise: *788 - installation: *789 - number: *844 - organization: *790 - pull_request: &845 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 + pull_request: &847 allOf: - - *625 + - *627 - type: object properties: allow_auto_merge: @@ -168345,7 +168920,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *791 + repository: *793 sender: *4 required: - action @@ -168426,12 +169001,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *788 - installation: *789 - number: *844 - organization: *790 - pull_request: *845 - repository: *791 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 + pull_request: *847 + repository: *793 sender: *4 required: - action @@ -168511,11 +169086,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *788 - milestone: *608 - number: *844 - organization: *790 - pull_request: &846 + enterprise: *790 + milestone: *610 + number: *846 + organization: *792 + pull_request: &848 title: Pull Request type: object properties: @@ -170778,7 +171353,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -170857,11 +171432,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -173143,7 +173718,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *791 + repository: *793 sender: *4 required: - action @@ -173267,12 +173842,12 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - number: *844 - organization: *790 - pull_request: *845 - repository: *791 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 + pull_request: *847 + repository: *793 sender: *4 required: - action @@ -173352,11 +173927,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -175623,7 +176198,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -175703,11 +176278,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *788 - installation: *789 - label: *814 - number: *844 - organization: *790 + enterprise: *790 + installation: *791 + label: *816 + number: *846 + organization: *792 pull_request: title: Pull Request type: object @@ -177989,7 +178564,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -178070,10 +178645,10 @@ x-webhooks: type: string enum: - locked - enterprise: *788 - installation: *789 - number: *844 - organization: *790 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 pull_request: title: Pull Request type: object @@ -180353,7 +180928,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -180433,12 +181008,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *788 - milestone: *608 - number: *844 - organization: *790 - pull_request: *846 - repository: *791 + enterprise: *790 + milestone: *610 + number: *846 + organization: *792 + pull_request: *848 + repository: *793 sender: *4 required: - action @@ -180517,12 +181092,12 @@ x-webhooks: type: string enum: - opened - enterprise: *788 - installation: *789 - number: *844 - organization: *790 - pull_request: *845 - repository: *791 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 + pull_request: *847 + repository: *793 sender: *4 required: - action @@ -180603,12 +181178,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *788 - installation: *789 - number: *844 - organization: *790 - pull_request: *845 - repository: *791 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 + pull_request: *847 + repository: *793 sender: *4 required: - action @@ -180688,12 +181263,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *788 - installation: *789 - number: *844 - organization: *790 - pull_request: *845 - repository: *791 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 + pull_request: *847 + repository: *793 sender: *4 required: - action @@ -181059,9 +181634,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: type: object properties: @@ -183231,7 +183806,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *791 + repository: *793 sender: *4 required: - action @@ -183311,7 +183886,7 @@ x-webhooks: type: string enum: - deleted - comment: &848 + comment: &850 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -183596,9 +184171,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: type: object properties: @@ -185756,7 +186331,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *791 + repository: *793 sender: *4 required: - action @@ -185836,11 +186411,11 @@ x-webhooks: type: string enum: - edited - changes: *847 - comment: *848 - enterprise: *788 - installation: *789 - organization: *790 + changes: *849 + comment: *850 + enterprise: *790 + installation: *791 + organization: *792 pull_request: type: object properties: @@ -188001,7 +188576,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *791 + repository: *793 sender: *4 required: - action @@ -188082,9 +188657,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: title: Simple Pull Request type: object @@ -190257,7 +190832,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *791 + repository: *793 review: description: The review that was affected. type: object @@ -190500,9 +191075,9 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: title: Simple Pull Request type: object @@ -192556,8 +193131,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *791 - review: &849 + repository: *793 + review: &851 description: The review that was affected. type: object properties: @@ -192786,12 +193361,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: description: The pull request number. type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -195074,7 +195649,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 requested_reviewer: title: User type: object @@ -195158,12 +195733,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: description: The pull request number. type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -197453,7 +198028,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197645,12 +198220,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: description: The pull request number. type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -199935,7 +200510,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 requested_reviewer: title: User type: object @@ -200020,12 +200595,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *788 - installation: *789 + enterprise: *790 + installation: *791 number: description: The pull request number. type: integer - organization: *790 + organization: *792 pull_request: title: Pull Request type: object @@ -202301,7 +202876,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 requested_team: title: Team description: Groups of organization members that gives permissions @@ -202482,9 +203057,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: title: Simple Pull Request type: object @@ -204659,8 +205234,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *791 - review: *849 + repository: *793 + review: *851 sender: *4 required: - action @@ -204740,9 +205315,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: title: Simple Pull Request type: object @@ -206812,7 +207387,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *791 + repository: *793 sender: *4 thread: type: object @@ -207195,9 +207770,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 pull_request: title: Simple Pull Request type: object @@ -209253,7 +209828,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *791 + repository: *793 sender: *4 thread: type: object @@ -209639,10 +210214,10 @@ x-webhooks: type: string before: type: string - enterprise: *788 - installation: *789 - number: *844 - organization: *790 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 pull_request: title: Pull Request type: object @@ -211913,7 +212488,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -211995,11 +212570,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *850 - enterprise: *788 - installation: *789 - number: *844 - organization: *790 + assignee: *852 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 pull_request: title: Pull Request type: object @@ -214282,7 +214857,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -214361,11 +214936,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *788 - installation: *789 - label: *814 - number: *844 - organization: *790 + enterprise: *790 + installation: *791 + label: *816 + number: *846 + organization: *792 pull_request: title: Pull Request type: object @@ -216638,7 +217213,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -216719,10 +217294,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *788 - installation: *789 - number: *844 - organization: *790 + enterprise: *790 + installation: *791 + number: *846 + organization: *792 pull_request: title: Pull Request type: object @@ -218987,7 +219562,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *791 + repository: *793 sender: *4 required: - action @@ -219187,7 +219762,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *788 + enterprise: *790 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -219279,8 +219854,8 @@ x-webhooks: - url - author - committer - installation: *789 - organization: *790 + installation: *791 + organization: *792 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -219855,9 +220430,9 @@ x-webhooks: type: string enum: - published - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 registry_package: type: object properties: @@ -220303,7 +220878,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *832 + items: *834 summary: type: string tag_name: @@ -220357,7 +220932,7 @@ x-webhooks: - owner - package_version - registry - repository: *791 + repository: *793 sender: *4 required: - action @@ -220435,9 +221010,9 @@ x-webhooks: type: string enum: - updated - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 registry_package: type: object properties: @@ -220745,7 +221320,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *832 + items: *834 summary: type: string tag_name: @@ -220794,7 +221369,7 @@ x-webhooks: - owner - package_version - registry - repository: *791 + repository: *793 sender: *4 required: - action @@ -220871,10 +221446,10 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - release: &851 + enterprise: *790 + installation: *791 + organization: *792 + release: &853 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -221183,7 +221758,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *791 + repository: *793 sender: *4 required: - action @@ -221260,11 +221835,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - release: *851 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + release: *853 + repository: *793 sender: *4 required: - action @@ -221381,11 +221956,11 @@ x-webhooks: type: boolean required: - to - enterprise: *788 - installation: *789 - organization: *790 - release: *851 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + release: *853 + repository: *793 sender: *4 required: - action @@ -221463,9 +222038,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -221778,7 +222353,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *791 + repository: *793 sender: *4 required: - action @@ -221854,10 +222429,10 @@ x-webhooks: type: string enum: - published - enterprise: *788 - installation: *789 - organization: *790 - release: &852 + enterprise: *790 + installation: *791 + organization: *792 + release: &854 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -222167,7 +222742,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *791 + repository: *793 sender: *4 required: - action @@ -222243,11 +222818,11 @@ x-webhooks: type: string enum: - released - enterprise: *788 - installation: *789 - organization: *790 - release: *851 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + release: *853 + repository: *793 sender: *4 required: - action @@ -222323,11 +222898,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *788 - installation: *789 - organization: *790 - release: *852 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + release: *854 + repository: *793 sender: *4 required: - action @@ -222403,11 +222978,11 @@ x-webhooks: type: string enum: - published - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - repository_advisory: *696 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + repository_advisory: *698 sender: *4 required: - action @@ -222483,11 +223058,11 @@ x-webhooks: type: string enum: - reported - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - repository_advisory: *696 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + repository_advisory: *698 sender: *4 required: - action @@ -222563,10 +223138,10 @@ x-webhooks: type: string enum: - archived - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -222643,10 +223218,10 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -222724,10 +223299,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -222811,10 +223386,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -222926,10 +223501,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -223001,10 +223576,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 status: type: string @@ -223085,10 +223660,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -223165,10 +223740,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -223262,10 +223837,10 @@ x-webhooks: - name required: - repository - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -223345,11 +223920,11 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - repository_ruleset: *130 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + repository_ruleset: *133 sender: *4 required: - action @@ -223427,11 +224002,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - repository_ruleset: *130 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + repository_ruleset: *133 sender: *4 required: - action @@ -223509,11 +224084,11 @@ x-webhooks: type: string enum: - edited - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - repository_ruleset: *130 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + repository_ruleset: *133 changes: type: object properties: @@ -223532,16 +224107,16 @@ x-webhooks: properties: added: type: array - items: *123 + items: *126 deleted: type: array - items: *123 + items: *126 updated: type: array items: type: object properties: - condition: *123 + condition: *126 changes: type: object properties: @@ -223574,16 +224149,16 @@ x-webhooks: properties: added: type: array - items: *129 + items: *132 deleted: type: array - items: *129 + items: *132 updated: type: array items: type: object properties: - rule: *129 + rule: *132 changes: type: object properties: @@ -223817,10 +224392,10 @@ x-webhooks: - from required: - owner - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -223898,10 +224473,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -223979,7 +224554,7 @@ x-webhooks: type: string enum: - create - alert: &853 + alert: &855 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -224100,10 +224675,10 @@ x-webhooks: type: string enum: - open - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -224309,10 +224884,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -224390,11 +224965,11 @@ x-webhooks: type: string enum: - reopen - alert: *853 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + alert: *855 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -224593,10 +225168,10 @@ x-webhooks: enum: - fixed - open - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -224674,11 +225249,11 @@ x-webhooks: type: string enum: - created - alert: &854 + alert: &856 type: object properties: - number: *100 - created_at: *107 + number: *103 + created_at: *110 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -224686,8 +225261,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *105 - html_url: *106 + url: *108 + html_url: *109 locations_url: type: string format: uri @@ -224785,10 +225360,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -224869,11 +225444,11 @@ x-webhooks: type: string enum: - created - alert: *854 - installation: *789 - location: *855 - organization: *790 - repository: *791 + alert: *856 + installation: *791 + location: *857 + organization: *792 + repository: *793 sender: *4 required: - location @@ -225111,11 +225686,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *854 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + alert: *856 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -225193,11 +225768,11 @@ x-webhooks: type: string enum: - reopened - alert: *854 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + alert: *856 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -225275,11 +225850,11 @@ x-webhooks: type: string enum: - resolved - alert: *854 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + alert: *856 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -225357,11 +225932,11 @@ x-webhooks: type: string enum: - validated - alert: *854 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + alert: *856 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -225487,10 +226062,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *791 - enterprise: *788 - installation: *789 - organization: *790 + repository: *793 + enterprise: *790 + installation: *791 + organization: *792 sender: *4 required: - action @@ -225568,11 +226143,11 @@ x-webhooks: type: string enum: - published - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - security_advisory: &856 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + security_advisory: &858 description: The details of the security advisory, including summary, description, and severity. type: object @@ -225588,7 +226163,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *102 + cvss_severities: *105 cwes: type: array items: @@ -225755,11 +226330,11 @@ x-webhooks: type: string enum: - updated - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 - security_advisory: *856 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 + security_advisory: *858 sender: *4 required: - action @@ -225832,10 +226407,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -225852,7 +226427,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *102 + cvss_severities: *105 cwes: type: array items: @@ -226019,11 +226594,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *332 - enterprise: *788 - installation: *789 - organization: *790 - repository: *396 + security_and_analysis: *334 + enterprise: *790 + installation: *791 + organization: *792 + repository: *398 sender: *4 required: - changes @@ -226101,12 +226676,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - sponsorship: &857 + sponsorship: &859 type: object properties: created_at: @@ -226407,12 +226982,12 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - sponsorship: *857 + sponsorship: *859 required: - action - sponsorship @@ -226500,12 +227075,12 @@ x-webhooks: type: string required: - from - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - sponsorship: *857 + sponsorship: *859 required: - action - changes @@ -226582,17 +227157,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &858 + effective_date: &860 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - sponsorship: *857 + sponsorship: *859 required: - action - sponsorship @@ -226666,7 +227241,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &859 + changes: &861 type: object properties: tier: @@ -226710,13 +227285,13 @@ x-webhooks: - from required: - tier - effective_date: *858 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + effective_date: *860 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - sponsorship: *857 + sponsorship: *859 required: - action - changes @@ -226793,13 +227368,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *859 - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + changes: *861 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - sponsorship: *857 + sponsorship: *859 required: - action - changes @@ -226873,10 +227448,10 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226959,10 +227534,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -227382,15 +227957,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *788 + enterprise: *790 id: description: The unique identifier of the status. type: integer - installation: *789 + installation: *791 name: type: string - organization: *790 - repository: *791 + organization: *792 + repository: *793 sender: *4 sha: description: The Commit SHA. @@ -227499,15 +228074,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *157 + parent_issue: *160 parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *157 - installation: *789 - organization: *790 - repository: *791 + sub_issue: *160 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -227591,15 +228166,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *157 + parent_issue: *160 parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *157 - installation: *789 - organization: *790 - repository: *791 + sub_issue: *160 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -227683,15 +228258,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *157 + sub_issue: *160 sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *157 - installation: *789 - organization: *790 - repository: *791 + parent_issue: *160 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -227775,15 +228350,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *157 + sub_issue: *160 sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *157 - installation: *789 - organization: *790 - repository: *791 + parent_issue: *160 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -227860,12 +228435,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - team: &860 + team: &862 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -228055,9 +228630,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 repository: title: Repository description: A git repository @@ -228515,7 +229090,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *860 + team: *862 required: - action - team @@ -228591,9 +229166,9 @@ x-webhooks: type: string enum: - created - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 repository: title: Repository description: A git repository @@ -229051,7 +229626,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *860 + team: *862 required: - action - team @@ -229128,9 +229703,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 repository: title: Repository description: A git repository @@ -229588,7 +230163,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *860 + team: *862 required: - action - team @@ -229732,9 +230307,9 @@ x-webhooks: - from required: - permissions - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 repository: title: Repository description: A git repository @@ -230192,7 +230767,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *860 + team: *862 required: - action - changes @@ -230270,9 +230845,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *788 - installation: *789 - organization: *790 + enterprise: *790 + installation: *791 + organization: *792 repository: title: Repository description: A git repository @@ -230730,7 +231305,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *860 + team: *862 required: - action - team @@ -230806,10 +231381,10 @@ x-webhooks: type: string enum: - started - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 required: - action @@ -230882,16 +231457,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *788 + enterprise: *790 inputs: type: object nullable: true additionalProperties: true - installation: *789 - organization: *790 + installation: *791 + organization: *792 ref: type: string - repository: *791 + repository: *793 sender: *4 workflow: type: string @@ -230973,10 +231548,10 @@ x-webhooks: type: string enum: - completed - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 workflow_job: allOf: @@ -231213,7 +231788,7 @@ x-webhooks: type: string required: - conclusion - deployment: *531 + deployment: *533 required: - action - repository @@ -231292,10 +231867,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 workflow_job: allOf: @@ -231555,7 +232130,7 @@ x-webhooks: required: - status - steps - deployment: *531 + deployment: *533 required: - action - repository @@ -231634,10 +232209,10 @@ x-webhooks: type: string enum: - queued - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 workflow_job: type: object @@ -231772,7 +232347,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *531 + deployment: *533 required: - action - repository @@ -231851,10 +232426,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 workflow_job: type: object @@ -231990,7 +232565,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *531 + deployment: *533 required: - action - repository @@ -232070,12 +232645,12 @@ x-webhooks: type: string enum: - completed - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - workflow: *810 + workflow: *812 workflow_run: title: Workflow Run type: object @@ -233074,12 +233649,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - workflow: *810 + workflow: *812 workflow_run: title: Workflow Run type: object @@ -234063,12 +234638,12 @@ x-webhooks: type: string enum: - requested - enterprise: *788 - installation: *789 - organization: *790 - repository: *791 + enterprise: *790 + installation: *791 + organization: *792 + repository: *793 sender: *4 - workflow: *810 + workflow: *812 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 50210ae85c..0375807074 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -1054,7 +1054,7 @@ }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -1087,7 +1087,7 @@ "/app/installations/{installation_id}/access_tokens": { "post": { "summary": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an enterprise, organization, or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nEnterprise account installations do not have access to repositories and cannot be scoped down using the `permissions` parameter.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -1187,7 +1187,7 @@ "/app/installations/{installation_id}/suspended": { "put": { "summary": "Suspend an app installation", - "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -4926,6 +4926,717 @@ } } }, + "/enterprises/{enterprise}/apps/installable_organizations": { + "get": { + "summary": "Get enterprise-owned organizations that can have GitHub Apps installed", + "description": "List the organizations owned by the enterprise, intended for use by GitHub Apps that are managing applications across the enterprise.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/installable-organizations", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-enterprise-owned-organizations-that-can-have-github-apps-installed" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of organizations owned by the enterprise on which the authenticated GitHub App is installed.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/installable-organization" + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "login": "github" + }, + { + "id": 2, + "login": "microsoft" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/installable_organizations/{org}/accessible_repositories": { + "get": { + "summary": "Get repositories belonging to an enterprise-owned organization", + "description": "List the repositories belonging to an enterprise-owned organization that can be made accessible to a GitHub App installed on that organization. This API provides a shallow list of repositories in the organization, allowing the caller to then add or remove those repositories to an installation in that organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/installable-organization-accessible-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of repositories owned by the enterprise organization on which the authenticated GitHub App is installed.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/accessible-repository" + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations": { + "get": { + "summary": "List GitHub Apps installed on an enterprise-owned organization", + "description": "Lists the GitHub App installations associated with the given enterprise-owned organization. This lists all GitHub Apps that have been installed on the organization, regardless of who owns the application.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/organization-installations", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of GitHub App installations that have been granted access to the organization", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/enterprise-organization-installation" + } + }, + "examples": { + "default": { + "value": [ + { + "$ref": "#/components/examples/enterprise-organization-installation" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + }, + "post": { + "summary": "Install a GitHub App on an enterprise-owned organization", + "description": "Installs any valid GitHub App on the specified organization owned by the enterprise. If the app is already installed on the organization, and is suspended, it will be unsuspended.\nIf the app has a pending installation request, they will all be approved.\n\nIf the app is already installed and has a pending update request, it will be updated to the latest version. If the app is now requesting repository permissions, it will be given access to the repositories listed in the request or fail if no `repository_selection` is provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/create-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "A GitHub App installation that was installed previously.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/installation" + }, + "examples": { + "default": { + "$ref": "#/components/examples/base-installation" + } + } + } + } + }, + "201": { + "description": "A GitHub App installation.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/installation" + }, + "examples": { + "default": { + "$ref": "#/components/examples/base-installation" + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "description": "The Client ID of the GitHub App to install." + }, + "repository_selection": { + "type": "string", + "description": "The repository selection for the GitHub App. Must be one of:\n* `all` - the installation can access all repositories in the organization.\n* `selected` - the installation can access only the listed repositories.\n* `none` - no repository permissions are requested. Only use when the app does not request repository permissions.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "repositories": { + "type": "array", + "description": "The names of the repositories to which the installation will be granted access. This is the simple name of the repository, not the full name (e.g., `hello-world` not `octocat/hello-world`). This is only required when `repository_selection` is `selected`.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "client_id", + "repository_selection" + ] + }, + "examples": { + "default": { + "summary": "Example of installing a GitHub App on an organization and granting access to all of its repositories.", + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "all" + } + }, + "repository_selection_selected": { + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": { + "delete": { + "summary": "Uninstall a GitHub App from an enterprise-owned organization", + "description": "Uninstall a GitHub App from an organization. Any app installed on the organization can be removed.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/delete-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/installation-id" + } + ], + "responses": { + "204": { + "description": "An empty response indicates that the installation was successfully removed." + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": { + "get": { + "summary": "Get the repositories accessible to a given GitHub App installation", + "description": "Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/organization-installation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/installation-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of repositories owned by the enterprise organization to which the installation has access.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/accessible-repository" + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + }, + "patch": { + "summary": "Toggle installation repository access between selected and all repositories", + "description": "Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/change-installation-repository-access-selection", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/installation-id" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_selection": { + "type": "string", + "description": "One of either 'all' or 'selected'", + "enum": [ + "all", + "selected" + ] + }, + "repositories": { + "type": "array", + "description": "The repository names to add to the installation. Only required when repository_selection is 'selected'", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "repository_selection" + ] + }, + "examples": { + "default": { + "summary": "Change the repositories accessible to a GitHub App from 'all repositories' to a specified subset.", + "value": { + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "The GitHub App installation that was updated.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/installation" + }, + "examples": { + "default": { + "$ref": "#/components/examples/base-installation" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/add": { + "patch": { + "summary": "Grant repository access to an organization installation", + "description": "Grant repository access to an organization installation. You can add up to 50 repositories at a time. If the installation already has access to the repository, it will not be added again.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/grant-repository-access-to-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/installation-id" + } + ], + "responses": { + "200": { + "description": "A list of repositories which the authenticated GitHub App should be granted access to.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/accessible-repository" + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repositories": { + "type": "array", + "description": "The repository names to add to the installation.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "repositories" + ] + }, + "examples": { + "repositories": { + "value": { + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/remove": { + "patch": { + "summary": "Remove repository access from an organization installation", + "description": "Remove repository access from a GitHub App installed on an organization. You can remove up to 50 repositories at a time. You cannot remove repositories from an app installed on `all` repositories, nor can you remove the last repository for an app. If you attempt to do so, the API will return a 422 Unprocessable Entity error.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/remove-repository-access-to-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/installation-id" + } + ], + "responses": { + "200": { + "description": "A list of repositories which the authenticated GitHub App has lost access to.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/accessible-repository" + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + }, + "422": { + "description": "The request was well-formed but was unable to be followed due to semantic errors. This can happen if you attempt to remove a repository from an installation that has access to `all` repositories, or if you attempt to remove the last repository from an installation.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + }, + "examples": { + "default": { + "value": [ + { + "message": "Cannot remove the last repository from this installation. Uninstall this application instead." + }, + { + "documentation_url": "https://docs.github.com/rest/enterprise-admin/organization-installations#remove-repository-access-to-an-organization-installation" + }, + { + "status": 422 + } + ] + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repositories": { + "type": "array", + "description": "The repository names to remove from the installation.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "repositories" + ] + }, + "examples": { + "repositories": { + "value": { + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, "/enterprises/{enterprise}/audit-log": { "get": { "summary": "Get the audit log for an enterprise", @@ -24767,7 +25478,7 @@ }, "delete": { "summary": "Remove an organization member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -25185,7 +25896,7 @@ }, "delete": { "summary": "Remove organization membership for a user", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -110057,7 +110768,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -110083,6 +110794,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -110778,7 +111493,7 @@ }, "installation-token": { "title": "Installation Token", - "description": "Authentication token for a GitHub App installed on a user or org.", + "description": "Authentication token for a GitHub App installed on a user, org, or enterprise.", "type": "object", "properties": { "token": { @@ -112599,6 +113314,116 @@ "announcement" ] }, + "installable-organization": { + "title": "Installable Organization", + "description": "A GitHub organization on which a GitHub App can be installed.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "login": { + "type": "string", + "example": "github" + }, + "accessible_repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/enterprises/biz-name/apps/organizations/org-login/accessible_repositories" + } + }, + "required": [ + "id", + "login" + ] + }, + "accessible-repository": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + } + }, + "required": [ + "full_name", + "id", + "name" + ] + }, + "enterprise-organization-installation": { + "title": "Enterprise Organization Installation", + "description": "A GitHub App Installation on an enterprise-owned organization", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "app_slug": { + "type": "string", + "example": "github/github-actions" + }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories" + }, + "permissions": { + "$ref": "#/components/schemas/app-permissions" + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "client_id", + "repository_selection", + "repositories_url", + "permissions", + "created_at", + "updated_at" + ] + }, "audit-log-event": { "type": "object", "properties": { @@ -289286,6 +290111,25 @@ "user_dismissible": false } }, + "enterprise-organization-installation": { + "value": { + "id": 1, + "app_slug": "monalisa/orbit", + "repository_selection": "selected", + "repositories_url": "https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": [ + "push", + "pull_request" + ], + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00" + } + }, "audit-log": { "value": [ { @@ -319442,6 +320286,15 @@ "type": "string" } }, + "org": { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "audit-log-enterprise-phrase": { "name": "phrase", "description": "A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise#searching-the-audit-log).", @@ -319731,15 +320584,6 @@ "type": "string" } }, - "org": { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "custom-property-name": { "name": "custom_property_name", "description": "The custom property name", diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index e537f050de..180c211572 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -713,7 +713,7 @@ paths: delete: summary: Delete an installation for the authenticated app description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)" endpoint. + Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)" endpoint. You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -738,12 +738,14 @@ paths: post: summary: Create an installation access token for an app description: |- - Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. + Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an enterprise, organization, or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. Optionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner. Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. + Enterprise account installations do not have access to repositories and cannot be scoped down using the `permissions` parameter. + You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: - apps @@ -812,7 +814,7 @@ paths: put: summary: Suspend an app installation description: |- - Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account. + Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account. You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -3475,6 +3477,488 @@ paths: enabledForGitHubApps: false category: announcement-banners subcategory: enterprises + "/enterprises/{enterprise}/apps/installable_organizations": + get: + summary: Get enterprise-owned organizations that can have GitHub Apps installed + description: |- + List the organizations owned by the enterprise, intended for use by GitHub Apps that are managing applications across the enterprise. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/installable-organizations + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-enterprise-owned-organizations-that-can-have-github-apps-installed + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of organizations owned by the enterprise on which the + authenticated GitHub App is installed. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/installable-organization" + examples: + default: + value: + - id: 1 + login: github + - id: 2 + login: microsoft + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/installable_organizations/{org}/accessible_repositories": + get: + summary: Get repositories belonging to an enterprise-owned organization + description: |- + List the repositories belonging to an enterprise-owned organization that can be made accessible to a GitHub App installed on that organization. This API provides a shallow list of repositories in the organization, allowing the caller to then add or remove those repositories to an installation in that organization. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/installable-organization-accessible-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of repositories owned by the enterprise organization + on which the authenticated GitHub App is installed. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/accessible-repository" + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations": + get: + summary: List GitHub Apps installed on an enterprise-owned organization + description: |- + Lists the GitHub App installations associated with the given enterprise-owned organization. This lists all GitHub Apps that have been installed on the organization, regardless of who owns the application. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/organization-installations + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of GitHub App installations that have been granted access + to the organization + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/enterprise-organization-installation" + examples: + default: + value: + - "$ref": "#/components/examples/enterprise-organization-installation" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + post: + summary: Install a GitHub App on an enterprise-owned organization + description: |- + Installs any valid GitHub App on the specified organization owned by the enterprise. If the app is already installed on the organization, and is suspended, it will be unsuspended. + If the app has a pending installation request, they will all be approved. + + If the app is already installed and has a pending update request, it will be updated to the latest version. If the app is now requesting repository permissions, it will be given access to the repositories listed in the request or fail if no `repository_selection` is provided. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/create-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: A GitHub App installation that was installed previously. + content: + application/json: + schema: + "$ref": "#/components/schemas/installation" + examples: + default: + "$ref": "#/components/examples/base-installation" + '201': + description: A GitHub App installation. + content: + application/json: + schema: + "$ref": "#/components/schemas/installation" + examples: + default: + "$ref": "#/components/examples/base-installation" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + client_id: + type: string + description: The Client ID of the GitHub App to install. + repository_selection: + type: string + description: |- + The repository selection for the GitHub App. Must be one of: + * `all` - the installation can access all repositories in the organization. + * `selected` - the installation can access only the listed repositories. + * `none` - no repository permissions are requested. Only use when the app does not request repository permissions. + enum: + - all + - selected + - none + repositories: + type: array + description: The names of the repositories to which the installation + will be granted access. This is the simple name of the repository, + not the full name (e.g., `hello-world` not `octocat/hello-world`). + This is only required when `repository_selection` is `selected`. + items: + type: string + maxItems: 50 + required: + - client_id + - repository_selection + examples: + default: + summary: Example of installing a GitHub App on an organization and + granting access to all of its repositories. + value: + client_id: Iv2abc123aabbcc + repository_selection: all + repository_selection_selected: + value: + client_id: Iv2abc123aabbcc + repository_selection: selected + repositories: + - hello-world + - hello-world-2 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": + delete: + summary: Uninstall a GitHub App from an enterprise-owned organization + description: |- + Uninstall a GitHub App from an organization. Any app installed on the organization can be removed. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/delete-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/installation-id" + responses: + '204': + description: An empty response indicates that the installation was successfully + removed. + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": + get: + summary: Get the repositories accessible to a given GitHub App installation + description: |- + Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/organization-installation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/installation-id" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of repositories owned by the enterprise organization + to which the installation has access. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/accessible-repository" + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + patch: + summary: Toggle installation repository access between selected and all repositories + description: |- + Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/change-installation-repository-access-selection + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/installation-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_selection: + type: string + description: One of either 'all' or 'selected' + enum: + - all + - selected + repositories: + type: array + description: The repository names to add to the installation. Only + required when repository_selection is 'selected' + items: + type: string + maxItems: 50 + required: + - repository_selection + examples: + default: + summary: Change the repositories accessible to a GitHub App from 'all + repositories' to a specified subset. + value: + repository_selection: selected + repositories: + - hello-world + - hello-world-2 + responses: + '200': + description: The GitHub App installation that was updated. + content: + application/json: + schema: + "$ref": "#/components/schemas/installation" + examples: + default: + "$ref": "#/components/examples/base-installation" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/add": + patch: + summary: Grant repository access to an organization installation + description: |- + Grant repository access to an organization installation. You can add up to 50 repositories at a time. If the installation already has access to the repository, it will not be added again. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/grant-repository-access-to-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/installation-id" + responses: + '200': + description: A list of repositories which the authenticated GitHub App should + be granted access to. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/accessible-repository" + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repositories: + type: array + description: The repository names to add to the installation. + items: + type: string + maxItems: 50 + required: + - repositories + examples: + repositories: + value: + repositories: + - hello-world + - hello-world-2 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/remove": + patch: + summary: Remove repository access from an organization installation + description: |- + Remove repository access from a GitHub App installed on an organization. You can remove up to 50 repositories at a time. You cannot remove repositories from an app installed on `all` repositories, nor can you remove the last repository for an app. If you attempt to do so, the API will return a 422 Unprocessable Entity error. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/remove-repository-access-to-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/installation-id" + responses: + '200': + description: A list of repositories which the authenticated GitHub App has + lost access to. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/accessible-repository" + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + '422': + description: The request was well-formed but was unable to be followed due + to semantic errors. This can happen if you attempt to remove a repository + from an installation that has access to `all` repositories, or if you + attempt to remove the last repository from an installation. + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + examples: + default: + value: + - message: Cannot remove the last repository from this installation. + Uninstall this application instead. + - documentation_url: https://docs.github.com/rest/enterprise-admin/organization-installations#remove-repository-access-to-an-organization-installation + - status: 422 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repositories: + type: array + description: The repository names to remove from the installation. + items: + type: string + maxItems: 50 + required: + - repositories + examples: + repositories: + value: + repositories: + - hello-world + - hello-world-2 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations "/enterprises/{enterprise}/audit-log": get: summary: Get the audit log for an enterprise @@ -17888,8 +18372,11 @@ paths: subcategory: members delete: summary: Remove an organization member - description: Removing a user from this list will remove them from all teams - and they will no longer have any access to the organization's repositories. + description: |- + Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-member @@ -18194,6 +18681,9 @@ paths: In order to remove a user's membership with an organization, the authenticated user must be an organization owner. If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-membership-for-user @@ -79608,7 +80098,7 @@ components: - "$ref": "#/components/schemas/enterprise" repository_selection: description: Describe whether all repositories have been selected or there's - a selection involved + a selection involved. For enterprise installations this is `selected`. type: string enum: - all @@ -79628,6 +80118,9 @@ components: app_id: type: integer example: 1 + client_id: + type: string + example: Iv1.ab1112223334445c target_id: description: The ID of the user or organization this token is being scoped to. @@ -80206,7 +80699,8 @@ components: - updated_at installation-token: title: Installation Token - description: Authentication token for a GitHub App installed on a user or org. + description: Authentication token for a GitHub App installed on a user, org, + or enterprise. type: object properties: token: @@ -81688,6 +82182,91 @@ components: "$ref": "#/components/schemas/announcement-user-dismissible" required: - announcement + installable-organization: + title: Installable Organization + description: A GitHub organization on which a GitHub App can be installed. + type: object + properties: + id: + type: integer + example: 1 + login: + type: string + example: github + accessible_repositories_url: + type: string + format: uri + example: https://api.github.com/enterprises/biz-name/apps/organizations/org-login/accessible_repositories + required: + - id + - login + accessible-repository: + title: Accessible Repository + description: A repository that may be made accessible to a GitHub App. + type: object + properties: + id: + description: Unique identifier of the repository + type: integer + format: int64 + example: 1 + name: + description: The name of the repository. + type: string + example: Team Environment + full_name: + type: string + example: octocat/Hello-World + required: + - full_name + - id + - name + enterprise-organization-installation: + title: Enterprise Organization Installation + description: A GitHub App Installation on an enterprise-owned organization + type: object + properties: + id: + description: The ID of the installation. + type: integer + example: 1 + app_slug: + type: string + example: github/github-actions + client_id: + type: string + example: Iv1.ab1112223334445c + repository_selection: + description: Describe whether all repositories have been selected or there's + a selection involved + type: string + enum: + - all + - selected + repositories_url: + type: string + format: uri + example: https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories + permissions: + "$ref": "#/components/schemas/app-permissions" + events: + type: array + items: + type: string + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + required: + - id + - client_id + - repository_selection + - repositories_url + - permissions + - created_at + - updated_at audit-log-event: type: object properties: @@ -216193,6 +216772,21 @@ components: announcement: Very **important** announcement about _something_. expires_at: '2021-01-01T00:00:00.000+00:00' user_dismissible: false + enterprise-organization-installation: + value: + id: 1 + app_slug: monalisa/orbit + repository_selection: selected + repositories_url: https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories + permissions: + checks: write + metadata: read + contents: read + events: + - push + - pull_request + created_at: '2017-07-08T16:18:44-04:00' + updated_at: '2017-07-08T16:18:44-04:00' audit-log: value: - "@timestamp": 1606929874512 @@ -241995,6 +242589,13 @@ components: required: true schema: type: string + org: + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string audit-log-enterprise-phrase: name: phrase description: A search phrase. For more information, see [Searching the audit @@ -242270,13 +242871,6 @@ components: required: true schema: type: string - org: - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string custom-property-name: name: custom_property_name description: The custom property name diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 50210ae85c..0375807074 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -1054,7 +1054,7 @@ }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -1087,7 +1087,7 @@ "/app/installations/{installation_id}/access_tokens": { "post": { "summary": "Create an installation access token for an app", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an enterprise, organization, or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access.\n\nOptionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner.\n\nOptionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted.\n\nEnterprise account installations do not have access to repositories and cannot be scoped down using the `permissions` parameter.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -1187,7 +1187,7 @@ "/app/installations/{installation_id}/suspended": { "put": { "summary": "Suspend an app installation", - "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -4926,6 +4926,717 @@ } } }, + "/enterprises/{enterprise}/apps/installable_organizations": { + "get": { + "summary": "Get enterprise-owned organizations that can have GitHub Apps installed", + "description": "List the organizations owned by the enterprise, intended for use by GitHub Apps that are managing applications across the enterprise.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/installable-organizations", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-enterprise-owned-organizations-that-can-have-github-apps-installed" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of organizations owned by the enterprise on which the authenticated GitHub App is installed.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/installable-organization" + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "login": "github" + }, + { + "id": 2, + "login": "microsoft" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/installable_organizations/{org}/accessible_repositories": { + "get": { + "summary": "Get repositories belonging to an enterprise-owned organization", + "description": "List the repositories belonging to an enterprise-owned organization that can be made accessible to a GitHub App installed on that organization. This API provides a shallow list of repositories in the organization, allowing the caller to then add or remove those repositories to an installation in that organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/installable-organization-accessible-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of repositories owned by the enterprise organization on which the authenticated GitHub App is installed.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/accessible-repository" + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations": { + "get": { + "summary": "List GitHub Apps installed on an enterprise-owned organization", + "description": "Lists the GitHub App installations associated with the given enterprise-owned organization. This lists all GitHub Apps that have been installed on the organization, regardless of who owns the application.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/organization-installations", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of GitHub App installations that have been granted access to the organization", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/enterprise-organization-installation" + } + }, + "examples": { + "default": { + "value": [ + { + "$ref": "#/components/examples/enterprise-organization-installation" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + }, + "post": { + "summary": "Install a GitHub App on an enterprise-owned organization", + "description": "Installs any valid GitHub App on the specified organization owned by the enterprise. If the app is already installed on the organization, and is suspended, it will be unsuspended.\nIf the app has a pending installation request, they will all be approved.\n\nIf the app is already installed and has a pending update request, it will be updated to the latest version. If the app is now requesting repository permissions, it will be given access to the repositories listed in the request or fail if no `repository_selection` is provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/create-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "A GitHub App installation that was installed previously.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/installation" + }, + "examples": { + "default": { + "$ref": "#/components/examples/base-installation" + } + } + } + } + }, + "201": { + "description": "A GitHub App installation.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/installation" + }, + "examples": { + "default": { + "$ref": "#/components/examples/base-installation" + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "description": "The Client ID of the GitHub App to install." + }, + "repository_selection": { + "type": "string", + "description": "The repository selection for the GitHub App. Must be one of:\n* `all` - the installation can access all repositories in the organization.\n* `selected` - the installation can access only the listed repositories.\n* `none` - no repository permissions are requested. Only use when the app does not request repository permissions.", + "enum": [ + "all", + "selected", + "none" + ] + }, + "repositories": { + "type": "array", + "description": "The names of the repositories to which the installation will be granted access. This is the simple name of the repository, not the full name (e.g., `hello-world` not `octocat/hello-world`). This is only required when `repository_selection` is `selected`.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "client_id", + "repository_selection" + ] + }, + "examples": { + "default": { + "summary": "Example of installing a GitHub App on an organization and granting access to all of its repositories.", + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "all" + } + }, + "repository_selection_selected": { + "value": { + "client_id": "Iv2abc123aabbcc", + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": { + "delete": { + "summary": "Uninstall a GitHub App from an enterprise-owned organization", + "description": "Uninstall a GitHub App from an organization. Any app installed on the organization can be removed.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/delete-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/installation-id" + } + ], + "responses": { + "204": { + "description": "An empty response indicates that the installation was successfully removed." + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": { + "get": { + "summary": "Get the repositories accessible to a given GitHub App installation", + "description": "Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/organization-installation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/installation-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "A list of repositories owned by the enterprise organization to which the installation has access.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/accessible-repository" + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + }, + "patch": { + "summary": "Toggle installation repository access between selected and all repositories", + "description": "Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/change-installation-repository-access-selection", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/installation-id" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_selection": { + "type": "string", + "description": "One of either 'all' or 'selected'", + "enum": [ + "all", + "selected" + ] + }, + "repositories": { + "type": "array", + "description": "The repository names to add to the installation. Only required when repository_selection is 'selected'", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "repository_selection" + ] + }, + "examples": { + "default": { + "summary": "Change the repositories accessible to a GitHub App from 'all repositories' to a specified subset.", + "value": { + "repository_selection": "selected", + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "The GitHub App installation that was updated.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/installation" + }, + "examples": { + "default": { + "$ref": "#/components/examples/base-installation" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/add": { + "patch": { + "summary": "Grant repository access to an organization installation", + "description": "Grant repository access to an organization installation. You can add up to 50 repositories at a time. If the installation already has access to the repository, it will not be added again.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/grant-repository-access-to-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/installation-id" + } + ], + "responses": { + "200": { + "description": "A list of repositories which the authenticated GitHub App should be granted access to.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/accessible-repository" + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repositories": { + "type": "array", + "description": "The repository names to add to the installation.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "repositories" + ] + }, + "examples": { + "repositories": { + "value": { + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/remove": { + "patch": { + "summary": "Remove repository access from an organization installation", + "description": "Remove repository access from a GitHub App installed on an organization. You can remove up to 50 repositories at a time. You cannot remove repositories from an app installed on `all` repositories, nor can you remove the last repository for an app. If you attempt to do so, the API will return a 422 Unprocessable Entity error.\n\nThis API can only be called by a GitHub App installed on the enterprise that owns the organization.", + "tags": [ + "apps" + ], + "operationId": "enterprise-apps/remove-repository-access-to-installation", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/installation-id" + } + ], + "responses": { + "200": { + "description": "A list of repositories which the authenticated GitHub App has lost access to.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/accessible-repository" + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Hello World", + "full_name": "octocat/Hello-World" + }, + { + "id": 2, + "login": "Goodbye World", + "full_name": "octocat/Goodbye-World" + } + ] + } + } + } + } + }, + "422": { + "description": "The request was well-formed but was unable to be followed due to semantic errors. This can happen if you attempt to remove a repository from an installation that has access to `all` repositories, or if you attempt to remove the last repository from an installation.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + }, + "examples": { + "default": { + "value": [ + { + "message": "Cannot remove the last repository from this installation. Uninstall this application instead." + }, + { + "documentation_url": "https://docs.github.com/rest/enterprise-admin/organization-installations#remove-repository-access-to-an-organization-installation" + }, + { + "status": 422 + } + ] + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repositories": { + "type": "array", + "description": "The repository names to remove from the installation.", + "items": { + "type": "string" + }, + "maxItems": 50 + } + }, + "required": [ + "repositories" + ] + }, + "examples": { + "repositories": { + "value": { + "repositories": [ + "hello-world", + "hello-world-2" + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "organization-installations" + } + } + }, "/enterprises/{enterprise}/audit-log": { "get": { "summary": "Get the audit log for an enterprise", @@ -24767,7 +25478,7 @@ }, "delete": { "summary": "Remove an organization member", - "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.", + "description": "Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -25185,7 +25896,7 @@ }, "delete": { "summary": "Remove organization membership for a user", - "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\n> [!NOTE]\n> If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.", "tags": [ "orgs" ], @@ -110057,7 +110768,7 @@ ] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": [ "all", @@ -110083,6 +110794,10 @@ "type": "integer", "example": 1 }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -110778,7 +111493,7 @@ }, "installation-token": { "title": "Installation Token", - "description": "Authentication token for a GitHub App installed on a user or org.", + "description": "Authentication token for a GitHub App installed on a user, org, or enterprise.", "type": "object", "properties": { "token": { @@ -112599,6 +113314,116 @@ "announcement" ] }, + "installable-organization": { + "title": "Installable Organization", + "description": "A GitHub organization on which a GitHub App can be installed.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "example": 1 + }, + "login": { + "type": "string", + "example": "github" + }, + "accessible_repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/enterprises/biz-name/apps/organizations/org-login/accessible_repositories" + } + }, + "required": [ + "id", + "login" + ] + }, + "accessible-repository": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "example": 1 + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "example": "Team Environment" + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World" + } + }, + "required": [ + "full_name", + "id", + "name" + ] + }, + "enterprise-organization-installation": { + "title": "Enterprise Organization Installation", + "description": "A GitHub App Installation on an enterprise-owned organization", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "app_slug": { + "type": "string", + "example": "github/github-actions" + }, + "client_id": { + "type": "string", + "example": "Iv1.ab1112223334445c" + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": [ + "all", + "selected" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories" + }, + "permissions": { + "$ref": "#/components/schemas/app-permissions" + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "client_id", + "repository_selection", + "repositories_url", + "permissions", + "created_at", + "updated_at" + ] + }, "audit-log-event": { "type": "object", "properties": { @@ -289286,6 +290111,25 @@ "user_dismissible": false } }, + "enterprise-organization-installation": { + "value": { + "id": 1, + "app_slug": "monalisa/orbit", + "repository_selection": "selected", + "repositories_url": "https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": [ + "push", + "pull_request" + ], + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00" + } + }, "audit-log": { "value": [ { @@ -319442,6 +320286,15 @@ "type": "string" } }, + "org": { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "audit-log-enterprise-phrase": { "name": "phrase", "description": "A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise#searching-the-audit-log).", @@ -319731,15 +320584,6 @@ "type": "string" } }, - "org": { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "custom-property-name": { "name": "custom_property_name", "description": "The custom property name", diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index e537f050de..180c211572 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -713,7 +713,7 @@ paths: delete: summary: Delete an installation for the authenticated app description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)" endpoint. + Uninstalls a GitHub App on a user, organization, or enterprise account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation)" endpoint. You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -738,12 +738,14 @@ paths: post: summary: Create an installation access token for an app description: |- - Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. + Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an enterprise, organization, or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. Optionally, you can use the `repositories` or `repository_ids` body parameters to specify individual repositories that the installation access token can access. If you don't use `repositories` or `repository_ids` to grant access to specific repositories, the installation access token will have access to all repositories that the installation was granted access to. The installation access token cannot be granted access to repositories that the installation was not granted access to. Up to 500 repositories can be listed in this manner. Optionally, use the `permissions` body parameter to specify the permissions that the installation access token should have. If `permissions` is not specified, the installation access token will have all of the permissions that were granted to the app. The installation access token cannot be granted permissions that the app was not granted. + Enterprise account installations do not have access to repositories and cannot be scoped down using the `permissions` parameter. + You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: - apps @@ -812,7 +814,7 @@ paths: put: summary: Suspend an app installation description: |- - Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account. + Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Cloud API or webhook events is blocked for that account. You must use a [JWT](https://docs.github.com/enterprise-cloud@latest//apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: @@ -3475,6 +3477,488 @@ paths: enabledForGitHubApps: false category: announcement-banners subcategory: enterprises + "/enterprises/{enterprise}/apps/installable_organizations": + get: + summary: Get enterprise-owned organizations that can have GitHub Apps installed + description: |- + List the organizations owned by the enterprise, intended for use by GitHub Apps that are managing applications across the enterprise. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/installable-organizations + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-enterprise-owned-organizations-that-can-have-github-apps-installed + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of organizations owned by the enterprise on which the + authenticated GitHub App is installed. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/installable-organization" + examples: + default: + value: + - id: 1 + login: github + - id: 2 + login: microsoft + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/installable_organizations/{org}/accessible_repositories": + get: + summary: Get repositories belonging to an enterprise-owned organization + description: |- + List the repositories belonging to an enterprise-owned organization that can be made accessible to a GitHub App installed on that organization. This API provides a shallow list of repositories in the organization, allowing the caller to then add or remove those repositories to an installation in that organization. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/installable-organization-accessible-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of repositories owned by the enterprise organization + on which the authenticated GitHub App is installed. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/accessible-repository" + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations": + get: + summary: List GitHub Apps installed on an enterprise-owned organization + description: |- + Lists the GitHub App installations associated with the given enterprise-owned organization. This lists all GitHub Apps that have been installed on the organization, regardless of who owns the application. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/organization-installations + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of GitHub App installations that have been granted access + to the organization + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/enterprise-organization-installation" + examples: + default: + value: + - "$ref": "#/components/examples/enterprise-organization-installation" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + post: + summary: Install a GitHub App on an enterprise-owned organization + description: |- + Installs any valid GitHub App on the specified organization owned by the enterprise. If the app is already installed on the organization, and is suspended, it will be unsuspended. + If the app has a pending installation request, they will all be approved. + + If the app is already installed and has a pending update request, it will be updated to the latest version. If the app is now requesting repository permissions, it will be given access to the repositories listed in the request or fail if no `repository_selection` is provided. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/create-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: A GitHub App installation that was installed previously. + content: + application/json: + schema: + "$ref": "#/components/schemas/installation" + examples: + default: + "$ref": "#/components/examples/base-installation" + '201': + description: A GitHub App installation. + content: + application/json: + schema: + "$ref": "#/components/schemas/installation" + examples: + default: + "$ref": "#/components/examples/base-installation" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + client_id: + type: string + description: The Client ID of the GitHub App to install. + repository_selection: + type: string + description: |- + The repository selection for the GitHub App. Must be one of: + * `all` - the installation can access all repositories in the organization. + * `selected` - the installation can access only the listed repositories. + * `none` - no repository permissions are requested. Only use when the app does not request repository permissions. + enum: + - all + - selected + - none + repositories: + type: array + description: The names of the repositories to which the installation + will be granted access. This is the simple name of the repository, + not the full name (e.g., `hello-world` not `octocat/hello-world`). + This is only required when `repository_selection` is `selected`. + items: + type: string + maxItems: 50 + required: + - client_id + - repository_selection + examples: + default: + summary: Example of installing a GitHub App on an organization and + granting access to all of its repositories. + value: + client_id: Iv2abc123aabbcc + repository_selection: all + repository_selection_selected: + value: + client_id: Iv2abc123aabbcc + repository_selection: selected + repositories: + - hello-world + - hello-world-2 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}": + delete: + summary: Uninstall a GitHub App from an enterprise-owned organization + description: |- + Uninstall a GitHub App from an organization. Any app installed on the organization can be removed. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/delete-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/installation-id" + responses: + '204': + description: An empty response indicates that the installation was successfully + removed. + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories": + get: + summary: Get the repositories accessible to a given GitHub App installation + description: |- + Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/organization-installation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/installation-id" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: A list of repositories owned by the enterprise organization + to which the installation has access. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/accessible-repository" + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + patch: + summary: Toggle installation repository access between selected and all repositories + description: |- + Toggle repository access for a GitHub App installation between all repositories and selected repositories. You must provide at least one repository when changing the access to 'selected'. If you change the access to 'all', the repositories list must not be provided. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/change-installation-repository-access-selection + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/installation-id" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_selection: + type: string + description: One of either 'all' or 'selected' + enum: + - all + - selected + repositories: + type: array + description: The repository names to add to the installation. Only + required when repository_selection is 'selected' + items: + type: string + maxItems: 50 + required: + - repository_selection + examples: + default: + summary: Change the repositories accessible to a GitHub App from 'all + repositories' to a specified subset. + value: + repository_selection: selected + repositories: + - hello-world + - hello-world-2 + responses: + '200': + description: The GitHub App installation that was updated. + content: + application/json: + schema: + "$ref": "#/components/schemas/installation" + examples: + default: + "$ref": "#/components/examples/base-installation" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/add": + patch: + summary: Grant repository access to an organization installation + description: |- + Grant repository access to an organization installation. You can add up to 50 repositories at a time. If the installation already has access to the repository, it will not be added again. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/grant-repository-access-to-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/installation-id" + responses: + '200': + description: A list of repositories which the authenticated GitHub App should + be granted access to. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/accessible-repository" + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repositories: + type: array + description: The repository names to add to the installation. + items: + type: string + maxItems: 50 + required: + - repositories + examples: + repositories: + value: + repositories: + - hello-world + - hello-world-2 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations + "/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories/remove": + patch: + summary: Remove repository access from an organization installation + description: |- + Remove repository access from a GitHub App installed on an organization. You can remove up to 50 repositories at a time. You cannot remove repositories from an app installed on `all` repositories, nor can you remove the last repository for an app. If you attempt to do so, the API will return a 422 Unprocessable Entity error. + + This API can only be called by a GitHub App installed on the enterprise that owns the organization. + tags: + - apps + operationId: enterprise-apps/remove-repository-access-to-installation + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/installation-id" + responses: + '200': + description: A list of repositories which the authenticated GitHub App has + lost access to. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/accessible-repository" + examples: + default: + value: + - id: 1 + name: Hello World + full_name: octocat/Hello-World + - id: 2 + login: Goodbye World + full_name: octocat/Goodbye-World + '422': + description: The request was well-formed but was unable to be followed due + to semantic errors. This can happen if you attempt to remove a repository + from an installation that has access to `all` repositories, or if you + attempt to remove the last repository from an installation. + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + examples: + default: + value: + - message: Cannot remove the last repository from this installation. + Uninstall this application instead. + - documentation_url: https://docs.github.com/rest/enterprise-admin/organization-installations#remove-repository-access-to-an-organization-installation + - status: 422 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repositories: + type: array + description: The repository names to remove from the installation. + items: + type: string + maxItems: 50 + required: + - repositories + examples: + repositories: + value: + repositories: + - hello-world + - hello-world-2 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: organization-installations "/enterprises/{enterprise}/audit-log": get: summary: Get the audit log for an enterprise @@ -17888,8 +18372,11 @@ paths: subcategory: members delete: summary: Remove an organization member - description: Removing a user from this list will remove them from all teams - and they will no longer have any access to the organization's repositories. + description: |- + Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-member @@ -18194,6 +18681,9 @@ paths: In order to remove a user's membership with an organization, the authenticated user must be an organization owner. If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. + + > [!NOTE] + > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team. tags: - orgs operationId: orgs/remove-membership-for-user @@ -79608,7 +80098,7 @@ components: - "$ref": "#/components/schemas/enterprise" repository_selection: description: Describe whether all repositories have been selected or there's - a selection involved + a selection involved. For enterprise installations this is `selected`. type: string enum: - all @@ -79628,6 +80118,9 @@ components: app_id: type: integer example: 1 + client_id: + type: string + example: Iv1.ab1112223334445c target_id: description: The ID of the user or organization this token is being scoped to. @@ -80206,7 +80699,8 @@ components: - updated_at installation-token: title: Installation Token - description: Authentication token for a GitHub App installed on a user or org. + description: Authentication token for a GitHub App installed on a user, org, + or enterprise. type: object properties: token: @@ -81688,6 +82182,91 @@ components: "$ref": "#/components/schemas/announcement-user-dismissible" required: - announcement + installable-organization: + title: Installable Organization + description: A GitHub organization on which a GitHub App can be installed. + type: object + properties: + id: + type: integer + example: 1 + login: + type: string + example: github + accessible_repositories_url: + type: string + format: uri + example: https://api.github.com/enterprises/biz-name/apps/organizations/org-login/accessible_repositories + required: + - id + - login + accessible-repository: + title: Accessible Repository + description: A repository that may be made accessible to a GitHub App. + type: object + properties: + id: + description: Unique identifier of the repository + type: integer + format: int64 + example: 1 + name: + description: The name of the repository. + type: string + example: Team Environment + full_name: + type: string + example: octocat/Hello-World + required: + - full_name + - id + - name + enterprise-organization-installation: + title: Enterprise Organization Installation + description: A GitHub App Installation on an enterprise-owned organization + type: object + properties: + id: + description: The ID of the installation. + type: integer + example: 1 + app_slug: + type: string + example: github/github-actions + client_id: + type: string + example: Iv1.ab1112223334445c + repository_selection: + description: Describe whether all repositories have been selected or there's + a selection involved + type: string + enum: + - all + - selected + repositories_url: + type: string + format: uri + example: https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories + permissions: + "$ref": "#/components/schemas/app-permissions" + events: + {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}