openapi: 3.0.3 info: version: 1.1.4 title: GitHub Org API description: Use the REST API to control and manage all your GitHub organizations. license: name: MIT url: https://spdx.org/licenses/MIT termsOfService: https://docs.github.com/articles/github-terms-of-service contact: name: Support url: https://support.github.com/contact?tags=dotcom-rest-api x-github-plan: ghes x-github-release: 3.9 tags: - name: Access - name: Actions - name: Active - name: Add - name: Advanced - name: Alerts - name: All - name: Allowed - name: Announcement - name: Applications - name: Archive - name: Assigned - name: Audit - name: Authenticated - name: Banner - name: Between - name: Cache - name: Checks - name: Child - name: Claims - name: Code - name: Collaborators - name: Comments - name: Committers - name: Configuration - name: Conflicting - name: Connection - name: Convert - name: Create - name: Custom - name: Customizations - name: Delete - name: Deliveries - name: Dependabot - name: Disables - name: Discussions - name: Docker - name: Download - name: During - name: Enabled - name: Enables - name: Enforcement - name: Events - name: External - name: Feature - name: Fine-Grained - name: Get - name: Groups - name: Hook - name: Hooks - name: Installations - name: Issues - name: Keys - name: Labels - name: Lists - name: Log - name: Manager - name: Member - name: Members - name: Membership - name: Memberships - name: Migrations - name: Name - name: Openid Connect - name: Organizations - name: Outside - name: Owned - name: Package - name: Packages - name: Permissions - name: Ping - name: Pre-Receive - name: Project - name: Projects - name: Public - name: Re-Deliver - name: Reactions - name: Registration - name: Remove - name: Repositories - name: Restore - name: Role - name: Roles - name: Runners - name: Scanning - name: Secrets - name: Selected - name: Self-Hosted - name: Sets - name: Start - name: Status - name: Subject - name: Teams - name: Templates - name: Tokens - name: Unlock - name: Update - name: Usage - name: Users - name: Variables - name: Versions - name: Webhooks - name: Workflows servers: - url: '{protocol}://{hostname}/api/v3' variables: hostname: description: Self-hosted Enterprise Server hostname default: HOSTNAME protocol: description: Self-hosted Enterprise Server protocol default: http externalDocs: description: GitHub Enterprise Developer Docs url: https://docs.github.com/enterprise-server@3.9/rest/ paths: /organizations: get: summary: GitHub List Organizations description: >- Lists all organizations, in the order that they were created on GitHub Enterprise Server. **Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. tags: - Lists - Organizations operationId: listOrganizations externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/orgs#list-organizations parameters: - $ref: '#/components/parameters/since-org' - $ref: '#/components/parameters/per-page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/organization-simple' examples: default: $ref: '#/components/examples/organization-simple-items' headers: Link: example: ; rel="next" schema: type: string '304': $ref: '#/components/responses/not_modified' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /organizations/{organization_id}/custom_roles: get: summary: GitHub Deprecated - List Custom Repository Roles in an Organization description: >- **Note**: This operation is deprecated and will be removed in the future. Use the "[List custom repository roles](https://docs.github.com/enterprise-server@3.9/rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization)" endpoint instead. List the custom repository roles available in this organization. For more information on custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)." The authenticated user must be administrator of the organization or of a repository of the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. tags: - Custom - Lists - Organizations - Repositories - Roles operationId: deprecatedListCustomRepositoryRolesInAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/custom-roles#deprecatedlist-custom-repository-roles-in-an-organization parameters: - name: organization_id description: The unique identifier of the organization. in: path required: true schema: type: string example: '12345678' responses: '200': description: Response - list of custom role names content: application/json: schema: type: object properties: total_count: description: The number of custom roles in this organization example: 3 type: integer custom_roles: type: array items: $ref: '#/components/schemas/organization-custom-repository-role' examples: default: $ref: >- #/components/examples/organization-custom-repository-role-example x-github: githubCloudOnly: true enabledForGitHubApps: true removalDate: '2025-02-15' deprecationDate: '2023-02-15' category: orgs subcategory: custom-roles deprecated: true security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}: get: summary: GitHub Get an Organization description: >- Gets information about an organization. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/enterprise-server@3.9/articles/securing-your-account-with-two-factor-authentication-2fa/). To see the full details about an organization, the authenticated user must be an organization owner. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization. To see information about an organization's GitHub Enterprise Server plan, GitHub Apps need the `Organization plan` permission. tags: - Get - Organizations operationId: getAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/orgs#get-an-organization parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/organization-full' examples: default-response: $ref: '#/components/examples/organization-full' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: summary: GitHub Update an Organization description: >- **Parameter Deprecation Notice:** GitHub Enterprise Server will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). Updates the organization's profile and member privileges. The authenticated user must be an organization owner to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. tags: - Organizations - Update operationId: updateAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/orgs#update-an-organization parameters: - $ref: '#/components/parameters/org' requestBody: required: false content: application/json: schema: type: object properties: billing_email: type: string description: Billing email address. This address is not publicized. company: type: string description: The company name. email: type: string description: The publicly visible email address. twitter_username: type: string description: The Twitter username of the company. location: type: string description: The location. name: type: string description: The shorthand name of the company. description: type: string description: The description of the company. has_organization_projects: type: boolean description: Whether an organization can use organization projects. has_repository_projects: type: boolean description: >- Whether repositories that belong to the organization can use repository projects. default_repository_permission: type: string description: >- Default permission level members have for organization repositories. enum: - read - write - admin - none default: read members_can_create_repositories: type: boolean description: >- Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details. default: true members_can_create_internal_repositories: type: boolean description: >- Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/enterprise-server@3.9/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. members_can_create_private_repositories: type: boolean description: >- Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/enterprise-server@3.9/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. members_can_create_public_repositories: type: boolean description: >- Whether organization members can create public repositories, which are visible to anyone. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/enterprise-server@3.9/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. members_allowed_repository_creation_type: type: string description: >- Specifies which types of repositories non-admin organization members can create. **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details. enum: - all - private - none members_can_create_pages: type: boolean description: >- Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted. default: true members_can_fork_private_repositories: type: boolean description: >- Whether organization members can fork private organization repositories. default: false web_commit_signoff_required: type: boolean description: >- Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface. default: false blog: type: string example: '"http://github.blog"' advanced_security_enabled_for_new_repositories: type: boolean description: >- Whether GitHub Advanced Security is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. dependabot_alerts_enabled_for_new_repositories: type: boolean description: >- Whether Dependabot alerts is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. dependabot_security_updates_enabled_for_new_repositories: type: boolean description: >- Whether Dependabot security updates is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. dependency_graph_enabled_for_new_repositories: type: boolean description: >- Whether dependency graph is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. secret_scanning_enabled_for_new_repositories: type: boolean description: >- Whether secret scanning is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. secret_scanning_push_protection_enabled_for_new_repositories: type: boolean description: >- Whether secret scanning push protection is automatically enabled for new repositories. To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. secret_scanning_push_protection_custom_link_enabled: type: boolean description: >- Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection. secret_scanning_push_protection_custom_link: type: string description: >- If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret. examples: default: value: billing_email: mona@github.com company: GitHub email: mona@github.com twitter_username: github location: San Francisco name: github description: GitHub, the company. default_repository_permission: read members_can_create_repositories: true members_allowed_repository_creation_type: all responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/organization-full' examples: default: $ref: '#/components/examples/organization-full' '409': $ref: '#/components/responses/conflict' '422': description: Validation failed content: application/json: schema: oneOf: - $ref: '#/components/schemas/validation-error' - $ref: '#/components/schemas/validation-error-simple' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete an Organization description: >- Deletes an organization and all its repositories. The organization login will be unavailable for 90 days after deletion. Please review the Terms of Service regarding account deletion before using this endpoint: https://docs.github.com/enterprise-server@3.9/site-policy/github-terms/github-terms-of-service operationId: deleteAnOrganization tags: - Delete - Organizations externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/orgs#delete-an-organization parameters: - $ref: '#/components/parameters/org' responses: '202': $ref: '#/components/responses/accepted' '403': $ref: '#/components/responses/forbidden' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/cache/usage: get: summary: GitHub Get Github Actions Cache Usage for an Organization description: >- Gets the total GitHub Actions cache usage for an organization. The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated. OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. tags: - Actions - Cache - Get - Organizations - Usage operationId: getGithubActionsCacheUsageForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/actions-cache-usage-org-enterprise' examples: default: $ref: '#/components/examples/actions-cache-usage-org-enterprise' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: cache security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/cache/usage-by-repository: get: summary: GitHub List Repositories with Github Actions Cache Usage for an Organization description: >- Lists repositories and their GitHub Actions cache usage for an organization. The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated. OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. tags: - Actions - Cache - Lists - Organizations - Repositories - Usage operationId: listRepositoriesWithGithubActionsCacheUsageForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: object required: - total_count - repository_cache_usages properties: total_count: type: integer repository_cache_usages: type: array items: $ref: '#/components/schemas/actions-cache-usage-by-repository' examples: default: $ref: '#/components/examples/org-actions-cache-usage-by-repo' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: cache security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/oidc/customization/sub: get: summary: >- GitHub Get the Customization Template for an Oidc Subject Claim for an Organization description: >- Gets the customization template for an OpenID Connect (OIDC) subject claim. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. tags: - Claims - Customizations - Get - Openid Connect - Organizations - Subject - Templates operationId: getTheCustomizationTemplateForAnOidcSubjectClaimForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - $ref: '#/components/parameters/org' responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: schema: $ref: '#/components/schemas/oidc-custom-sub' examples: default: $ref: '#/components/examples/oidc-custom-sub' x-github: enabledForGitHubApps: true category: actions subcategory: oidc security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: >- GitHub Set the Customization Template for an Oidc Subject Claim for an Organization description: >- Creates or updates the customization template for an OpenID Connect (OIDC) subject claim. OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. tags: - Claims - Customizations - Openid Connect - Organizations - Sets - Subject - Templates operationId: setTheCustomizationTemplateForAnOidcSubjectClaimForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - $ref: '#/components/parameters/org' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/oidc-custom-sub' examples: default: $ref: '#/components/examples/oidc-custom-sub' responses: '201': description: Empty response content: application/json: schema: $ref: '#/components/schemas/empty-object' examples: default: value: '403': $ref: '#/components/responses/forbidden' '404': $ref: '#/components/responses/not_found' x-github: enabledForGitHubApps: true previews: [] category: actions subcategory: oidc security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/permissions: get: summary: GitHub Get Github Actions Permissions for an Organization description: >- Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. operationId: getGithubActionsPermissionsForAnOrganization tags: - Actions - Get - Organizations - Permissions externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/actions-organization-permissions' examples: default: $ref: '#/components/examples/actions-organization-permissions' x-github: enabledForGitHubApps: true githubCloudOnly: false category: actions subcategory: permissions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Set Github Actions Permissions for an Organization description: >- Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization. If the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: setGithubActionsPermissionsForAnOrganization tags: - Actions - Organizations - Permissions - Sets externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - $ref: '#/components/parameters/org' responses: '204': description: Response requestBody: required: true content: application/json: schema: type: object properties: enabled_repositories: $ref: '#/components/schemas/enabled-repositories' allowed_actions: $ref: '#/components/schemas/allowed-actions' required: - enabled_repositories examples: default: value: enabled_repositories: all allowed_actions: selected x-github: enabledForGitHubApps: true githubCloudOnly: false category: actions subcategory: permissions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/permissions/repositories: get: summary: GitHub List Selected Repositories Enabled for Github Actions in an Organization description: >- Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: listSelectedRepositoriesEnabledForGithubActionsInAnOrganization tags: - Actions - Enabled - Lists - Organizations - Repositories - Selected externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: object required: - total_count - repositories properties: total_count: type: number repositories: type: array items: $ref: '#/components/schemas/repository' examples: default: $ref: '#/components/examples/repository-paginated' x-github: enabledForGitHubApps: true githubCloudOnly: false category: actions subcategory: permissions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Set Selected Repositories Enabled for Github Actions in an Organization description: >- Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: setSelectedRepositoriesEnabledForGithubActionsInAnOrganization tags: - Actions - Enabled - Organizations - Repositories - Selected - Sets externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - $ref: '#/components/parameters/org' responses: '204': description: Response requestBody: required: true content: application/json: schema: type: object properties: selected_repository_ids: description: List of repository IDs to enable for GitHub Actions. type: array items: type: integer description: Unique identifier of the repository. required: - selected_repository_ids examples: default: value: selected_repository_ids: - 32 - 42 x-github: enabledForGitHubApps: true githubCloudOnly: false category: actions subcategory: permissions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/permissions/repositories/{repository_id}: put: summary: GitHub Enable Selected Repository for Github Actions in an Organization description: >- Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: enableSelectedRepositoryForGithubActionsInAnOrganization tags: - Actions - Enables - Organizations - Repositories - Selected externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/repository-id' responses: '204': description: Response x-github: enabledForGitHubApps: true githubCloudOnly: false category: actions subcategory: permissions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Disable Selected Repository for Github Actions in an Organization description: >- Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: disableSelectedRepositoryForGithubActionsInAnOrganization tags: - Actions - Disables - Organizations - Repositories - Selected externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/repository-id' responses: '204': description: Response x-github: enabledForGitHubApps: true githubCloudOnly: false category: actions subcategory: permissions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/permissions/selected-actions: get: summary: GitHub Get Allowed Actions for an Organization description: >- Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."" You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. operationId: getAllowedActionsForAnOrganization tags: - Actions - Allowed - Get - Organizations externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/selected-actions' examples: default: $ref: '#/components/examples/selected-actions' x-github: enabledForGitHubApps: true githubCloudOnly: false category: actions subcategory: permissions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Set Allowed Actions for an Organization description: >- Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)." If the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings. To use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: setAllowedActionsForAnOrganization tags: - Actions - Allowed - Organizations - Sets externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - $ref: '#/components/parameters/org' responses: '204': description: Response requestBody: required: false content: application/json: schema: $ref: '#/components/schemas/selected-actions' examples: selected_actions: $ref: '#/components/examples/selected-actions' x-github: enabledForGitHubApps: true githubCloudOnly: false category: actions subcategory: permissions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/permissions/workflow: get: summary: GitHub Get Default Workflow Permissions for an Organization description: >- Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, as well as whether GitHub Actions can submit approving pull request reviews. For more information, see "[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)." OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Get - Organizations - Permissions - Workflows operationId: getDefaultWorkflowPermissionsForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/actions-get-default-workflow-permissions' examples: default: $ref: '#/components/examples/actions-default-workflow-permissions' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: permissions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Set Default Workflow Permissions for an Organization description: >- Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions can submit approving pull request reviews. For more information, see "[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)." OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Organizations - Permissions - Sets - Workflows operationId: setDefaultWorkflowPermissionsForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - $ref: '#/components/parameters/org' responses: '204': description: Success response '409': description: >- Conflict response when changing a setting is prevented by the owning enterprise requestBody: required: false content: application/json: schema: $ref: '#/components/schemas/actions-set-default-workflow-permissions' examples: default: $ref: '#/components/examples/actions-default-workflow-permissions' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: permissions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/runner-groups: get: summary: GitHub List Self-hosted Runner Groups for an Organization description: >- Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: listSelfhostedRunnerGroupsForAnOrganization tags: - Groups - Lists - Organizations - Runners - Self-Hosted externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' - $ref: '#/components/parameters/visible-to-repository' responses: '200': description: Response content: application/json: schema: type: object required: - total_count - runner_groups properties: total_count: type: number runner_groups: type: array items: $ref: '#/components/schemas/runner-groups-org' examples: default: $ref: '#/components/examples/runner-groups-org' x-github: enabledForGitHubApps: true githubCloudOnly: true category: actions subcategory: self-hosted-runner-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: GitHub Create Self-hosted Runner Group for an Organization description: >- Creates a new self-hosted runner group for an organization. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: createSelfhostedRunnerGroupForAnOrganization tags: - Create - Groups - Organizations - Runners - Self-Hosted externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - $ref: '#/components/parameters/org' requestBody: required: true content: application/json: schema: type: object properties: name: description: Name of the runner group. type: string visibility: description: >- Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. type: string enum: - selected - all - private default: all selected_repository_ids: description: List of repository IDs that can access the runner group. type: array items: type: integer description: Unique identifier of the repository. runners: description: List of runner IDs to add to the runner group. type: array items: type: integer description: Unique identifier of the runner. allows_public_repositories: description: >- Whether the runner group can be used by `public` repositories. type: boolean default: false restricted_to_workflows: description: >- If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. type: boolean default: false selected_workflows: description: >- List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. type: array items: type: string description: >- Name of workflow the runner group should be allowed to run. Note that a ref, tag, or long SHA is required. example: octo-org/octo-repo/.github/workflows/deploy.yaml@main required: - name examples: default: value: name: Expensive hardware runners visibility: selected selected_repository_ids: - 32 - 91 runners: - 9 - 2 responses: '201': description: Response content: application/json: schema: $ref: '#/components/schemas/runner-groups-org' examples: default: $ref: '#/components/examples/runner-group' x-github: enabledForGitHubApps: true githubCloudOnly: true category: actions subcategory: self-hosted-runner-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/runner-groups/{runner_group_id}: get: summary: GitHub Get Self-hosted Runner Group for an Organization description: >- Gets a specific self-hosted runner group for an organization. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: getSelfhostedRunnerGroupForAnOrganization tags: - Get - Groups - Organizations - Runners - Self-Hosted externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-group-id' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/runner-groups-org' examples: default: $ref: '#/components/examples/runner-group-item' x-github: enabledForGitHubApps: true githubCloudOnly: true category: actions subcategory: self-hosted-runner-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: summary: GitHub Update Self-hosted Runner Group for an Organization description: >- Updates the `name` and `visibility` of a self-hosted runner group in an organization. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: updateSelfhostedRunnerGroupForAnOrganization tags: - Groups - Organizations - Runners - Self-Hosted - Update externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-group-id' requestBody: required: true content: application/json: schema: type: object properties: name: description: Name of the runner group. type: string visibility: description: >- Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. type: string enum: - selected - all - private allows_public_repositories: description: >- Whether the runner group can be used by `public` repositories. type: boolean default: false restricted_to_workflows: description: >- If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. type: boolean default: false selected_workflows: description: >- List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. type: array items: type: string description: >- Name of workflow the runner group should be allowed to run. Note that a ref, tag, or long SHA is required. example: octo-org/octo-repo/.github/workflows/deploy.yaml@main required: - name examples: default: value: name: Expensive hardware runners visibility: selected responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/runner-groups-org' examples: default: $ref: '#/components/examples/runner-group' x-github: enabledForGitHubApps: true githubCloudOnly: true category: actions subcategory: self-hosted-runner-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete Self-hosted Runner Group from an Organization description: >- Deletes a self-hosted runner group for an organization. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: deleteSelfhostedRunnerGroupFromAnOrganization tags: - Delete - Groups - Organizations - Runners - Self-Hosted externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-group-id' responses: '204': description: Response x-github: enabledForGitHubApps: true githubCloudOnly: true category: actions subcategory: self-hosted-runner-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories: get: summary: GitHub List Repository Access to Self-hosted Runner Group in an Organization description: >- Lists the repositories with access to a self-hosted runner group configured in an organization. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: listRepositoryAccessToSelfhostedRunnerGroupInAnOrganization tags: - Access - Groups - Lists - Organizations - Repositories - Runners - Self-Hosted externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-group-id' - $ref: '#/components/parameters/page' - $ref: '#/components/parameters/per-page' responses: '200': description: Response content: application/json: schema: type: object required: - total_count - repositories properties: total_count: type: number repositories: type: array items: $ref: '#/components/schemas/minimal-repository' examples: default: $ref: '#/components/examples/minimal-repository-paginated' x-github: enabledForGitHubApps: true githubCloudOnly: true category: actions subcategory: self-hosted-runner-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Set Repository Access for Self-hosted Runner Group in an Organization description: >- Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: setRepositoryAccessForSelfhostedRunnerGroupInAnOrganization tags: - Access - Groups - Organizations - Repositories - Runners - Self-Hosted - Sets externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-group-id' requestBody: required: true content: application/json: schema: type: object properties: selected_repository_ids: description: List of repository IDs that can access the runner group. type: array items: type: integer description: Unique identifier of the repository. required: - selected_repository_ids examples: default: value: selected_repository_ids: - 32 - 91 responses: '204': description: Response x-github: enabledForGitHubApps: true githubCloudOnly: true category: actions subcategory: self-hosted-runner-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}: put: summary: GitHub Add Repository Access to Self-hosted Runner Group in an Organization description: >- Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: addRepositoryAccessToSelfhostedRunnerGroupInAnOrganization tags: - Access - Add - Groups - Organizations - Repositories - Runners - Self-Hosted externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-group-id' - $ref: '#/components/parameters/repository-id' responses: '204': description: Response x-github: enabledForGitHubApps: true githubCloudOnly: true category: actions subcategory: self-hosted-runner-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Repository Access to Self-hosted Runner Group in an Organization description: >- Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: removeRepositoryAccessToSelfhostedRunnerGroupInAnOrganization tags: - Access - Groups - Organizations - Remove - Repositories - Runners - Self-Hosted externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-group-id' - $ref: '#/components/parameters/repository-id' responses: '204': description: Response x-github: enabledForGitHubApps: true githubCloudOnly: true category: actions subcategory: self-hosted-runner-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/runner-groups/{runner_group_id}/runners: get: summary: GitHub List Self-hosted Runners in Group for an Organization description: >- Lists self-hosted runners that are in a specific organization group. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: listSelfhostedRunnersInGroupForAnOrganization tags: - Groups - Lists - Organizations - Runners - Self-Hosted externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-group-id' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: object required: - total_count - runners properties: total_count: type: number runners: type: array items: $ref: '#/components/schemas/runner' examples: default: $ref: '#/components/examples/runner-paginated' headers: Link: $ref: '#/components/headers/link' x-github: enabledForGitHubApps: true githubCloudOnly: true category: actions subcategory: self-hosted-runner-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Set Self-hosted Runners in Group for an Organization description: >- Replaces the list of self-hosted runners that are part of an organization runner group. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: setSelfhostedRunnersInGroupForAnOrganization tags: - Groups - Organizations - Runners - Self-Hosted - Sets externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-group-id' requestBody: required: true content: application/json: schema: type: object properties: runners: description: List of runner IDs to add to the runner group. type: array items: type: integer description: Unique identifier of the runner. required: - runners examples: default: value: runners: - 9 - 2 responses: '204': description: Response x-github: enabledForGitHubApps: true githubCloudOnly: true category: actions subcategory: self-hosted-runner-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}: put: summary: GitHub Add Self-hosted Runner to Group for an Organization description: >- Adds a self-hosted runner to a runner group configured in an organization. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: addSelfhostedRunnerToGroupForAnOrganization tags: - Add - Groups - Organizations - Runners - Self-Hosted externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-group-id' - $ref: '#/components/parameters/runner-id' responses: '204': description: Response x-github: enabledForGitHubApps: true githubCloudOnly: true category: actions subcategory: self-hosted-runner-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Self-hosted Runner from Group for an Organization description: >- Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. operationId: removeSelfhostedRunnerFromGroupForAnOrganization tags: - Groups - Organizations - Remove - Runners - Self-Hosted externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-group-id' - $ref: '#/components/parameters/runner-id' responses: '204': description: Response x-github: enabledForGitHubApps: true githubCloudOnly: true category: actions subcategory: self-hosted-runner-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/runners: get: summary: GitHub List Self-hosted Runners for an Organization description: >- Lists all self-hosted runners configured in an organization. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Lists - Organizations - Runners - Self-Hosted operationId: listSelfhostedRunnersForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: object required: - total_count - runners properties: total_count: type: integer runners: type: array items: $ref: '#/components/schemas/runner' examples: default: $ref: '#/components/examples/runner-paginated' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: self-hosted-runners security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/runners/downloads: get: summary: GitHub List Runner Applications for an Organization description: >- Lists binaries for the runner application that you can download and run. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Applications - Lists - Organizations - Runners operationId: listRunnerApplicationsForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/runner-application' examples: default: $ref: '#/components/examples/runner-application-items-airgap' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: self-hosted-runners security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/runners/registration-token: post: summary: GitHub Create Registration Token for an Organization description: >- Returns a token that you can pass to the `config` script. The token expires after one hour. For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to configure your self-hosted runner: ``` ./config.sh --url https://github.com/octo-org --token TOKEN ``` Authenticated users must have admin access to the organization to use this endpoint. OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - Create - Organizations - Registration - Tokens operationId: createRegistrationTokenForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - $ref: '#/components/parameters/org' responses: '201': description: Response content: application/json: schema: $ref: '#/components/schemas/authentication-token' examples: default: $ref: '#/components/examples/authentication-token' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: self-hosted-runners security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/runners/remove-token: post: summary: GitHub Create Remove Token for an Organization description: >- Returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour. For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to remove your self-hosted runner from an organization: ``` ./config.sh remove --token TOKEN ``` Authenticated users must have admin access to the organization to use this endpoint. OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - Create - Organizations - Remove - Tokens operationId: createRemoveTokenForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - $ref: '#/components/parameters/org' responses: '201': description: Response content: application/json: schema: $ref: '#/components/schemas/authentication-token' examples: default: $ref: '#/components/examples/authentication-token-2' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: self-hosted-runners security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/runners/{runner_id}: get: summary: GitHub Get Self-hosted Runner for an Organization description: >- Gets a specific self-hosted runner configured in an organization. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Get - Organizations - Runners - Self-Hosted operationId: getSelfhostedRunnerForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-id' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/runner' examples: default: $ref: '#/components/examples/runner' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: self-hosted-runners security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete Self-hosted Runner from an Organization description: >- Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. Authenticated users must have admin access to the organization to use this endpoint. OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - Delete - Organizations - Runners - Self-Hosted operationId: deleteSelfhostedRunnerFromAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-id' responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: self-hosted-runners security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/runners/{runner_id}/labels: get: summary: GitHub List Labels for Self-hosted Runner for an Organization description: >- Lists all labels for a self-hosted runner configured in an organization. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Labels - Lists - Organizations - Runners - Self-Hosted operationId: listLabelsForSelfhostedRunnerForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-id' responses: '200': $ref: '#/components/responses/actions_runner_labels' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: self-hosted-runners security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: GitHub Add Custom Labels to Self-hosted Runner for an Organization description: >- Adds custom labels to a self-hosted runner configured in an organization. Authenticated users must have admin access to the organization to use this endpoint. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Add - Custom - Labels - Organizations - Runners - Self-Hosted operationId: addCustomLabelsToSelfhostedRunnerForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-id' requestBody: required: true content: application/json: schema: type: object required: - labels properties: labels: type: array minItems: 1 maxItems: 100 description: The names of the custom labels to add to the runner. items: type: string examples: default: value: labels: - gpu - accelerated responses: '200': $ref: '#/components/responses/actions_runner_labels' '404': $ref: '#/components/responses/not_found' '422': $ref: '#/components/responses/validation_failed_simple' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: self-hosted-runners security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Set Custom Labels for Self-hosted Runner for an Organization description: >- Remove all previous custom labels and set the new custom labels for a specific self-hosted runner configured in an organization. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Custom - Labels - Organizations - Runners - Self-Hosted - Sets operationId: setCustomLabelsForSelfhostedRunnerForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-id' requestBody: required: true content: application/json: schema: type: object required: - labels properties: labels: type: array minItems: 0 maxItems: 100 description: >- The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels. items: type: string examples: default: value: labels: - gpu - accelerated responses: '200': $ref: '#/components/responses/actions_runner_labels' '404': $ref: '#/components/responses/not_found' '422': $ref: '#/components/responses/validation_failed_simple' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: self-hosted-runners security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove All Custom Labels from Self-hosted Runner for an Organization description: >- Remove all custom labels from a self-hosted runner configured in an organization. Returns the remaining read-only labels from the runner. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - All - Custom - Labels - Organizations - Remove - Runners - Self-Hosted operationId: removeAllCustomLabelsFromSelfhostedRunnerForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-id' responses: '200': $ref: '#/components/responses/actions_runner_labels_readonly' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: self-hosted-runners security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/runners/{runner_id}/labels/{name}: delete: summary: GitHub Remove Custom Label from Self-hosted Runner for an Organization description: >- Remove a custom label from a self-hosted runner configured in an organization. Returns the remaining labels from the runner. This endpoint returns a `404 Not Found` status if the custom label is not present on the runner. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Custom - Labels - Organizations - Remove - Runners - Self-Hosted operationId: removeCustomLabelFromSelfhostedRunnerForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/runner-id' - $ref: '#/components/parameters/runner-label-name' responses: '200': $ref: '#/components/responses/actions_runner_labels' '404': $ref: '#/components/responses/not_found' '422': $ref: '#/components/responses/validation_failed_simple' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: self-hosted-runners security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/secrets: get: summary: GitHub List Organization Secrets description: >- Lists all secrets available in an organization without revealing their encrypted values. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Lists - Organizations - Secrets operationId: listOrganizationSecrets externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#list-organization-secrets parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: object required: - total_count - secrets properties: total_count: type: integer secrets: type: array items: $ref: '#/components/schemas/organization-actions-secret' examples: default: $ref: '#/components/examples/organization-actions-secret-paginated' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/secrets/public-key: get: summary: GitHub Get an Organization Public Key description: >- Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. The authenticated user must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - Get - Keys - Organizations - Public operationId: getAnOrganizationPublicKey externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#get-an-organization-public-key parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/actions-public-key' examples: default: $ref: '#/components/examples/actions-public-key' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/secrets/{secret_name}: get: summary: GitHub Get an Organization Secret description: >- Gets a single organization secret without revealing its encrypted value. The authenticated user must have collaborator access to a repository to create, update, or read secrets OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - Get - Organizations - Secrets operationId: getAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#get-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/organization-actions-secret' examples: default: $ref: '#/components/examples/organization-actions-secret' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Create or Update an Organization Secret description: >- Creates or updates an organization secret with an encrypted value. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-server@3.9/rest/guides/encrypting-secrets-for-the-rest-api)." Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - Create - Organizations - Secrets - Update operationId: createOrUpdateAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#create-or-update-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' requestBody: required: true content: application/json: schema: type: object properties: encrypted_value: type: string description: >- Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#get-an-organization-public-key) endpoint. pattern: >- ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$ key_id: type: string description: ID of the key you used to encrypt the secret. visibility: type: string description: >- Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret. enum: - all - private - selected selected_repository_ids: type: array description: >- An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints. items: type: integer required: - visibility examples: default: value: encrypted_value: c2VjcmV0 key_id: '012345678912345678' visibility: selected selected_repository_ids: - 1296269 - 1296280 responses: '201': description: Response when creating a secret content: application/json: schema: $ref: '#/components/schemas/empty-object' examples: default: value: '204': description: Response when updating a secret x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete an Organization Secret description: >- Deletes a secret in an organization using the secret name. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - Delete - Organizations - Secrets operationId: deleteAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#delete-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/secrets/{secret_name}/repositories: get: summary: GitHub List Selected Repositories for an Organization Secret description: >- Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Lists - Organizations - Repositories - Secrets - Selected operationId: listSelectedRepositoriesForAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' - $ref: '#/components/parameters/page' - $ref: '#/components/parameters/per-page' responses: '200': description: Response content: application/json: schema: type: object required: - total_count - repositories properties: total_count: type: integer repositories: type: array items: $ref: '#/components/schemas/minimal-repository' examples: default: $ref: '#/components/examples/public-repository-paginated' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Set Selected Repositories for an Organization Secret description: >- Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Organizations - Repositories - Secrets - Selected - Sets operationId: setSelectedRepositoriesForAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' requestBody: required: true content: application/json: schema: type: object properties: selected_repository_ids: type: array description: >- An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints. items: type: integer required: - selected_repository_ids examples: default: value: selected_repository_ids: - 64780797 responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}: put: summary: GitHub Add Selected Repository to an Organization Secret description: >- Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. For more information about setting the visibility, see [Create or update an organization secret](https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - Add - Organizations - Repositories - Secrets - Selected operationId: addSelectedRepositoryToAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' - name: repository_id in: path required: true schema: type: integer example: 42 responses: '204': description: No Content when repository was added to the selected list '409': description: Conflict when visibility type is not set to selected x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Selected Repository from an Organization Secret description: >- Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Organizations - Remove - Repositories - Secrets - Selected operationId: removeSelectedRepositoryFromAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' - name: repository_id in: path required: true schema: type: integer example: 42 responses: '204': description: Response when repository was removed from the selected list '409': description: Conflict when visibility type not set to selected x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/variables: get: summary: GitHub List Organization Variables description: >- Lists all organization variables. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Lists - Organizations - Variables operationId: listOrganizationVariables externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/variables#list-organization-variables parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/variables-per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: object required: - total_count - variables properties: total_count: type: integer variables: type: array items: $ref: '#/components/schemas/organization-actions-variable' examples: default: $ref: >- #/components/examples/organization-actions-variables-paginated headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: variables security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: GitHub Create an Organization Variable description: >- Creates an organization variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - Create - Organizations - Variables operationId: createAnOrganizationVariable externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/variables#create-an-organization-variable parameters: - $ref: '#/components/parameters/org' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: The name of the variable. value: type: string description: The value of the variable. visibility: type: string description: >- The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable. enum: - all - private - selected selected_repository_ids: type: array description: >- An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`. items: type: integer required: - name - value - visibility examples: default: value: name: USERNAME value: octocat visibility: selected selected_repository_ids: - 1296269 - 1296280 responses: '201': description: Response when creating a variable content: application/json: schema: $ref: '#/components/schemas/empty-object' examples: default: value: x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: variables security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/variables/{name}: get: summary: GitHub Get an Organization Variable description: >- Gets a specific variable in an organization. The authenticated user must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - Get - Organizations - Variables operationId: getAnOrganizationVariable externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/variables#get-an-organization-variable parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/variable-name' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/organization-actions-variable' examples: default: $ref: '#/components/examples/organization-actions-variable' x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: variables security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: summary: GitHub Update an Organization Variable description: >- Updates an organization variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Organizations - Update - Variables operationId: updateAnOrganizationVariable externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/variables#update-an-organization-variable parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/variable-name' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: The name of the variable. value: type: string description: The value of the variable. visibility: type: string description: >- The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable. enum: - all - private - selected selected_repository_ids: type: array description: >- An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`. items: type: integer examples: default: value: name: USERNAME value: octocat visibility: selected selected_repository_ids: - 1296269 - 1296280 responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: variables security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete an Organization Variable description: >- Deletes an organization variable using the variable name. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - Delete - Organizations - Variables operationId: deleteAnOrganizationVariable externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/variables#delete-an-organization-variable parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/variable-name' responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: variables security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/variables/{name}/repositories: get: summary: GitHub List Selected Repositories for an Organization Variable description: >- Lists all repositories that can access an organization variable that is available to selected repositories. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Lists - Organizations - Repositories - Selected - Variables operationId: listSelectedRepositoriesForAnOrganizationVariable externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/variable-name' - $ref: '#/components/parameters/page' - $ref: '#/components/parameters/per-page' responses: '200': description: Response content: application/json: schema: type: object required: - total_count - repositories properties: total_count: type: integer repositories: type: array items: $ref: '#/components/schemas/minimal-repository' examples: default: $ref: '#/components/examples/public-repository-paginated' '409': description: >- Response when the visibility of the variable is not set to `selected` x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: variables security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Set Selected Repositories for an Organization Variable description: >- Replaces all repositories for an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Organizations - Repositories - Selected - Sets - Variables operationId: setSelectedRepositoriesForAnOrganizationVariable externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/variable-name' requestBody: required: true content: application/json: schema: type: object properties: selected_repository_ids: type: array description: >- The IDs of the repositories that can access the organization variable. items: type: integer required: - selected_repository_ids examples: default: value: selected_repository_ids: - 64780797 responses: '204': description: Response '409': description: >- Response when the visibility of the variable is not set to `selected` x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: variables security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/actions/variables/{name}/repositories/{repository_id}: put: summary: GitHub Add Selected Repository to an Organization Variable description: >- Adds a repository to an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - Add - Organizations - Repositories - Selected - Variables operationId: addSelectedRepositoryToAnOrganizationVariable externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/variable-name' - name: repository_id in: path required: true schema: type: integer example: 42 responses: '204': description: Response '409': description: >- Response when the visibility of the variable is not set to `selected` x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: variables security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Selected Repository from an Organization Variable description: >- Removes a repository from an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - Organizations - Remove - Repositories - Selected - Variables operationId: removeSelectedRepositoryFromAnOrganizationVariable externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/variable-name' - name: repository_id in: path required: true schema: type: integer example: 42 responses: '204': description: Response '409': description: >- Response when the visibility of the variable is not set to `selected` x-github: githubCloudOnly: false enabledForGitHubApps: true category: actions subcategory: variables security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/announcement: get: summary: GitHub Get Announcement Banner for Organization description: >- Gets the announcement banner currently set for the organization. Only returns the announcement banner set at the organization level. Organization members may also see an enterprise-level announcement banner. To get an announcement banner displayed at the enterprise level, use the enterprise-level endpoint. tags: - Announcement - Banner - Get - Organizations operationId: getAnnouncementBannerForOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/announcement-banner' examples: default: $ref: '#/components/examples/announcement' x-github: githubCloudOnly: true enabledForGitHubApps: true category: announcement-banners subcategory: organizations security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: summary: GitHub Set Announcement Banner for Organization description: Sets the announcement banner to display for the organization. tags: - Announcement - Banner - Organizations - Sets operationId: setAnnouncementBannerForOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/announcement-banners/organizations#set-announcement-banner-for-organization requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/announcement' examples: default: $ref: '#/components/examples/announcement' parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/announcement-banner' examples: default: $ref: '#/components/examples/announcement' x-github: githubCloudOnly: true enabledForGitHubApps: true category: announcement-banners subcategory: organizations security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Announcement Banner from Organization description: Removes the announcement banner currently set for the organization. tags: - Announcement - Banner - Organizations - Remove operationId: removeAnnouncementBannerFromOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - $ref: '#/components/parameters/org' responses: '204': description: Response x-github: githubCloudOnly: true enabledForGitHubApps: true category: announcement-banners subcategory: organizations security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/audit-log: get: summary: GitHub Get the Audit Log for an Organization description: >- Gets the audit log for an organization. For more information, see "[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.9/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization)." By default, the response includes up to 30 events from the past three months. Use the `phrase` parameter to filter results and retrieve older events. For example, use the `phrase` parameter with the `created` qualifier to filter events based on when the events occurred. For more information, see "[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.9/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#searching-the-audit-log)." Use pagination to retrieve fewer or more than 30 events. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api)." The authenticated user must be an organization owner to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `read:audit_log` scope to use this endpoint. operationId: getTheAuditLogForAnOrganization tags: - Audit - Get - Log - Organizations externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/audit-log-phrase' - $ref: '#/components/parameters/audit-log-include' - $ref: '#/components/parameters/audit-log-after' - $ref: '#/components/parameters/audit-log-before' - $ref: '#/components/parameters/audit-log-order' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/audit-log-event' examples: default: $ref: '#/components/examples/audit-log' x-github: githubCloudOnly: true enabledForGitHubApps: true category: orgs subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/code-scanning/alerts: get: summary: GitHub List Code Scanning Alerts for an Organization description: >- Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." The authenticated user must be an owner or security manager for the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `security_events` or `repo`s cope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. tags: - Alerts - Code - Lists - Organizations - Scanning operationId: listCodeScanningAlertsForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/tool-name' - $ref: '#/components/parameters/tool-guid' - $ref: '#/components/parameters/pagination-before' - $ref: '#/components/parameters/pagination-after' - $ref: '#/components/parameters/page' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/direction' - name: state description: >- If specified, only code scanning alerts with this state will be returned. in: query required: false schema: $ref: '#/components/schemas/code-scanning-alert-state-query' example: open - name: sort description: The property by which to sort the results. in: query required: false schema: type: string enum: - created - updated default: created example: created - name: severity description: >- If specified, only code scanning alerts with this severity will be returned. in: query required: false schema: $ref: '#/components/schemas/code-scanning-alert-severity' example: example_value responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/code-scanning-organization-alert-items' examples: default: $ref: '#/components/examples/code-scanning-organization-alert-items' headers: Link: $ref: '#/components/headers/link' '404': $ref: '#/components/responses/not_found' '503': $ref: '#/components/responses/service_unavailable' x-github: githubCloudOnly: false enabledForGitHubApps: true category: code-scanning subcategory: code-scanning security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/custom-repository-roles: get: summary: GitHub List Custom Repository Roles in an Organization description: >- List the custom repository roles available in this organization. For more information on custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)." The authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. tags: - Custom - Lists - Organizations - Repositories - Roles operationId: listCustomRepositoryRolesInAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response - list of custom role names content: application/json: schema: type: object properties: total_count: description: The number of custom roles in this organization example: 3 type: integer custom_roles: type: array items: $ref: '#/components/schemas/organization-custom-repository-role' examples: default: $ref: >- #/components/examples/organization-custom-repository-role-list-example x-github: githubCloudOnly: true enabledForGitHubApps: true category: orgs subcategory: custom-roles security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: GitHub Create Custom Repository Role description: >- Creates a custom repository role that can be used by all repositories owned by the organization. For more information on custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)." The authenticated user must be an administrator for the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Create - Custom - Repositories - Role operationId: createCustomRepositoryRole externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/custom-roles#create-a-custom-repository-role parameters: - $ref: '#/components/parameters/org' requestBody: required: true content: application/json: schema: $ref: >- #/components/schemas/organization-custom-repository-role-create-schema examples: default: value: name: Labeler description: A role for issue and pull request labelers base_role: read permissions: - add_label responses: '201': description: Response content: application/json: schema: $ref: '#/components/schemas/organization-custom-repository-role' examples: default: $ref: >- #/components/examples/organization-custom-repository-role-example '404': $ref: '#/components/responses/not_found' '422': $ref: '#/components/responses/validation_failed' x-github: githubCloudOnly: true enabledForGitHubApps: true category: orgs subcategory: custom-roles security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/custom-repository-roles/{role_id}: get: summary: GitHub Get Custom Repository Role description: >- Gets a custom repository role that is available to all repositories owned by the organization. For more information on custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)." The authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. tags: - Custom - Get - Repositories - Role operationId: getCustomRepositoryRole externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/custom-roles#get-a-custom-repository-role parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/role-id' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/organization-custom-repository-role' examples: default: $ref: >- #/components/examples/organization-custom-repository-role-example '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: true enabledForGitHubApps: true category: orgs subcategory: custom-roles security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: summary: GitHub Update Custom Repository Role description: >- Updates a custom repository role that can be used by all repositories owned by the organization. For more information about custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)." The authenticated user must be an administrator for the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Custom - Repositories - Role - Update operationId: updateCustomRepositoryRole externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/custom-roles#update-a-custom-repository-role parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/role-id' requestBody: required: true content: application/json: schema: $ref: >- #/components/schemas/organization-custom-repository-role-update-schema examples: default: value: name: Labeler description: A role for issue and PR labelers base_role: read permissions: - add_label - remove_label responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/organization-custom-repository-role' examples: default: $ref: >- #/components/examples/organization-custom-repository-role-example '404': $ref: '#/components/responses/not_found' '422': $ref: '#/components/responses/validation_failed' x-github: githubCloudOnly: true enabledForGitHubApps: true category: orgs subcategory: custom-roles security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete Custom Repository Role description: >- Deletes a custom role from an organization. Once the custom role has been deleted, any user, team, or invitation with the deleted custom role will be reassigned the inherited role. For more information about custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)." The authenticated user must be an administrator for the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Custom - Delete - Repositories - Role operationId: deleteCustomRepositoryRole externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/role-id' responses: '204': description: Response x-github: githubCloudOnly: true enabledForGitHubApps: true category: orgs subcategory: custom-roles security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/dependabot/alerts: get: summary: GitHub List Dependabot Alerts for an Organization description: >- Lists Dependabot alerts for an organization. The authenticated user must be an owner or security manager for the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - Alerts - Dependabot - Lists - Organizations operationId: listDependabotAlertsForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/dependabot-alert-comma-separated-states' - $ref: '#/components/parameters/dependabot-alert-comma-separated-severities' - $ref: '#/components/parameters/dependabot-alert-comma-separated-ecosystems' - $ref: '#/components/parameters/dependabot-alert-comma-separated-packages' - $ref: '#/components/parameters/dependabot-alert-scope' - $ref: '#/components/parameters/dependabot-alert-sort' - $ref: '#/components/parameters/direction' - $ref: '#/components/parameters/pagination-before' - $ref: '#/components/parameters/pagination-after' - $ref: '#/components/parameters/pagination-first' - $ref: '#/components/parameters/pagination-last' - $ref: '#/components/parameters/per-page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/dependabot-alert-with-repository' examples: default: $ref: '#/components/examples/dependabot-alerts-for-organization' '304': $ref: '#/components/responses/not_modified' '400': $ref: '#/components/responses/bad_request' '403': $ref: '#/components/responses/forbidden' '404': $ref: '#/components/responses/not_found' '422': $ref: '#/components/responses/validation_failed_simple' x-github: githubCloudOnly: false enabledForGitHubApps: true category: dependabot subcategory: alerts security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/dependabot/secrets: get: summary: GitHub List Organization Secrets description: >- Lists all secrets available in an organization without revealing their encrypted values. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Lists - Organizations - Secrets operationId: listOrganizationSecrets externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#list-organization-secrets parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: object required: - total_count - secrets properties: total_count: type: integer secrets: type: array items: $ref: '#/components/schemas/organization-dependabot-secret' examples: default: $ref: >- #/components/examples/organization-dependabot-secret-paginated headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: dependabot subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/dependabot/secrets/public-key: get: summary: GitHub Get an Organization Public Key description: >- Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Get - Keys - Organizations - Public operationId: getAnOrganizationPublicKey externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#get-an-organization-public-key parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/dependabot-public-key' examples: default: $ref: '#/components/examples/dependabot-public-key' x-github: githubCloudOnly: false enabledForGitHubApps: true category: dependabot subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/dependabot/secrets/{secret_name}: get: summary: GitHub Get an Organization Secret description: >- Gets a single organization secret without revealing its encrypted value. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Get - Organizations - Secrets operationId: getAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#get-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/organization-dependabot-secret' examples: default: $ref: '#/components/examples/organization-dependabot-secret' x-github: githubCloudOnly: false enabledForGitHubApps: true category: dependabot subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Create or Update an Organization Secret description: >- Creates or updates an organization secret with an encrypted value. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-server@3.9/rest/guides/encrypting-secrets-for-the-rest-api)." OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Create - Organizations - Secrets - Update operationId: createOrUpdateAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' requestBody: required: true content: application/json: schema: type: object properties: encrypted_value: type: string description: >- Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#get-an-organization-public-key) endpoint. pattern: >- ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$ key_id: type: string description: ID of the key you used to encrypt the secret. visibility: type: string description: >- Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret. enum: - all - private - selected selected_repository_ids: type: array description: >- An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. items: type: string required: - visibility examples: default: value: encrypted_value: c2VjcmV0 key_id: '012345678912345678' visibility: selected selected_repository_ids: - '1296269' - '1296280' responses: '201': description: Response when creating a secret content: application/json: schema: $ref: '#/components/schemas/empty-object' examples: default: value: '204': description: Response when updating a secret x-github: githubCloudOnly: false enabledForGitHubApps: true category: dependabot subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete an Organization Secret description: >- Deletes a secret in an organization using the secret name. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Delete - Organizations - Secrets operationId: deleteAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#delete-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: dependabot subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/dependabot/secrets/{secret_name}/repositories: get: summary: GitHub List Selected Repositories for an Organization Secret description: >- Lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Lists - Organizations - Repositories - Secrets - Selected operationId: listSelectedRepositoriesForAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' - $ref: '#/components/parameters/page' - $ref: '#/components/parameters/per-page' responses: '200': description: Response content: application/json: schema: type: object required: - total_count - repositories properties: total_count: type: integer repositories: type: array items: $ref: '#/components/schemas/minimal-repository' examples: default: $ref: '#/components/examples/public-repository-paginated' x-github: githubCloudOnly: false enabledForGitHubApps: true category: dependabot subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Set Selected Repositories for an Organization Secret description: >- Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#create-or-update-an-organization-secret). OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Organizations - Repositories - Secrets - Selected - Sets operationId: setSelectedRepositoriesForAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' requestBody: required: true content: application/json: schema: type: object properties: selected_repository_ids: type: array description: >- An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. items: type: integer required: - selected_repository_ids examples: default: value: selected_repository_ids: - 64780797 responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: dependabot subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}: put: summary: GitHub Add Selected Repository to an Organization Secret description: >- Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#create-or-update-an-organization-secret). OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Add - Organizations - Repositories - Secrets - Selected operationId: addSelectedRepositoryToAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' - name: repository_id in: path required: true schema: type: integer example: 42 responses: '204': description: No Content when repository was added to the selected list '409': description: Conflict when visibility type is not set to selected x-github: githubCloudOnly: false enabledForGitHubApps: true category: dependabot subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Selected Repository from an Organization Secret description: >- Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#create-or-update-an-organization-secret). OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Organizations - Remove - Repositories - Secrets - Selected operationId: removeSelectedRepositoryFromAnOrganizationSecret externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-name' - name: repository_id in: path required: true schema: type: integer example: 42 responses: '204': description: Response when repository was removed from the selected list '409': description: Conflict when visibility type not set to selected x-github: githubCloudOnly: false enabledForGitHubApps: true category: dependabot subcategory: secrets security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/docker/conflicts: get: summary: >- GitHub Get List of Conflicting Packages During Docker Migration for Organization description: >- Lists all packages that are in a specific organization, are readable by the requesting user, and that encountered a conflict during a Docker migration. OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. tags: - Conflicting - Docker - During - Get - Lists - Migrations - Organizations - Packages operationId: getListOfConflictingPackagesDuringDockerMigrationForOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/package' examples: default: $ref: '#/components/examples/packages-for-org' '401': $ref: '#/components/responses/requires_authentication' '403': $ref: '#/components/responses/forbidden' x-github: githubCloudOnly: false enabledForGitHubApps: false category: packages subcategory: packages security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/events: get: summary: GitHub List Public Organization Events description: >- Lists all public events for an organization. This endpoint returns a paginated list of events that have occurred within the organization, including activities like repository creation, issue comments, pull requests, and other public actions performed by organization members. The events are returned in reverse chronological order, with the most recent events appearing first. Authentication is not required to access this endpoint since it only exposes public events, though authenticated requests receive a higher rate limit. This is useful for monitoring public activity within an organization, building activity feeds, or tracking contributions and engagement across the organization's public repositories. tags: - Events - Lists - Organizations - Public operationId: listPublicOrganizationEvents externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/activity/events#list-public-organization-events parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/event' examples: 200-response: $ref: '#/components/examples/public-org-events-items' x-github: githubCloudOnly: false enabledForGitHubApps: true category: activity subcategory: events security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/external-group/{group_id}: get: summary: GitHub Get an External Group description: >- Displays information about the specific group's usage. Provides a list of the group's external members as well as a list of teams that this group is connected to. You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.9/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. tags: - External - Get - Groups operationId: getAnExternalGroup externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/external-groups#get-an-external-group parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/group-id' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/external-group' examples: default: $ref: '#/components/examples/external-group' x-github: githubCloudOnly: true enabledForGitHubApps: true category: teams subcategory: external-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/external-groups: get: summary: GitHub List External Groups in an Organization description: >- Lists external groups available in an organization. You can query the groups using the `display_name` parameter, only groups with a `group_name` containing the text provided in the `display_name` parameter will be returned. You can also limit your page results using the `per_page` parameter. GitHub Enterprise Server generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see "[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89)." You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.9/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. tags: - External - Groups - Lists - Organizations operationId: listExternalGroupsInAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/external-groups#list-external-groups-in-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - name: page description: Page token in: query schema: type: integer example: 42 - name: display_name description: Limits the list to groups containing the text in the group name in: query schema: type: string example: octocat responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/external-groups' examples: default: $ref: '#/components/examples/external-groups' headers: Link: example: >- ; rel="next" schema: type: string x-github: githubCloudOnly: true enabledForGitHubApps: true category: teams subcategory: external-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/hooks: get: summary: GitHub List Organization Webhooks description: >- This API endpoint retrieves a list of all webhooks configured for a specified GitHub organization. By making a GET request to /orgs/{org}/hooks with the organization name as a path parameter, authenticated users with appropriate permissions can view all active webhooks including their configurations, events they're subscribed to, delivery URLs, and other metadata. This operation requires the user to have admin access to the organization and is commonly used for auditing webhook configurations, managing integrations, or programmatically discovering what external services are receiving notifications from the organization's activities. tags: - Lists - Organizations - Webhooks operationId: listOrganizationWebhooks externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/webhooks#list-organization-webhooks parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/org-hook' examples: default: $ref: '#/components/examples/org-hook-items' headers: Link: $ref: '#/components/headers/link' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: webhooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: GitHub Create an Organization Webhook description: >- This API operation allows you to create a new webhook for a specified GitHub organization by sending a POST request to the /orgs/{org}/hooks endpoint, where {org} is replaced with the organization name. Webhooks enable real-time notifications when specific events occur within the organization, such as repository creation, team modifications, or membership changes. When creating the webhook, you must provide configuration details including the payload URL where GitHub will send HTTP POST payloads, the content type, optional secret for securing payloads, and specify which events should trigger the webhook. The operation requires admin privileges for the organization and returns the newly created webhook object containing its unique identifier, configuration settings, and metadata. This functionality is essential for integrating GitHub organizations with external services, CI/CD pipelines, monitoring systems, or custom automation workflows that need to respond to organizational events. tags: - Create - Organizations - Webhooks operationId: createAnOrganizationWebhook externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/webhooks#create-an-organization-webhook parameters: - $ref: '#/components/parameters/org' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: Must be passed as "web". config: type: object description: Key/value pairs to provide settings for this webhook. properties: url: $ref: '#/components/schemas/webhook-config-url' content_type: $ref: '#/components/schemas/webhook-config-content-type' secret: $ref: '#/components/schemas/webhook-config-secret' insecure_ssl: $ref: '#/components/schemas/webhook-config-insecure-ssl' username: type: string example: '"kdaigle"' password: type: string example: '"password"' required: - url events: type: array description: >- Determines what [events](https://docs.github.com/enterprise-server@3.9/webhooks/event-payloads) the hook is triggered for. Set to `["*"]` to receive all possible events. default: - push items: type: string active: type: boolean description: >- Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. default: true required: - name - config examples: default: value: name: web active: true events: - push - pull_request config: url: http://example.com/webhook content_type: json responses: '201': description: Response content: application/json: schema: $ref: '#/components/schemas/org-hook' examples: default: $ref: '#/components/examples/org-hook' headers: Location: example: https://api.github.com/orgs/octocat/hooks/1 schema: type: string '404': $ref: '#/components/responses/not_found' '422': $ref: '#/components/responses/validation_failed' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: webhooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/hooks/{hook_id}: get: summary: GitHub Get an Organization Webhook description: >- Returns a webhook configured in an organization. To get only the webhook `config` properties, see "[Get a webhook configuration for an organization](/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization)." tags: - Get - Organizations - Webhooks operationId: getAnOrganizationWebhook externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/webhooks#get-an-organization-webhook parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/hook-id' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/org-hook' examples: default: $ref: '#/components/examples/org-hook' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: webhooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: summary: GitHub Update an Organization Webhook description: >- Updates a webhook configured in an organization. When you update a webhook, the `secret` will be overwritten. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)." tags: - Organizations - Update - Webhooks operationId: updateAnOrganizationWebhook externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/webhooks#update-an-organization-webhook parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/hook-id' requestBody: required: false content: application/json: schema: type: object properties: config: type: object description: Key/value pairs to provide settings for this webhook. properties: url: $ref: '#/components/schemas/webhook-config-url' content_type: $ref: '#/components/schemas/webhook-config-content-type' secret: $ref: '#/components/schemas/webhook-config-secret' insecure_ssl: $ref: '#/components/schemas/webhook-config-insecure-ssl' required: - url events: type: array description: >- Determines what [events](https://docs.github.com/enterprise-server@3.9/webhooks/event-payloads) the hook is triggered for. default: - push items: type: string active: type: boolean description: >- Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. default: true name: type: string example: '"web"' examples: default: value: active: true events: - pull_request responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/org-hook' examples: default: $ref: '#/components/examples/org-hook-2' '404': $ref: '#/components/responses/not_found' '422': $ref: '#/components/responses/validation_failed' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: webhooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete an Organization Webhook description: >- This API operation removes a webhook from a specified GitHub organization by making a DELETE request to the endpoint with the organization name and webhook ID as path parameters. When executed, it permanently deletes the specified webhook configuration, including its delivery URL, events it was subscribed to, and any associated settings. This operation requires appropriate administrative permissions for the organization and returns a 204 No Content status code upon successful deletion, with no response body returned. tags: - Delete - Organizations - Webhooks operationId: deleteAnOrganizationWebhook externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/webhooks#delete-an-organization-webhook parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/hook-id' responses: '204': description: Response '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: webhooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/hooks/{hook_id}/config: get: summary: GitHub Get Webhook Configuration for an Organization description: >- Returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use "[Get an organization webhook ](/rest/orgs/webhooks#get-an-organization-webhook)." OAuth app tokens and personal access tokens (classic) need the `admin:org_hook` scope to use this endpoint. tags: - Configuration - Get - Organizations - Webhooks operationId: getWebhookConfigurationForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/hook-id' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/webhook-config' examples: default: $ref: '#/components/examples/webhook-config' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: webhooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: summary: GitHub Update Webhook Configuration for an Organization description: >- Updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/orgs/webhooks#update-an-organization-webhook)." OAuth app tokens and personal access tokens (classic) need the `admin:org_hook` scope to use this endpoint. tags: - Configuration - Organizations - Update - Webhooks operationId: updateWebhookConfigurationForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/hook-id' requestBody: required: false content: application/json: schema: type: object properties: url: $ref: '#/components/schemas/webhook-config-url' content_type: $ref: '#/components/schemas/webhook-config-content-type' secret: $ref: '#/components/schemas/webhook-config-secret' insecure_ssl: $ref: '#/components/schemas/webhook-config-insecure-ssl' examples: default: summary: Update an existing webhook value: url: http://example.com/webhook content_type: json insecure_ssl: '0' secret: '********' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/webhook-config' examples: default: $ref: '#/components/examples/webhook-config' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: webhooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/hooks/{hook_id}/deliveries: get: summary: GitHub List Deliveries for an Organization Webhook description: >- Returns a list of webhook deliveries for a webhook configured in an organization. This endpoint allows you to retrieve the delivery history for a specific organization webhook, showing details about each time the webhook was triggered and the HTTP request was sent to the configured URL. Each delivery record includes information such as the delivery ID, status, timestamp, and other metadata about the webhook event that was fired. This is useful for debugging webhook integrations, monitoring webhook reliability, and tracking which events have been sent to your webhook endpoint. tags: - Deliveries - Lists - Organizations - Webhooks operationId: listDeliveriesForAnOrganizationWebhook externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/hook-id' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/cursor' - name: redelivery in: query required: false schema: type: boolean example: true responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/hook-delivery-item' examples: default: $ref: '#/components/examples/hook-delivery-items' '400': $ref: '#/components/responses/bad_request' '422': $ref: '#/components/responses/validation_failed' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: webhooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}: get: summary: GitHub Get Webhook Delivery for an Organization Webhook description: >- This API operation retrieves detailed information about a specific webhook delivery attempt for an organization-level webhook in GitHub. By providing the organization name, webhook ID, and delivery ID as path parameters, you can access comprehensive data about a particular delivery event, including the request and response details, headers, payload, status code, and timestamp. This is useful for debugging webhook issues, monitoring delivery success rates, and understanding how your webhooks are performing when triggered by organization events. The endpoint requires appropriate authentication and permissions to access the organization's webhook configuration and delivery history. tags: - Deliveries - Get - Organizations - Webhooks operationId: getWebhookDeliveryForAnOrganizationWebhook externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/hook-id' - $ref: '#/components/parameters/delivery-id' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/hook-delivery' examples: default: $ref: '#/components/examples/hook-delivery' '400': $ref: '#/components/responses/bad_request' '422': $ref: '#/components/responses/validation_failed' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: webhooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts: post: summary: GitHub Redeliver Delivery for an Organization Webhook description: Redeliver a delivery for a webhook configured in an organization. tags: - Deliveries - Organizations - Re-Deliver - Webhooks operationId: redeliverDeliveryForAnOrganizationWebhook externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/hook-id' - $ref: '#/components/parameters/delivery-id' responses: '202': $ref: '#/components/responses/accepted' '400': $ref: '#/components/responses/bad_request' '422': $ref: '#/components/responses/validation_failed' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: webhooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/hooks/{hook_id}/pings: post: summary: GitHub Ping an Organization Webhook description: >- This will trigger a [ping event](https://docs.github.com/enterprise-server@3.9/webhooks/#ping-event) to be sent to the hook. tags: - Organizations - Ping - Webhooks operationId: pingAnOrganizationWebhook externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/webhooks#ping-an-organization-webhook parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/hook-id' responses: '204': description: Response '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: webhooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/installation: get: summary: GitHub Get an Organization Installation for the Authenticated App description: >- Enables an authenticated GitHub App to find the organization's installation information. You must use a [JWT](https://docs.github.com/enterprise-server@3.9/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. tags: - Applications - Authenticated - Get - Installations - Organizations operationId: getAnOrganizationInstallationForTheAuthenticatedApp externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/installation' examples: default: $ref: '#/components/examples/installation' x-github: githubCloudOnly: false enabledForGitHubApps: false category: apps subcategory: apps security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/installations: get: summary: GitHub List App Installations for an Organization description: >- Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. The authenticated user must be an organization owner to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:read` scope to use this endpoint. tags: - Applications - Installations - Lists - Organizations operationId: listAppInstallationsForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: object required: - total_count - installations properties: total_count: type: integer installations: type: array items: $ref: '#/components/schemas/installation' examples: default: $ref: '#/components/examples/installation-paginated' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/issues: get: summary: GitHub List Organization Issues Assigned to the Authenticated User description: >- List issues in an organization assigned to the authenticated user. **Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls#list-pull-requests)" endpoint. This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." - **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type. - **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`. - **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`. - **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. tags: - Assigned - Authenticated - Issues - Lists - Organizations - Users operationId: listOrganizationIssuesAssignedToTheAuthenticatedUser externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - $ref: '#/components/parameters/org' - name: filter description: >- Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means issues mentioning you. `subscribed` means issues you're subscribed to updates for. `all` or `repos` means all issues you can see, regardless of participation or creation. in: query required: false schema: type: string enum: - assigned - created - mentioned - subscribed - repos - all default: assigned example: assigned - name: state description: Indicates the state of the issues to return. in: query required: false schema: type: string enum: - open - closed - all default: open example: open - $ref: '#/components/parameters/labels' - name: sort description: What to sort results by. in: query required: false schema: type: string enum: - created - updated - comments default: created example: created - $ref: '#/components/parameters/direction' - $ref: '#/components/parameters/since' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/issue' examples: default: $ref: '#/components/examples/issue-with-repo-items' headers: Link: $ref: '#/components/headers/link' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: false category: issues subcategory: issues security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/members: get: summary: GitHub List Organization Members description: >- List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. tags: - Lists - Members - Organizations operationId: listOrganizationMembers externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/members#list-organization-members parameters: - $ref: '#/components/parameters/org' - 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) enabled will be returned. This options is only available for organization owners. in: query required: false schema: type: string enum: - 2fa_disabled - all default: all example: 2fa_disabled - name: role description: Filter members returned by their role. in: query required: false schema: type: string enum: - all - admin - member default: all example: all - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/simple-user' examples: default: $ref: '#/components/examples/simple-user-items' headers: Link: $ref: '#/components/headers/link' '422': $ref: '#/components/responses/validation_failed' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/members/{username}: get: summary: GitHub Check Organization Membership for User description: Check if a user is, publicly or privately, a member of the organization. tags: - Checks - Membership - Organizations - Users operationId: checkOrganizationMembershipForUser externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/members#check-organization-membership-for-a-user parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/username' responses: '204': description: Response if requester is an organization member and user is a member '302': description: Response if requester is not an organization member headers: Location: example: https://api.github.com/orgs/github/public_members/pezra schema: type: string '404': description: >- Not Found if requester is an organization member and user is not a member x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub 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. tags: - Member - Organizations - Remove operationId: removeAnOrganizationMember externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/members#remove-an-organization-member parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/username' responses: '204': description: Response '403': $ref: '#/components/responses/forbidden' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/memberships/{username}: get: summary: GitHub Get Organization Membership for User description: >- In order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status. tags: - Get - Membership - Organizations - Users operationId: getOrganizationMembershipForUser externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/members#get-organization-membership-for-a-user parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/username' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/org-membership' examples: response-if-user-has-an-active-admin-membership-with-organization: $ref: >- #/components/examples/org-membership-response-if-user-has-an-active-admin-membership-with-organization '403': $ref: '#/components/responses/forbidden' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Set Organization Membership for User description: >- Only authenticated organization owners can add a member to the organization or update the member's role. * If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.9/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent. **Rate limits** To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. tags: - Membership - Organizations - Sets - Users operationId: setOrganizationMembershipForUser externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/members#set-organization-membership-for-a-user parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/username' requestBody: required: false content: application/json: schema: type: object properties: role: type: string description: >- The role to give the user in the organization. Can be one of: * `admin` - The user will become an owner of the organization. * `member` - The user will become a non-owner member of the organization. enum: - admin - member default: member examples: default: summary: Set an organization membership role for a user value: role: member responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/org-membership' examples: response-if-user-already-had-membership-with-organization: $ref: >- #/components/examples/org-membership-response-if-user-has-an-active-admin-membership-with-organization '403': $ref: '#/components/responses/forbidden' '422': $ref: '#/components/responses/validation_failed' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Organization Membership for User description: >- 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. tags: - Membership - Organizations - Remove - Users operationId: removeOrganizationMembershipForUser externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/members#remove-organization-membership-for-a-user parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/username' responses: '204': description: Response '403': $ref: '#/components/responses/forbidden' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/migrations: get: summary: GitHub List Organization Migrations description: >- Lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API). A list of `repositories` is only returned for export migrations. tags: - Lists - Migrations - Organizations operationId: listOrganizationMigrations externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/migrations/orgs#list-organization-migrations parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' - name: exclude description: Exclude attributes from the API response to improve performance in: query schema: type: array items: description: Allowed values that can be passed to the exclude param. enum: - repositories example: repositories type: string responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/migration' examples: default: $ref: '#/components/examples/migration-with-short-org-items' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: false category: migrations subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: GitHub Start an Organization Migration description: >- Initiates the generation of a migration archive. Before you can use this endpoint, you must configure a blob storage provider in the "Migrations" section in the Management Console. For more details, see "[Migrating repositories from GitHub Enterprise Server to GitHub Enterprise Cloud](https://docs.github.com/enterprise-server@3.9/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-github-enterprise-server-to-github-enterprise-cloud#step-4-set-up-blob-storage)." tags: - Migrations - Organizations - Start operationId: startAnOrganizationMigration externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/migrations/orgs#start-an-organization-migration parameters: - $ref: '#/components/parameters/org' requestBody: required: true content: application/json: schema: type: object properties: repositories: type: array description: >- A list of arrays indicating which repositories should be migrated. items: type: string lock_repositories: type: boolean example: true description: >- Indicates whether repositories should be locked (to prevent manipulation) while migrating data. default: false exclude_metadata: type: boolean description: >- Indicates whether metadata should be excluded and only git source should be included for the migration. default: false exclude_git_data: type: boolean description: >- Indicates whether the repository git data should be excluded from the migration. default: false exclude_attachments: type: boolean example: true description: >- Indicates whether attachments should be excluded from the migration (to reduce migration archive file size). default: false exclude_releases: type: boolean example: true description: >- Indicates whether releases should be excluded from the migration (to reduce migration archive file size). default: false exclude_owner_projects: type: boolean example: true description: >- Indicates whether projects owned by the organization or users should be excluded. from the migration. default: false org_metadata_only: type: boolean example: true description: >- Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags). default: false exclude: type: array description: >- Exclude related items from being returned in the response in order to improve performance of the request. items: type: string enum: - repositories required: - repositories examples: default: value: repositories: - github/Hello-World lock_repositories: true responses: '201': description: Response content: application/json: schema: $ref: '#/components/schemas/migration' examples: default: $ref: '#/components/examples/migration-with-short-org-2' '404': $ref: '#/components/responses/not_found' '422': $ref: '#/components/responses/validation_failed' x-github: githubCloudOnly: false enabledForGitHubApps: false category: migrations subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/migrations/{migration_id}: get: summary: GitHub Get an Organization Migration Status description: |- Fetches the status of a migration. The `state` of a migration can be one of the following values: * `pending`, which means the migration hasn't started yet. * `exporting`, which means the migration is in progress. * `exported`, which means the migration finished successfully. * `failed`, which means the migration failed. tags: - Get - Migrations - Organizations - Status operationId: getAnOrganizationMigrationStatus externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/migrations/orgs#get-an-organization-migration-status parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/migration-id' - name: exclude description: Exclude attributes from the API response to improve performance in: query schema: type: array items: description: Allowed values that can be passed to the exclude param. enum: - repositories example: repositories type: string responses: '200': description: |- * `pending`, which means the migration hasn't started yet. * `exporting`, which means the migration is in progress. * `exported`, which means the migration finished successfully. * `failed`, which means the migration failed. content: application/json: schema: $ref: '#/components/schemas/migration' examples: default: $ref: '#/components/examples/migration-with-short-org' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: false category: migrations subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/migrations/{migration_id}/archive: get: summary: GitHub Download an Organization Migration Archive description: Fetches the URL to a migration archive. tags: - Archive - Download - Migrations - Organizations operationId: downloadAnOrganizationMigrationArchive externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/migrations/orgs#download-an-organization-migration-archive parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/migration-id' responses: '302': description: Response '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: false category: migrations subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete an Organization Migration Archive description: >- Deletes a previous migration archive. Migration archives are automatically deleted after seven days. tags: - Archive - Delete - Migrations - Organizations operationId: deleteAnOrganizationMigrationArchive externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/migration-id' responses: '204': description: Response '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: false category: migrations subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock: delete: summary: GitHub Unlock an Organization Repository description: >- Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/enterprise-server@3.9/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data. tags: - Organizations - Repositories - Unlock operationId: unlockAnOrganizationRepository externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/migrations/orgs#unlock-an-organization-repository parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/migration-id' - $ref: '#/components/parameters/repo-name' responses: '204': description: Response '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: false category: migrations subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/migrations/{migration_id}/repositories: get: summary: GitHub List Repositories in an Organization Migration description: List all the repositories for this organization migration. tags: - Lists - Migrations - Organizations - Repositories operationId: listRepositoriesInAnOrganizationMigration externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/migration-id' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/minimal-repository' examples: default: $ref: '#/components/examples/minimal-repository-items' headers: Link: $ref: '#/components/headers/link' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: false category: migrations subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/outside_collaborators: get: summary: GitHub List Outside Collaborators for an Organization description: List all users who are outside collaborators of an organization. tags: - Collaborators - Lists - Organizations - Outside operationId: listOutsideCollaboratorsForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - $ref: '#/components/parameters/org' - 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) enabled will be returned. in: query required: false schema: type: string enum: - 2fa_disabled - all default: all example: 2fa_disabled - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/simple-user' examples: default: $ref: '#/components/examples/simple-user-items' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: outside-collaborators security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/outside_collaborators/{username}: put: summary: GitHub Convert an Organization Member to Outside Collaborator description: >- When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://docs.github.com/enterprise-server@3.9/articles/converting-an-organization-member-to-an-outside-collaborator/)". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.9/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." tags: - Collaborators - Convert - Member - Organizations - Outside operationId: convertAnOrganizationMemberToOutsideCollaborator externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/username' requestBody: required: false content: application/json: schema: type: object properties: async: type: boolean description: >- When set to `true`, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued. default: false examples: '202': summary: Status code 202, asynchronous request value: async: true '204': summary: Status code 204, synchronous request value: responses: '202': description: User is getting converted asynchronously content: application/json: schema: type: object properties: {} additionalProperties: false examples: '202': value: '204': description: User was converted '403': description: >- Forbidden if user is the last owner of the organization, not a member of the organization, or if the enterprise enforces a policy for inviting outside collaborators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.9/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: outside-collaborators security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Outside Collaborator from an Organization description: >- Removing a user from this list will remove them from all the organization's repositories. tags: - Collaborators - Organizations - Outside - Remove operationId: removeOutsideCollaboratorFromAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/username' responses: '204': description: Response '422': description: Unprocessable Entity if user is a member of the organization content: application/json: schema: type: object properties: message: type: string documentation_url: type: string examples: response-if-user-is-a-member-of-the-organization: value: message: >- You cannot specify an organization member to remove as an outside collaborator. documentation_url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: outside-collaborators security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/packages: get: summary: GitHub List Packages for an Organization description: >- Lists packages in an organization readable by the user. OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - Lists - Organizations - Packages operationId: listPackagesForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/packages/packages#list-packages-for-an-organization parameters: - 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 (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. in: query required: true schema: type: string enum: - npm - maven - rubygems - docker - nuget - container example: npm - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/package-visibility' - 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-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api)." in: query schema: type: integer default: 1 example: 42 - 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-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api)." in: query schema: type: integer default: 30 example: 42 responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/package' examples: default: $ref: '#/components/examples/packages-for-org' '400': $ref: '#/components/responses/package_es_list_error' '401': $ref: '#/components/responses/requires_authentication' '403': $ref: '#/components/responses/forbidden' x-github: githubCloudOnly: false enabledForGitHubApps: false category: packages subcategory: packages security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/packages/{package_type}/{package_name}: get: summary: GitHub Get Package for an Organization description: >- Gets a specific package in an organization. OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - Get - Organizations - Package operationId: getPackageForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/packages/packages#get-a-package-for-an-organization parameters: - $ref: '#/components/parameters/package-type' - $ref: '#/components/parameters/package-name' - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/package' examples: default: $ref: '#/components/examples/package-org' x-github: githubCloudOnly: false enabledForGitHubApps: false category: packages subcategory: packages security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete Package for an Organization description: >- Deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance. The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - Delete - Organizations - Package operationId: deletePackageForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/packages/packages#delete-a-package-for-an-organization parameters: - $ref: '#/components/parameters/package-type' - $ref: '#/components/parameters/package-name' - $ref: '#/components/parameters/org' responses: '204': description: Response '401': $ref: '#/components/responses/requires_authentication' '403': $ref: '#/components/responses/forbidden' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: false category: packages subcategory: packages security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/packages/{package_type}/{package_name}/restore: post: summary: GitHub Restore Package for an Organization description: >- Restores an entire package in an organization. You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - Organizations - Package - Restore operationId: restorePackageForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/packages/packages#restore-a-package-for-an-organization parameters: - $ref: '#/components/parameters/package-type' - $ref: '#/components/parameters/package-name' - $ref: '#/components/parameters/org' - name: token description: package token schema: type: string required: false in: query example: example_value responses: '204': description: Response '401': $ref: '#/components/responses/requires_authentication' '403': $ref: '#/components/responses/forbidden' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: false category: packages subcategory: packages security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/packages/{package_type}/{package_name}/versions: get: summary: GitHub List Package Versions for Package Owned by an Organization description: >- Lists package versions for a package owned by an organization. OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - Lists - Organizations - Owned - Package - Versions operationId: listPackageVersionsForPackageOwnedByAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - $ref: '#/components/parameters/package-type' - $ref: '#/components/parameters/package-name' - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/page' - $ref: '#/components/parameters/per-page' - name: state in: query required: false description: The state of the package, either active or deleted. schema: type: string enum: - active - deleted default: active example: active responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/package-version' examples: default: $ref: '#/components/examples/package-versions-for-org' '401': $ref: '#/components/responses/requires_authentication' '403': $ref: '#/components/responses/forbidden' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: false category: packages subcategory: packages security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}: get: summary: GitHub Get Package Version for an Organization description: >- Gets a specific package version in an organization. OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - Get - Organizations - Package - Versions operationId: getPackageVersionForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/packages/packages#get-a-package-version-for-an-organization parameters: - $ref: '#/components/parameters/package-type' - $ref: '#/components/parameters/package-name' - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/package-version-id' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/package-version' examples: default: $ref: '#/components/examples/package-version-org' x-github: githubCloudOnly: false enabledForGitHubApps: false category: packages subcategory: packages security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete Package Version for an Organization description: >- Deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance. The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - Delete - Organizations - Package - Versions operationId: deletePackageVersionForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/packages/packages#delete-package-version-for-an-organization parameters: - $ref: '#/components/parameters/package-type' - $ref: '#/components/parameters/package-name' - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/package-version-id' responses: '204': description: Response '401': $ref: '#/components/responses/requires_authentication' '403': $ref: '#/components/responses/forbidden' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: false category: packages subcategory: packages security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore: post: summary: GitHub Restore Package Version for an Organization description: >- Restores a specific package version in an organization. You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first. The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." tags: - Organizations - Package - Restore - Versions operationId: restorePackageVersionForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/packages/packages#restore-package-version-for-an-organization parameters: - $ref: '#/components/parameters/package-type' - $ref: '#/components/parameters/package-name' - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/package-version-id' responses: '204': description: Response '401': $ref: '#/components/responses/requires_authentication' '403': $ref: '#/components/responses/forbidden' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: false category: packages subcategory: packages security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/pre-receive-hooks: get: summary: GitHub List Pre-receive Hooks for an Organization description: >- List all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed. operationId: listPrereceiveHooksForAnOrganization tags: - Hooks - Lists - Organizations - Pre-Receive externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/org-pre-receive-hooks#list-pre-receive-hooks-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' - $ref: '#/components/parameters/direction' - name: sort description: The sort order for the response collection. in: query required: false schema: type: string enum: - created - updated - name default: created example: created responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/org-pre-receive-hook' examples: default: $ref: '#/components/examples/org-pre-receive-hook-items' x-github: githubCloudOnly: false enabledForGitHubApps: true category: enterprise-admin subcategory: org-pre-receive-hooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}: get: summary: GitHub Get Pre-receive Hook for an Organization description: >- This API endpoint retrieves detailed information about a specific pre-receive hook configured for a GitHub organization. By making a GET request to `/orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}`, you can fetch the configuration and metadata of a particular pre-receive hook identified by its unique ID within the specified organization. Pre-receive hooks are scripts that run on the GitHub server to enforce custom requirements before commits are accepted into a repository, and this endpoint allows administrators to inspect the settings, enforcement level, and other properties of an individual hook that has been set up at the organization level. operationId: getPrereceiveHookForAnOrganization tags: - Get - Hook - Organizations - Pre-Receive externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/org-pre-receive-hooks#get-a-pre-receive-hook-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/pre-receive-hook-id' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/org-pre-receive-hook' examples: default: $ref: '#/components/examples/org-pre-receive-hook' x-github: githubCloudOnly: false enabledForGitHubApps: true category: enterprise-admin subcategory: org-pre-receive-hooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: summary: GitHub Update Pre-receive Hook Enforcement for an Organization description: >- For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration` operationId: updatePrereceiveHookEnforcementForAnOrganization tags: - Enforcement - Hook - Organizations - Pre-Receive - Update externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/org-pre-receive-hooks#update-pre-receive-hook-enforcement-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/pre-receive-hook-id' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/org-pre-receive-hook' examples: default: $ref: '#/components/examples/org-pre-receive-hook-2' requestBody: required: false content: application/json: schema: type: object properties: enforcement: description: The state of enforcement for the hook on this repository. type: string allow_downstream_configuration: description: Whether repositories can override enforcement. type: boolean examples: default: value: enforcement: enabled allow_downstream_configuration: false x-github: githubCloudOnly: false enabledForGitHubApps: true category: enterprise-admin subcategory: org-pre-receive-hooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Pre-receive Hook Enforcement for an Organization description: Removes any overrides for this hook at the org level for this org. operationId: removePrereceiveHookEnforcementForAnOrganization tags: - Enforcement - Hook - Organizations - Pre-Receive - Remove externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/org-pre-receive-hooks#remove-pre-receive-hook-enforcement-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/pre-receive-hook-id' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/org-pre-receive-hook' examples: default: $ref: '#/components/examples/org-pre-receive-hook' x-github: githubCloudOnly: false enabledForGitHubApps: true category: enterprise-admin subcategory: org-pre-receive-hooks security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/projects: get: summary: GitHub List Organization Projects description: >- Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. tags: - Lists - Organizations - Projects operationId: listOrganizationProjects externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/projects/projects#list-organization-projects parameters: - $ref: '#/components/parameters/org' - name: state description: Indicates the state of the projects to return. in: query required: false schema: type: string enum: - open - closed - all default: open example: open - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/project' examples: default: $ref: '#/components/examples/project-items' headers: Link: $ref: '#/components/headers/link' '422': $ref: '#/components/responses/validation_failed_simple' x-github: githubCloudOnly: false enabledForGitHubApps: true category: projects subcategory: projects security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: GitHub Create an Organization Project description: >- Creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. tags: - Create - Organizations - Project operationId: createAnOrganizationProject externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/projects/projects#create-an-organization-project parameters: - $ref: '#/components/parameters/org' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: The name of the project. body: type: string description: The description of the project. required: - name examples: default: value: name: Organization Roadmap body: High-level roadmap for the upcoming year. responses: '201': description: Response content: application/json: schema: $ref: '#/components/schemas/project' examples: default: $ref: '#/components/examples/project-2' '401': $ref: '#/components/responses/requires_authentication' '403': $ref: '#/components/responses/forbidden' '404': $ref: '#/components/responses/not_found' '410': $ref: '#/components/responses/gone' '422': $ref: '#/components/responses/validation_failed_simple' x-github: githubCloudOnly: false enabledForGitHubApps: true category: projects subcategory: projects security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/public_members: get: summary: GitHub List Public Organization Members description: >- Members of an organization can choose to have their membership publicized or not. tags: - Lists - Members - Organizations - Public operationId: listPublicOrganizationMembers externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/members#list-public-organization-members parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/simple-user' examples: default: $ref: '#/components/examples/simple-user-items' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/public_members/{username}: get: summary: GitHub Check Public Organization Membership for User description: Check if the provided user is a public member of the organization. tags: - Checks - Membership - Organizations - Public - Users operationId: checkPublicOrganizationMembershipForUser externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/username' responses: '204': description: Response if user is a public member '404': description: Not Found if user is not a public member x-github: githubCloudOnly: false enabledForGitHubApps: true category: orgs subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Set Public Organization Membership for the Authenticated User description: >- The user can publicize their own membership. (A user cannot publicize the membership for another user.) Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-rest-api#http-method)." tags: - Authenticated - Membership - Organizations - Public - Sets - Users operationId: setPublicOrganizationMembershipForTheAuthenticatedUser externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/username' responses: '204': description: Response '403': $ref: '#/components/responses/forbidden' x-github: githubCloudOnly: false enabledForGitHubApps: false category: orgs subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Public Organization Membership for the Authenticated User description: >- Removes the public membership for the authenticated user from the specified organization, unless public visibility is enforced by default. tags: - Authenticated - Membership - Organizations - Public - Remove - Users operationId: removePublicOrganizationMembershipForTheAuthenticatedUser externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/username' responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: false category: orgs subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/repos: get: summary: GitHub List Organization Repositories description: >- Lists repositories for the specified organization. **Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." tags: - Lists - Organizations - Repositories operationId: listOrganizationRepositories externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/repos/repos#list-organization-repositories parameters: - $ref: '#/components/parameters/org' - 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 access token. in: query required: false schema: type: string enum: - all - public - private - forks - sources - member - internal example: all - name: sort description: The property to sort the results by. in: query required: false schema: type: string enum: - created - updated - pushed - full_name default: created example: created - name: direction description: >- The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`. in: query required: false schema: type: string enum: - asc - desc example: asc - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/minimal-repository' examples: default: $ref: '#/components/examples/minimal-repository-items' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: repos subcategory: repos security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: GitHub Create an Organization Repository description: >- Creates a new repository in the specified organization. The authenticated user must be a member of the organization. OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. tags: - Create - Organizations - Repositories operationId: createAnOrganizationRepository externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/repos/repos#create-an-organization-repository parameters: - $ref: '#/components/parameters/org' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: The name of the repository. description: type: string description: A short description of the repository. homepage: type: string description: A URL with more information about the repository. private: type: boolean description: Whether the repository is private. default: false visibility: type: string description: >- The visibility of the repository. **Note**: For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise. For more information, see "[Creating an internal repository](https://docs.github.com/enterprise-server@3.9/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)" in the GitHub Help documentation. The `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header. enum: - public - private - internal has_issues: type: boolean description: >- Either `true` to enable issues for this repository or `false` to disable them. default: true has_projects: type: boolean description: >- Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. default: true has_wiki: type: boolean description: >- Either `true` to enable the wiki for this repository or `false` to disable it. default: true has_downloads: description: Whether downloads are enabled. default: true type: boolean example: true is_template: type: boolean description: >- Either `true` to make this repo available as a template repository or `false` to prevent it. default: false team_id: type: integer description: >- The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. auto_init: type: boolean description: Pass `true` to create an initial commit with empty README. default: false gitignore_template: type: string description: >- Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". license_template: type: string description: >- Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/enterprise-server@3.9/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0". allow_squash_merge: type: boolean description: >- Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. default: true allow_merge_commit: type: boolean description: >- Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. default: true allow_rebase_merge: type: boolean description: >- Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. default: true allow_auto_merge: type: boolean description: >- Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge. default: false delete_branch_on_merge: type: boolean description: >- Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. **The authenticated user must be an organization owner to set this property to `true`.** default: false use_squash_pr_title_as_default: type: boolean description: >- Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. default: false deprecated: true squash_merge_commit_title: type: string enum: - PR_TITLE - COMMIT_OR_PR_TITLE description: >- The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). squash_merge_commit_message: type: string enum: - PR_BODY - COMMIT_MESSAGES - BLANK description: >- The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. merge_commit_title: type: string enum: - PR_TITLE - MERGE_MESSAGE description: >- The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). merge_commit_message: type: string enum: - PR_BODY - PR_TITLE - BLANK description: |- The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. required: - name examples: default: value: name: Hello-World description: This is your first repository homepage: https://github.com private: false has_issues: true has_projects: true has_wiki: true responses: '201': description: Response content: application/json: schema: $ref: '#/components/schemas/full-repository' examples: default: $ref: '#/components/examples/full-repository' headers: Location: example: https://api.github.com/repos/octocat/Hello-World schema: type: string '403': $ref: '#/components/responses/forbidden' '422': $ref: '#/components/responses/validation_failed' x-github: githubCloudOnly: false enabledForGitHubApps: true category: repos subcategory: repos security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/repository-fine-grained-permissions: get: summary: GitHub List Repository Fine-grained Permissions for an Organization description: >- Lists the fine-grained permissions that can be used in custom repository roles for an organization. For more information, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)." The authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. tags: - Fine-Grained - Lists - Organizations - Permissions - Repositories operationId: listRepositoryFinegrainedPermissionsForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/repository-fine-grained-permission' examples: default: $ref: >- #/components/examples/repository-fine-grained-permission-example x-github: githubCloudOnly: true enabledForGitHubApps: true category: orgs subcategory: custom-roles security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/secret-scanning/alerts: get: summary: GitHub List Secret Scanning Alerts for an Organization description: >- Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest. The authenticated user must be an administrator or security manager for the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - Alerts - Lists - Organizations - Scanning - Secrets operationId: listSecretScanningAlertsForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/secret-scanning-alert-state' - $ref: '#/components/parameters/secret-scanning-alert-secret-type' - $ref: '#/components/parameters/secret-scanning-alert-resolution' - $ref: '#/components/parameters/secret-scanning-alert-sort' - $ref: '#/components/parameters/direction' - $ref: '#/components/parameters/page' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/secret-scanning-pagination-before-org-repo' - $ref: '#/components/parameters/secret-scanning-pagination-after-org-repo' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/organization-secret-scanning-alert' examples: default: $ref: >- #/components/examples/organization-secret-scanning-alert-list headers: Link: $ref: '#/components/headers/link' '404': $ref: '#/components/responses/not_found' '503': $ref: '#/components/responses/service_unavailable' x-github: githubCloudOnly: false enabledForGitHubApps: true category: secret-scanning subcategory: secret-scanning security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/security-managers: get: summary: GitHub List Security Manager Teams description: >- Lists teams that are security managers for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." The authenticated user must be an administrator or security manager for the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. tags: - Lists - Manager - Teams operationId: listSecurityManagerTeams externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/security-managers#list-security-manager-teams parameters: - $ref: '#/components/parameters/org' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/team-simple' examples: default: $ref: '#/components/examples/team-items' x-github: githubCloudOnly: false enabledForGitHubApps: true previews: [] category: orgs subcategory: security-managers security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/security-managers/teams/{team_slug}: put: summary: GitHub Add Security Manager Team description: >- Adds a team as a security manager for an organization. For more information, see "[Managing security for an organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization." The authenticated user must be an administrator for the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. tags: - Add - Manager - Teams operationId: addSecurityManagerTeam externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/security-managers#add-a-security-manager-team parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' responses: '204': description: Response '409': description: >- The organization has reached the maximum number of security manager teams. x-github: githubCloudOnly: false enabledForGitHubApps: true previews: [] category: orgs subcategory: security-managers security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Security Manager Team description: >- Removes the security manager role from a team for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization." The authenticated user must be an administrator for the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. tags: - Manager - Remove - Teams operationId: removeSecurityManagerTeam externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/security-managers#remove-a-security-manager-team parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true previews: [] category: orgs subcategory: security-managers security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/settings/billing/advanced-security: get: summary: GitHub Get Github Advanced Security Active Committers for an Organization description: >- Gets the GitHub Advanced Security active committers for an organization per repository. Each distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of advanced_security_committers for each repository. If this organization defers to an enterprise for billing, the `total_advanced_security_committers` returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level. The total number of repositories with committer information is tracked by the `total_count` field. tags: - Active - Advanced - Committers - Get - Organizations operationId: getGithubAdvancedSecurityActiveCommittersForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/advanced-security-active-committers' examples: default: $ref: '#/components/examples/advanced-security-active-committers' '403': $ref: '#/components/responses/code_scanning_forbidden_read' x-github: githubCloudOnly: true enabledForGitHubApps: true category: billing subcategory: billing security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams: get: summary: GitHub List Teams description: >- Lists all teams in an organization that are visible to the authenticated user. tags: - Lists - Teams operationId: listTeams externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#list-teams parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/team' examples: default: $ref: '#/components/examples/team-items' headers: Link: $ref: '#/components/headers/link' '403': $ref: '#/components/responses/forbidden' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: GitHub Create Team description: >- To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://docs.github.com/enterprise-server@3.9/articles/setting-team-creation-permissions-in-your-organization)." When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://docs.github.com/enterprise-server@3.9/github/setting-up-and-managing-organizations-and-teams/about-teams)". tags: - Create - Teams operationId: createTeam externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#create-a-team parameters: - $ref: '#/components/parameters/org' requestBody: required: true content: application/json: schema: type: object properties: name: type: string description: The name of the team. description: type: string description: The description of the team. maintainers: type: array description: >- List GitHub IDs for organization members who will become team maintainers. items: type: string repo_names: type: array description: >- The full name (e.g., "organization-name/repository-name") of repositories to add the team to. items: type: string privacy: type: string description: >- The level of privacy this team should have. The options are: **For a non-nested team:** * `secret` - only visible to organization owners and members of this team. * `closed` - visible to all members of this organization. Default: `secret` **For a parent or child team:** * `closed` - visible to all members of this organization. Default for child team: `closed` enum: - secret - closed permission: type: string description: >- **Deprecated**. The permission that new repositories will be added to the team with when none is specified. enum: - pull - push default: pull parent_team_id: type: integer description: The ID of a team to set as the parent team. ldap_dn: type: string description: >- The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. LDAP synchronization must be enabled to map LDAP entries to a team. Use the "[Update LDAP mapping for a team](https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-team)" endpoint to change the LDAP DN. For more information, see "[Using LDAP](https://docs.github.com/enterprise-server@3.9/admin/identity-and-access-management/authenticating-users-for-your-github-enterprise-server-instance/using-ldap#enabling-ldap-sync)." required: - name examples: default: value: name: Justice League description: A great team permission: push privacy: closed responses: '201': description: Response content: application/json: schema: $ref: '#/components/schemas/team-full' examples: default: $ref: '#/components/examples/team-full' '403': $ref: '#/components/responses/forbidden' '422': $ref: '#/components/responses/validation_failed' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}: get: summary: GitHub Get Team by Name description: >- Gets a team using the team's `slug`. To create the `slug`, GitHub Enterprise Server replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`. **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. tags: - Get - Name - Teams operationId: getTeamByName externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#get-a-team-by-name parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/team-full' examples: default: $ref: '#/components/examples/team-full' '404': $ref: '#/components/responses/not_found' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: summary: GitHub Update Team description: >- To edit a team, the authenticated user must either be an organization owner or a team maintainer. **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. tags: - Teams - Update operationId: updateTeam externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#update-a-team parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' requestBody: required: false content: application/json: schema: type: object properties: name: type: string description: The name of the team. description: type: string description: The description of the team. privacy: type: string description: >- The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. The options are: **For a non-nested team:** * `secret` - only visible to organization owners and members of this team. * `closed` - visible to all members of this organization. **For a parent or child team:** * `closed` - visible to all members of this organization. enum: - secret - closed permission: type: string description: >- **Deprecated**. The permission that new repositories will be added to the team with when none is specified. enum: - pull - push - admin default: pull parent_team_id: type: integer description: The ID of a team to set as the parent team. nullable: true examples: default: value: name: new team name description: new team description privacy: closed responses: '200': description: Response when the updated information already exists content: application/json: schema: $ref: '#/components/schemas/team-full' examples: default: $ref: '#/components/examples/team-full' '201': description: Response content: application/json: schema: $ref: '#/components/schemas/team-full' examples: default: $ref: '#/components/examples/team-full' '403': $ref: '#/components/responses/forbidden' '404': $ref: '#/components/responses/not_found' '422': $ref: '#/components/responses/validation_failed' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete Team description: >- To delete a team, the authenticated user must be an organization owner or team maintainer. If you are an organization owner, deleting a parent team will delete all of its child teams as well. **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. tags: - Delete - Teams operationId: deleteTeam externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#delete-a-team parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/discussions: get: summary: GitHub List Discussions description: >- List all discussions on a team's page. **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: - Discussions - Lists operationId: listDiscussions externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#list-discussions parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/direction' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' - name: pinned in: query required: false description: Pinned discussions only filter schema: type: string example: example_value responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/team-discussion' examples: default: $ref: '#/components/examples/team-discussion-items' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: discussions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: GitHub Create Discussion description: >- Creates a new discussion post on a team's page. This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.9/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.9/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.9/rest/guides/best-practices-for-using-the-rest-api)." **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: - Create - Discussions operationId: createDiscussion externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#create-a-discussion parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' requestBody: required: true content: application/json: schema: type: object properties: title: type: string description: The discussion post's title. body: type: string description: The discussion post's body text. private: type: boolean description: >- Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post. default: false required: - title - body examples: default: value: title: Our first team post body: Hi! This is an area for us to collaborate as a team. responses: '201': description: Response content: application/json: schema: $ref: '#/components/schemas/team-discussion' examples: default: $ref: '#/components/examples/team-discussion' x-github: triggersNotification: true githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: discussions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}: get: summary: GitHub Get Discussion description: >- Get a specific discussion on a team's page. **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: - Discussions - Get operationId: getDiscussion externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#get-a-discussion parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/team-discussion' examples: default: $ref: '#/components/examples/team-discussion' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: discussions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: summary: GitHub Update Discussion description: >- Edits the title and body text of a discussion post. Only the parameters you provide are updated. **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: - Discussions - Update operationId: updateDiscussion externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#update-a-discussion parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' requestBody: required: false content: application/json: schema: type: object properties: title: type: string description: The discussion post's title. body: type: string description: The discussion post's body text. examples: default: value: title: Welcome to our first team post responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/team-discussion' examples: default: $ref: '#/components/examples/team-discussion-2' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: discussions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete Discussion description: >- Delete a discussion from a team's page. **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: - Delete - Discussions operationId: deleteDiscussion externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#delete-a-discussion parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: discussions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments: get: summary: GitHub List Discussion Comments description: >- List all comments on a team discussion. **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: - Comments - Discussions - Lists operationId: listDiscussionComments externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#list-discussion-comments parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' - $ref: '#/components/parameters/direction' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/team-discussion-comment' examples: default: $ref: '#/components/examples/team-discussion-comment-items' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: discussion-comments security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: GitHub Create Discussion Comment description: >- Creates a new comment on a team discussion. This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.9/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.9/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.9/rest/guides/best-practices-for-using-the-rest-api)." **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: - Comments - Create - Discussions operationId: createDiscussionComment externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#create-a-discussion-comment parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' requestBody: required: true content: application/json: schema: type: object properties: body: type: string description: The discussion comment's body text. required: - body examples: default: value: body: Do you like apples? responses: '201': description: Response content: application/json: schema: $ref: '#/components/schemas/team-discussion-comment' examples: default: $ref: '#/components/examples/team-discussion-comment' x-github: triggersNotification: true githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: discussion-comments security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}: get: summary: GitHub Get Discussion Comment description: >- Get a specific comment on a team discussion. **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: - Comments - Discussions - Get operationId: getDiscussionComment externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#get-a-discussion-comment parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' - $ref: '#/components/parameters/comment-number' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/team-discussion-comment' examples: default: $ref: '#/components/examples/team-discussion-comment' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: discussion-comments security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: summary: GitHub Update Discussion Comment description: >- Edits the body text of a discussion comment. **Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: - Comments - Discussions - Update operationId: updateDiscussionComment externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#update-a-discussion-comment parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' - $ref: '#/components/parameters/comment-number' requestBody: required: true content: application/json: schema: type: object properties: body: type: string description: The discussion comment's body text. required: - body examples: default: value: body: Do you like pineapples? responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/team-discussion-comment' examples: default: $ref: '#/components/examples/team-discussion-comment-2' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: discussion-comments security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Delete Discussion Comment description: >- Deletes a comment on a team discussion. **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: - Comments - Delete - Discussions operationId: deleteDiscussionComment externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' - $ref: '#/components/parameters/comment-number' responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: discussion-comments security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions: get: summary: GitHub List Reactions for Team Discussion Comment description: >- List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#get-a-discussion-comment). **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: - Comments - Discussions - Lists - Reactions - Teams operationId: listReactionsForTeamDiscussionComment externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' - $ref: '#/components/parameters/comment-number' - name: content description: >- Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. in: query required: false schema: type: string enum: - '+1' - '-1' - laugh - confused - heart - hooray - rocket - eyes example: '+1' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/reaction' examples: default: $ref: '#/components/examples/reaction-items' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: reactions subcategory: reactions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: GitHub Create Reaction for Team Discussion Comment description: >- Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#get-a-discussion-comment). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: - Comments - Create - Discussions - Reactions - Teams operationId: createReactionForTeamDiscussionComment externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' - $ref: '#/components/parameters/comment-number' requestBody: required: true content: application/json: schema: type: object properties: content: type: string description: >- The [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions) to add to the team discussion comment. enum: - '+1' - '-1' - laugh - confused - heart - hooray - rocket - eyes required: - content examples: default: value: content: heart responses: '200': description: >- Response when the reaction type has already been added to this team discussion comment content: application/json: schema: $ref: '#/components/schemas/reaction' examples: default: $ref: '#/components/examples/reaction' '201': description: Response content: application/json: schema: $ref: '#/components/schemas/reaction' examples: default: $ref: '#/components/examples/reaction' x-github: githubCloudOnly: false enabledForGitHubApps: true category: reactions subcategory: reactions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}: delete: summary: GitHub Delete Team Discussion Comment Reaction description: >- **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`. Delete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.9/rest/teams/discussion-comments#get-a-discussion-comment). OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: - Comments - Delete - Discussions - Reactions - Teams operationId: deleteTeamDiscussionCommentReaction externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' - $ref: '#/components/parameters/comment-number' - $ref: '#/components/parameters/reaction-id' responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: reactions subcategory: reactions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions: get: summary: GitHub List Reactions for Team Discussion description: >- List the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#get-a-discussion). **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. tags: - Discussions - Lists - Reactions - Teams operationId: listReactionsForTeamDiscussion externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' - name: content description: >- Returns a single [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. in: query required: false schema: type: string enum: - '+1' - '-1' - laugh - confused - heart - hooray - rocket - eyes example: '+1' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/reaction' examples: default: $ref: '#/components/examples/reaction-items' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: reactions subcategory: reactions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK post: summary: GitHub Create Reaction for Team Discussion description: >- Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#get-a-discussion). A response with an HTTP `200` status means that you already added the reaction type to this team discussion. **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: - Create - Discussions - Reactions - Teams operationId: createReactionForTeamDiscussion externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' requestBody: required: true content: application/json: schema: type: object properties: content: type: string description: >- The [reaction type](https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#about-reactions) to add to the team discussion. enum: - '+1' - '-1' - laugh - confused - heart - hooray - rocket - eyes required: - content examples: default: value: content: heart responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/reaction' examples: default: $ref: '#/components/examples/reaction' '201': description: Response content: application/json: schema: $ref: '#/components/schemas/reaction' examples: default: $ref: '#/components/examples/reaction' x-github: githubCloudOnly: false enabledForGitHubApps: false category: reactions subcategory: reactions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}: delete: summary: GitHub Delete Team Discussion Reaction description: >- **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`. Delete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.9/rest/teams/discussions#get-a-discussion). OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. tags: - Delete - Discussions - Reactions - Teams operationId: deleteTeamDiscussionReaction externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/reactions/reactions#delete-team-discussion-reaction parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/discussion-number' - $ref: '#/components/parameters/reaction-id' responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: reactions subcategory: reactions security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/external-groups: get: summary: GitHub List Connection Between an External Group and Team description: >- Lists a connection between a team and an external group. You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.9/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. tags: - Between - Connection - External - Groups - Lists - Teams operationId: listConnectionBetweenAnExternalGroupAndTeam externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/external-groups' examples: default: $ref: '#/components/examples/external-groups' x-github: githubCloudOnly: true enabledForGitHubApps: true category: teams subcategory: external-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK patch: summary: GitHub Update the Connection Between an External Group and Team description: >- Creates a connection between a team and an external group. Only one external group can be linked to a team. You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.9/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. tags: - Between - Connection - External - Groups - Teams - Update operationId: updateTheConnectionBetweenAnExternalGroupAndTeam externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' requestBody: required: true content: application/json: schema: type: object properties: group_id: type: integer description: External Group Id example: 1 required: - group_id examples: default: value: group_id: 123 responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/external-group' examples: default: $ref: '#/components/examples/external-group' x-github: githubCloudOnly: true enabledForGitHubApps: false category: teams subcategory: external-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove the Connection Between an External Group and Team description: >- Deletes a connection between a team and an external group. You can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.9/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. tags: - Between - Connection - External - Groups - Remove - Teams operationId: removeTheConnectionBetweenAnExternalGroupAndTeam externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' responses: '204': description: Response x-github: githubCloudOnly: true enabledForGitHubApps: false category: teams subcategory: external-groups security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/members: get: summary: GitHub List Team Members description: >- Team members will include the members of child teams. To list members in a team, the team must be visible to the authenticated user. tags: - Lists - Members - Teams operationId: listTeamMembers externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/members#list-team-members parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - name: role description: Filters members returned by their role in the team. in: query required: false schema: type: string enum: - member - maintainer - all default: all example: member - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/simple-user' examples: default: $ref: '#/components/examples/simple-user-items' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/memberships/{username}: get: summary: GitHub Get Team Membership for User description: >- Team members will include the members of child teams. To get a user's membership with a team, the team must be visible to the authenticated user. **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`. **Note:** The response contains the `state` of the membership and the member's `role`. The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.9/rest/teams/teams#create-a-team). tags: - Get - Memberships - Teams - Users operationId: getTeamMembershipForUser externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/members#get-team-membership-for-a-user parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/username' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/team-membership' examples: response-if-user-is-a-team-maintainer: $ref: >- #/components/examples/team-membership-response-if-user-is-a-team-maintainer '404': description: if user has no team membership x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Add or Update Team Membership for User description: >- Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team. Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.9/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/enterprise-server@3.9/articles/synchronizing-teams-between-your-identity-provider-and-github/)." An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team. If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer. **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. tags: - Add - Memberships - Teams - Update - Users operationId: addOrUpdateTeamMembershipForUser externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/username' requestBody: required: false content: application/json: schema: type: object properties: role: type: string description: The role that this user should have in the team. enum: - member - maintainer default: member examples: default: summary: Add or update team membership for an organization member value: role: maintainer responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/team-membership' examples: response-if-users-membership-with-team-is-now-pending: $ref: >- #/components/examples/team-membership-response-if-users-membership-with-team-is-now-pending '403': description: Forbidden if team synchronization is set up '422': description: Unprocessable Entity if you attempt to add an organization to a team x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Team Membership for User description: >- To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team. Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.9/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. **Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/enterprise-server@3.9/articles/synchronizing-teams-between-your-identity-provider-and-github/)." **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. tags: - Memberships - Remove - Teams - Users operationId: removeTeamMembershipForUser externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/members#remove-team-membership-for-a-user parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/username' responses: '204': description: Response '403': description: Forbidden if team synchronization is set up x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: members security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/projects: get: summary: GitHub List Team Projects description: >- Lists the organization projects for a team. **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. tags: - Lists - Projects - Teams operationId: listTeamProjects externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#list-team-projects parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/team-project' examples: default: $ref: '#/components/examples/team-project-items' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/projects/{project_id}: get: summary: GitHub Check Team Permissions for Project description: >- Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team. **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. tags: - Checks - Permissions - Project - Teams operationId: checkTeamPermissionsForProject externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#check-team-permissions-for-a-project parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/project-id' responses: '200': description: Response content: application/json: schema: $ref: '#/components/schemas/team-project' examples: default: $ref: '#/components/examples/team-project' '404': description: Not Found if project is not managed by this team x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Add or Update Team Project Permissions description: >- Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization. **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. tags: - Add - Permissions - Project - Teams - Update operationId: addOrUpdateTeamProjectPermissions externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#add-or-update-team-project-permissions parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/project-id' requestBody: required: false content: application/json: schema: type: object properties: permission: type: string description: >- The permission to grant to the team for this project. Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling this endpoint. For more information, see "[HTTP method](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-rest-api#http-method)." enum: - read - write - admin nullable: true examples: default: summary: Updates the permissions for the team to write for the project value: permission: write responses: '204': description: Response '403': description: Forbidden if the project is not owned by the organization content: application/json: schema: type: object properties: message: type: string documentation_url: type: string examples: response-if-the-project-is-not-owned-by-the-organization: value: message: Must have admin rights to Repository. documentation_url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#add-or-update-team-project-permissions x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Project from Team description: >- Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project. **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. tags: - Project - Remove - Teams operationId: removeProjectFromTeam externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#remove-a-project-from-a-team parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/project-id' responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/repos: get: summary: GitHub List Team Repositories description: >- Lists a team's repositories visible to the authenticated user. **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. tags: - Lists - Repositories - Teams operationId: listTeamRepositories externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#list-team-repositories parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: Response content: application/json: schema: type: array items: $ref: '#/components/schemas/minimal-repository' examples: default: $ref: '#/components/examples/minimal-repository-items' headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}: get: summary: GitHub Check Team Permissions for Repository description: >- Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked. You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.9/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header. If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status. If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status. **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. tags: - Checks - Permissions - Repositories - Teams operationId: checkTeamPermissionsForRepository externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#check-team-permissions-for-a-repository parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/owner' - $ref: '#/components/parameters/repo' responses: '200': description: Alternative response with repository permissions content: application/json: schema: $ref: '#/components/schemas/team-repository' examples: alternative-response-with-repository-permissions: $ref: >- #/components/examples/team-repository-alternative-response-with-repository-permissions '204': description: >- Response if team has permission for the repository. This is the response when the repository media type hasn't been provded in the Accept header. '404': description: Not Found if team does not have permission for the repository x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK put: summary: GitHub Add or Update Team Repository Permissions description: >- To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/enterprise-server@3.9/rest/guides/getting-started-with-the-rest-api#http-method)." **Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.9/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". tags: - Add - Permissions - Repositories - Teams - Update operationId: addOrUpdateTeamRepositoryPermissions externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#add-or-update-team-repository-permissions parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/owner' - $ref: '#/components/parameters/repo' requestBody: required: false content: application/json: schema: type: object properties: permission: type: string description: >- The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. default: push examples: default: summary: >- Adding a team to an organization repository with the write role value: permission: push responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK delete: summary: GitHub Remove Repository from Team description: >- If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team. **Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. tags: - Remove - Repositories - Teams operationId: removeRepositoryFromTeam externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#remove-a-repository-from-a-team parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/owner' - $ref: '#/components/parameters/repo' responses: '204': description: Response x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/teams/{team_slug}/teams: get: summary: GitHub List Child Teams description: >- Lists the child teams of the team specified by `{team_slug}`. **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. tags: - Child - Lists - Teams operationId: listChildTeams externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/teams/teams#list-child-teams parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/team-slug' - $ref: '#/components/parameters/per-page' - $ref: '#/components/parameters/page' responses: '200': description: if child teams exist content: application/json: schema: type: array items: $ref: '#/components/schemas/team' examples: response-if-child-teams-exist: $ref: >- #/components/examples/team-items-response-if-child-teams-exist headers: Link: $ref: '#/components/headers/link' x-github: githubCloudOnly: false enabledForGitHubApps: true category: teams subcategory: teams security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK /orgs/{org}/{security_product}/{enablement}: post: summary: GitHub Enable or Disable Security Feature for an Organization description: >- Enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint. OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. tags: - Disables - Enables - Feature - Organizations operationId: enableOrDisableSecurityFeatureForAnOrganization externalDocs: description: API method documentation url: >- https://docs.github.com/enterprise-server@3.9/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - $ref: '#/components/parameters/org' - $ref: '#/components/parameters/security-product' - $ref: '#/components/parameters/org-security-product-enablement' responses: '204': description: Action started '422': description: >- The action could not be taken due to an in progress enablement, or a policy is preventing enablement x-github: githubCloudOnly: false enabledForGitHubApps: true previews: [] category: orgs subcategory: orgs security: - bearerHttpAuthentication: [] x-microcks-operation: delay: 0 dispatcher: FALLBACK components: examples: organization-custom-repository-role-example: value: id: 8030 name: Security Engineer description: Able to contribute code and maintain the security pipeline base_role: maintain permissions: - delete_alerts_code_scanning organization: login: github id: 1 node_id: MDEyOk9yZ2FuaXphdGlvbjE= url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events hooks_url: https://api.github.com/orgs/github/hooks issues_url: https://api.github.com/orgs/github/issues members_url: https://api.github.com/orgs/github/members{/member} public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif description: A great organization created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:20:11Z' organization-simple-items: value: - login: github id: 1 node_id: MDEyOk9yZ2FuaXphdGlvbjE= url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events hooks_url: https://api.github.com/orgs/github/hooks issues_url: https://api.github.com/orgs/github/issues members_url: https://api.github.com/orgs/github/members{/member} public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif description: A great organization organization-full: value: login: github id: 1 node_id: MDEyOk9yZ2FuaXphdGlvbjE= url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events hooks_url: https://api.github.com/orgs/github/hooks issues_url: https://api.github.com/orgs/github/issues members_url: https://api.github.com/orgs/github/members{/member} public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif description: A great organization name: github company: GitHub blog: https://github.com/blog location: San Francisco email: octocat@github.com twitter_username: github is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 public_gists: 1 followers: 20 following: 0 html_url: https://github.com/octocat created_at: '2008-01-14T04:33:35Z' type: Organization total_private_repos: 100 owned_private_repos: 100 private_gists: 81 disk_usage: 10000 collaborators: 8 billing_email: mona@github.com plan: name: Medium space: 400 private_repos: 20 filled_seats: 4 seats: 5 default_repository_permission: read members_can_create_repositories: true two_factor_requirement_enabled: true members_allowed_repository_creation_type: all members_can_create_public_repositories: false members_can_create_private_repositories: false members_can_create_internal_repositories: false members_can_create_pages: true members_can_create_public_pages: true members_can_create_private_pages: true members_can_fork_private_repositories: false web_commit_signoff_required: false updated_at: '2014-03-03T18:58:10Z' dependency_graph_enabled_for_new_repositories: false dependabot_alerts_enabled_for_new_repositories: false dependabot_security_updates_enabled_for_new_repositories: false advanced_security_enabled_for_new_repositories: false secret_scanning_enabled_for_new_repositories: false secret_scanning_push_protection_enabled_for_new_repositories: false secret_scanning_push_protection_custom_link: https://github.com/octo-org/octo-repo/blob/main/im-blocked.md secret_scanning_push_protection_custom_link_enabled: false actions-cache-usage-org-enterprise: value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 org-actions-cache-usage-by-repo: value: total_count: 2 repository_cache_usages: - full_name: octo-org/Hello-World active_caches_size_in_bytes: 2322142 active_caches_count: 3 - full_name: octo-org/server active_caches_size_in_bytes: 1022142 active_caches_count: 2 oidc-custom-sub: value: include_claim_keys: - repo - context actions-organization-permissions: value: enabled_repositories: all allowed_actions: selected selected_actions_url: >- https://api.github.com/organizations/42/actions/permissions/selected-actions repository-paginated: value: total_count: 1 repositories: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: git:github.com/octocat/Hello-World.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: >- https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: git@github.com:octocat/Hello-World.git stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: https://github.com/octocat/Hello-World.git mirror_url: git:git.example.com/octocat/Hello-World hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks svn_url: https://svn.github.com/octocat/Hello-World homepage: https://github.com language: forks_count: 9 stargazers_count: 80 watchers_count: 80 size: 108 default_branch: master open_issues_count: 0 is_template: true topics: - octocat - atom - electron - api has_issues: true has_projects: true has_wiki: true has_pages: false has_downloads: true archived: false disabled: false visibility: public pushed_at: '2011-01-26T19:06:43Z' created_at: '2011-01-26T19:01:12Z' updated_at: '2011-01-26T19:14:43Z' permissions: admin: false push: false pull: true allow_rebase_merge: true template_repository: temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_auto_merge: false delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 license: key: mit name: MIT License url: https://api.github.com/licenses/mit spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit forks: 1 open_issues: 1 watchers: 1 selected-actions: value: github_owned_allowed: true verified_allowed: false patterns_allowed: - monalisa/octocat@* - docker/* actions-default-workflow-permissions: summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read can_approve_pull_request_reviews: true runner-groups-org: value: total_count: 3 runner_groups: - id: 1 name: Default visibility: all default: true runners_url: >- https://api.github.com/orgs/octo-org/actions/runner_groups/1/runners inherited: false allows_public_repositories: true restricted_to_workflows: false selected_workflows: [] workflow_restrictions_read_only: false - id: 2 name: octo-runner-group visibility: selected default: false selected_repositories_url: >- https://api.github.com/orgs/octo-org/actions/runner_groups/2/repositories runners_url: >- https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners inherited: true allows_public_repositories: true restricted_to_workflows: true selected_workflows: - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main workflow_restrictions_read_only: true - id: 3 name: expensive-hardware visibility: private default: false runners_url: >- https://api.github.com/orgs/octo-org/actions/runner_groups/3/runners inherited: false allows_public_repositories: true restricted_to_workflows: false selected_workflows: - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main workflow_restrictions_read_only: false runner-group: value: id: 2 name: octo-runner-group visibility: selected default: false selected_repositories_url: >- https://api.github.com/orgs/octo-org/actions/runner-groups/2/repositories runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners inherited: false allows_public_repositories: true restricted_to_workflows: true selected_workflows: - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main workflow_restrictions_read_only: false runner-group-item: value: id: 2 name: octo-runner-group visibility: selected default: false selected_repositories_url: >- https://api.github.com/orgs/octo-org/actions/runner_groups/2/repositories runners_url: https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners inherited: false allows_public_repositories: true restricted_to_workflows: true selected_workflows: - octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main workflow_restrictions_read_only: false minimal-repository-paginated: value: total_count: 1 repositories: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: git:github.com/octocat/Hello-World.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: >- https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: git@github.com:octocat/Hello-World.git stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: https://github.com/octocat/Hello-World.git mirror_url: git:git.example.com/octocat/Hello-World hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks svn_url: https://svn.github.com/octocat/Hello-World homepage: https://github.com language: forks_count: 9 stargazers_count: 80 watchers_count: 80 size: 108 default_branch: master open_issues_count: 0 is_template: true topics: - octocat - atom - electron - api has_issues: true has_projects: true has_wiki: true has_pages: false has_downloads: true archived: false disabled: false visibility: public pushed_at: '2011-01-26T19:06:43Z' created_at: '2011-01-26T19:01:12Z' updated_at: '2011-01-26T19:14:43Z' permissions: admin: false push: false pull: true template_repository: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: >- https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: >- https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: >- https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: >- https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: >- https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: git:github.com/octocat/Hello-World.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: >- https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: git@github.com:octocat/Hello-World.git stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: https://github.com/octocat/Hello-World.git mirror_url: git:git.example.com/octocat/Hello-World hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks svn_url: https://svn.github.com/octocat/Hello-World homepage: https://github.com organization: language: forks: 9 forks_count: 9 stargazers_count: 80 watchers_count: 80 watchers: 80 size: 108 default_branch: master open_issues: 0 open_issues_count: 0 is_template: true license: key: mit name: MIT License url: https://api.github.com/licenses/mit spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit topics: - octocat - atom - electron - api has_issues: true has_projects: true has_wiki: true has_pages: false has_downloads: true archived: false disabled: false visibility: public pushed_at: '2011-01-26T19:06:43Z' created_at: '2011-01-26T19:01:12Z' updated_at: '2011-01-26T19:14:43Z' permissions: admin: false push: false pull: true allow_rebase_merge: true template_repository: temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_auto_merge: false delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O delete_branch_on_merge: true subscribers_count: 42 network_count: 0 license: key: mit name: MIT License url: https://api.github.com/licenses/mit spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== forks: 1 open_issues: 1 watchers: 1 runner-paginated: value: total_count: 2 runners: - id: 23 name: linux_runner os: linux status: online busy: true labels: - id: 5 name: self-hosted type: read-only - id: 7 name: X64 type: read-only - id: 11 name: Linux type: read-only - id: 24 name: mac_runner os: macos status: offline busy: false labels: - id: 5 name: self-hosted type: read-only - id: 7 name: X64 type: read-only - id: 20 name: macOS type: read-only - id: 21 name: no-gpu type: custom runner-application-items-airgap: value: - os: osx architecture: x64 download_url: >- https://github.com/actions/runner/releases/download/v2.277.1/actions-runner-osx-x64-2.277.1.tar.gz filename: actions-runner-osx-x64-2.277.1.tar.gz temp_download_token: >- eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJmSjdCUXpLdXhjWDc4WnJ5NUxnUW53ZFRrMCJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zUnVudGltZS5QYWNrYWdlRG93bmxvYWQiLCJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJERERERERERC1ERERELUREREQtRERERC1EREREREREREREREQiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJhdWkiOiIwZTZkODAxYi02NzVlLTQ1YzAtOWM4NC1jYTkzNjdlZjc1NjciLCJzaWQiOiI4ZTE5MDliZC1kYzU1LTQ2MWYtOTk2Mi1hZTI0OTEzNzU4OWIiLCJpc3MiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJhdWQiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJuYmYiOjE2MTc5MDQxNzUsImV4cCI6MTYxNzkwODM3NX0.YNsRXL9pBuIfLVndnyVQOpru77Br8hgYIX7LPsOaMfKk4K88YG89a2VIXUWPyHRiOaC-4J0lIPei8ujezEtnMfNZCwHdWq0Niiy-2-ywcfGPmcz-RHz_ZglkPFbzKaiZWJcFKCGHCP0Ta3kdXumJQqiVJEIyppxIY-caR_Wsw2L4BZHOefJq-odsJ0guPgm9fVuU9FxVRkucho1UH_bzt0tAMl1gEWOLBLZ88U9LKCzHWaxheFeBV4DTt1lAcSm213gKP1eMbgAGn5heWhR4RMRBzZc2HO3Lf1syu4E8fW8a-esRAxEYPfqPHwN9LNj2jaU3D3nPwa8lHQLLtA1PNA sha256_checksum: f1fa173889dc9036cd529417e652e1729e5a3f4d35ec0151806d7480fda6b89b - os: linux architecture: x64 download_url: >- https://github.com/actions/runner/releases/download/v2.277.1/actions-runner-linux-x64-2.277.1.tar.gz filename: actions-runner-linux-x64-2.277.1.tar.gz temp_download_token: >- eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJmSjdCUXpLdXhjWDc4WnJ5NUxnUW53ZFRrMCJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zUnVudGltZS5QYWNrYWdlRG93bmxvYWQiLCJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJERERERERERC1ERERELUREREQtRERERC1EREREREREREREREQiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJhdWkiOiIwZTZkODAxYi02NzVlLTQ1YzAtOWM4NC1jYTkzNjdlZjc1NjciLCJzaWQiOiI4ZTE5MDliZC1kYzU1LTQ2MWYtOTk2Mi1hZTI0OTEzNzU4OWIiLCJpc3MiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJhdWQiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJuYmYiOjE2MTc5MDQxNzUsImV4cCI6MTYxNzkwODM3NX0.YNsRXL9pBuIfLVndnyVQOpru77Br8hgYIX7LPsOaMfKk4K88YG89a2VIXUWPyHRiOaC-4J0lIPei8ujezEtnMfNZCwHdWq0Niiy-2-ywcfGPmcz-RHz_ZglkPFbzKaiZWJcFKCGHCP0Ta3kdXumJQqiVJEIyppxIY-caR_Wsw2L4BZHOefJq-odsJ0guPgm9fVuU9FxVRkucho1UH_bzt0tAMl1gEWOLBLZ88U9LKCzHWaxheFeBV4DTt1lAcSm213gKP1eMbgAGn5heWhR4RMRBzZc2HO3Lf1syu4E8fW8a-esRAxEYPfqPHwN9LNj2jaU3D3nPwa8lHQLLtA1PNA sha256_checksum: 02d710fc9e0008e641274bb7da7fde61f7c9aa1cbb541a2990d3450cc88f4e98 - os: linux architecture: arm download_url: >- https://github.com/actions/runner/releases/download/v2.277.1/actions-runner-linux-arm-2.277.1.tar.gz filename: actions-runner-linux-arm-2.277.1.tar.gz temp_download_token: >- eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJmSjdCUXpLdXhjWDc4WnJ5NUxnUW53ZFRrMCJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zUnVudGltZS5QYWNrYWdlRG93bmxvYWQiLCJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJERERERERERC1ERERELUREREQtRERERC1EREREREREREREREQiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJhdWkiOiIyYTEzZDRmZC01ZDhkLTRjNzgtYjg2MS0zYTMxZGQ3MmYzNjQiLCJzaWQiOiI0MzZiNTg3YS04ODMyLTRiMTMtOWM2Ny05OWRkMjA2ZTQzNmMiLCJpc3MiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJhdWQiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJuYmYiOjE2MTc5MzE1NzEsImV4cCI6MTYxNzkzNTc3MX0.PMhU7-MOnZRDj5k5a4ieeFlQCmKPl2pQvpVRhGZq-9ByKF5s9G0rsnGBxDcolTYlbvEAmSSkeAEwF486F7P0kMVEb-GI14WbErqqMSyaPL81c3W7UHxMJLaSBnDs9ftHMv_IkJmRzaROS8q1ObzUW-ErlltxCdj2zF_5ruK9G2RR566AOAtiA3AHV6k7-FCY5--sDYJN_YXPgpwI0fPN1TM92fdPm93hJnoXuCJNpBYp1vl5W4gwGtU_Pa07ESdqqFN1YJJHUloedNhiIOczGfGVSapRc8vyGm9P_VCM_yKD8JI-MkOXl8JI5fCfhmjmKsw-vSAh9NW67RGvmehmpw sha256_checksum: 2f2bda21e2fd8fed6938b33182a293f6b1f74e4c5d09acd6d9a0fe3f979f5c85 - os: win architecture: x64 download_url: >- https://github.com/actions/runner/releases/download/v2.277.1/actions-runner-win-x64-2.277.1.zip filename: actions-runner-win-x64-2.277.1.zip temp_download_token: >- eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJmSjdCUXpLdXhjWDc4WnJ5NUxnUW53ZFRrMCJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zUnVudGltZS5QYWNrYWdlRG93bmxvYWQiLCJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJERERERERERC1ERERELUREREQtRERERC1EREREREREREREREQiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJhdWkiOiIwZTZkODAxYi02NzVlLTQ1YzAtOWM4NC1jYTkzNjdlZjc1NjciLCJzaWQiOiI4ZTE5MDliZC1kYzU1LTQ2MWYtOTk2Mi1hZTI0OTEzNzU4OWIiLCJpc3MiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJhdWQiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJuYmYiOjE2MTc5MDQxNzUsImV4cCI6MTYxNzkwODM3NX0.YNsRXL9pBuIfLVndnyVQOpru77Br8hgYIX7LPsOaMfKk4K88YG89a2VIXUWPyHRiOaC-4J0lIPei8ujezEtnMfNZCwHdWq0Niiy-2-ywcfGPmcz-RHz_ZglkPFbzKaiZWJcFKCGHCP0Ta3kdXumJQqiVJEIyppxIY-caR_Wsw2L4BZHOefJq-odsJ0guPgm9fVuU9FxVRkucho1UH_bzt0tAMl1gEWOLBLZ88U9LKCzHWaxheFeBV4DTt1lAcSm213gKP1eMbgAGn5heWhR4RMRBzZc2HO3Lf1syu4E8fW8a-esRAxEYPfqPHwN9LNj2jaU3D3nPwa8lHQLLtA1PNA sha256_checksum: 7215c75a462eeb6a839fa8ed298d79f620617d44d47d37c583114fc3f3b27b30 - os: linux architecture: arm64 download_url: >- https://github.com/actions/runner/releases/download/v2.277.1/actions-runner-linux-arm64-2.277.1.tar.gz filename: actions-runner-linux-arm64-2.277.1.tar.gz temp_download_token: >- eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJmSjdCUXpLdXhjWDc4WnJ5NUxnUW53ZFRrMCJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zUnVudGltZS5QYWNrYWdlRG93bmxvYWQiLCJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJERERERERERC1ERERELUREREQtRERERC1EREREREREREREREQiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJhdWkiOiIwZTZkODAxYi02NzVlLTQ1YzAtOWM4NC1jYTkzNjdlZjc1NjciLCJzaWQiOiI4ZTE5MDliZC1kYzU1LTQ2MWYtOTk2Mi1hZTI0OTEzNzU4OWIiLCJpc3MiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJhdWQiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJuYmYiOjE2MTc5MDQxNzUsImV4cCI6MTYxNzkwODM3NX0.YNsRXL9pBuIfLVndnyVQOpru77Br8hgYIX7LPsOaMfKk4K88YG89a2VIXUWPyHRiOaC-4J0lIPei8ujezEtnMfNZCwHdWq0Niiy-2-ywcfGPmcz-RHz_ZglkPFbzKaiZWJcFKCGHCP0Ta3kdXumJQqiVJEIyppxIY-caR_Wsw2L4BZHOefJq-odsJ0guPgm9fVuU9FxVRkucho1UH_bzt0tAMl1gEWOLBLZ88U9LKCzHWaxheFeBV4DTt1lAcSm213gKP1eMbgAGn5heWhR4RMRBzZc2HO3Lf1syu4E8fW8a-esRAxEYPfqPHwN9LNj2jaU3D3nPwa8lHQLLtA1PNA sha256_checksum: a6aa6dd0ba217118ef2b4ea24e9e0a85b02b13c38052a5de0776d6ced3a79c64 authentication-token: value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' authentication-token-2: value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' runner: value: id: 23 name: MBP os: macos status: online busy: true labels: - id: 5 name: self-hosted type: read-only - id: 7 name: X64 type: read-only - id: 20 name: macOS type: read-only - id: 21 name: no-gpu type: custom organization-actions-secret-paginated: value: total_count: 3 secrets: - name: GIST_ID created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: private - name: DEPLOY_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all - name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: >- https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories actions-public-key: value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 organization-actions-secret: value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: >- https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories public-repository-paginated: value: total_count: 1 repositories: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: git:github.com/octocat/Hello-World.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: >- https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: git@github.com:octocat/Hello-World.git stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks organization-actions-variables-paginated: value: total_count: 3 variables: - name: USERNAME value: octocat created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: private - name: ACTIONS_RUNNER_DEBUG value: true created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all - name: ADMIN_EMAIL value: octocat@github.com created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: >- https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories organization-actions-variable: value: name: USERNAME value: octocat created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: >- https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories announcement: summary: Announcement banner value: announcement: Very **important** announcement about _something_. expires_at: '2021-01-01T00:00:00.000+00:00' user_dismissible: false audit-log: value: - actor_ip: 88.123.45.123 from: pull_requests#merge device_cookie: actor: mona-admin actor_id: 7 repo: octo-org/octo-repo repo_id: 17 business: github business_id: 1 org: octo-org org_id: 8 action: pull_request.merge '@timestamp': 1635940599755 created_at: 1635940599755 operation_type: modify actor_location: country_code: GB country_name: United Kingdom region: ENG region_name: England city: Louth postal_code: LN11 location: lat: 53.4457 lon: 0.141 data: user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) ... method: POST request_id: e4dabc4d-ba16-4bca-1234-649be7ae1188 server_id: 5d17aab5-fd9f-abcd-a820-16bed246441b request_category: other controller_action: merge url: https://example.com/octo-org/octo-repo/pull/1/merge client_id: 322299977.1635936 referrer: https://example.com/octo-org/octo-repo/pull/1 actor_session: 1 pull_request_id: 1 category_type: Resource Management - actor_ip: 88.123.45.123 from: pull_request_review_events#create device_cookie: actor: mona-admin actor_id: 7 business_id: 1 org_id: 8 action: pull_request_review.submit '@timestamp': 1635940593079 created_at: 1635940593079 operation_type: modify actor_location: country_code: GB country_name: United Kingdom region: ENG region_name: England city: Louth postal_code: LN11 location: lat: 53.4457 lon: 0.141 data: user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) ... method: PUT request_id: c0f63bb7-17b6-4796-940c-12345c5a581b server_id: 2abc1234-f651-43e3-9696-e942ad5f8c89 request_category: other controller_action: create url: https://example.com/octo-org/octo-repo/pull/1/reviews client_id: 322299977.1635936 referrer: https://example.com/octo-org/octo-repo/pull/1/files actor_session: 1 spammy: false pull_request_id: 1 body: allowed: true id: 1 state: 40 issue_id: 1 review_id: 1 category_type: Resource Management - actor_ip: 88.123.45.123 from: pull_requests#create device_cookie: actor: mona actor_id: 9 user_id: 9 repo: octo-org/octo-repo repo_id: 17 business: github business_id: 1 org: octo-org org_id: 8 action: pull_request.create '@timestamp': 1635940554161 created_at: 1635940554161 operation_type: create actor_location: country_code: GB country_name: United Kingdom region: ENG region_name: England city: Louth postal_code: LN11 location: lat: 53.4457 lon: 0.141 data: user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) ... method: POST request_id: 2773abeb-477f-4ebf-a017-f8e8a206c305 server_id: 796e3115-4ce8-4606-8fd0-99ea57a2e12b request_category: other controller_action: create url: >- https://example.com/octo-org/octo-repo/pull/create?base=octo-org%3Amain&head=mona%3Apatch-1 client_id: 386351111.163594 referrer: https://example.com/octo-org/octo-repo/compare/main...mona:patch-1 actor_session: 2 pull_request_id: 1 category_type: Resource Management code-scanning-organization-alert-items: value: - number: 4 created_at: '2020-02-13T12:29:18Z' url: >- https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/4 html_url: https://github.com/octocat/hello-world/code-scanning/4 state: open dismissed_by: dismissed_at: dismissed_reason: dismissed_comment: rule: id: js/zipslip severity: error tags: - security - external/cwe/cwe-022 description: Arbitrary file write during zip extraction name: js/zipslip tool: name: CodeQL guid: version: 2.4.0 most_recent_instance: ref: refs/heads/main analysis_key: .github/workflows/codeql-analysis.yml:CodeQL-Build category: .github/workflows/codeql-analysis.yml:CodeQL-Build environment: '{}' state: open commit_sha: 39406e42cb832f683daa691dd652a8dc36ee8930 message: text: This path depends on a user-provided value. location: path: spec-main/api-session-spec.ts start_line: 917 end_line: 917 start_column: 7 end_column: 18 classifications: - test instances_url: >- https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/4/instances repository: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: >- https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - number: 3 created_at: '2020-02-13T12:29:18Z' url: >- https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3 html_url: https://github.com/octocat/hello-world/code-scanning/3 state: dismissed dismissed_by: 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 dismissed_at: '2020-02-14T12:29:18Z' dismissed_reason: false positive dismissed_comment: >- This alert is not actually correct, because there's a sanitizer included in the library. rule: id: js/zipslip severity: error tags: - security - external/cwe/cwe-022 description: Arbitrary file write during zip extraction name: js/zipslip tool: name: CodeQL guid: version: 2.4.0 most_recent_instance: ref: refs/heads/main analysis_key: .github/workflows/codeql-analysis.yml:CodeQL-Build category: .github/workflows/codeql-analysis.yml:CodeQL-Build environment: '{}' state: open commit_sha: 39406e42cb832f683daa691dd652a8dc36ee8930 message: text: This path depends on a user-provided value. location: path: lib/ab12-gen.js start_line: 917 end_line: 917 start_column: 7 end_column: 18 classifications: [] instances_url: >- https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances repository: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: >- https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks organization-custom-repository-role-list-example: value: total_count: 2 custom_roles: - id: 8030 name: Security Engineer description: Able to contribute code and maintain the security pipeline base_role: maintain permissions: - delete_alerts_code_scanning organization: login: github id: 9919 node_id: MDEyOk9yZ2FuaXphdGlvbjk5MTk= avatar_url: https://avatars.githubusercontent.com/u/9919?v=4 gravatar_id: '' url: https://api.github.com/users/github html_url: https://github.com/github followers_url: https://api.github.com/users/github/followers following_url: https://api.github.com/users/github/following{/other_user} gists_url: https://api.github.com/users/github/gists{/gist_id} starred_url: https://api.github.com/users/github/starred{/owner}{/repo} subscriptions_url: https://api.github.com/users/github/subscriptions organizations_url: https://api.github.com/users/github/orgs repos_url: https://api.github.com/users/github/repos events_url: https://api.github.com/users/github/events{/privacy} received_events_url: https://api.github.com/users/github/received_events type: Organization site_admin: false created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:20:11Z' - id: 8031 name: Community manager description: >- Able to handle all the community interactions without being able to contribute code base_role: read permissions: - mark_as_duplicate - manage_settings_pages - manage_settings_wiki - set_social_preview - edit_repo_metadata - toggle_discussion_comment_minimize organization: login: github id: 9919 node_id: MDEyOk9yZ2FuaXphdGlvbjk5MTk= avatar_url: https://avatars.githubusercontent.com/u/9919?v=4 gravatar_id: '' url: https://api.github.com/users/github html_url: https://github.com/github followers_url: https://api.github.com/users/github/followers following_url: https://api.github.com/users/github/following{/other_user} gists_url: https://api.github.com/users/github/gists{/gist_id} starred_url: https://api.github.com/users/github/starred{/owner}{/repo} subscriptions_url: https://api.github.com/users/github/subscriptions organizations_url: https://api.github.com/users/github/orgs repos_url: https://api.github.com/users/github/repos events_url: https://api.github.com/users/github/events{/privacy} received_events_url: https://api.github.com/users/github/received_events type: Organization site_admin: false created_at: '2022-07-05T12:01:11Z' updated_at: '2022-07-05T12:20:11Z' dependabot-alerts-for-organization: value: - number: 2 state: dismissed dependency: package: ecosystem: pip name: django manifest_path: path/to/requirements.txt scope: runtime security_advisory: ghsa_id: GHSA-rf4j-j272-fj86 cve_id: CVE-2018-6188 summary: >- Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive description: >- django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive. vulnerabilities: - package: ecosystem: pip name: django severity: high vulnerable_version_range: '>= 2.0.0, < 2.0.2' first_patched_version: identifier: 2.0.2 - package: ecosystem: pip name: django severity: high vulnerable_version_range: '>= 1.11.8, < 1.11.10' first_patched_version: identifier: 1.11.10 severity: high cvss: vector_string: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N score: 7.5 cwes: - cwe_id: CWE-200 name: Exposure of Sensitive Information to an Unauthorized Actor identifiers: - type: GHSA value: GHSA-rf4j-j272-fj86 - type: CVE value: CVE-2018-6188 references: - url: https://nvd.nist.gov/vuln/detail/CVE-2018-6188 - url: https://github.com/advisories/GHSA-rf4j-j272-fj86 - url: https://usn.ubuntu.com/3559-1/ - url: >- https://www.djangoproject.com/weblog/2018/feb/01/security-releases/ - url: http://www.securitytracker.com/id/1040422 published_at: '2018-10-03T21:13:54Z' updated_at: '2022-04-26T18:35:37Z' withdrawn_at: security_vulnerability: package: ecosystem: pip name: django severity: high vulnerable_version_range: '>= 2.0.0, < 2.0.2' first_patched_version: identifier: 2.0.2 url: https://api.github.com/repos/octo-org/octo-repo/dependabot/alerts/2 html_url: https://github.com/octo-org/octo-repo/security/dependabot/2 created_at: '2022-06-15T07:43:03Z' updated_at: '2022-08-23T14:29:47Z' dismissed_at: '2022-08-23T14:29:47Z' dismissed_by: 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 dismissed_reason: tolerable_risk dismissed_comment: This alert is accurate but we use a sanitizer. fixed_at: repository: id: 217723378 node_id: MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg= name: octo-repo full_name: octo-org/octo-repo owner: login: octo-org id: 6811672 node_id: MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI= avatar_url: https://avatars3.githubusercontent.com/u/6811672?v=4 gravatar_id: '' url: https://api.github.com/users/octo-org html_url: https://github.com/octo-org followers_url: https://api.github.com/users/octo-org/followers following_url: https://api.github.com/users/octo-org/following{/other_user} gists_url: https://api.github.com/users/octo-org/gists{/gist_id} starred_url: https://api.github.com/users/octo-org/starred{/owner}{/repo} subscriptions_url: https://api.github.com/users/octo-org/subscriptions organizations_url: https://api.github.com/users/octo-org/orgs repos_url: https://api.github.com/users/octo-org/repos events_url: https://api.github.com/users/octo-org/events{/privacy} received_events_url: https://api.github.com/users/octo-org/received_events type: Organization site_admin: false private: true html_url: https://github.com/octo-org/octo-repo description: fork: false url: https://api.github.com/repos/octo-org/octo-repo archive_url: >- https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octo-org/octo-repo/assignees{/user} blobs_url: https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha} branches_url: https://api.github.com/repos/octo-org/octo-repo/branches{/branch} collaborators_url: >- https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator} comments_url: https://api.github.com/repos/octo-org/octo-repo/comments{/number} commits_url: https://api.github.com/repos/octo-org/octo-repo/commits{/sha} compare_url: >- https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head} contents_url: https://api.github.com/repos/octo-org/octo-repo/contents/{+path} contributors_url: https://api.github.com/repos/octo-org/octo-repo/contributors deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments downloads_url: https://api.github.com/repos/octo-org/octo-repo/downloads events_url: https://api.github.com/repos/octo-org/octo-repo/events forks_url: https://api.github.com/repos/octo-org/octo-repo/forks git_commits_url: https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha} git_refs_url: https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha} git_tags_url: https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha} hooks_url: https://api.github.com/repos/octo-org/octo-repo/hooks issue_comment_url: >- https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octo-org/octo-repo/issues/events{/number} issues_url: https://api.github.com/repos/octo-org/octo-repo/issues{/number} keys_url: https://api.github.com/repos/octo-org/octo-repo/keys{/key_id} labels_url: https://api.github.com/repos/octo-org/octo-repo/labels{/name} languages_url: https://api.github.com/repos/octo-org/octo-repo/languages merges_url: https://api.github.com/repos/octo-org/octo-repo/merges milestones_url: >- https://api.github.com/repos/octo-org/octo-repo/milestones{/number} notifications_url: >- https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octo-org/octo-repo/pulls{/number} releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} stargazers_url: https://api.github.com/repos/octo-org/octo-repo/stargazers statuses_url: https://api.github.com/repos/octo-org/octo-repo/statuses/{sha} subscribers_url: https://api.github.com/repos/octo-org/octo-repo/subscribers subscription_url: https://api.github.com/repos/octo-org/octo-repo/subscription tags_url: https://api.github.com/repos/octo-org/octo-repo/tags teams_url: https://api.github.com/repos/octo-org/octo-repo/teams trees_url: https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha} - number: 1 state: open dependency: package: ecosystem: pip name: ansible manifest_path: path/to/requirements.txt scope: runtime security_advisory: ghsa_id: GHSA-8f4m-hccc-8qph cve_id: CVE-2021-20191 summary: Insertion of Sensitive Information into Log File in ansible description: >- A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality. vulnerabilities: - package: ecosystem: pip name: ansible severity: medium vulnerable_version_range: '>= 2.9.0, < 2.9.18' first_patched_version: identifier: 2.9.18 - package: ecosystem: pip name: ansible severity: medium vulnerable_version_range: < 2.8.19 first_patched_version: identifier: 2.8.19 - package: ecosystem: pip name: ansible severity: medium vulnerable_version_range: '>= 2.10.0, < 2.10.7' first_patched_version: identifier: 2.10.7 severity: medium cvss: vector_string: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N score: 5.5 cwes: - cwe_id: CWE-532 name: Insertion of Sensitive Information into Log File identifiers: - type: GHSA value: GHSA-8f4m-hccc-8qph - type: CVE value: CVE-2021-20191 references: - url: https://nvd.nist.gov/vuln/detail/CVE-2021-20191 - url: https://access.redhat.com/security/cve/cve-2021-20191 - url: https://bugzilla.redhat.com/show_bug.cgi?id=1916813 published_at: '2021-06-01T17:38:00Z' updated_at: '2021-08-12T23:06:00Z' withdrawn_at: security_vulnerability: package: ecosystem: pip name: ansible severity: medium vulnerable_version_range: < 2.8.19 first_patched_version: identifier: 2.8.19 url: >- https://api.github.com/repos/octo-org/hello-world/dependabot/alerts/1 html_url: https://github.com/octo-org/hello-world/security/dependabot/1 created_at: '2022-06-14T15:21:52Z' updated_at: '2022-06-14T15:21:52Z' dismissed_at: dismissed_by: dismissed_reason: dismissed_comment: fixed_at: repository: id: 664700648 node_id: MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg= name: hello-world full_name: octo-org/hello-world owner: login: octo-org id: 6811672 node_id: MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI= avatar_url: https://avatars3.githubusercontent.com/u/6811672?v=4 gravatar_id: '' url: https://api.github.com/users/octo-org html_url: https://github.com/octo-org followers_url: https://api.github.com/users/octo-org/followers following_url: https://api.github.com/users/octo-org/following{/other_user} gists_url: https://api.github.com/users/octo-org/gists{/gist_id} starred_url: https://api.github.com/users/octo-org/starred{/owner}{/repo} subscriptions_url: https://api.github.com/users/octo-org/subscriptions organizations_url: https://api.github.com/users/octo-org/orgs repos_url: https://api.github.com/users/octo-org/repos events_url: https://api.github.com/users/octo-org/events{/privacy} received_events_url: https://api.github.com/users/octo-org/received_events type: Organization site_admin: false private: true html_url: https://github.com/octo-org/hello-world description: fork: false url: https://api.github.com/repos/octo-org/hello-world archive_url: >- https://api.github.com/repos/octo-org/hello-world/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octo-org/hello-world/assignees{/user} blobs_url: https://api.github.com/repos/octo-org/hello-world/git/blobs{/sha} branches_url: >- https://api.github.com/repos/octo-org/hello-world/branches{/branch} collaborators_url: >- https://api.github.com/repos/octo-org/hello-world/collaborators{/collaborator} comments_url: >- https://api.github.com/repos/octo-org/hello-world/comments{/number} commits_url: https://api.github.com/repos/octo-org/hello-world/commits{/sha} compare_url: >- https://api.github.com/repos/octo-org/hello-world/compare/{base}...{head} contents_url: https://api.github.com/repos/octo-org/hello-world/contents/{+path} contributors_url: https://api.github.com/repos/octo-org/hello-world/contributors deployments_url: https://api.github.com/repos/octo-org/hello-world/deployments downloads_url: https://api.github.com/repos/octo-org/hello-world/downloads events_url: https://api.github.com/repos/octo-org/hello-world/events forks_url: https://api.github.com/repos/octo-org/hello-world/forks git_commits_url: >- https://api.github.com/repos/octo-org/hello-world/git/commits{/sha} git_refs_url: https://api.github.com/repos/octo-org/hello-world/git/refs{/sha} git_tags_url: https://api.github.com/repos/octo-org/hello-world/git/tags{/sha} hooks_url: https://api.github.com/repos/octo-org/hello-world/hooks issue_comment_url: >- https://api.github.com/repos/octo-org/hello-world/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octo-org/hello-world/issues/events{/number} issues_url: https://api.github.com/repos/octo-org/hello-world/issues{/number} keys_url: https://api.github.com/repos/octo-org/hello-world/keys{/key_id} labels_url: https://api.github.com/repos/octo-org/hello-world/labels{/name} languages_url: https://api.github.com/repos/octo-org/hello-world/languages merges_url: https://api.github.com/repos/octo-org/hello-world/merges milestones_url: >- https://api.github.com/repos/octo-org/hello-world/milestones{/number} notifications_url: >- https://api.github.com/repos/octo-org/hello-world/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octo-org/hello-world/pulls{/number} releases_url: https://api.github.com/repos/octo-org/hello-world/releases{/id} stargazers_url: https://api.github.com/repos/octo-org/hello-world/stargazers statuses_url: https://api.github.com/repos/octo-org/hello-world/statuses/{sha} subscribers_url: https://api.github.com/repos/octo-org/hello-world/subscribers subscription_url: https://api.github.com/repos/octo-org/hello-world/subscription tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} organization-dependabot-secret-paginated: value: total_count: 3 secrets: - name: MY_ARTIFACTORY_PASSWORD created_at: '2021-08-10T14:59:22Z' updated_at: '2021-12-10T14:59:22Z' visibility: private - name: NPM_TOKEN created_at: '2021-08-10T14:59:22Z' updated_at: '2021-12-10T14:59:22Z' visibility: all - name: GH_TOKEN created_at: '2021-08-10T14:59:22Z' updated_at: '2021-12-10T14:59:22Z' visibility: selected selected_repositories_url: >- https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories dependabot-public-key: value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 organization-dependabot-secret: value: name: NPM_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: >- https://api.github.com/orgs/octo-org/dependabot/secrets/NPM_TOKEN/repositories packages-for-org: value: - id: 197 name: hello_docker package_type: container owner: login: github id: 9919 node_id: MDEyOk9yZ2FuaXphdGlvbjk5MTk= avatar_url: https://avatars.githubusercontent.com/u/9919?v=4 gravatar_id: '' url: https://api.github.com/users/github html_url: https://github.com/github followers_url: https://api.github.com/users/github/followers following_url: https://api.github.com/users/github/following{/other_user} gists_url: https://api.github.com/users/github/gists{/gist_id} starred_url: https://api.github.com/users/github/starred{/owner}{/repo} subscriptions_url: https://api.github.com/users/github/subscriptions organizations_url: https://api.github.com/users/github/orgs repos_url: https://api.github.com/users/github/repos events_url: https://api.github.com/users/github/events{/privacy} received_events_url: https://api.github.com/users/github/received_events type: Organization site_admin: false version_count: 1 visibility: private url: https://api.github.com/orgs/github/packages/container/hello_docker created_at: '2020-05-19T22:19:11Z' updated_at: '2020-05-19T22:19:11Z' html_url: >- https://github.com/orgs/github/packages/container/package/hello_docker - id: 198 name: goodbye_docker package_type: container owner: login: github id: 9919 node_id: MDEyOk9yZ2FuaXphdGlvbjk5MTk= avatar_url: https://avatars.githubusercontent.com/u/9919?v=4 gravatar_id: '' url: https://api.github.com/users/github html_url: https://github.com/github followers_url: https://api.github.com/users/github/followers following_url: https://api.github.com/users/github/following{/other_user} gists_url: https://api.github.com/users/github/gists{/gist_id} starred_url: https://api.github.com/users/github/starred{/owner}{/repo} subscriptions_url: https://api.github.com/users/github/subscriptions organizations_url: https://api.github.com/users/github/orgs repos_url: https://api.github.com/users/github/repos events_url: https://api.github.com/users/github/events{/privacy} received_events_url: https://api.github.com/users/github/received_events type: Organization site_admin: false version_count: 2 visibility: private url: https://api.github.com/orgs/github/packages/container/goodbye_docker created_at: '2020-05-20T22:19:11Z' updated_at: '2020-05-20T22:19:11Z' html_url: >- https://github.com/orgs/github/packages/container/package/goodbye_docker public-org-events-items: value: - id: '22237752260' type: WatchEvent actor: id: 583231 login: octocat display_login: octocat gravatar_id: '' url: https://api.github.com/users/octocat avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 name: octo-org/octo-repo url: https://api.github.com/repos/octo-org/octo-repo payload: action: started public: true created_at: '2022-06-08T23:29:25Z' - id: '22249084964' type: PushEvent actor: id: 583231 login: octocat display_login: octocat gravatar_id: '' url: https://api.github.com/users/octocat avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 name: octo-org/octo-repo url: https://api.github.com/repos/octo-org/oct-repo payload: push_id: 10115855396 size: 1 distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd commits: - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 author: email: octocat@github.com name: Monalisa Octocat message: commit distinct: true url: >- https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' external-group: value: group_id: '123' group_name: Octocat admins updated_at: '2021-01-24T11:31:04-06:00' teams: - team_id: 1 team_name: team-test - team_id: 2 team_name: team-test2 members: - member_id: 1 member_login: mona-lisa_eocsaxrs member_name: Mona Lisa member_email: mona_lisa@github.com - member_id: 2 member_login: octo-lisa_eocsaxrs member_name: Octo Lisa member_email: octo_lisa@github.com external-groups: value: groups: - group_id: '123' group_name: Octocat admins updated_at: '2021-01-24T11:31:04-06:00' - group_id: '456' group_name: Octocat docs members updated_at: '2021-03-24T11:31:04-06:00' org-hook-items: value: - id: 1 url: https://api.github.com/orgs/octocat/hooks/1 ping_url: https://api.github.com/orgs/octocat/hooks/1/pings deliveries_url: https://api.github.com/orgs/octocat/hooks/1/deliveries name: web events: - push - pull_request active: true config: url: http://example.com content_type: json updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' type: Organization org-hook: value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 ping_url: https://api.github.com/orgs/octocat/hooks/1/pings deliveries_url: https://api.github.com/orgs/octocat/hooks/1/deliveries name: web events: - push - pull_request active: true config: url: http://example.com content_type: json updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' type: Organization org-hook-2: value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 ping_url: https://api.github.com/orgs/octocat/hooks/1/pings deliveries_url: >- https://api.github.com/repos/octocat/Hello-World/hooks/12345678/deliveries name: web events: - pull_request active: true config: url: http://example.com content_type: json updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' type: Organization webhook-config: value: content_type: json insecure_ssl: '0' secret: '********' url: https://example.com/webhook hook-delivery-items: value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 delivered_at: '2019-06-03T00:57:16Z' redelivery: false duration: 0.27 status: OK status_code: 200 event: issues action: opened installation_id: 123 repository_id: 456 - id: 123456789 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 delivered_at: '2019-06-04T00:57:16Z' redelivery: true duration: 0.28 status: OK status_code: 200 event: issues action: opened installation_id: 123 repository_id: 456 hook-delivery: value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 delivered_at: '2019-06-03T00:57:16Z' redelivery: false duration: 0.27 status: OK status_code: 200 event: issues action: opened installation_id: 123 repository_id: 456 url: https://www.example.com request: headers: X-GitHub-Delivery: 0b989ba4-242f-11e5-81e1-c7b6966d2516 X-Hub-Signature-256: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e Accept: '*/*' X-GitHub-Hook-ID: '42' User-Agent: GitHub-Hookshot/b8c71d8 X-GitHub-Event: issues X-GitHub-Hook-Installation-Target-ID: '123' X-GitHub-Hook-Installation-Target-Type: repository content-type: application/json X-Hub-Signature: sha1=a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d payload: action: opened issue: body: foo repository: id: 123 response: headers: Content-Type: text/html;charset=utf-8 payload: ok installation: value: id: 1 account: login: github id: 1 node_id: MDEyOk9yZ2FuaXphdGlvbjE= avatar_url: https://github.com/images/error/hubot_happy.gif gravatar_id: '' url: https://api.github.com/orgs/github html_url: https://github.com/github followers_url: https://api.github.com/users/github/followers following_url: https://api.github.com/users/github/following{/other_user} gists_url: https://api.github.com/users/github/gists{/gist_id} starred_url: https://api.github.com/users/github/starred{/owner}{/repo} subscriptions_url: https://api.github.com/users/github/subscriptions organizations_url: https://api.github.com/users/github/orgs repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events received_events_url: https://api.github.com/users/github/received_events type: Organization site_admin: false repository_selection: all 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 created_at: '2018-02-09T20:51:14Z' updated_at: '2018-02-09T20:51:14Z' single_file_name: config.yml has_multiple_single_files: true single_file_paths: - config.yml - .github/issue_TEMPLATE.md app_slug: github-actions suspended_at: suspended_by: installation-paginated: value: total_count: 1 installations: - id: 25381 account: login: octo-org id: 6811672 node_id: MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI= avatar_url: https://avatars3.githubusercontent.com/u/6811672?v=4 gravatar_id: '' url: https://api.github.com/users/octo-org html_url: https://github.com/octo-org followers_url: https://api.github.com/users/octo-org/followers following_url: https://api.github.com/users/octo-org/following{/other_user} gists_url: https://api.github.com/users/octo-org/gists{/gist_id} starred_url: https://api.github.com/users/octo-org/starred{/owner}{/repo} subscriptions_url: https://api.github.com/users/octo-org/subscriptions organizations_url: https://api.github.com/users/octo-org/orgs repos_url: https://api.github.com/users/octo-org/repos events_url: https://api.github.com/users/octo-org/events{/privacy} received_events_url: https://api.github.com/users/octo-org/received_events type: Organization site_admin: false repository_selection: selected access_tokens_url: https://api.github.com/app/installations/25381/access_tokens repositories_url: https://api.github.com/installation/repositories html_url: >- https://github.com/organizations/octo-org/settings/installations/25381 app_id: 2218 target_id: 6811672 target_type: Organization permissions: deployments: write metadata: read pull_requests: read statuses: read events: - deployment - deployment_status created_at: '2017-05-16T08:47:09.000-07:00' updated_at: '2017-06-06T11:23:23.000-07:00' single_file_name: config.yml has_multiple_single_files: true single_file_paths: - config.yml - .github/issue_TEMPLATE.md app_slug: github-actions suspended_at: suspended_by: issue-with-repo-items: value: - id: 1 node_id: MDU6SXNzdWUx url: https://api.github.com/repos/octocat/Hello-World/issues/1347 repository_url: https://api.github.com/repos/octocat/Hello-World labels_url: >- https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name} comments_url: >- https://api.github.com/repos/octocat/Hello-World/issues/1347/comments events_url: https://api.github.com/repos/octocat/Hello-World/issues/1347/events html_url: https://github.com/octocat/Hello-World/issues/1347 number: 1347 state: open title: Found a bug body: I'm having a problem with this. user: 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 labels: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= url: https://api.github.com/repos/octocat/Hello-World/labels/bug name: bug description: Something isn't working color: f29513 default: true assignee: 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 assignees: - 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 milestone: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 labels_url: >- https://api.github.com/repos/octocat/Hello-World/milestones/1/labels id: 1002604 node_id: MDk6TWlsZXN0b25lMTAwMjYwNA== number: 1 state: open title: v1.0 description: Tracking milestone for version 1.0 creator: 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 open_issues: 4 closed_issues: 8 created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' locked: true active_lock_reason: too heated comments: 0 pull_request: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 html_url: https://github.com/octocat/Hello-World/pull/1347 diff_url: https://github.com/octocat/Hello-World/pull/1347.diff patch_url: https://github.com/octocat/Hello-World/pull/1347.patch closed_at: created_at: '2011-04-22T13:33:48Z' updated_at: '2011-04-22T13:33:48Z' repository: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: git:github.com/octocat/Hello-World.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: >- https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: git@github.com:octocat/Hello-World.git stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: https://github.com/octocat/Hello-World.git mirror_url: git:git.example.com/octocat/Hello-World hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks svn_url: https://svn.github.com/octocat/Hello-World homepage: https://github.com language: forks_count: 9 stargazers_count: 80 watchers_count: 80 size: 108 default_branch: master open_issues_count: 0 is_template: true topics: - octocat - atom - electron - api has_issues: true has_projects: true has_wiki: true has_pages: false has_downloads: true archived: false disabled: false visibility: public pushed_at: '2011-01-26T19:06:43Z' created_at: '2011-01-26T19:01:12Z' updated_at: '2011-01-26T19:14:43Z' permissions: admin: false push: false pull: true allow_rebase_merge: true template_repository: temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_auto_merge: false delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 license: key: mit name: MIT License url: https://api.github.com/licenses/mit spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit forks: 1 open_issues: 1 watchers: 1 author_association: COLLABORATOR simple-user-items: value: - 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 org-membership-response-if-user-has-an-active-admin-membership-with-organization: summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active role: admin organization_url: https://api.github.com/orgs/octocat organization: login: github id: 1 node_id: MDEyOk9yZ2FuaXphdGlvbjE= url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events hooks_url: https://api.github.com/orgs/github/hooks issues_url: https://api.github.com/orgs/github/issues members_url: https://api.github.com/orgs/github/members{/member} public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif description: A great organization user: 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 migration-with-short-org-items: value: - id: 79 owner: login: github id: 1 node_id: MDEyOk9yZ2FuaXphdGlvbjE= url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events avatar_url: https://github.com/images/error/octocat_happy.gif gravatar_id: '' 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 received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: true guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 state: pending lock_repositories: true exclude_attachments: false exclude_releases: false exclude_owner_projects: false repositories: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: >- https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: >- https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: >- https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: >- https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: >- https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: git:github.com/octocat/Hello-World.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: >- https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: git@github.com:octocat/Hello-World.git stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: https://github.com/octocat/Hello-World.git mirror_url: git:git.example.com/octocat/Hello-World hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks svn_url: https://svn.github.com/octocat/Hello-World homepage: https://github.com language: forks_count: 9 stargazers_count: 80 watchers_count: 80 size: 108 default_branch: master open_issues_count: 0 is_template: true topics: - octocat - atom - electron - api has_issues: true has_projects: true has_wiki: true has_pages: false has_downloads: true archived: false disabled: false visibility: public pushed_at: '2011-01-26T19:06:43Z' created_at: '2011-01-26T19:01:12Z' updated_at: '2011-01-26T19:14:43Z' permissions: admin: false push: false pull: true allow_rebase_merge: true template_repository: temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_auto_merge: false delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 license: key: mit name: MIT License url: https://api.github.com/licenses/mit spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit forks: 1 open_issues: 1 watchers: 1 url: https://api.github.com/orgs/octo-org/migrations/79 created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= migration-with-short-org-2: value: id: 79 node_id: MDEyOk9yZ2FuaXphdGlvbjE= owner: login: github id: 1 node_id: MDEyOk9yZ2FuaXphdGlvbjE= url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events avatar_url: https://github.com/images/error/octocat_happy.gif gravatar_id: '' 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 received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: true guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 state: pending lock_repositories: true exclude_attachments: false exclude_releases: false exclude_owner_projects: false repositories: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: git:github.com/octocat/Hello-World.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: >- https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: git@github.com:octocat/Hello-World.git stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: https://github.com/octocat/Hello-World.git mirror_url: git:git.example.com/octocat/Hello-World hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks svn_url: https://svn.github.com/octocat/Hello-World homepage: https://github.com language: forks_count: 9 stargazers_count: 80 watchers_count: 80 size: 108 default_branch: master open_issues_count: 0 is_template: true topics: - octocat - atom - electron - api has_issues: true has_projects: true has_wiki: true has_pages: false has_downloads: true archived: false disabled: false visibility: public pushed_at: '2011-01-26T19:06:43Z' created_at: '2011-01-26T19:01:12Z' updated_at: '2011-01-26T19:14:43Z' permissions: admin: false push: false pull: true allow_rebase_merge: true template_repository: temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_auto_merge: false delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 license: key: mit name: MIT License url: https://api.github.com/licenses/mit spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit forks: 1 open_issues: 1 watchers: 1 url: https://api.github.com/orgs/octo-org/migrations/79 created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' migration-with-short-org: value: id: 79 node_id: MDEyOk9yZ2FuaXphdGlvbjE= owner: login: github id: 1 node_id: MDEyOk9yZ2FuaXphdGlvbjE= url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events avatar_url: https://github.com/images/error/octocat_happy.gif gravatar_id: '' 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 received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: true guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 state: exported lock_repositories: true exclude_attachments: false exclude_releases: false exclude_owner_projects: false repositories: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: git:github.com/octocat/Hello-World.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: >- https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: git@github.com:octocat/Hello-World.git stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: https://github.com/octocat/Hello-World.git mirror_url: git:git.example.com/octocat/Hello-World hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks svn_url: https://svn.github.com/octocat/Hello-World homepage: https://github.com language: forks_count: 9 stargazers_count: 80 watchers_count: 80 size: 108 default_branch: master open_issues_count: 0 is_template: true topics: - octocat - atom - electron - api has_issues: true has_projects: true has_wiki: true has_pages: false has_downloads: true archived: false disabled: false visibility: public pushed_at: '2011-01-26T19:06:43Z' created_at: '2011-01-26T19:01:12Z' updated_at: '2011-01-26T19:14:43Z' permissions: admin: false push: false pull: true allow_rebase_merge: true template_repository: temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_auto_merge: false delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 license: key: mit name: MIT License url: https://api.github.com/licenses/mit spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit forks: 1 open_issues: 1 watchers: 1 url: https://api.github.com/orgs/octo-org/migrations/79 created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' minimal-repository-items: value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: git:github.com/octocat/Hello-World.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: git@github.com:octocat/Hello-World.git stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: https://github.com/octocat/Hello-World.git mirror_url: git:git.example.com/octocat/Hello-World hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks svn_url: https://svn.github.com/octocat/Hello-World homepage: https://github.com language: forks_count: 9 stargazers_count: 80 watchers_count: 80 size: 108 default_branch: master open_issues_count: 0 is_template: false topics: - octocat - atom - electron - api has_issues: true has_projects: true has_wiki: true has_pages: false has_downloads: true has_discussions: false archived: false disabled: false visibility: public pushed_at: '2011-01-26T19:06:43Z' created_at: '2011-01-26T19:01:12Z' updated_at: '2011-01-26T19:14:43Z' permissions: admin: false push: false pull: true security_and_analysis: advanced_security: status: enabled secret_scanning: status: enabled secret_scanning_push_protection: status: disabled package-org: value: id: 197 name: hello_docker package_type: container owner: login: github id: 9919 node_id: MDEyOk9yZ2FuaXphdGlvbjk5MTk= avatar_url: https://avatars.githubusercontent.com/u/9919?v=4 gravatar_id: '' url: https://api.github.com/users/github html_url: https://github.com/github followers_url: https://api.github.com/users/github/followers following_url: https://api.github.com/users/github/following{/other_user} gists_url: https://api.github.com/users/github/gists{/gist_id} starred_url: https://api.github.com/users/github/starred{/owner}{/repo} subscriptions_url: https://api.github.com/users/github/subscriptions organizations_url: https://api.github.com/users/github/orgs repos_url: https://api.github.com/users/github/repos events_url: https://api.github.com/users/github/events{/privacy} received_events_url: https://api.github.com/users/github/received_events type: Organization site_admin: false version_count: 1 visibility: private url: https://api.github.com/orgs/github/packages/container/hello_docker created_at: '2020-05-19T22:19:11Z' updated_at: '2020-05-19T22:19:11Z' html_url: https://github.com/orgs/github/packages/container/package/hello_docker package-versions-for-org: value: - id: 245301 name: 1.0.4 url: >- https://api.github.com/orgs/octo-org/packages/npm/hello-world-npm/versions/245301 package_html_url: https://github.com/octo-org/hello-world-npm/packages/43752 created_at: '2019-11-05T22:49:04Z' updated_at: '2019-11-05T22:49:04Z' html_url: >- https://github.com/octo-org/hello-world-npm/packages/43752?version=1.0.4 metadata: package_type: npm - id: 209672 name: 1.0.3 url: >- https://api.github.com/orgs/octo-org/packages/npm/hello-world-npm/versions/209672 package_html_url: https://github.com/octo-org/hello-world-npm/packages/43752 created_at: '2019-10-29T15:42:11Z' updated_at: '2019-10-29T15:42:12Z' html_url: >- https://github.com/octo-org/hello-world-npm/packages/43752?version=1.0.3 metadata: package_type: npm package-version-org: value: id: 836 name: >- sha256:b3d3e366b55f9a54599220198b3db5da8f53592acbbb7dc7e4e9878762fc5344 url: >- https://api.github.com/orgs/github/packages/container/hello_docker/versions/836 package_html_url: https://github.com/orgs/github/packages/container/package/hello_docker created_at: '2020-05-19T22:19:11Z' updated_at: '2020-05-19T22:19:11Z' html_url: https://github.com/orgs/github/packages/container/hello_docker/836 metadata: package_type: container container: tags: - latest org-pre-receive-hook-items: value: - id: 42 name: Check Commits enforcement: disabled configuration_url: https://github.example.com/api/v3/admin/pre-receive-hooks/42 allow_downstream_configuration: true org-pre-receive-hook: value: id: 42 name: Check Commits enforcement: disabled configuration_url: https://github.example.com/api/v3/admin/pre-receive-hooks/42 allow_downstream_configuration: true org-pre-receive-hook-2: value: id: 42 name: Check Commits enforcement: enabled configuration_url: https://github.example.com/api/v3/orgs/octocat/pre-receive-hooks/42 allow_downstream_configuration: false project-items: value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 html_url: https://github.com/orgs/api-playground/projects/1 columns_url: https://api.github.com/projects/1002605/columns id: 1002605 node_id: MDc6UHJvamVjdDEwMDI2MDU= name: Organization Roadmap body: High-level roadmap for the upcoming year. number: 1 state: open creator: 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 created_at: '2011-04-11T20:09:31Z' updated_at: '2014-03-04T18:58:10Z' organization_permission: write private: true project-2: value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 html_url: https://github.com/orgs/api-playground/projects/1 columns_url: https://api.github.com/projects/1002605/columns id: 1002605 node_id: MDc6UHJvamVjdDEwMDI2MDU= name: Organization Roadmap body: High-level roadmap for the upcoming year. number: 1 state: open creator: 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 created_at: '2011-04-11T20:09:31Z' updated_at: '2014-03-04T18:58:10Z' full-repository: value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: git:github.com/octocat/Hello-World.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: git@github.com:octocat/Hello-World.git stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: https://github.com/octocat/Hello-World.git mirror_url: git:git.example.com/octocat/Hello-World hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks svn_url: https://svn.github.com/octocat/Hello-World homepage: https://github.com license: key: mit name: MIT License url: https://api.github.com/licenses/mit spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit language: forks_count: 9 forks: 9 stargazers_count: 80 watchers_count: 80 watchers: 80 size: 108 default_branch: master open_issues_count: 0 open_issues: 0 is_template: false topics: - octocat - atom - electron - api has_issues: true has_projects: true has_wiki: true has_pages: false has_downloads: true archived: false disabled: false visibility: public pushed_at: '2011-01-26T19:06:43Z' created_at: '2011-01-26T19:01:12Z' updated_at: '2011-01-26T19:14:43Z' permissions: pull: true push: false admin: false allow_rebase_merge: true template_repository: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World-Template full_name: octocat/Hello-World-Template owner: 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 private: false html_url: https://github.com/octocat/Hello-World-Template description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World-Template archive_url: >- https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref} assignees_url: >- https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user} blobs_url: >- https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha} branches_url: >- https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator} comments_url: >- https://api.github.com/repos/octocat/Hello-World-Template/comments{/number} commits_url: >- https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head} contents_url: >- https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path} contributors_url: >- https://api.github.com/repos/octocat/Hello-World-Template/contributors deployments_url: >- https://api.github.com/repos/octocat/Hello-World-Template/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World-Template/downloads events_url: https://api.github.com/repos/octocat/Hello-World-Template/events forks_url: https://api.github.com/repos/octocat/Hello-World-Template/forks git_commits_url: >- https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha} git_refs_url: >- https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha} git_tags_url: >- https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha} git_url: git:github.com/octocat/Hello-World-Template.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number} issues_url: >- https://api.github.com/repos/octocat/Hello-World-Template/issues{/number} keys_url: >- https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id} labels_url: >- https://api.github.com/repos/octocat/Hello-World-Template/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World-Template/languages merges_url: https://api.github.com/repos/octocat/Hello-World-Template/merges milestones_url: >- https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating} pulls_url: >- https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number} releases_url: >- https://api.github.com/repos/octocat/Hello-World-Template/releases{/id} ssh_url: git@github.com:octocat/Hello-World-Template.git stargazers_url: https://api.github.com/repos/octocat/Hello-World-Template/stargazers statuses_url: >- https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha} subscribers_url: >- https://api.github.com/repos/octocat/Hello-World-Template/subscribers subscription_url: >- https://api.github.com/repos/octocat/Hello-World-Template/subscription tags_url: https://api.github.com/repos/octocat/Hello-World-Template/tags teams_url: https://api.github.com/repos/octocat/Hello-World-Template/teams trees_url: >- https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha} clone_url: https://github.com/octocat/Hello-World-Template.git mirror_url: git:git.example.com/octocat/Hello-World-Template hooks_url: https://api.github.com/repos/octocat/Hello-World-Template/hooks svn_url: https://svn.github.com/octocat/Hello-World-Template homepage: https://github.com language: forks: 9 forks_count: 9 stargazers_count: 80 watchers_count: 80 watchers: 80 size: 108 default_branch: master open_issues: 0 open_issues_count: 0 is_template: true license: key: mit name: MIT License url: https://api.github.com/licenses/mit spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit topics: - octocat - atom - electron - api has_issues: true has_projects: true has_wiki: true has_pages: false has_downloads: true archived: false disabled: false visibility: public pushed_at: '2011-01-26T19:06:43Z' created_at: '2011-01-26T19:01:12Z' updated_at: '2011-01-26T19:14:43Z' permissions: admin: false push: false pull: true allow_rebase_merge: true temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_auto_merge: false delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_auto_merge: false delete_branch_on_merge: true allow_merge_commit: true allow_forking: true web_commit_signoff_required: false subscribers_count: 42 network_count: 0 organization: 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: Organization site_admin: false parent: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: git:github.com/octocat/Hello-World.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: git@github.com:octocat/Hello-World.git stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: https://github.com/octocat/Hello-World.git mirror_url: git:git.example.com/octocat/Hello-World hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks svn_url: https://svn.github.com/octocat/Hello-World homepage: https://github.com language: forks_count: 9 stargazers_count: 80 watchers_count: 80 size: 108 default_branch: master open_issues_count: 0 is_template: true topics: - octocat - atom - electron - api has_issues: true has_projects: true has_wiki: true has_pages: false has_downloads: true archived: false disabled: false visibility: public pushed_at: '2011-01-26T19:06:43Z' created_at: '2011-01-26T19:01:12Z' updated_at: '2011-01-26T19:14:43Z' permissions: admin: false push: false pull: true allow_rebase_merge: true temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_auto_merge: false delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 license: key: mit name: MIT License url: https://api.github.com/licenses/mit spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit forks: 1 open_issues: 1 watchers: 1 source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: git:github.com/octocat/Hello-World.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: git@github.com:octocat/Hello-World.git stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: https://github.com/octocat/Hello-World.git mirror_url: git:git.example.com/octocat/Hello-World hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks svn_url: https://svn.github.com/octocat/Hello-World homepage: https://github.com language: forks_count: 9 stargazers_count: 80 watchers_count: 80 size: 108 default_branch: master open_issues_count: 0 is_template: true topics: - octocat - atom - electron - api has_issues: true has_projects: true has_wiki: true has_pages: false has_downloads: true archived: false disabled: false visibility: public pushed_at: '2011-01-26T19:06:43Z' created_at: '2011-01-26T19:01:12Z' updated_at: '2011-01-26T19:14:43Z' permissions: admin: false push: false pull: true allow_rebase_merge: true temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_auto_merge: false delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 license: key: mit name: MIT License url: https://api.github.com/licenses/mit spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit forks: 1 open_issues: 1 watchers: 1 repository-fine-grained-permission-example: value: - name: add_assignee description: Assign or remove a user - name: remove_assignee description: Remove an assigned user - name: add_label description: Add or remove a label organization-secret-scanning-alert-list: value: - number: 2 created_at: '2020-11-06T18:48:51Z' url: >- https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 html_url: https://github.com/owner/private-repo/security/secret-scanning/2 locations_url: >- https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations state: resolved resolution: false_positive resolved_at: '2020-11-07T02:47:13Z' resolved_by: login: monalisa id: 2 node_id: MDQ6VXNlcjI= avatar_url: https://alambic.github.com/avatars/u/2? gravatar_id: '' url: https://api.github.com/users/monalisa html_url: https://github.com/monalisa followers_url: https://api.github.com/users/monalisa/followers following_url: https://api.github.com/users/monalisa/following{/other_user} gists_url: https://api.github.com/users/monalisa/gists{/gist_id} starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} subscriptions_url: https://api.github.com/users/monalisa/subscriptions organizations_url: https://api.github.com/users/monalisa/orgs repos_url: https://api.github.com/users/monalisa/repos events_url: https://api.github.com/users/monalisa/events{/privacy} received_events_url: https://api.github.com/users/monalisa/received_events type: User site_admin: true secret_type: adafruit_io_key secret_type_display_name: Adafruit IO Key secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX repository: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: >- https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks push_protection_bypassed_by: login: monalisa id: 2 node_id: MDQ6VXNlcjI= avatar_url: https://alambic.github.com/avatars/u/2? gravatar_id: '' url: https://api.github.com/users/monalisa html_url: https://github.com/monalisa followers_url: https://api.github.com/users/monalisa/followers following_url: https://api.github.com/users/monalisa/following{/other_user} gists_url: https://api.github.com/users/monalisa/gists{/gist_id} starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} subscriptions_url: https://api.github.com/users/monalisa/subscriptions organizations_url: https://api.github.com/users/monalisa/orgs repos_url: https://api.github.com/users/monalisa/repos events_url: https://api.github.com/users/monalisa/events{/privacy} received_events_url: https://api.github.com/users/monalisa/received_events type: User site_admin: true push_protection_bypassed: true push_protection_bypassed_at: '2020-11-06T21:48:51Z' resolution_comment: Example comment - number: 1 created_at: '2020-11-06T18:18:30Z' url: https://api.github.com/repos/owner/repo/secret-scanning/alerts/1 html_url: https://github.com/owner/repo/security/secret-scanning/1 locations_url: >- https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/1/locations state: open resolution: resolved_at: resolved_by: secret_type: mailchimp_api_key secret_type_display_name: Mailchimp API Key secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2 repository: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: >- https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks push_protection_bypassed_by: push_protection_bypassed: false push_protection_bypassed_at: resolution_comment: team-items: value: - id: 1 node_id: MDQ6VGVhbTE= url: https://api.github.com/teams/1 html_url: https://github.com/orgs/github/teams/justice-league name: Justice League slug: justice-league description: A great team. privacy: closed permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: advanced-security-active-committers: value: total_advanced_security_committers: 2 total_count: 2 repositories: - name: octocat-org/Hello-World advanced_security_committers: 2 advanced_security_committers_breakdown: - user_login: octocat last_pushed_date: '2021-11-03' - user_login: octokitten last_pushed_date: '2021-10-25' - name: octocat-org/server advanced_security_committers: 1 advanced_security_committers_breakdown: - user_login: octokitten last_pushed_date: '2021-10-26' team-full: value: id: 1 node_id: MDQ6VGVhbTE= url: https://api.github.com/teams/1 html_url: https://github.com/orgs/github/teams/justice-league name: Justice League slug: justice-league description: A great team. privacy: closed permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' updated_at: '2017-08-17T12:37:15Z' organization: login: github id: 1 node_id: MDEyOk9yZ2FuaXphdGlvbjE= url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events hooks_url: https://api.github.com/orgs/github/hooks issues_url: https://api.github.com/orgs/github/issues members_url: https://api.github.com/orgs/github/members{/member} public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif description: A great organization name: github company: GitHub blog: https://github.com/blog location: San Francisco email: octocat@github.com has_organization_projects: true has_repository_projects: true public_repos: 2 public_gists: 1 followers: 20 following: 0 html_url: https://github.com/octocat created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization ldap_dn: uid=asdf,ou=users,dc=github,dc=com team-discussion-items: value: - author: 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 body: Hi! This is an area for us to collaborate as a team. body_html:

Hi! This is an area for us to collaborate as a team

body_version: 0d495416a700fb06133c612575d92bfb comments_count: 0 comments_url: https://api.github.com/teams/2343027/discussions/1/comments created_at: '2018-01-25T18:56:31Z' last_edited_at: html_url: https://github.com/orgs/github/teams/justice-league/discussions/1 node_id: MDE0OlRlYW1EaXNjdXNzaW9uMQ== number: 1 pinned: false private: false team_url: https://api.github.com/teams/2343027 title: Our first team post updated_at: '2018-01-25T18:56:31Z' url: https://api.github.com/teams/2343027/discussions/1 reactions: url: https://api.github.com/teams/2343027/discussions/1/reactions total_count: 5 '+1': 3 '-1': 1 laugh: 0 confused: 0 heart: 1 hooray: 0 eyes: 1 rocket: 1 team-discussion: value: author: 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 body: Hi! This is an area for us to collaborate as a team. body_html:

Hi! This is an area for us to collaborate as a team

body_version: 0d495416a700fb06133c612575d92bfb comments_count: 0 comments_url: https://api.github.com/teams/2343027/discussions/1/comments created_at: '2018-01-25T18:56:31Z' last_edited_at: html_url: https://github.com/orgs/github/teams/justice-league/discussions/1 node_id: MDE0OlRlYW1EaXNjdXNzaW9uMQ== number: 1 pinned: false private: false team_url: https://api.github.com/teams/2343027 title: Our first team post updated_at: '2018-01-25T18:56:31Z' url: https://api.github.com/teams/2343027/discussions/1 reactions: url: https://api.github.com/teams/2343027/discussions/1/reactions total_count: 5 '+1': 3 '-1': 1 laugh: 0 confused: 0 heart: 1 hooray: 0 eyes: 1 rocket: 1 team-discussion-2: value: author: 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 body: Hi! This is an area for us to collaborate as a team. body_html:

Hi! This is an area for us to collaborate as a team

body_version: 0d495416a700fb06133c612575d92bfb comments_count: 1 comments_url: https://api.github.com/teams/2343027/discussions/1/comments created_at: '2018-01-25T18:56:31Z' last_edited_at: '2018-01-26T18:22:20Z' html_url: https://github.com/orgs/github/teams/justice-league/discussions/1 node_id: MDE0OlRlYW1EaXNjdXNzaW9uMQ== number: 1 pinned: false private: false team_url: https://api.github.com/teams/2343027 title: Welcome to our first team post updated_at: '2018-01-26T18:22:20Z' url: https://api.github.com/teams/2343027/discussions/1 reactions: url: https://api.github.com/teams/2343027/discussions/1/reactions total_count: 5 '+1': 3 '-1': 1 laugh: 0 confused: 0 heart: 1 hooray: 0 eyes: 1 rocket: 1 team-discussion-comment-items: value: - author: 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 body: Do you like apples? body_html:

Do you like apples?

body_version: 5eb32b219cdc6a5a9b29ba5d6caa9c51 created_at: '2018-01-15T23:53:58Z' last_edited_at: discussion_url: https://api.github.com/teams/2403582/discussions/1 html_url: >- https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1 node_id: MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE= number: 1 updated_at: '2018-01-15T23:53:58Z' url: https://api.github.com/teams/2403582/discussions/1/comments/1 reactions: url: https://api.github.com/teams/2403582/discussions/1/reactions total_count: 5 '+1': 3 '-1': 1 laugh: 0 confused: 0 heart: 1 hooray: 0 eyes: 1 rocket: 1 team-discussion-comment: value: author: 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 body: Do you like apples? body_html:

Do you like apples?

body_version: 5eb32b219cdc6a5a9b29ba5d6caa9c51 created_at: '2018-01-15T23:53:58Z' last_edited_at: discussion_url: https://api.github.com/teams/2403582/discussions/1 html_url: >- https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1 node_id: MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE= number: 1 updated_at: '2018-01-15T23:53:58Z' url: https://api.github.com/teams/2403582/discussions/1/comments/1 reactions: url: https://api.github.com/teams/2403582/discussions/1/reactions total_count: 5 '+1': 3 '-1': 1 laugh: 0 confused: 0 heart: 1 hooray: 0 eyes: 1 rocket: 1 team-discussion-comment-2: value: author: 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 body: Do you like pineapples? body_html:

Do you like pineapples?

body_version: e6907b24d9c93cc0c5024a7af5888116 created_at: '2018-01-15T23:53:58Z' last_edited_at: '2018-01-26T18:22:20Z' discussion_url: https://api.github.com/teams/2403582/discussions/1 html_url: >- https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1 node_id: MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE= number: 1 updated_at: '2018-01-26T18:22:20Z' url: https://api.github.com/teams/2403582/discussions/1/comments/1 reactions: url: https://api.github.com/teams/2403582/discussions/1/reactions total_count: 5 '+1': 3 '-1': 1 laugh: 0 confused: 0 heart: 1 hooray: 0 eyes: 1 rocket: 1 reaction-items: value: - id: 1 node_id: MDg6UmVhY3Rpb24x user: 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 content: heart created_at: '2016-05-20T20:09:31Z' reaction: value: id: 1 node_id: MDg6UmVhY3Rpb24x user: 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 content: heart created_at: '2016-05-20T20:09:31Z' team-membership-response-if-user-is-a-team-maintainer: summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat role: maintainer state: active team-membership-response-if-users-membership-with-team-is-now-pending: summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat role: member state: pending team-project-items: value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 html_url: https://github.com/orgs/api-playground/projects/1 columns_url: https://api.github.com/projects/1002605/columns id: 1002605 node_id: MDc6UHJvamVjdDEwMDI2MDU= name: Organization Roadmap body: High-level roadmap for the upcoming year. number: 1 state: open creator: 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 created_at: '2011-04-11T20:09:31Z' updated_at: '2014-03-04T18:58:10Z' organization_permission: write private: false permissions: read: true write: true admin: false team-project: value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 html_url: https://github.com/orgs/api-playground/projects/1 columns_url: https://api.github.com/projects/1002605/columns id: 1002605 node_id: MDc6UHJvamVjdDEwMDI2MDU= name: Organization Roadmap body: High-level roadmap for the upcoming year. number: 1 state: open creator: 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 created_at: '2011-04-11T20:09:31Z' updated_at: '2014-03-04T18:58:10Z' organization_permission: write private: false permissions: read: true write: true admin: false team-repository-alternative-response-with-repository-permissions: value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: Hello-World full_name: octocat/Hello-World owner: 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 private: false html_url: https://github.com/octocat/Hello-World description: This your first repo! fork: false url: https://api.github.com/repos/octocat/Hello-World archive_url: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads events_url: https://api.github.com/repos/octocat/Hello-World/events forks_url: https://api.github.com/repos/octocat/Hello-World/forks git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: git:github.com/octocat/Hello-World.git issue_comment_url: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: https://api.github.com/repos/octocat/Hello-World/languages merges_url: https://api.github.com/repos/octocat/Hello-World/merges milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: git@github.com:octocat/Hello-World.git stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription tags_url: https://api.github.com/repos/octocat/Hello-World/tags teams_url: https://api.github.com/repos/octocat/Hello-World/teams trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: https://github.com/octocat/Hello-World.git mirror_url: git:git.example.com/octocat/Hello-World hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks svn_url: https://svn.github.com/octocat/Hello-World homepage: https://github.com language: forks_count: 9 stargazers_count: 80 watchers_count: 80 size: 108 default_branch: master open_issues_count: 0 is_template: false topics: - octocat - atom - electron - api has_issues: true has_projects: true has_wiki: true has_pages: false has_downloads: true archived: false disabled: false visibility: public pushed_at: '2011-01-26T19:06:43Z' created_at: '2011-01-26T19:01:12Z' updated_at: '2011-01-26T19:14:43Z' permissions: admin: false maintain: false push: false triage: false pull: true role_name: read allow_rebase_merge: true temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_auto_merge: false delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 license: key: mit name: MIT License url: https://api.github.com/licenses/mit spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit forks: 1 open_issues: 1 watchers: 1 team-items-response-if-child-teams-exist: value: - id: 2 node_id: MDQ6VGVhbTI= url: https://api.github.com/teams/2 name: Original Roster slug: original-roster description: Started it all. privacy: closed permission: admin members_url: https://api.github.com/teams/2/members{/member} repositories_url: https://api.github.com/teams/2/repos parent: id: 1 node_id: MDQ6VGVhbTE= url: https://api.github.com/teams/1 html_url: https://github.com/orgs/github/teams/justice-league name: Justice League slug: justice-league description: A great team. privacy: closed permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core reponses: {} parameters: org: name: org description: The organization name. The name is not case sensitive. in: path required: true schema: type: string enterprise: 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 org-id: name: org_id description: The unique identifier of the organization. in: path required: true schema: type: integer runner-group-id: name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path required: true schema: type: integer since-org: name: since description: >- An organization ID. Only return organizations with an ID greater than this ID. in: query required: false schema: type: integer per-page: 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-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api)." in: query schema: type: integer default: 30 page: 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-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api)." in: query schema: type: integer default: 1 repository-id: name: repository_id description: The unique identifier of the repository. in: path required: true schema: type: integer visible-to-repository: name: visible_to_repository description: >- Only return runner groups that are allowed to be used by this repository. in: query required: false schema: type: string runner-id: name: runner_id description: Unique identifier of the self-hosted runner. in: path required: true schema: type: integer runner-label-name: name: name description: The name of a self-hosted runner's custom label. in: path required: true schema: type: string secret-name: name: secret_name description: The name of the secret. in: path required: true schema: type: string variables-per-page: 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-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api)." in: query schema: type: integer default: 10 variable-name: name: name description: The name of the variable. in: path required: true schema: type: string audit-log-phrase: name: phrase description: >- A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-server@3.9/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). in: query required: false schema: type: string audit-log-include: name: include description: |- The event types to include: - `web` - returns web (non-Git) events. - `git` - returns Git events. - `all` - returns both web and Git events. The default is `web`. in: query required: false schema: type: string enum: - web - git - all audit-log-after: name: after description: >- A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. in: query required: false schema: type: string audit-log-before: name: before description: >- A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. in: query required: false schema: type: string audit-log-order: name: order description: >- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. The default is `desc`. in: query required: false schema: type: string enum: - desc - asc tool-name: 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: $ref: '#/components/schemas/code-scanning-analysis-tool-name' tool-guid: 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 their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both. in: query required: false schema: $ref: '#/components/schemas/code-scanning-analysis-tool-guid' pagination-before: name: before description: >- A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api)." in: query required: false schema: type: string pagination-after: name: after description: >- A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.9/rest/using-the-rest-api/using-pagination-in-the-rest-api)." in: query required: false schema: type: string direction: name: direction description: The direction to sort the results by. in: query required: false schema: type: string enum: - asc - desc default: desc role-id: name: role_id description: The unique identifier of the role. in: path required: true schema: type: integer dependabot-alert-comma-separated-states: name: state in: query description: >- A comma-separated list of states. If specified, only alerts with these states will be returned. Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string dependabot-alert-comma-separated-severities: name: severity in: query description: >- A comma-separated list of severities. If specified, only alerts with these severities will be returned. Can be: `low`, `medium`, `high`, `critical` schema: type: string dependabot-alert-comma-separated-ecosystems: name: ecosystem in: query description: >- A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned. Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string dependabot-alert-comma-separated-packages: 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 dependabot-alert-scope: name: scope in: query description: >- The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned. schema: type: string enum: - development - runtime dependabot-alert-sort: name: sort in: query description: |- The property by which to sort the results. `created` means when the alert was created. `updated` means when the alert's state last changed. schema: type: string enum: - created - updated default: created pagination-first: name: first description: >- **Deprecated**. The number of results per page (max 100), starting from the first matching result. This parameter must not be used in combination with `last`. Instead, use `per_page` in combination with `after` to fetch the first page of results. in: query required: false schema: type: integer minimum: 1 maximum: 100 default: 30 pagination-last: name: last description: >- **Deprecated**. The number of results per page (max 100), starting from the last matching result. This parameter must not be used in combination with `first`. Instead, use `per_page` in combination with `before` to fetch the last page of results. in: query required: false schema: type: integer minimum: 1 maximum: 100 group-id: name: group_id description: The unique identifier of the group. in: path required: true schema: type: integer hook-id: 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. in: path required: true schema: type: integer cursor: 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 page cursors. in: query required: false schema: type: string delivery-id: name: delivery_id in: path required: true schema: type: integer labels: name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query required: false schema: type: string since: 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) format: `YYYY-MM-DDTHH:MM:SSZ`. in: query required: false schema: type: string format: date-time username: name: username description: The handle for the GitHub user account. in: path required: true schema: type: string migration-id: name: migration_id description: The unique identifier of the migration. in: path required: true schema: type: integer repo-name: name: repo_name description: repo_name parameter in: path required: true schema: type: string package-visibility: name: visibility description: >- The selected visibility of the packages. This parameter is optional and only filters an existing result set. The `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`. For the list of GitHub Packages registries that support granular permissions, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.9/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." in: query required: false schema: type: string enum: - public - private - internal package-type: 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 (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. in: path required: true schema: type: string enum: - npm - maven - rubygems - docker - nuget - container package-name: name: package_name description: The name of the package. in: path required: true schema: type: string package-version-id: name: package_version_id description: Unique identifier of the package version. in: path required: true schema: type: integer pre-receive-hook-id: name: pre_receive_hook_id description: The unique identifier of the pre-receive hook. in: path required: true schema: type: integer secret-scanning-alert-state: name: state in: query description: >- Set to `open` or `resolved` to only list secret scanning alerts in a specific state. required: false schema: type: string enum: - open - resolved secret-scanning-alert-secret-type: name: secret_type in: query description: >- A comma-separated list of secret types to return. By default all secret types are returned. See "[Secret scanning patterns](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)" for a complete list of secret types. required: false schema: type: string secret-scanning-alert-resolution: name: resolution in: query description: >- A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. required: false schema: type: string secret-scanning-alert-sort: 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. in: query required: false schema: type: string enum: - created - updated default: created secret-scanning-pagination-before-org-repo: name: before description: >- A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty "before" query string. in: query required: false schema: type: string secret-scanning-pagination-after-org-repo: name: after description: >- A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.9/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty "after" query string. in: query required: false schema: type: string team-slug: name: team_slug description: The slug of the team name. in: path required: true schema: type: string discussion-number: name: discussion_number description: The number that identifies the discussion. in: path required: true schema: type: integer comment-number: name: comment_number description: The number that identifies the comment. in: path required: true schema: type: integer reaction-id: name: reaction_id description: The unique identifier of the reaction. in: path required: true schema: type: integer project-id: name: project_id description: The unique identifier of the project. in: path required: true schema: type: integer owner: name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string repo: name: repo description: >- The name of the repository without the `.git` extension. The name is not case sensitive. in: path required: true schema: type: string security-product: name: security_product in: path description: The security feature to enable or disable. required: true schema: type: string enum: - dependency_graph - dependabot_alerts - dependabot_security_updates - advanced_security - code_scanning_default_setup - secret_scanning - secret_scanning_push_protection org-security-product-enablement: name: enablement in: path description: >- The action to take. `enable_all` means to enable the specified security feature for all repositories in the organization. `disable_all` means to disable the specified security feature for all repositories in the organization. required: true schema: type: string enum: - enable_all - disable_all schemas: organization-custom-repository-role: title: Organization Custom Repository Role description: Custom repository roles created by organization owners type: object properties: id: description: The unique identifier of the custom role. type: integer example: 42 name: description: The name of the custom role. type: string example: octocat description: description: >- A short description about who this role is for or what permissions it grants. type: string nullable: true example: This is an example repository base_role: type: string description: The system role from which this role inherits permissions. enum: - read - triage - write - maintain example: read permissions: description: A list of additional permissions included in this role. type: array items: type: string organization: $ref: '#/components/schemas/simple-user' created_at: type: string format: date-time example: '2026-04-17T12:00:00Z' updated_at: type: string format: date-time example: '2026-04-17T12:00:00Z' required: - id - name - base_role - permissions - organization - created_at - updated_at simple-user: title: Simple User description: A GitHub user. type: object properties: name: nullable: true type: string example: octocat email: nullable: true type: string example: octocat@github.com login: type: string example: octocat id: type: integer 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 example: true starred_at: type: string example: '"2020-07-09T00:17:55Z"' 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 basic-error: title: Basic Error description: Basic Error type: object properties: message: type: string example: Example body text documentation_url: type: string example: https://api.github.com/repos/octocat/Hello-World url: type: string example: https://api.github.com/repos/octocat/Hello-World status: type: string example: open validation-error-simple: title: Validation Error Simple description: Validation Error Simple type: object required: - message - documentation_url properties: message: type: string example: Example body text documentation_url: type: string example: https://api.github.com/repos/octocat/Hello-World errors: type: array items: type: string validation-error: title: Validation Error description: Validation Error type: object required: - message - documentation_url properties: message: type: string example: Example body text documentation_url: type: string example: https://api.github.com/repos/octocat/Hello-World errors: type: array items: type: object required: - code properties: resource: type: string field: type: string message: type: string code: type: string index: type: integer value: oneOf: - type: string nullable: true - type: integer nullable: true - type: array nullable: true items: type: string scim-error: title: Scim Error description: Scim Error type: object properties: message: type: string nullable: true example: Example body text documentation_url: type: string nullable: true example: https://api.github.com/repos/octocat/Hello-World detail: type: string nullable: true example: example_value status: type: integer example: 42 scimType: type: string nullable: true example: User schemas: type: array items: type: string organization-simple: title: Organization Simple description: A GitHub organization. type: object properties: login: type: string example: github id: type: integer example: 1 node_id: type: string example: MDEyOk9yZ2FuaXphdGlvbjE= url: type: string format: uri example: https://api.github.com/orgs/github repos_url: type: string format: uri example: https://api.github.com/orgs/github/repos events_url: type: string format: uri example: https://api.github.com/orgs/github/events hooks_url: type: string example: https://api.github.com/orgs/github/hooks issues_url: type: string example: https://api.github.com/orgs/github/issues members_url: type: string example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string example: https://github.com/images/error/octocat_happy.gif description: type: string example: A great organization nullable: true required: - login - url - id - node_id - repos_url - events_url - hooks_url - issues_url - members_url - public_members_url - avatar_url - description organization-full: title: Organization Full description: Organization Full type: object properties: login: type: string example: github id: type: integer example: 1 node_id: type: string example: MDEyOk9yZ2FuaXphdGlvbjE= url: type: string format: uri example: https://api.github.com/orgs/github repos_url: type: string format: uri example: https://api.github.com/orgs/github/repos events_url: type: string format: uri example: https://api.github.com/orgs/github/events hooks_url: type: string example: https://api.github.com/orgs/github/hooks issues_url: type: string example: https://api.github.com/orgs/github/issues members_url: type: string example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string example: https://github.com/images/error/octocat_happy.gif description: type: string example: A great organization nullable: true name: type: string example: github company: type: string example: GitHub blog: type: string format: uri example: https://github.com/blog location: type: string example: San Francisco email: type: string format: email example: octocat@github.com twitter_username: type: string example: github nullable: true is_verified: type: boolean example: true has_organization_projects: type: boolean example: true has_repository_projects: type: boolean example: true public_repos: type: integer example: 2 public_gists: type: integer example: 1 followers: type: integer example: 20 following: type: integer example: 0 html_url: type: string format: uri example: https://github.com/octocat type: type: string example: Organization total_private_repos: type: integer example: 100 owned_private_repos: type: integer example: 100 private_gists: type: integer example: 81 nullable: true disk_usage: type: integer example: 10000 nullable: true collaborators: type: integer example: 8 nullable: true billing_email: type: string format: email example: org@example.com nullable: true plan: type: object properties: name: type: string space: type: integer private_repos: type: integer filled_seats: type: integer seats: type: integer required: - name - space - private_repos default_repository_permission: type: string nullable: true members_can_create_repositories: type: boolean example: true nullable: true two_factor_requirement_enabled: type: boolean example: true nullable: true members_allowed_repository_creation_type: type: string example: all members_can_create_public_repositories: type: boolean example: true members_can_create_private_repositories: type: boolean example: true members_can_create_internal_repositories: type: boolean example: true members_can_create_pages: type: boolean example: true members_can_create_public_pages: type: boolean example: true members_can_create_private_pages: type: boolean example: true members_can_fork_private_repositories: type: boolean example: false nullable: true web_commit_signoff_required: type: boolean example: false advanced_security_enabled_for_new_repositories: type: boolean example: false description: >- Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. dependabot_alerts_enabled_for_new_repositories: type: boolean example: false description: >- Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. dependabot_security_updates_enabled_for_new_repositories: type: boolean example: false description: >- Whether dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. dependency_graph_enabled_for_new_repositories: type: boolean example: false description: >- Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. secret_scanning_enabled_for_new_repositories: type: boolean example: false description: >- Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. secret_scanning_push_protection_enabled_for_new_repositories: type: boolean example: false description: >- Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization. This field is only visible to organization owners or members of a team with the security manager role. secret_scanning_push_protection_custom_link_enabled: type: boolean example: false description: >- Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection. secret_scanning_push_protection_custom_link: type: string example: https://github.com/test-org/test-repo/blob/main/README.md nullable: true description: >- An optional URL string to display to contributors who are blocked from pushing a secret. created_at: type: string format: date-time example: '2008-01-14T04:33:35Z' updated_at: type: string format: date-time required: - login - url - id - node_id - repos_url - events_url - hooks_url - issues_url - members_url - public_members_url - avatar_url - description - html_url - has_organization_projects - has_repository_projects - public_repos - public_gists - followers - following - type - created_at - updated_at - archived_at actions-cache-usage-org-enterprise: type: object properties: total_active_caches_count: type: integer description: >- The count of active caches across all repositories of an enterprise or an organization. example: 42 total_active_caches_size_in_bytes: type: integer description: >- The total size in bytes of all active cache items across all repositories of an enterprise or an organization. example: 42 required: - total_active_caches_count - total_active_caches_size_in_bytes actions-cache-usage-by-repository: title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object properties: full_name: description: The repository owner and name for the cache usage being shown. type: string example: octo-org/Hello-World active_caches_size_in_bytes: description: >- The sum of the size in bytes of all the active cache items in the repository. type: integer example: 2322142 active_caches_count: description: The number of active caches in the repository. type: integer example: 3 required: - full_name - active_caches_size_in_bytes - active_caches_count oidc-custom-sub: title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object properties: include_claim_keys: description: >- Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. type: array items: type: string required: - include_claim_keys empty-object: title: Empty Object description: An object without any properties. type: object properties: {} additionalProperties: false actions-organization-permissions: type: object properties: enabled_repositories: $ref: '#/components/schemas/enabled-repositories' selected_repositories_url: type: string description: >- The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. example: https://api.github.com/repos/octocat/Hello-World allowed_actions: $ref: '#/components/schemas/allowed-actions' selected_actions_url: $ref: '#/components/schemas/selected-actions-url' required: - enabled_repositories enabled-repositories: type: string description: >- The policy that controls the repositories in the organization that are allowed to run GitHub Actions. enum: - all - none - selected allowed-actions: type: string description: >- The permissions policy that controls the actions that are allowed to run. enum: - all - local_only - selected repository: title: Repository description: A repository on GitHub. type: object properties: id: description: Unique identifier of the repository example: 42 type: integer node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: description: The name of the repository. type: string example: Team Environment full_name: type: string example: octocat/Hello-World license: $ref: '#/components/schemas/nullable-license-simple' forks: type: integer example: 42 permissions: type: object properties: admin: type: boolean pull: type: boolean triage: type: boolean push: type: boolean maintain: type: boolean required: - admin - pull - push owner: $ref: '#/components/schemas/simple-user' private: description: Whether the repository is private or public. default: false type: boolean example: true html_url: type: string format: uri example: https://github.com/octocat/Hello-World description: type: string example: This your first repo! nullable: true fork: type: boolean example: true url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World archive_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: type: string example: http://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: type: string example: http://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: type: string example: http://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: type: string example: http://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: type: string example: http://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/contributors deployments_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/deployments downloads_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/downloads events_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/events forks_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/forks git_commits_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: type: string example: git:github.com/octocat/Hello-World.git issue_comment_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: type: string example: http://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: type: string example: http://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: type: string example: http://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/languages merges_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/merges milestones_url: type: string example: http://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: type: string example: http://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: type: string example: http://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: type: string example: git@github.com:octocat/Hello-World.git stargazers_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: type: string example: http://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/subscription tags_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/tags teams_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/teams trees_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: type: string example: https://github.com/octocat/Hello-World.git mirror_url: type: string format: uri example: git:git.example.com/octocat/Hello-World nullable: true hooks_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/hooks svn_url: type: string format: uri example: https://svn.github.com/octocat/Hello-World homepage: type: string format: uri example: https://github.com nullable: true language: type: string nullable: true forks_count: type: integer example: 9 stargazers_count: type: integer example: 80 watchers_count: type: integer example: 80 size: description: >- The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0. type: integer example: 108 default_branch: description: The default branch of the repository. type: string example: master open_issues_count: type: integer example: 0 is_template: description: >- Whether this repository acts as a template that can be used to generate new repositories. default: false type: boolean example: true topics: type: array items: type: string has_issues: description: Whether issues are enabled. default: true type: boolean example: true has_projects: description: Whether projects are enabled. default: true type: boolean example: true has_wiki: description: Whether the wiki is enabled. default: true type: boolean example: true has_pages: type: boolean has_downloads: description: Whether downloads are enabled. default: true type: boolean example: true deprecated: true has_discussions: description: Whether discussions are enabled. default: false type: boolean example: true archived: description: Whether the repository is archived. default: false type: boolean disabled: type: boolean description: Returns whether or not this repository disabled. visibility: description: 'The repository visibility: public, private, or internal.' default: public type: string pushed_at: type: string format: date-time example: '2011-01-26T19:06:43Z' nullable: true created_at: type: string format: date-time example: '2011-01-26T19:01:12Z' nullable: true updated_at: type: string format: date-time example: '2011-01-26T19:14:43Z' nullable: true allow_rebase_merge: description: Whether to allow rebase merges for pull requests. default: true type: boolean example: true temp_clone_token: type: string allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true allow_auto_merge: description: Whether to allow Auto-merge to be used on pull requests. default: false type: boolean example: false delete_branch_on_merge: description: Whether to delete head branches when pull requests are merged default: false type: boolean example: false allow_update_branch: description: >- Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. default: false type: boolean example: false use_squash_pr_title_as_default: type: boolean description: >- Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. default: false deprecated: true squash_merge_commit_title: type: string enum: - PR_TITLE - COMMIT_OR_PR_TITLE description: >- The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). squash_merge_commit_message: type: string enum: - PR_BODY - COMMIT_MESSAGES - BLANK description: |- The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. merge_commit_title: type: string enum: - PR_TITLE - MERGE_MESSAGE description: >- The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). merge_commit_message: type: string enum: - PR_BODY - PR_TITLE - BLANK description: |- The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. allow_merge_commit: description: Whether to allow merge commits for pull requests. default: true type: boolean example: true allow_forking: description: Whether to allow forking this repo type: boolean web_commit_signoff_required: description: Whether to require contributors to sign off on web-based commits default: false type: boolean open_issues: type: integer watchers: type: integer master_branch: type: string starred_at: type: string example: '"2020-07-09T00:17:42Z"' anonymous_access_enabled: type: boolean description: Whether anonymous git access is enabled for this repository required: - archive_url - assignees_url - blobs_url - branches_url - collaborators_url - comments_url - commits_url - compare_url - contents_url - contributors_url - deployments_url - description - downloads_url - events_url - fork - forks_url - full_name - git_commits_url - git_refs_url - git_tags_url - hooks_url - html_url - id - node_id - issue_comment_url - issue_events_url - issues_url - keys_url - labels_url - languages_url - merges_url - milestones_url - name - notifications_url - owner - private - pulls_url - releases_url - stargazers_url - statuses_url - subscribers_url - subscription_url - tags_url - teams_url - trees_url - url - clone_url - default_branch - forks - forks_count - git_url - has_downloads - has_issues - has_projects - has_wiki - has_pages - homepage - language - archived - disabled - mirror_url - open_issues - open_issues_count - license - pushed_at - size - ssh_url - stargazers_count - svn_url - watchers - watchers_count - created_at - updated_at selected-actions: type: object properties: github_owned_allowed: type: boolean description: >- Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization. example: true patterns_allowed: type: array description: >- Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`. items: type: string required: - github_owned_allowed - patterns_allowed actions-get-default-workflow-permissions: type: object properties: default_workflow_permissions: $ref: '#/components/schemas/actions-default-workflow-permissions' can_approve_pull_request_reviews: $ref: '#/components/schemas/actions-can-approve-pull-request-reviews' required: - default_workflow_permissions - can_approve_pull_request_reviews actions-set-default-workflow-permissions: type: object properties: default_workflow_permissions: $ref: '#/components/schemas/actions-default-workflow-permissions' can_approve_pull_request_reviews: $ref: '#/components/schemas/actions-can-approve-pull-request-reviews' runner-groups-org: type: object properties: id: type: number example: 42.5 name: type: string example: octocat visibility: type: string example: public default: type: boolean example: true selected_repositories_url: description: >- Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected` type: string example: https://api.github.com/repos/octocat/Hello-World runners_url: type: string example: https://api.github.com/repos/octocat/Hello-World inherited: type: boolean example: true inherited_allows_public_repositories: type: boolean example: true allows_public_repositories: type: boolean example: true workflow_restrictions_read_only: description: >- If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified. type: boolean default: false example: true restricted_to_workflows: description: >- If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. type: boolean default: false example: true selected_workflows: description: >- List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. type: array items: type: string description: >- Name of workflow the runner group should be allowed to run. Note that a ref, tag, or long SHA is required. example: octo-org/octo-repo/.github/workflows/deploy.yaml@main required: - id - name - visibility - default - runners_url - inherited - allows_public_repositories minimal-repository: title: Minimal Repository description: Minimal Repository type: object properties: id: type: integer example: 1296269 node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: type: string example: Hello-World full_name: type: string example: octocat/Hello-World owner: $ref: '#/components/schemas/simple-user' private: type: boolean example: true html_url: type: string format: uri example: https://github.com/octocat/Hello-World description: type: string example: This your first repo! nullable: true fork: type: boolean example: true url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World archive_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: type: string example: http://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: type: string example: http://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: type: string example: http://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: type: string example: http://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: type: string example: http://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/contributors deployments_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/deployments downloads_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/downloads events_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/events forks_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/forks git_commits_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: type: string issue_comment_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: type: string example: http://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: type: string example: http://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: type: string example: http://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/languages merges_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/merges milestones_url: type: string example: http://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: type: string example: http://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: type: string example: http://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: type: string stargazers_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: type: string example: http://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/subscription tags_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/tags teams_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/teams trees_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: type: string mirror_url: type: string nullable: true hooks_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/hooks svn_url: type: string homepage: type: string nullable: true language: type: string nullable: true forks_count: type: integer stargazers_count: type: integer watchers_count: type: integer size: description: >- The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0. type: integer default_branch: type: string open_issues_count: type: integer is_template: type: boolean topics: type: array items: type: string has_issues: type: boolean has_projects: type: boolean has_wiki: type: boolean has_pages: type: boolean has_downloads: type: boolean has_discussions: type: boolean archived: type: boolean disabled: type: boolean visibility: type: string pushed_at: type: string format: date-time example: '2011-01-26T19:06:43Z' nullable: true created_at: type: string format: date-time example: '2011-01-26T19:01:12Z' nullable: true updated_at: type: string format: date-time example: '2011-01-26T19:14:43Z' nullable: true permissions: type: object properties: admin: type: boolean maintain: type: boolean push: type: boolean triage: type: boolean pull: type: boolean role_name: type: string example: admin temp_clone_token: type: string delete_branch_on_merge: type: boolean subscribers_count: type: integer network_count: type: integer code_of_conduct: $ref: '#/components/schemas/code-of-conduct' license: type: object properties: key: type: string name: type: string spdx_id: type: string url: type: string node_id: type: string nullable: true forks: type: integer example: 0 open_issues: type: integer example: 0 watchers: type: integer example: 0 allow_forking: type: boolean web_commit_signoff_required: type: boolean example: false security_and_analysis: $ref: '#/components/schemas/security-and-analysis' required: - archive_url - assignees_url - blobs_url - branches_url - collaborators_url - comments_url - commits_url - compare_url - contents_url - contributors_url - deployments_url - description - downloads_url - events_url - fork - forks_url - full_name - git_commits_url - git_refs_url - git_tags_url - hooks_url - html_url - id - node_id - issue_comment_url - issue_events_url - issues_url - keys_url - labels_url - languages_url - merges_url - milestones_url - name - notifications_url - owner - private - pulls_url - releases_url - stargazers_url - statuses_url - subscribers_url - subscription_url - tags_url - teams_url - trees_url - url runner: title: Self hosted runners description: A self hosted runner type: object properties: id: description: The id of the runner. type: integer example: 5 runner_group_id: description: The id of the runner group. type: integer example: 1 name: description: The name of the runner. type: string example: iMac os: description: The Operating System of the runner. type: string example: macos status: description: The status of the runner. type: string example: online busy: type: boolean example: true labels: type: array items: $ref: '#/components/schemas/runner-label' required: - id - name - os - status - busy - labels runner-application: title: Runner Application description: Runner Application type: object properties: os: type: string example: example_value architecture: type: string example: example_value download_url: type: string example: https://api.github.com/repos/octocat/Hello-World filename: type: string example: octocat temp_download_token: description: A short lived bearer token used to download the runner, if needed. type: string example: example_value sha256_checksum: type: string example: abc123def456789012345678901234567890 required: - os - architecture - download_url - filename authentication-token: title: Authentication Token description: Authentication Token type: object properties: token: description: The token used for authentication type: string example: v1.1f699f1069f60xxx expires_at: description: The time this token expires type: string format: date-time example: '2016-07-11T22:14:10Z' permissions: type: object example: issues: read deployments: write repositories: description: The repositories this token has access to type: array items: $ref: '#/components/schemas/repository' single_file: type: string example: config.yaml nullable: true repository_selection: description: >- Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected example: all required: - token - expires_at organization-actions-secret: title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object properties: name: description: The name of the secret. example: SECRET_TOKEN type: string created_at: type: string format: date-time example: '2026-04-17T12:00:00Z' updated_at: type: string format: date-time example: '2026-04-17T12:00:00Z' visibility: description: Visibility of a secret enum: - all - private - selected type: string example: all selected_repositories_url: type: string format: uri example: >- https://api.github.com/organizations/org/secrets/my_secret/repositories required: - name - created_at - updated_at - visibility actions-public-key: title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object properties: key_id: description: The identifier for the key. type: string example: '1234567' key: description: The Base64 encoded public key. type: string example: hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs= id: type: integer example: 2 url: type: string example: https://api.github.com/user/keys/2 title: type: string example: ssh-rsa AAAAB3NzaC1yc2EAAA created_at: type: string example: '2011-01-26T19:01:12Z' required: - key_id - key organization-actions-variable: title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object properties: name: description: The name of the variable. example: USERNAME type: string value: description: The value of the variable. example: octocat type: string created_at: description: >- The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. example: '2019-01-24T22:45:36.000Z' type: string format: date-time updated_at: description: >- The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. example: '2019-01-24T22:45:36.000Z' type: string format: date-time visibility: description: Visibility of a variable enum: - all - private - selected type: string example: all selected_repositories_url: type: string format: uri example: >- https://api.github.com/organizations/org/variables/USERNAME/repositories required: - name - value - created_at - updated_at - visibility actions/create-org-variable: type: string description: The value of the variable. actions/update-org-variable: type: string description: The value of the variable. announcement-banner: title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: announcement: $ref: '#/components/schemas/announcement-message' expires_at: $ref: '#/components/schemas/announcement-expiration' user_dismissible: $ref: '#/components/schemas/announcement-user-dismissible' required: - announcement - expires_at - user_dismissible announcement: title: Enterprise Announcement description: Enterprise global announcement type: object properties: announcement: $ref: '#/components/schemas/announcement-message' expires_at: $ref: '#/components/schemas/announcement-expiration' required: - announcement audit-log-event: type: object properties: '@timestamp': type: integer description: >- The time the audit log event occurred, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time). example: 42 action: type: string description: >- The name of the action that was performed, for example `user.login` or `repo.create`. example: example_value active: type: boolean example: true active_was: type: boolean example: true actor: type: string description: The actor who performed the action. example: example_value actor_id: type: integer description: The id of the actor who performed the action. example: 42 actor_location: type: object properties: country_name: type: string data: type: object additionalProperties: true org_id: type: integer example: 42 user_id: type: integer example: 42 business_id: type: integer example: 42 blocked_user: type: string description: The username of the account being blocked. example: example_value business: type: string example: example_value config: type: array items: type: object config_was: type: array items: type: object content_type: type: string example: User operation_type: type: string example: User created_at: type: integer description: >- The time the audit log event was recorded, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time). example: 42 deploy_key_fingerprint: type: string example: example_value _document_id: type: string description: A unique identifier for an audit event. example: '12345678' emoji: type: string events: type: array items: type: object events_were: type: array items: type: object explanation: type: string fingerprint: type: string hook_id: type: integer limited_availability: type: boolean message: type: string name: type: string old_user: type: string openssh_public_key: type: string org: type: string previous_visibility: type: string read_only: type: boolean repo: type: string description: The name of the repository. repository: type: string description: The name of the repository. repository_public: type: boolean target_login: type: string team: type: string transport_protocol: type: integer description: >- The type of protocol (for example, HTTP or SSH) used to transfer Git data. transport_protocol_name: type: string description: >- A human readable name for the protocol (for example, HTTP or SSH) used to transfer Git data. user: type: string description: The user that was affected by the action performed (if available). visibility: type: string description: The repository visibility, for example `public` or `private`. code-scanning-organization-alert-items: type: object properties: number: $ref: '#/components/schemas/alert-number' created_at: $ref: '#/components/schemas/alert-created-at' updated_at: $ref: '#/components/schemas/alert-updated-at' url: $ref: '#/components/schemas/alert-url' html_url: $ref: '#/components/schemas/alert-html-url' instances_url: $ref: '#/components/schemas/alert-instances-url' state: $ref: '#/components/schemas/code-scanning-alert-state' fixed_at: $ref: '#/components/schemas/alert-fixed-at' dismissed_by: $ref: '#/components/schemas/nullable-simple-user' dismissed_at: $ref: '#/components/schemas/alert-dismissed-at' dismissed_reason: $ref: '#/components/schemas/code-scanning-alert-dismissed-reason' dismissed_comment: $ref: '#/components/schemas/code-scanning-alert-dismissed-comment' rule: $ref: '#/components/schemas/code-scanning-alert-rule-summary' tool: $ref: '#/components/schemas/code-scanning-analysis-tool' most_recent_instance: $ref: '#/components/schemas/code-scanning-alert-instance' repository: $ref: '#/components/schemas/simple-repository' required: - number - created_at - url - html_url - instances_url - state - dismissed_by - dismissed_at - dismissed_reason - rule - tool - most_recent_instance - repository organization-custom-repository-role-create-schema: type: object properties: name: description: The name of the custom role. type: string example: octocat description: description: >- A short description about who this role is for or what permissions it grants. type: string nullable: true example: This is an example repository base_role: type: string description: The system role from which this role inherits permissions. enum: - read - triage - write - maintain example: read permissions: description: A list of additional permissions included in this role. type: array items: type: string required: - name - base_role - permissions organization-custom-repository-role-update-schema: type: object properties: name: description: The name of the custom role. type: string example: octocat description: description: >- A short description about who this role is for or what permissions it grants. type: string nullable: true example: This is an example repository base_role: type: string description: The system role from which this role inherits permissions. enum: - read - triage - write - maintain example: read permissions: description: A list of additional permissions included in this role. type: array items: type: string dependabot-alert-with-repository: type: object description: A Dependabot alert. properties: number: $ref: '#/components/schemas/alert-number' state: type: string description: The state of the Dependabot alert. readOnly: true enum: - auto_dismissed - dismissed - fixed - open example: auto_dismissed dependency: type: object description: Details for the vulnerable dependency. readOnly: true properties: package: $ref: '#/components/schemas/dependabot-alert-package' manifest_path: type: string description: >- The full path to the dependency manifest file, relative to the root of the repository. readOnly: true scope: type: string description: The execution scope of the vulnerable dependency. readOnly: true nullable: true enum: - development - runtime security_advisory: $ref: '#/components/schemas/dependabot-alert-security-advisory' security_vulnerability: $ref: '#/components/schemas/dependabot-alert-security-vulnerability' url: $ref: '#/components/schemas/alert-url' html_url: $ref: '#/components/schemas/alert-html-url' created_at: $ref: '#/components/schemas/alert-created-at' updated_at: $ref: '#/components/schemas/alert-updated-at' dismissed_at: $ref: '#/components/schemas/alert-dismissed-at' dismissed_by: $ref: '#/components/schemas/nullable-simple-user' dismissed_reason: type: string description: The reason that the alert was dismissed. nullable: true enum: - fix_started - inaccurate - no_bandwidth - not_used - tolerable_risk example: fix_started dismissed_comment: type: string description: An optional comment associated with the alert's dismissal. nullable: true maxLength: 280 example: example_value fixed_at: $ref: '#/components/schemas/alert-fixed-at' auto_dismissed_at: $ref: '#/components/schemas/alert-auto-dismissed-at' repository: $ref: '#/components/schemas/simple-repository' required: - number - state - dependency - security_advisory - security_vulnerability - url - html_url - created_at - updated_at - dismissed_at - dismissed_by - dismissed_reason - dismissed_comment - fixed_at - repository additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object properties: name: description: The name of the secret. example: SECRET_TOKEN type: string created_at: type: string format: date-time example: '2026-04-17T12:00:00Z' updated_at: type: string format: date-time example: '2026-04-17T12:00:00Z' visibility: description: Visibility of a secret enum: - all - private - selected type: string example: all selected_repositories_url: type: string format: uri example: >- https://api.github.com/organizations/org/dependabot/secrets/my_secret/repositories required: - name - created_at - updated_at - visibility dependabot-public-key: title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object properties: key_id: description: The identifier for the key. type: string example: '1234567' key: description: The Base64 encoded public key. type: string example: hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs= required: - key_id - key package: title: Package description: A software package type: object properties: id: description: Unique identifier of the package. type: integer example: 1 name: description: The name of the package. type: string example: super-linter package_type: type: string example: docker enum: - npm - maven - rubygems - docker - nuget - container url: type: string example: https://api.github.com/orgs/github/packages/container/super-linter html_url: type: string example: >- https://github.com/orgs/github/packages/container/package/super-linter version_count: description: The number of versions of the package. type: integer example: 1 visibility: type: string example: private enum: - private - public owner: $ref: '#/components/schemas/nullable-simple-user' repository: $ref: '#/components/schemas/nullable-minimal-repository' created_at: type: string format: date-time example: '2026-04-17T12:00:00Z' updated_at: type: string format: date-time example: '2026-04-17T12:00:00Z' required: - id - name - package_type - visibility - url - html_url - version_count - created_at - updated_at event: title: Event description: Event type: object properties: id: type: string example: '12345678' type: type: string nullable: true example: User actor: $ref: '#/components/schemas/actor' repo: type: object properties: id: type: integer name: type: string url: type: string format: uri required: - id - name - url org: $ref: '#/components/schemas/actor' payload: type: object properties: action: type: string issue: $ref: '#/components/schemas/issue' comment: $ref: '#/components/schemas/issue-comment' pages: type: array items: type: object properties: page_name: type: string title: type: string summary: type: string nullable: true action: type: string sha: type: string html_url: type: string public: type: boolean example: true created_at: type: string format: date-time nullable: true example: '2026-04-17T12:00:00Z' required: - id - type - actor - repo - payload - public - created_at external-group: title: ExternalGroup description: Information about an external group's usage and its members type: object required: - group_id - group_name - teams - members properties: group_id: description: The internal ID of the group example: 1 type: integer group_name: description: The display name for the group example: group-azuread-test type: string updated_at: description: The date when the group was last updated_at example: 2021-01-03 22:27:15:000 -700 type: string teams: description: An array of teams linked to this group example: - team_id: 1 team_name: team-test - team_id: 2 team_name: team-test2 type: array items: type: object required: - team_id - team_name properties: team_id: description: The id for a team example: 1 type: integer team_name: description: The name of the team example: team-test type: string members: description: An array of external members linked to this group example: - member_id: 1 member_login: mona-lisa_eocsaxrs member_name: Mona Lisa member_email: mona_lisa@github.com - member_id: 2 member_login: octo-lisa_eocsaxrs member_name: Octo Lisa member_email: octo_lisa@github.com type: array items: type: object required: - member_id - member_login - member_name - member_email properties: member_id: description: The internal user ID of the identity example: 1 type: integer member_login: description: The handle/login for the user example: mona-lisa_eocsaxrs type: string member_name: description: The user display name/profile name example: Mona Lisa type: string member_email: description: An email attached to a user example: mona_lisa@github.com type: string external-groups: title: ExternalGroups description: A list of external groups available to be connected to a team type: object properties: groups: description: An array of external groups available to be mapped to a team example: - group_id: 1 group_name: group-azuread-test updated_at: 2021-01-03 22:27:15:000 -700 - group_id: 2 group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 type: array items: type: object required: - group_id - group_name - updated_at properties: group_id: description: The internal ID of the group example: 1 type: integer group_name: description: The display name of the group example: group-azuread-test type: string updated_at: description: The time of the last update for this group example: 2019-06-03 22:27:15:000 -700 type: string org-hook: title: Org Hook description: Org Hook type: object properties: id: type: integer example: 1 url: type: string format: uri example: https://api.github.com/orgs/octocat/hooks/1 ping_url: type: string format: uri example: https://api.github.com/orgs/octocat/hooks/1/pings deliveries_url: type: string format: uri example: https://api.github.com/orgs/octocat/hooks/1/deliveries name: type: string example: web events: type: array example: - push - pull_request items: type: string active: type: boolean example: true config: type: object properties: url: type: string example: '"http://example.com/2"' insecure_ssl: type: string example: '"0"' content_type: type: string example: '"form"' secret: type: string example: '"********"' updated_at: type: string format: date-time example: '2011-09-06T20:39:23Z' created_at: type: string format: date-time example: '2011-09-06T17:26:27Z' type: type: string example: User required: - id - url - type - name - active - events - config - ping_url - created_at - updated_at webhook-config: title: Webhook Configuration description: Configuration object of the webhook type: object properties: url: $ref: '#/components/schemas/webhook-config-url' content_type: $ref: '#/components/schemas/webhook-config-content-type' secret: $ref: '#/components/schemas/webhook-config-secret' insecure_ssl: $ref: '#/components/schemas/webhook-config-insecure-ssl' webhook-config-url: type: string description: The URL to which the payloads will be delivered. example: https://example.com/webhook format: uri webhook-config-content-type: type: string description: >- The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`. example: '"json"' webhook-config-secret: type: string description: >- If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.9/webhooks/event-payloads/#delivery-headers). example: '"********"' webhook-config-insecure-ssl: oneOf: - type: string description: >- Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.** example: '"0"' - type: number hook-delivery-item: title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. type: object properties: id: description: Unique identifier of the webhook delivery. type: integer example: 42 guid: description: >- Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event). type: string example: 58474f00-b361-11eb-836d-0e4f3503ccbe delivered_at: description: Time when the webhook delivery occurred. type: string format: date-time example: '2021-05-12T20:33:44Z' redelivery: description: Whether the webhook delivery is a redelivery. type: boolean example: false duration: description: Time spent delivering. type: number example: 0.03 status: description: Describes the response returned after attempting the delivery. type: string example: failed to connect status_code: description: Status code received when delivery was made. type: integer example: 502 event: description: The event that triggered the delivery. type: string example: issues action: description: The type of activity for the event that triggered the delivery. type: string example: opened nullable: true installation_id: description: The id of the GitHub App installation associated with this event. type: integer example: 123 nullable: true repository_id: description: The id of the repository associated with this event. type: integer example: 123 nullable: true required: - id - guid - delivered_at - redelivery - duration - status - status_code - event - action - installation_id - repository_id hook-delivery: title: Webhook delivery description: Delivery made by a webhook. type: object properties: id: description: Unique identifier of the delivery. type: integer example: 42 guid: description: >- Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event). type: string example: 58474f00-b361-11eb-836d-0e4f3503ccbe delivered_at: description: Time when the delivery was delivered. type: string format: date-time example: '2021-05-12T20:33:44Z' redelivery: description: Whether the delivery is a redelivery. type: boolean example: false duration: description: Time spent delivering. type: number example: 0.03 status: description: Description of the status of the attempted delivery type: string example: failed to connect status_code: description: Status code received when delivery was made. type: integer example: 502 event: description: The event that triggered the delivery. type: string example: issues action: description: The type of activity for the event that triggered the delivery. type: string example: opened nullable: true installation_id: description: The id of the GitHub App installation associated with this event. type: integer example: 123 nullable: true repository_id: description: The id of the repository associated with this event. type: integer example: 123 nullable: true url: description: The URL target of the delivery. type: string example: https://www.example.com request: type: object properties: headers: description: The request headers sent with the webhook delivery. type: object nullable: true additionalProperties: true payload: description: The webhook payload. type: object nullable: true additionalProperties: true required: - headers - payload response: type: object properties: headers: description: The response headers received when the delivery was made. type: object nullable: true additionalProperties: true payload: description: The response payload received. type: string nullable: true additionalProperties: true required: - headers - payload required: - id - guid - delivered_at - redelivery - duration - status - status_code - event - action - installation_id - repository_id - request - response installation: title: Installation description: Installation type: object properties: id: description: The ID of the installation. type: integer example: 1 account: nullable: true anyOf: - $ref: '#/components/schemas/simple-user' - $ref: '#/components/schemas/enterprise' example: example_value repository_selection: description: >- Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected example: all 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 target_id: description: The ID of the user or organization this token is being scoped to. type: integer example: 42 target_type: type: string example: Organization permissions: $ref: '#/components/schemas/app-permissions' events: type: array items: type: string created_at: type: string format: date-time example: '2026-04-17T12:00:00Z' updated_at: type: string format: date-time example: '2026-04-17T12:00:00Z' 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: $ref: '#/components/schemas/nullable-simple-user' suspended_at: type: string format: date-time nullable: true example: '2026-04-17T12:00:00Z' 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 issue: title: Issue description: >- Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object properties: id: type: integer format: int64 example: 42 node_id: type: string example: '12345678' url: description: URL for the issue example: https://api.github.com/repositories/42/issues/1 type: string format: uri repository_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World labels_url: type: string example: https://api.github.com/repos/octocat/Hello-World comments_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World events_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World html_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World number: description: Number uniquely identifying the issue within its repository example: 42 type: integer state: description: State of the issue; either 'open' or 'closed' example: open type: string state_reason: description: The reason for the current state example: not_planned type: string nullable: true enum: - completed - reopened - not_planned title: description: Title of the issue example: Widget creation fails in Safari on OS X 10.8 type: string body: description: Contents of the issue example: >- It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug? type: string nullable: true user: $ref: '#/components/schemas/nullable-simple-user' labels: description: >- Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository example: - bug - registration type: array items: oneOf: - type: string - type: object properties: id: type: integer format: int64 node_id: type: string url: type: string format: uri name: type: string description: type: string nullable: true color: type: string nullable: true default: type: boolean assignee: $ref: '#/components/schemas/nullable-simple-user' assignees: type: array items: $ref: '#/components/schemas/simple-user' nullable: true milestone: $ref: '#/components/schemas/nullable-milestone' locked: type: boolean example: true active_lock_reason: type: string nullable: true example: example_value comments: type: integer pull_request: type: object properties: merged_at: type: string format: date-time nullable: true diff_url: type: string format: uri nullable: true html_url: type: string format: uri nullable: true patch_url: type: string format: uri nullable: true url: type: string format: uri nullable: true required: - diff_url - html_url - patch_url - url closed_at: type: string format: date-time nullable: true created_at: type: string format: date-time updated_at: type: string format: date-time draft: type: boolean closed_by: $ref: '#/components/schemas/nullable-simple-user' body_html: type: string body_text: type: string timeline_url: type: string format: uri repository: $ref: '#/components/schemas/repository' performed_via_github_app: $ref: '#/components/schemas/nullable-integration' author_association: $ref: '#/components/schemas/author-association' reactions: $ref: '#/components/schemas/reaction-rollup' required: - assignee - closed_at - comments - comments_url - events_url - html_url - id - node_id - labels - labels_url - milestone - number - repository_url - state - locked - title - url - user - author_association - created_at - updated_at org-membership: title: Org Membership description: Org Membership type: object properties: url: type: string format: uri example: https://api.github.com/orgs/octocat/memberships/defunkt state: type: string description: >- The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation. example: active enum: - active - pending role: type: string description: The user's membership type in the organization. example: admin enum: - admin - member - billing_manager organization_url: type: string format: uri example: https://api.github.com/orgs/octocat organization: $ref: '#/components/schemas/organization-simple' user: $ref: '#/components/schemas/nullable-simple-user' permissions: type: object properties: can_create_repository: type: boolean required: - can_create_repository required: - state - role - organization_url - url - organization - user migration: title: Migration description: A migration. type: object properties: id: type: integer example: 79 owner: $ref: '#/components/schemas/nullable-simple-user' guid: type: string example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 state: type: string example: pending lock_repositories: type: boolean example: true exclude_metadata: type: boolean example: true exclude_git_data: type: boolean example: true exclude_attachments: type: boolean example: true exclude_releases: type: boolean example: true exclude_owner_projects: type: boolean example: true org_metadata_only: type: boolean example: true repositories: type: array description: >- The repositories included in the migration. Only returned for export migrations. items: $ref: '#/components/schemas/repository' url: type: string format: uri example: https://api.github.com/orgs/octo-org/migrations/79 created_at: type: string format: date-time example: '2015-07-06T15:33:38-07:00' updated_at: type: string format: date-time example: '2015-07-06T15:33:38-07:00' node_id: type: string example: '12345678' archive_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World exclude: description: >- Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: `"repositories"`. type: array items: description: >- Allowed values that can be passed to the exclude parameter. The array can include any of: `"repositories"`. type: string required: - id - node_id - owner - guid - state - lock_repositories - exclude_metadata - exclude_git_data - exclude_attachments - exclude_releases - exclude_owner_projects - org_metadata_only - repositories - url - created_at - updated_at package-version: title: Package Version description: A version of a software package type: object properties: id: description: Unique identifier of the package version. type: integer example: 1 name: description: The name of the package version. type: string example: latest url: type: string example: >- https://api.github.com/orgs/github/packages/container/super-linter/versions/786068 package_html_url: type: string example: >- https://github.com/orgs/github/packages/container/package/super-linter html_url: type: string example: >- https://github.com/orgs/github/packages/container/super-linter/786068 license: type: string example: MIT description: type: string example: This is an example repository created_at: type: string format: date-time example: '2011-04-10T20:09:31Z' updated_at: type: string format: date-time example: '2014-03-03T18:58:10Z' deleted_at: type: string format: date-time example: '2014-03-03T18:58:10Z' metadata: type: object title: Package Version Metadata properties: package_type: type: string example: docker enum: - npm - maven - rubygems - docker - nuget - container container: type: object title: Container Metadata properties: tags: type: array items: type: string required: - tags docker: type: object title: Docker Metadata properties: tag: type: array items: type: string required: - tags required: - package_type required: - id - name - url - package_html_url - created_at - updated_at org-pre-receive-hook: type: object properties: id: type: integer example: 42 name: type: string example: octocat enforcement: type: string example: example_value configuration_url: type: string example: https://api.github.com/repos/octocat/Hello-World allow_downstream_configuration: type: boolean example: true project: title: Project description: Projects are a way to organize columns and cards of work. type: object properties: owner_url: type: string format: uri example: https://api.github.com/repos/api-playground/projects-test url: type: string format: uri example: https://api.github.com/projects/1002604 html_url: type: string format: uri example: https://github.com/api-playground/projects-test/projects/12 columns_url: type: string format: uri example: https://api.github.com/projects/1002604/columns id: type: integer example: 1002604 node_id: type: string example: MDc6UHJvamVjdDEwMDI2MDQ= name: description: Name of the project example: Week One Sprint type: string body: description: Body of the project example: This project represents the sprint of the first week in January type: string nullable: true number: type: integer example: 1 state: description: State of the project; either 'open' or 'closed' example: open type: string creator: $ref: '#/components/schemas/nullable-simple-user' created_at: type: string format: date-time example: '2011-04-10T20:09:31Z' updated_at: type: string format: date-time example: '2014-03-03T18:58:10Z' organization_permission: description: >- The baseline permission that all organization members have on this project. Only present if owner is an organization. type: string enum: - read - write - admin - none example: read private: description: >- Whether or not this project can be seen by everyone. Only present if owner is an organization. type: boolean example: true required: - id - node_id - number - name - body - state - url - html_url - owner_url - creator - columns_url - created_at - updated_at full-repository: title: Full Repository description: Full Repository type: object properties: id: type: integer example: 1296269 node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: type: string example: Hello-World full_name: type: string example: octocat/Hello-World owner: $ref: '#/components/schemas/simple-user' private: type: boolean example: true html_url: type: string format: uri example: https://github.com/octocat/Hello-World description: type: string example: This your first repo! nullable: true fork: type: boolean example: true url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World archive_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: type: string example: http://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: type: string example: http://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: type: string example: http://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: type: string example: http://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: type: string example: http://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/contributors deployments_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/deployments downloads_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/downloads events_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/events forks_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/forks git_commits_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: type: string example: git:github.com/octocat/Hello-World.git issue_comment_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: type: string example: http://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: type: string example: http://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: type: string example: http://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/languages merges_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/merges milestones_url: type: string example: http://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: type: string example: http://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: type: string example: http://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: type: string example: git@github.com:octocat/Hello-World.git stargazers_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: type: string example: http://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/subscription tags_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/tags teams_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/teams trees_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: type: string example: https://github.com/octocat/Hello-World.git mirror_url: type: string format: uri example: git:git.example.com/octocat/Hello-World nullable: true hooks_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/hooks svn_url: type: string format: uri example: https://svn.github.com/octocat/Hello-World homepage: type: string format: uri example: https://github.com nullable: true language: type: string nullable: true forks_count: type: integer example: 9 stargazers_count: type: integer example: 80 watchers_count: type: integer example: 80 size: description: >- The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0. type: integer example: 108 default_branch: type: string example: master open_issues_count: type: integer example: 0 is_template: type: boolean example: true topics: type: array items: type: string example: - octocat - atom - electron - API has_issues: type: boolean example: true has_projects: type: boolean example: true has_wiki: type: boolean example: true has_pages: type: boolean has_downloads: type: boolean example: true has_discussions: type: boolean example: true archived: type: boolean disabled: type: boolean description: Returns whether or not this repository disabled. visibility: description: 'The repository visibility: public, private, or internal.' type: string example: public pushed_at: type: string format: date-time example: '2011-01-26T19:06:43Z' created_at: type: string format: date-time example: '2011-01-26T19:01:12Z' updated_at: type: string format: date-time example: '2011-01-26T19:14:43Z' permissions: type: object properties: admin: type: boolean maintain: type: boolean push: type: boolean triage: type: boolean pull: type: boolean required: - admin - pull - push allow_rebase_merge: type: boolean example: true template_repository: $ref: '#/components/schemas/nullable-repository' temp_clone_token: type: string nullable: true allow_squash_merge: type: boolean example: true allow_auto_merge: type: boolean example: false delete_branch_on_merge: type: boolean example: false allow_merge_commit: type: boolean example: true allow_update_branch: type: boolean example: true use_squash_pr_title_as_default: type: boolean example: false squash_merge_commit_title: type: string example: PR_TITLE enum: - PR_TITLE - COMMIT_OR_PR_TITLE description: >- The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). squash_merge_commit_message: type: string example: PR_BODY enum: - PR_BODY - COMMIT_MESSAGES - BLANK description: |- The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. merge_commit_title: type: string example: PR_TITLE enum: - PR_TITLE - MERGE_MESSAGE description: |- The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). merge_commit_message: type: string example: PR_BODY enum: - PR_BODY - PR_TITLE - BLANK description: |- The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. allow_forking: type: boolean example: true web_commit_signoff_required: type: boolean example: false subscribers_count: type: integer example: 42 network_count: type: integer example: 0 license: $ref: '#/components/schemas/nullable-license-simple' organization: $ref: '#/components/schemas/nullable-simple-user' parent: $ref: '#/components/schemas/repository' source: $ref: '#/components/schemas/repository' forks: type: integer master_branch: type: string open_issues: type: integer watchers: type: integer anonymous_access_enabled: description: Whether anonymous git access is allowed. default: true type: boolean code_of_conduct: $ref: '#/components/schemas/code-of-conduct-simple' security_and_analysis: $ref: '#/components/schemas/security-and-analysis' required: - archive_url - assignees_url - blobs_url - branches_url - collaborators_url - comments_url - commits_url - compare_url - contents_url - contributors_url - deployments_url - description - downloads_url - events_url - fork - forks_url - full_name - git_commits_url - git_refs_url - git_tags_url - hooks_url - html_url - id - node_id - issue_comment_url - issue_events_url - issues_url - keys_url - labels_url - languages_url - merges_url - milestones_url - name - notifications_url - owner - private - pulls_url - releases_url - stargazers_url - statuses_url - subscribers_url - subscription_url - tags_url - teams_url - trees_url - url - clone_url - default_branch - forks - forks_count - git_url - has_issues - has_projects - has_wiki - has_pages - has_discussions - homepage - language - archived - disabled - mirror_url - open_issues - open_issues_count - license - pushed_at - size - ssh_url - stargazers_count - svn_url - watchers - watchers_count - created_at - updated_at - network_count - subscribers_count repository-fine-grained-permission: title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. type: object properties: name: type: string example: octocat description: type: string example: This is an example repository required: - name - description organization-secret-scanning-alert: type: object properties: number: $ref: '#/components/schemas/alert-number' created_at: $ref: '#/components/schemas/alert-created-at' updated_at: $ref: '#/components/schemas/nullable-alert-updated-at' url: $ref: '#/components/schemas/alert-url' html_url: $ref: '#/components/schemas/alert-html-url' locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. example: https://api.github.com/repos/octocat/Hello-World state: $ref: '#/components/schemas/secret-scanning-alert-state' resolution: $ref: '#/components/schemas/secret-scanning-alert-resolution' resolved_at: type: string format: date-time description: >- The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. nullable: true example: '2026-04-17T12:00:00Z' resolved_by: $ref: '#/components/schemas/nullable-simple-user' secret_type: type: string description: The type of secret that secret scanning detected. example: User secret_type_display_name: type: string description: >- User-friendly name for the detected secret, matching the `secret_type`. For a list of built-in patterns, see "[Secret scanning patterns](https://docs.github.com/enterprise-server@3.9/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)." example: octocat secret: type: string description: The secret that was detected. example: example_value repository: $ref: '#/components/schemas/simple-repository' push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected secret. nullable: true example: true push_protection_bypassed_by: $ref: '#/components/schemas/nullable-simple-user' push_protection_bypassed_at: type: string format: date-time description: >- The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. nullable: true example: '2026-04-17T12:00:00Z' resolution_comment: type: string description: The comment that was optionally added when this alert was closed nullable: true example: example_value team-simple: title: Team Simple description: >- Groups of organization members that gives permissions on specified repositories. type: object properties: id: description: Unique identifier of the team type: integer example: 1 node_id: type: string example: MDQ6VGVhbTE= url: description: URL for the team type: string format: uri example: https://api.github.com/organizations/1/team/1 members_url: type: string example: https://api.github.com/organizations/1/team/1/members{/member} name: description: Name of the team type: string example: Justice League description: description: Description of the team type: string nullable: true example: A great team. permission: description: Permission that the team will have for its repositories type: string example: admin privacy: description: The level of privacy this team should have type: string example: closed html_url: type: string format: uri example: https://github.com/orgs/rails/teams/core repositories_url: type: string format: uri example: https://api.github.com/organizations/1/team/1/repos slug: type: string example: justice-league ldap_dn: description: Distinguished Name (DN) that team maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string required: - id - node_id - url - members_url - name - description - permission - html_url - repositories_url - slug advanced-security-active-committers: type: object properties: total_advanced_security_committers: type: integer example: 25 total_count: type: integer example: 2 repositories: type: array items: $ref: >- #/components/schemas/advanced-security-active-committers-repository required: - repositories team: title: Team description: >- Groups of organization members that gives permissions on specified repositories. type: object properties: id: type: integer example: 42 node_id: type: string example: '12345678' name: type: string example: octocat slug: type: string example: example_value description: type: string nullable: true example: This is an example repository privacy: type: string example: example_value permission: type: string example: example_value permissions: type: object properties: pull: type: boolean triage: type: boolean push: type: boolean maintain: type: boolean admin: type: boolean required: - pull - triage - push - maintain - admin url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World html_url: type: string format: uri example: https://github.com/orgs/rails/teams/core members_url: type: string example: https://api.github.com/repos/octocat/Hello-World repositories_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World parent: $ref: '#/components/schemas/nullable-team-simple' required: - id - node_id - url - members_url - name - description - permission - html_url - repositories_url - slug - parent team-full: title: Full Team description: >- Groups of organization members that gives permissions on specified repositories. type: object properties: id: description: Unique identifier of the team example: 42 type: integer node_id: type: string example: MDQ6VGVhbTE= url: description: URL for the team example: https://api.github.com/organizations/1/team/1 type: string format: uri html_url: type: string format: uri example: https://github.com/orgs/rails/teams/core name: description: Name of the team example: Developers type: string slug: type: string example: justice-league description: type: string example: A great team. nullable: true privacy: description: The level of privacy this team should have type: string enum: - closed - secret example: closed permission: description: Permission that the team will have for its repositories example: push type: string members_url: type: string example: https://api.github.com/organizations/1/team/1/members{/member} repositories_url: type: string format: uri example: https://api.github.com/organizations/1/team/1/repos parent: $ref: '#/components/schemas/nullable-team-simple' members_count: type: integer example: 3 repos_count: type: integer example: 10 created_at: type: string format: date-time example: '2017-07-14T16:53:42Z' updated_at: type: string format: date-time example: '2017-08-17T12:37:15Z' organization: $ref: '#/components/schemas/team-organization' ldap_dn: description: Distinguished Name (DN) that team maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string required: - id - node_id - url - members_url - name - description - permission - html_url - repositories_url - slug - created_at - updated_at - members_count - repos_count - organization team-discussion: title: Team Discussion description: >- A team discussion is a persistent record of a free-form conversation within a team. type: object properties: author: $ref: '#/components/schemas/nullable-simple-user' body: description: The main text of the discussion. example: Please suggest improvements to our workflow in comments. type: string body_html: type: string example:

Hi! This is an area for us to collaborate as a team

body_version: description: >- The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server. example: 0307116bbf7ced493b8d8a346c650b71 type: string comments_count: type: integer example: 0 comments_url: type: string format: uri example: >- https://api.github.com/organizations/1/team/2343027/discussions/1/comments created_at: type: string format: date-time example: '2018-01-25T18:56:31Z' last_edited_at: type: string format: date-time nullable: true example: '2026-04-17T12:00:00Z' html_url: type: string format: uri example: https://github.com/orgs/github/teams/justice-league/discussions/1 node_id: type: string example: MDE0OlRlYW1EaXNjdXNzaW9uMQ== number: description: The unique sequence number of a team discussion. example: 42 type: integer pinned: description: Whether or not this discussion should be pinned for easy retrieval. example: true type: boolean private: description: >- Whether or not this discussion should be restricted to team members and organization owners. example: true type: boolean team_url: type: string format: uri example: https://api.github.com/organizations/1/team/2343027 title: description: The title of the discussion. example: How can we improve our workflow? type: string updated_at: type: string format: date-time example: '2018-01-25T18:56:31Z' url: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 reactions: $ref: '#/components/schemas/reaction-rollup' required: - author - body - body_html - body_version - comments_count - comments_url - created_at - last_edited_at - html_url - pinned - private - node_id - number - team_url - title - updated_at - url team-discussion-comment: title: Team Discussion Comment description: A reply to a discussion within a team. type: object properties: author: $ref: '#/components/schemas/nullable-simple-user' body: description: The main text of the comment. example: I agree with this suggestion. type: string body_html: type: string example:

Do you like apples?

body_version: description: >- The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server. example: 0307116bbf7ced493b8d8a346c650b71 type: string created_at: type: string format: date-time example: '2018-01-15T23:53:58Z' last_edited_at: type: string format: date-time nullable: true example: '2026-04-17T12:00:00Z' discussion_url: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1 html_url: type: string format: uri example: >- https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1 node_id: type: string example: MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE= number: description: The unique sequence number of a team discussion comment. example: 42 type: integer updated_at: type: string format: date-time example: '2018-01-15T23:53:58Z' url: type: string format: uri example: >- https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 reactions: $ref: '#/components/schemas/reaction-rollup' required: - author - body - body_html - body_version - created_at - last_edited_at - discussion_url - html_url - node_id - number - updated_at - url reaction: title: Reaction description: >- Reactions to conversations provide a way to help people express their feelings more simply and effectively. type: object properties: id: type: integer example: 1 node_id: type: string example: MDg6UmVhY3Rpb24x user: $ref: '#/components/schemas/nullable-simple-user' content: description: The reaction to use example: heart type: string enum: - '+1' - '-1' - laugh - confused - heart - hooray - rocket - eyes created_at: type: string format: date-time example: '2016-05-20T20:09:31Z' required: - id - node_id - user - content - created_at team-membership: title: Team Membership description: Team Membership type: object properties: url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World role: description: The role of the user in the team. enum: - member - maintainer default: member example: member type: string state: description: The state of the user's membership in the team. type: string enum: - active - pending example: active required: - role - state - url team-project: title: Team Project description: A team's access to a project. type: object properties: owner_url: type: string example: https://api.github.com/repos/octocat/Hello-World url: type: string example: https://api.github.com/repos/octocat/Hello-World html_url: type: string example: https://api.github.com/repos/octocat/Hello-World columns_url: type: string example: https://api.github.com/repos/octocat/Hello-World id: type: integer example: 42 node_id: type: string example: '12345678' name: type: string example: octocat body: type: string nullable: true example: Example body text number: type: integer example: 42 state: type: string example: open creator: $ref: '#/components/schemas/simple-user' created_at: type: string example: '2026-04-17T12:00:00Z' updated_at: type: string example: '2026-04-17T12:00:00Z' organization_permission: description: >- The organization permission for this project. Only present when owner is an organization. type: string example: example_value private: description: >- Whether the project is private or not. Only present when owner is an organization. type: boolean example: true permissions: type: object properties: read: type: boolean write: type: boolean admin: type: boolean required: - read - write - admin required: - owner_url - url - html_url - columns_url - id - node_id - name - body - number - state - creator - created_at - updated_at - permissions team-repository: title: Team Repository description: A team's access to a repository. type: object properties: id: description: Unique identifier of the repository example: 42 type: integer node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: description: The name of the repository. type: string example: Team Environment full_name: type: string example: octocat/Hello-World license: $ref: '#/components/schemas/nullable-license-simple' forks: type: integer example: 42 permissions: type: object properties: admin: type: boolean pull: type: boolean triage: type: boolean push: type: boolean maintain: type: boolean required: - admin - pull - push role_name: type: string example: admin owner: $ref: '#/components/schemas/nullable-simple-user' private: description: Whether the repository is private or public. default: false type: boolean example: true html_url: type: string format: uri example: https://github.com/octocat/Hello-World description: type: string example: This your first repo! nullable: true fork: type: boolean example: true url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World archive_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: type: string example: http://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: type: string example: http://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: type: string example: http://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: type: string example: http://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: type: string example: http://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/contributors deployments_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/deployments downloads_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/downloads events_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/events forks_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/forks git_commits_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: type: string example: git:github.com/octocat/Hello-World.git issue_comment_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: type: string example: http://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: type: string example: http://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: type: string example: http://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/languages merges_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/merges milestones_url: type: string example: http://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: type: string example: http://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: type: string example: http://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: type: string example: git@github.com:octocat/Hello-World.git stargazers_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: type: string example: http://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/subscription tags_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/tags teams_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/teams trees_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: type: string example: https://github.com/octocat/Hello-World.git mirror_url: type: string format: uri example: git:git.example.com/octocat/Hello-World nullable: true hooks_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/hooks svn_url: type: string format: uri example: https://svn.github.com/octocat/Hello-World homepage: type: string format: uri example: https://github.com nullable: true language: type: string nullable: true forks_count: type: integer example: 9 stargazers_count: type: integer example: 80 watchers_count: type: integer example: 80 size: type: integer example: 108 default_branch: description: The default branch of the repository. type: string example: master open_issues_count: type: integer example: 0 is_template: description: >- Whether this repository acts as a template that can be used to generate new repositories. default: false type: boolean example: true topics: type: array items: type: string has_issues: description: Whether issues are enabled. default: true type: boolean example: true has_projects: description: Whether projects are enabled. default: true type: boolean example: true has_wiki: description: Whether the wiki is enabled. default: true type: boolean example: true has_pages: type: boolean has_downloads: description: Whether downloads are enabled. default: true type: boolean example: true archived: description: Whether the repository is archived. default: false type: boolean disabled: type: boolean description: Returns whether or not this repository disabled. visibility: description: 'The repository visibility: public, private, or internal.' default: public type: string pushed_at: type: string format: date-time example: '2011-01-26T19:06:43Z' nullable: true created_at: type: string format: date-time example: '2011-01-26T19:01:12Z' nullable: true updated_at: type: string format: date-time example: '2011-01-26T19:14:43Z' nullable: true allow_rebase_merge: description: Whether to allow rebase merges for pull requests. default: true type: boolean example: true temp_clone_token: type: string allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true allow_auto_merge: description: Whether to allow Auto-merge to be used on pull requests. default: false type: boolean example: false delete_branch_on_merge: description: Whether to delete head branches when pull requests are merged default: false type: boolean example: false allow_merge_commit: description: Whether to allow merge commits for pull requests. default: true type: boolean example: true allow_forking: description: Whether to allow forking this repo default: false type: boolean example: false web_commit_signoff_required: description: Whether to require contributors to sign off on web-based commits default: false type: boolean example: false subscribers_count: type: integer network_count: type: integer open_issues: type: integer watchers: type: integer master_branch: type: string required: - archive_url - assignees_url - blobs_url - branches_url - collaborators_url - comments_url - commits_url - compare_url - contents_url - contributors_url - deployments_url - description - downloads_url - events_url - fork - forks_url - full_name - git_commits_url - git_refs_url - git_tags_url - hooks_url - html_url - id - node_id - issue_comment_url - issue_events_url - issues_url - keys_url - labels_url - languages_url - merges_url - milestones_url - name - notifications_url - owner - private - pulls_url - releases_url - stargazers_url - statuses_url - subscribers_url - subscription_url - tags_url - teams_url - trees_url - url - clone_url - default_branch - forks - forks_count - git_url - has_downloads - has_issues - has_projects - has_wiki - has_pages - homepage - language - archived - disabled - mirror_url - open_issues - open_issues_count - license - pushed_at - size - ssh_url - stargazers_count - svn_url - watchers - watchers_count - created_at - updated_at createAnOrganizationVariable: type: string description: The value of the variable. updateAnOrganizationVariable: type: string description: The value of the variable. code-scanning-alert-state-query: type: string description: State of a code scanning alert. enum: - open - closed - dismissed - fixed code-scanning-alert-severity: type: string description: Severity of a code scanning alert. enum: - critical - high - medium - low - warning - note - error code-scanning-analysis-tool-name: type: string description: The name of the tool used to generate the code scanning analysis. code-scanning-analysis-tool-guid: nullable: true type: string description: >- The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. selected-actions-url: type: string description: >- The API URL to use to get or set the actions that are allowed to run, when `allowed_actions` is set to `selected`. nullable-license-simple: title: License Simple description: License Simple type: object properties: key: type: string example: mit name: type: string example: MIT License url: type: string nullable: true format: uri example: https://api.github.com/licenses/mit spdx_id: type: string nullable: true example: MIT node_id: type: string example: MDc6TGljZW5zZW1pdA== html_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World required: - key - name - url - spdx_id - node_id nullable: true actions-default-workflow-permissions: type: string description: >- The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write actions-can-approve-pull-request-reviews: type: boolean description: >- Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. code-of-conduct: title: Code Of Conduct description: Code Of Conduct type: object properties: key: type: string example: contributor_covenant name: type: string example: Contributor Covenant url: type: string format: uri example: https://api.github.com/codes_of_conduct/contributor_covenant body: type: string example: > # Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. ## Our Standards Examples of behavior that contributes to creating a positive environment include: * Using welcoming and inclusive language * Being respectful of differing viewpoints and experiences * Gracefully accepting constructive criticism * Focusing on what is best for the community * Showing empathy towards other community members Examples of unacceptable behavior by participants include: * The use of sexualized language or imagery and unwelcome sexual attention or advances * Trolling, insulting/derogatory comments, and personal or political attacks * Public or private harassment * Publishing others' private information, such as a physical or electronic address, without explicit permission * Other conduct which could reasonably be considered inappropriate in a professional setting ## Our Responsibilities Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. ## Scope This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/). html_url: type: string format: uri nullable: true example: https://api.github.com/repos/octocat/Hello-World required: - url - html_url - key - name security-and-analysis: nullable: true type: object properties: advanced_security: type: object properties: status: type: string enum: - enabled - disabled secret_scanning: type: object properties: status: type: string enum: - enabled - disabled secret_scanning_push_protection: type: object properties: status: type: string enum: - enabled - disabled runner-label: title: Self hosted runner label description: A label for a self hosted runner type: object properties: id: type: integer description: Unique identifier of the label. example: 42 name: type: string description: Name of the label. example: octocat type: type: string description: >- The type of label. Read-only labels are applied automatically when the runner is configured. enum: - read-only - custom example: read-only required: - name announcement-message: 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-server@3.9/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 announcement-expiration: 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 announcement-user-dismissible: type: boolean description: Whether an announcement can be dismissed by the user. example: false nullable: true default: false alert-number: type: integer description: The security alert number. readOnly: true alert-created-at: type: string description: >- The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. format: date-time readOnly: true alert-updated-at: 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 alert-url: type: string description: The REST API URL of the alert resource. format: uri readOnly: true alert-html-url: type: string description: The GitHub URL of the alert resource. format: uri readOnly: true alert-instances-url: type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true code-scanning-alert-state: type: string description: State of a code scanning alert. enum: - open - dismissed - fixed alert-fixed-at: 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`. format: date-time readOnly: true nullable: true nullable-simple-user: title: Simple User description: A GitHub user. type: object properties: name: nullable: true type: string example: octocat email: nullable: true type: string example: octocat@github.com login: type: string example: octocat id: type: integer 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 example: true starred_at: type: string example: '"2020-07-09T00:17:55Z"' 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 alert-dismissed-at: 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 code-scanning-alert-dismissed-reason: type: string description: >- **Required when the state is dismissed.** The reason for dismissing or closing the alert. nullable: true enum: - - false positive - won't fix - used in tests code-scanning-alert-dismissed-comment: type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 code-scanning-alert-rule-summary: type: object properties: id: nullable: true type: string description: A unique identifier for the rule used to detect the alert. example: '12345678' name: type: string description: The name of the rule used to detect the alert. example: octocat tags: nullable: true type: array description: A set of tags applicable for the rule. items: type: string severity: nullable: true type: string description: The severity of the alert. enum: - none - note - warning - error example: none security_severity_level: nullable: true type: string description: The security severity of the alert. enum: - low - medium - high - critical example: low description: type: string description: A short description of the rule used to detect the alert. example: This is an example repository code-scanning-analysis-tool: type: object properties: name: $ref: '#/components/schemas/code-scanning-analysis-tool-name' version: $ref: '#/components/schemas/code-scanning-analysis-tool-version' guid: $ref: '#/components/schemas/code-scanning-analysis-tool-guid' code-scanning-alert-instance: type: object properties: ref: $ref: '#/components/schemas/code-scanning-ref' analysis_key: $ref: '#/components/schemas/code-scanning-analysis-analysis-key' environment: $ref: '#/components/schemas/code-scanning-alert-environment' category: $ref: '#/components/schemas/code-scanning-analysis-category' state: $ref: '#/components/schemas/code-scanning-alert-state' commit_sha: type: string example: abc123def456789012345678901234567890 message: type: object properties: text: type: string location: $ref: '#/components/schemas/code-scanning-alert-location' html_url: type: string example: https://api.github.com/repos/octocat/Hello-World classifications: type: array description: >- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. items: $ref: '#/components/schemas/code-scanning-alert-classification' simple-repository: title: Simple Repository description: A GitHub repository. type: object properties: id: type: integer example: 1296269 description: A unique identifier of the repository. node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 description: The GraphQL identifier of the repository. name: type: string example: Hello-World description: The name of the repository. full_name: type: string example: octocat/Hello-World description: The full, globally unique, name of the repository. owner: $ref: '#/components/schemas/simple-user' private: type: boolean description: Whether the repository is private. example: true html_url: type: string format: uri example: https://github.com/octocat/Hello-World description: The URL to view the repository on GitHub.com. description: type: string example: This your first repo! nullable: true description: The repository description. fork: type: boolean description: Whether the repository is a fork. example: true url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World description: >- The URL to get more information about the repository from the GitHub API. archive_url: type: string example: >- https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} description: A template for the API URL to download the repository as an archive. assignees_url: type: string example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} description: >- A template for the API URL to list the available assignees for issues in the repository. blobs_url: type: string example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} description: >- A template for the API URL to create or retrieve a raw Git blob in the repository. branches_url: type: string example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} description: >- A template for the API URL to get information about branches in the repository. collaborators_url: type: string example: >- https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} description: >- A template for the API URL to get information about collaborators of the repository. comments_url: type: string example: https://api.github.com/repos/octocat/Hello-World/comments{/number} description: >- A template for the API URL to get information about comments on the repository. commits_url: type: string example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} description: >- A template for the API URL to get information about commits on the repository. compare_url: type: string example: >- https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} description: A template for the API URL to compare two commits or refs. contents_url: type: string example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} description: A template for the API URL to get the contents of the repository. contributors_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/contributors description: >- A template for the API URL to list the contributors to the repository. deployments_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/deployments description: The API URL to list the deployments of the repository. downloads_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/downloads description: The API URL to list the downloads on the repository. events_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/events description: The API URL to list the events of the repository. forks_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/forks description: The API URL to list the forks of the repository. git_commits_url: type: string example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} description: >- A template for the API URL to get information about Git commits of the repository. git_refs_url: type: string example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} description: >- A template for the API URL to get information about Git refs of the repository. git_tags_url: type: string example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} description: >- A template for the API URL to get information about Git tags of the repository. issue_comment_url: type: string example: >- https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} description: >- A template for the API URL to get information about issue comments on the repository. issue_events_url: type: string example: >- https://api.github.com/repos/octocat/Hello-World/issues/events{/number} description: >- A template for the API URL to get information about issue events on the repository. issues_url: type: string example: https://api.github.com/repos/octocat/Hello-World/issues{/number} description: >- A template for the API URL to get information about issues on the repository. keys_url: type: string example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} description: >- A template for the API URL to get information about deploy keys on the repository. labels_url: type: string example: https://api.github.com/repos/octocat/Hello-World/labels{/name} description: >- A template for the API URL to get information about labels of the repository. languages_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/languages description: >- The API URL to get information about the languages of the repository. merges_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/merges description: The API URL to merge branches in the repository. milestones_url: type: string example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} description: >- A template for the API URL to get information about milestones of the repository. notifications_url: type: string example: >- https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} description: >- A template for the API URL to get information about notifications on the repository. pulls_url: type: string example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} description: >- A template for the API URL to get information about pull requests on the repository. releases_url: type: string example: https://api.github.com/repos/octocat/Hello-World/releases{/id} description: >- A template for the API URL to get information about releases on the repository. stargazers_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/stargazers description: The API URL to list the stargazers on the repository. statuses_url: type: string example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} description: >- A template for the API URL to get information about statuses of a commit. subscribers_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/subscribers description: The API URL to list the subscribers on the repository. subscription_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/subscription description: The API URL to subscribe to notifications for this repository. tags_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/tags description: The API URL to get information about tags on the repository. teams_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/teams description: The API URL to list the teams on the repository. trees_url: type: string example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} description: >- A template for the API URL to create or retrieve a raw Git tree of the repository. hooks_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. required: - archive_url - assignees_url - blobs_url - branches_url - collaborators_url - comments_url - commits_url - compare_url - contents_url - contributors_url - deployments_url - description - downloads_url - events_url - fork - forks_url - full_name - git_commits_url - git_refs_url - git_tags_url - hooks_url - html_url - id - node_id - issue_comment_url - issue_events_url - issues_url - keys_url - labels_url - languages_url - merges_url - milestones_url - name - notifications_url - owner - private - pulls_url - releases_url - stargazers_url - statuses_url - subscribers_url - subscription_url - tags_url - teams_url - trees_url - url dependabot-alert-package: type: object description: Details for the vulnerable package. readOnly: true properties: ecosystem: type: string description: The package's language or package management ecosystem. readOnly: true example: example_value name: type: string description: The unique package name within its ecosystem. readOnly: true example: octocat required: - ecosystem - name additionalProperties: false dependabot-alert-security-advisory: type: object description: Details for the GitHub Security Advisory. readOnly: true properties: ghsa_id: type: string description: The unique GitHub Security Advisory ID assigned to the advisory. readOnly: true example: '12345678' cve_id: type: string description: The unique CVE ID assigned to the advisory. readOnly: true nullable: true example: '12345678' summary: type: string description: A short, plain text summary of the advisory. readOnly: true maxLength: 1024 example: example_value description: type: string description: A long-form Markdown-supported description of the advisory. readOnly: true example: This is an example repository vulnerabilities: type: array description: Vulnerable version range information for the advisory. readOnly: true items: $ref: '#/components/schemas/dependabot-alert-security-vulnerability' severity: type: string description: The severity of the advisory. readOnly: true enum: - low - medium - high - critical example: low cvss: type: object description: >- Details for the advisory pertaining to the Common Vulnerability Scoring System. readOnly: true properties: score: type: number description: The overall CVSS score of the advisory. minimum: 0 maximum: 10 readOnly: true vector_string: type: string description: The full CVSS vector string for the advisory. readOnly: true nullable: true required: - score - vector_string additionalProperties: false cwes: type: array description: Details for the advisory pertaining to Common Weakness Enumeration. readOnly: true items: type: object description: A CWE weakness assigned to the advisory. readOnly: true properties: cwe_id: type: string description: The unique CWE ID. readOnly: true name: type: string description: The short, plain text name of the CWE. readOnly: true required: - cwe_id - name additionalProperties: false identifiers: type: array description: >- Values that identify this advisory among security information sources. readOnly: true items: type: object description: An advisory identifier. readOnly: true properties: type: type: string description: The type of advisory identifier. readOnly: true enum: - CVE - GHSA value: type: string description: The value of the advisory identifer. readOnly: true required: - value - type additionalProperties: false references: type: array description: Links to additional advisory information. readOnly: true items: type: object description: A link to additional advisory information. readOnly: true properties: url: type: string description: The URL of the reference. format: uri readOnly: true required: - url additionalProperties: false published_at: type: string description: >- The time that the advisory was published in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. format: date-time readOnly: true example: '2026-04-17T12:00:00Z' updated_at: type: string description: >- The time that the advisory was last modified in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. format: date-time readOnly: true example: '2026-04-17T12:00:00Z' withdrawn_at: type: string description: >- The time that the advisory was withdrawn in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. format: date-time readOnly: true nullable: true example: '2026-04-17T12:00:00Z' required: - ghsa_id - cve_id - summary - description - vulnerabilities - severity - cvss - cwes - identifiers - references - published_at - updated_at - withdrawn_at additionalProperties: false dependabot-alert-security-vulnerability: type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: package: $ref: '#/components/schemas/dependabot-alert-package' severity: type: string description: The severity of the vulnerability. readOnly: true enum: - low - medium - high - critical example: low vulnerable_version_range: type: string description: >- Conditions that identify vulnerable versions of this vulnerability's package. readOnly: true example: example_value first_patched_version: type: object description: >- Details pertaining to the package version that patches this vulnerability. readOnly: true nullable: true properties: identifier: type: string description: The package version that patches this vulnerability. readOnly: true required: - identifier additionalProperties: false required: - package - severity - vulnerable_version_range - first_patched_version additionalProperties: false alert-auto-dismissed-at: 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 nullable-minimal-repository: title: Minimal Repository description: Minimal Repository type: object properties: id: type: integer example: 1296269 node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: type: string example: Hello-World full_name: type: string example: octocat/Hello-World owner: $ref: '#/components/schemas/simple-user' private: type: boolean example: true html_url: type: string format: uri example: https://github.com/octocat/Hello-World description: type: string example: This your first repo! nullable: true fork: type: boolean example: true url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World archive_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: type: string example: http://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: type: string example: http://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: type: string example: http://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: type: string example: http://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: type: string example: http://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/contributors deployments_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/deployments downloads_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/downloads events_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/events forks_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/forks git_commits_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: type: string issue_comment_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: type: string example: http://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: type: string example: http://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: type: string example: http://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/languages merges_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/merges milestones_url: type: string example: http://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: type: string example: http://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: type: string example: http://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: type: string stargazers_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: type: string example: http://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/subscription tags_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/tags teams_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/teams trees_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: type: string mirror_url: type: string nullable: true hooks_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/hooks svn_url: type: string homepage: type: string nullable: true language: type: string nullable: true forks_count: type: integer stargazers_count: type: integer watchers_count: type: integer size: description: >- The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0. type: integer default_branch: type: string open_issues_count: type: integer is_template: type: boolean topics: type: array items: type: string has_issues: type: boolean has_projects: type: boolean has_wiki: type: boolean has_pages: type: boolean has_downloads: type: boolean has_discussions: type: boolean archived: type: boolean disabled: type: boolean visibility: type: string pushed_at: type: string format: date-time example: '2011-01-26T19:06:43Z' nullable: true created_at: type: string format: date-time example: '2011-01-26T19:01:12Z' nullable: true updated_at: type: string format: date-time example: '2011-01-26T19:14:43Z' nullable: true permissions: type: object properties: admin: type: boolean maintain: type: boolean push: type: boolean triage: type: boolean pull: type: boolean role_name: type: string example: admin temp_clone_token: type: string delete_branch_on_merge: type: boolean subscribers_count: type: integer network_count: type: integer code_of_conduct: $ref: '#/components/schemas/code-of-conduct' license: type: object properties: key: type: string name: type: string spdx_id: type: string url: type: string node_id: type: string nullable: true forks: type: integer example: 0 open_issues: type: integer example: 0 watchers: type: integer example: 0 allow_forking: type: boolean web_commit_signoff_required: type: boolean example: false security_and_analysis: $ref: '#/components/schemas/security-and-analysis' required: - archive_url - assignees_url - blobs_url - branches_url - collaborators_url - comments_url - commits_url - compare_url - contents_url - contributors_url - deployments_url - description - downloads_url - events_url - fork - forks_url - full_name - git_commits_url - git_refs_url - git_tags_url - hooks_url - html_url - id - node_id - issue_comment_url - issue_events_url - issues_url - keys_url - labels_url - languages_url - merges_url - milestones_url - name - notifications_url - owner - private - pulls_url - releases_url - stargazers_url - statuses_url - subscribers_url - subscription_url - tags_url - teams_url - trees_url - url nullable: true actor: title: Actor description: Actor type: object properties: id: type: integer example: 42 login: type: string example: octocat display_login: type: string example: octocat gravatar_id: type: string nullable: true example: '12345678' url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World avatar_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World required: - id - login - gravatar_id - url - avatar_url issue-comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object properties: id: description: Unique identifier of the issue comment example: 42 type: integer format: int64 node_id: type: string example: '12345678' url: description: URL for the issue comment example: https://api.github.com/repositories/42/issues/comments/1 type: string format: uri body: description: Contents of the issue comment example: What version of Safari were you using when you observed this bug? type: string body_text: type: string example: Example body text body_html: type: string example: Example body text html_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World user: $ref: '#/components/schemas/nullable-simple-user' created_at: type: string format: date-time example: '2011-04-14T16:00:49Z' updated_at: type: string format: date-time example: '2011-04-14T16:00:49Z' issue_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World author_association: $ref: '#/components/schemas/author-association' performed_via_github_app: $ref: '#/components/schemas/nullable-integration' reactions: $ref: '#/components/schemas/reaction-rollup' required: - id - node_id - html_url - issue_url - author_association - user - url - created_at - updated_at enterprise: title: Enterprise description: An enterprise on GitHub. type: object properties: description: description: A short description of the enterprise. type: string nullable: true example: This is an example repository 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 example: https://api.github.com/repos/octocat/Hello-World 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 example: https://api.github.com/repos/octocat/Hello-World required: - id - node_id - name - slug - html_url - created_at - updated_at - avatar_url app-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 example: read 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 example: read checks: type: string description: >- The level of permission to grant the access token for checks on code. enum: - read - write example: read codespaces: type: string description: >- The level of permission to grant the access token to create, edit, delete, and list Codespaces. enum: - read - write example: read 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 example: read dependabot_secrets: type: string description: >- The leve of permission to grant the access token to manage Dependabot secrets. enum: - read - write example: read deployments: type: string description: >- The level of permission to grant the access token for deployments and deployment statuses. enum: - read - write example: read environments: type: string description: >- The level of permission to grant the access token for managing repository environments. enum: - read - write example: read 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 example: read 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 example: read packages: type: string description: >- The level of permission to grant the access token for packages published to GitHub Packages. enum: - read - write example: read 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 example: read 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 example: read 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 example: read 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 example: read 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 example: read secrets: type: string description: >- The level of permission to grant the access token to manage repository secrets. enum: - read - write example: read 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 example: read single_file: type: string description: >- The level of permission to grant the access token to manage just a single file. enum: - read - write example: read statuses: type: string description: >- The level of permission to grant the access token for commit statuses. enum: - read - write example: read 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_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 beta 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 beta (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 nullable-milestone: title: Milestone description: A collection of related issues and pull requests. type: object properties: url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: type: string format: uri example: https://github.com/octocat/Hello-World/milestones/v1.0 labels_url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/milestones/1/labels id: type: integer example: 1002604 node_id: type: string example: MDk6TWlsZXN0b25lMTAwMjYwNA== number: description: The number of the milestone. type: integer example: 42 state: description: The state of the milestone. example: open type: string enum: - open - closed default: open title: description: The title of the milestone. example: v1.0 type: string description: type: string example: Tracking milestone for version 1.0 nullable: true creator: $ref: '#/components/schemas/nullable-simple-user' open_issues: type: integer example: 4 closed_issues: type: integer example: 8 created_at: type: string format: date-time example: '2011-04-10T20:09:31Z' updated_at: type: string format: date-time example: '2014-03-03T18:58:10Z' closed_at: type: string format: date-time example: '2013-02-12T13:22:01Z' nullable: true due_on: type: string format: date-time example: '2012-10-09T23:39:01Z' nullable: true required: - closed_issues - creator - description - due_on - closed_at - id - node_id - labels_url - html_url - number - open_issues - state - title - url - created_at - updated_at nullable: true nullable-integration: title: GitHub app description: >- GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. type: object properties: id: description: Unique identifier of the GitHub app example: 37 type: integer slug: description: The slug name of the GitHub app example: probot-owners type: string node_id: type: string example: MDExOkludGVncmF0aW9uMQ== owner: $ref: '#/components/schemas/nullable-simple-user' name: description: The name of the GitHub app example: Probot Owners type: string description: type: string example: The description of the app. nullable: true external_url: type: string format: uri example: https://example.com html_url: type: string format: uri example: https://github.com/apps/super-ci created_at: type: string format: date-time example: '2017-07-08T16:18:44-04:00' updated_at: type: string format: date-time example: '2017-07-08T16:18:44-04:00' permissions: description: The set of permissions for the GitHub app type: object properties: issues: type: string checks: type: string metadata: type: string contents: type: string deployments: type: string additionalProperties: type: string example: issues: read deployments: write events: description: The list of events for the GitHub app example: - label - deployment type: array items: type: string installations_count: description: The number of installations associated with the GitHub app example: 5 type: integer client_id: type: string example: '"Iv1.25b5d1e65ffc4022"' client_secret: type: string example: '"1d4b2097ac622ba702d19de498f005747a8b21d3"' webhook_secret: type: string example: '"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b"' nullable: true pem: type: string example: >- "--BEGIN RSA PRIVATE KEY--\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\n--END RSA PRIVATE KEY--\n" required: - id - node_id - owner - name - description - external_url - html_url - created_at - updated_at - permissions - events nullable: true author-association: title: author_association type: string example: OWNER description: How the author is associated with the repository. enum: - COLLABORATOR - CONTRIBUTOR - FIRST_TIMER - FIRST_TIME_CONTRIBUTOR - MANNEQUIN - MEMBER - NONE - OWNER reaction-rollup: title: Reaction Rollup type: object properties: url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World total_count: type: integer example: 42 '+1': type: integer example: 42 '-1': type: integer example: 42 laugh: type: integer example: 42 confused: type: integer example: 42 heart: type: integer example: 42 hooray: type: integer example: 42 eyes: type: integer example: 42 rocket: type: integer example: 42 required: - url - total_count - '+1' - '-1' - laugh - confused - heart - hooray - eyes - rocket nullable-repository: title: Repository description: A repository on GitHub. type: object properties: id: description: Unique identifier of the repository example: 42 type: integer node_id: type: string example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 name: description: The name of the repository. type: string example: Team Environment full_name: type: string example: octocat/Hello-World license: $ref: '#/components/schemas/nullable-license-simple' forks: type: integer example: 42 permissions: type: object properties: admin: type: boolean pull: type: boolean triage: type: boolean push: type: boolean maintain: type: boolean required: - admin - pull - push owner: $ref: '#/components/schemas/simple-user' private: description: Whether the repository is private or public. default: false type: boolean example: true html_url: type: string format: uri example: https://github.com/octocat/Hello-World description: type: string example: This your first repo! nullable: true fork: type: boolean example: true url: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World archive_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} assignees_url: type: string example: http://api.github.com/repos/octocat/Hello-World/assignees{/user} blobs_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} branches_url: type: string example: http://api.github.com/repos/octocat/Hello-World/branches{/branch} collaborators_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} comments_url: type: string example: http://api.github.com/repos/octocat/Hello-World/comments{/number} commits_url: type: string example: http://api.github.com/repos/octocat/Hello-World/commits{/sha} compare_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} contents_url: type: string example: http://api.github.com/repos/octocat/Hello-World/contents/{+path} contributors_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/contributors deployments_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/deployments downloads_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/downloads events_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/events forks_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/forks git_commits_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/commits{/sha} git_refs_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/refs{/sha} git_tags_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/tags{/sha} git_url: type: string example: git:github.com/octocat/Hello-World.git issue_comment_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/issues/comments{/number} issue_events_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/issues/events{/number} issues_url: type: string example: http://api.github.com/repos/octocat/Hello-World/issues{/number} keys_url: type: string example: http://api.github.com/repos/octocat/Hello-World/keys{/key_id} labels_url: type: string example: http://api.github.com/repos/octocat/Hello-World/labels{/name} languages_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/languages merges_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/merges milestones_url: type: string example: http://api.github.com/repos/octocat/Hello-World/milestones{/number} notifications_url: type: string example: >- http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} pulls_url: type: string example: http://api.github.com/repos/octocat/Hello-World/pulls{/number} releases_url: type: string example: http://api.github.com/repos/octocat/Hello-World/releases{/id} ssh_url: type: string example: git@github.com:octocat/Hello-World.git stargazers_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/stargazers statuses_url: type: string example: http://api.github.com/repos/octocat/Hello-World/statuses/{sha} subscribers_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/subscribers subscription_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/subscription tags_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/tags teams_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/teams trees_url: type: string example: http://api.github.com/repos/octocat/Hello-World/git/trees{/sha} clone_url: type: string example: https://github.com/octocat/Hello-World.git mirror_url: type: string format: uri example: git:git.example.com/octocat/Hello-World nullable: true hooks_url: type: string format: uri example: http://api.github.com/repos/octocat/Hello-World/hooks svn_url: type: string format: uri example: https://svn.github.com/octocat/Hello-World homepage: type: string format: uri example: https://github.com nullable: true language: type: string nullable: true forks_count: type: integer example: 9 stargazers_count: type: integer example: 80 watchers_count: type: integer example: 80 size: description: >- The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0. type: integer example: 108 default_branch: description: The default branch of the repository. type: string example: master open_issues_count: type: integer example: 0 is_template: description: >- Whether this repository acts as a template that can be used to generate new repositories. default: false type: boolean example: true topics: type: array items: type: string has_issues: description: Whether issues are enabled. default: true type: boolean example: true has_projects: description: Whether projects are enabled. default: true type: boolean example: true has_wiki: description: Whether the wiki is enabled. default: true type: boolean example: true has_pages: type: boolean has_downloads: description: Whether downloads are enabled. default: true type: boolean example: true deprecated: true has_discussions: description: Whether discussions are enabled. default: false type: boolean example: true archived: description: Whether the repository is archived. default: false type: boolean disabled: type: boolean description: Returns whether or not this repository disabled. visibility: description: 'The repository visibility: public, private, or internal.' default: public type: string pushed_at: type: string format: date-time example: '2011-01-26T19:06:43Z' nullable: true created_at: type: string format: date-time example: '2011-01-26T19:01:12Z' nullable: true updated_at: type: string format: date-time example: '2011-01-26T19:14:43Z' nullable: true allow_rebase_merge: description: Whether to allow rebase merges for pull requests. default: true type: boolean example: true temp_clone_token: type: string allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true allow_auto_merge: description: Whether to allow Auto-merge to be used on pull requests. default: false type: boolean example: false delete_branch_on_merge: description: Whether to delete head branches when pull requests are merged default: false type: boolean example: false allow_update_branch: description: >- Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. default: false type: boolean example: false use_squash_pr_title_as_default: type: boolean description: >- Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead. default: false deprecated: true squash_merge_commit_title: type: string enum: - PR_TITLE - COMMIT_OR_PR_TITLE description: >- The default value for a squash merge commit title: - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). squash_merge_commit_message: type: string enum: - PR_BODY - COMMIT_MESSAGES - BLANK description: |- The default value for a squash merge commit message: - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. merge_commit_title: type: string enum: - PR_TITLE - MERGE_MESSAGE description: >- The default value for a merge commit title. - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). merge_commit_message: type: string enum: - PR_BODY - PR_TITLE - BLANK description: |- The default value for a merge commit message. - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. allow_merge_commit: description: Whether to allow merge commits for pull requests. default: true type: boolean example: true allow_forking: description: Whether to allow forking this repo type: boolean web_commit_signoff_required: description: Whether to require contributors to sign off on web-based commits default: false type: boolean open_issues: type: integer watchers: type: integer master_branch: type: string starred_at: type: string example: '"2020-07-09T00:17:42Z"' anonymous_access_enabled: type: boolean description: Whether anonymous git access is enabled for this repository required: - archive_url - assignees_url - blobs_url - branches_url - collaborators_url - comments_url - commits_url - compare_url - contents_url - contributors_url - deployments_url - description - downloads_url - events_url - fork - forks_url - full_name - git_commits_url - git_refs_url - git_tags_url - hooks_url - html_url - id - node_id - issue_comment_url - issue_events_url - issues_url - keys_url - labels_url - languages_url - merges_url - milestones_url - name - notifications_url - owner - private - pulls_url - releases_url - stargazers_url - statuses_url - subscribers_url - subscription_url - tags_url - teams_url - trees_url - url - clone_url - default_branch - forks - forks_count - git_url - has_downloads - has_issues - has_projects - has_wiki - has_pages - homepage - language - archived - disabled - mirror_url - open_issues - open_issues_count - license - pushed_at - size - ssh_url - stargazers_count - svn_url - watchers - watchers_count - created_at - updated_at nullable: true code-of-conduct-simple: title: Code Of Conduct Simple description: Code of Conduct Simple type: object properties: url: type: string format: uri example: https://api.github.com/repos/github/docs/community/code_of_conduct key: type: string example: citizen_code_of_conduct name: type: string example: Citizen Code of Conduct html_url: type: string nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md required: - url - key - name - html_url nullable-alert-updated-at: 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 nullable: true secret-scanning-alert-state: 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 secret-scanning-alert-resolution: type: string description: >- **Required when the `state` is `resolved`.** The reason for resolving the alert. nullable: true enum: - false_positive - wont_fix - revoked - used_in_tests advanced-security-active-committers-repository: type: object properties: name: type: string example: octocat/Hello-World advanced_security_committers: type: integer example: 25 advanced_security_committers_breakdown: type: array items: $ref: '#/components/schemas/advanced-security-active-committers-user' required: - name - advanced_security_committers - advanced_security_committers_breakdown nullable-team-simple: title: Team Simple description: >- Groups of organization members that gives permissions on specified repositories. type: object properties: id: description: Unique identifier of the team type: integer example: 1 node_id: type: string example: MDQ6VGVhbTE= url: description: URL for the team type: string format: uri example: https://api.github.com/organizations/1/team/1 members_url: type: string example: https://api.github.com/organizations/1/team/1/members{/member} name: description: Name of the team type: string example: Justice League description: description: Description of the team type: string nullable: true example: A great team. permission: description: Permission that the team will have for its repositories type: string example: admin privacy: description: The level of privacy this team should have type: string example: closed html_url: type: string format: uri example: https://github.com/orgs/rails/teams/core repositories_url: type: string format: uri example: https://api.github.com/organizations/1/team/1/repos slug: type: string example: justice-league ldap_dn: description: Distinguished Name (DN) that team maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string required: - id - node_id - url - members_url - name - description - permission - html_url - repositories_url - slug nullable: true team-organization: title: Team Organization description: Team Organization type: object properties: login: type: string example: github id: type: integer example: 1 node_id: type: string example: MDEyOk9yZ2FuaXphdGlvbjE= url: type: string format: uri example: https://api.github.com/orgs/github repos_url: type: string format: uri example: https://api.github.com/orgs/github/repos events_url: type: string format: uri example: https://api.github.com/orgs/github/events hooks_url: type: string example: https://api.github.com/orgs/github/hooks issues_url: type: string example: https://api.github.com/orgs/github/issues members_url: type: string example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string example: https://github.com/images/error/octocat_happy.gif description: type: string example: A great organization nullable: true name: type: string example: github company: type: string example: GitHub blog: type: string format: uri example: https://github.com/blog location: type: string example: San Francisco email: type: string format: email example: octocat@github.com twitter_username: type: string example: github nullable: true is_verified: type: boolean example: true has_organization_projects: type: boolean example: true has_repository_projects: type: boolean example: true public_repos: type: integer example: 2 public_gists: type: integer example: 1 followers: type: integer example: 20 following: type: integer example: 0 html_url: type: string format: uri example: https://github.com/octocat created_at: type: string format: date-time example: '2008-01-14T04:33:35Z' type: type: string example: Organization total_private_repos: type: integer example: 100 owned_private_repos: type: integer example: 100 private_gists: type: integer example: 81 nullable: true disk_usage: type: integer example: 10000 nullable: true collaborators: type: integer example: 8 nullable: true billing_email: type: string format: email example: org@example.com nullable: true plan: type: object properties: name: type: string space: type: integer private_repos: type: integer filled_seats: type: integer seats: type: integer required: - name - space - private_repos default_repository_permission: type: string nullable: true members_can_create_repositories: type: boolean example: true nullable: true two_factor_requirement_enabled: type: boolean example: true nullable: true members_allowed_repository_creation_type: type: string example: all members_can_create_public_repositories: type: boolean example: true members_can_create_private_repositories: type: boolean example: true members_can_create_internal_repositories: type: boolean example: true members_can_create_pages: type: boolean example: true members_can_create_public_pages: type: boolean example: true members_can_create_private_pages: type: boolean example: true members_can_fork_private_repositories: type: boolean example: false nullable: true web_commit_signoff_required: type: boolean example: false updated_at: type: string format: date-time required: - login - url - id - node_id - repos_url - events_url - hooks_url - issues_url - members_url - public_members_url - avatar_url - description - html_url - has_organization_projects - has_repository_projects - public_repos - public_gists - followers - following - type - created_at - updated_at - archived_at code-scanning-analysis-tool-version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. code-scanning-ref: type: string description: >- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. code-scanning-analysis-analysis-key: type: string description: >- Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. code-scanning-alert-environment: type: string description: >- Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. code-scanning-analysis-category: 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. code-scanning-alert-location: type: object description: Describe a region within a file for the alert. properties: path: type: string example: src/index.js start_line: type: integer example: 42 end_line: type: integer example: 42 start_column: type: integer example: 42 end_column: type: integer example: 42 code-scanning-alert-classification: type: string description: A classification of the file. For example to identify it as generated. nullable: true enum: - source - generated - test - library advanced-security-active-committers-user: type: object properties: user_login: type: string example: octocat last_pushed_date: type: string example: '2021-11-03' required: - user_login - last_pushed_date responses: not_modified: description: Not modified not_found: description: Resource not found content: application/json: schema: $ref: '#/components/schemas/basic-error' conflict: description: Conflict content: application/json: schema: $ref: '#/components/schemas/basic-error' accepted: description: Accepted content: application/json: schema: type: object examples: default: value: forbidden: description: Forbidden content: application/json: schema: $ref: '#/components/schemas/basic-error' actions_runner_labels: description: Response content: application/json: schema: type: object required: - total_count - labels properties: total_count: type: integer labels: type: array items: $ref: '#/components/schemas/runner-label' examples: default: $ref: '#/components/examples/runner-labels' validation_failed_simple: description: Validation failed, or the endpoint has been spammed. content: application/json: schema: $ref: '#/components/schemas/validation-error-simple' actions_runner_labels_readonly: description: Response content: application/json: schema: type: object required: - total_count - labels properties: total_count: type: integer labels: type: array items: $ref: '#/components/schemas/runner-label' examples: default: $ref: '#/components/examples/runner-labels-readonly' service_unavailable: description: Service unavailable content: application/json: schema: type: object properties: code: type: string message: type: string documentation_url: type: string validation_failed: description: Validation failed, or the endpoint has been spammed. content: application/json: schema: $ref: '#/components/schemas/validation-error' bad_request: description: Bad Request content: application/json: schema: $ref: '#/components/schemas/basic-error' application/scim+json: schema: $ref: '#/components/schemas/scim-error' requires_authentication: description: Requires authentication content: application/json: schema: $ref: '#/components/schemas/basic-error' package_es_list_error: description: >- The value of `per_page` multiplied by `page` cannot be greater than 10000. gone: description: Gone content: application/json: schema: $ref: '#/components/schemas/basic-error' code_scanning_forbidden_read: description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: $ref: '#/components/schemas/basic-error' headers: link: example: >- ; rel="next", ; rel="last" schema: type: string content-type: example: text/html schema: type: string x-common-marker-version: example: 0.17.4 schema: type: string x-rate-limit-limit: example: 5000 schema: type: integer x-rate-limit-remaining: example: 4999 schema: type: integer x-rate-limit-reset: example: 1590701888 schema: type: integer format: timestamp location: 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 securitySchemes: bearerHttpAuthentication: description: Bearer Token type: http scheme: Bearer