diff --git a/package-lock.json b/package-lock.json index ae280c2..02969dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -425,9 +425,9 @@ } }, "@octokit/routes": { - "version": "26.18.0", - "resolved": "https://registry.npmjs.org/@octokit/routes/-/routes-26.18.0.tgz", - "integrity": "sha512-xkg+WVAzKztJmRRTWu8qTRkTZZ9cmBrw9MpI6FmRDLZ4sj+jr8oeuuXgLFqEczg6Nxzat+cS7pkqLwIrSmRsgA==" + "version": "27.9.1", + "resolved": "https://registry.npmjs.org/@octokit/routes/-/routes-27.9.1.tgz", + "integrity": "sha512-JDGfaJKWKjp49kqfylV+ypc1NzeA3Hokeuh/Hg0YT+LDTdzsz9m5SVJ1Fa77AYu5QPoLo3KY2Kj2HK3Hy5l8DA==" }, "@types/babel__core": { "version": "7.1.3", diff --git a/package.json b/package.json index ea705bc..bc2b667 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/swinton/github-rest-apis-for-insomnia#readme", "dependencies": { - "@octokit/routes": "26.18.0", + "@octokit/routes": "27.9.1", "lodash": "^4.17.15" }, "devDependencies": { diff --git a/routes/api.github.com.json b/routes/api.github.com.json index 7d9fec5..67dffc5 100644 --- a/routes/api.github.com.json +++ b/routes/api.github.com.json @@ -1,7 +1,7 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2020-01-23T05:12:18.636Z", + "__export_date": "2020-03-21T19:15:42.386Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { @@ -15,6 +15,7 @@ "account_id": 0, "app_slug": "", "archive_format": "", + "artifact_id": 0, "asset_id": 0, "assignee": "", "author_id": 0, @@ -48,6 +49,7 @@ "installation_id": 0, "invitation_id": 0, "issue_number": 0, + "job_id": 0, "key": "", "key_id": 0, "keyword": "", @@ -69,6 +71,8 @@ "repository": "", "repository_id": 0, "review_id": 0, + "run_id": 0, + "runner_id": 0, "scim_user_id": 0, "sha": "", "state": "", @@ -82,161 +86,168 @@ "template_repo": "", "thread_id": 0, "tree_sha": "", - "username": "" + "username": "", + "workflow_id": 0 } }, { "parentId": "__FLD_1__", "_id": "__FLD_2__", "_type": "request_group", - "name": "activity" + "name": "actions" }, { "parentId": "__FLD_1__", "_id": "__FLD_3__", "_type": "request_group", - "name": "apps" + "name": "activity" }, { "parentId": "__FLD_1__", "_id": "__FLD_4__", "_type": "request_group", - "name": "checks" + "name": "apps" }, { "parentId": "__FLD_1__", "_id": "__FLD_5__", "_type": "request_group", - "name": "codes-of-conduct" + "name": "checks" }, { "parentId": "__FLD_1__", "_id": "__FLD_6__", "_type": "request_group", - "name": "emojis" + "name": "codes-of-conduct" }, { "parentId": "__FLD_1__", "_id": "__FLD_7__", "_type": "request_group", - "name": "gists" + "name": "emojis" }, { "parentId": "__FLD_1__", "_id": "__FLD_8__", "_type": "request_group", - "name": "git" + "name": "gists" }, { "parentId": "__FLD_1__", "_id": "__FLD_9__", "_type": "request_group", - "name": "gitignore" + "name": "git" }, { "parentId": "__FLD_1__", "_id": "__FLD_10__", "_type": "request_group", - "name": "interactions" + "name": "gitignore" }, { "parentId": "__FLD_1__", "_id": "__FLD_11__", "_type": "request_group", - "name": "issues" + "name": "interactions" }, { "parentId": "__FLD_1__", "_id": "__FLD_12__", "_type": "request_group", - "name": "licenses" + "name": "issues" }, { "parentId": "__FLD_1__", "_id": "__FLD_13__", "_type": "request_group", - "name": "markdown" + "name": "licenses" }, { "parentId": "__FLD_1__", "_id": "__FLD_14__", "_type": "request_group", - "name": "meta" + "name": "markdown" }, { "parentId": "__FLD_1__", "_id": "__FLD_15__", "_type": "request_group", - "name": "migrations" + "name": "meta" }, { "parentId": "__FLD_1__", "_id": "__FLD_16__", "_type": "request_group", - "name": "oauth-authorizations" + "name": "migrations" }, { "parentId": "__FLD_1__", "_id": "__FLD_17__", "_type": "request_group", - "name": "orgs" + "name": "oauth-authorizations" }, { "parentId": "__FLD_1__", "_id": "__FLD_18__", "_type": "request_group", - "name": "projects" + "name": "orgs" }, { "parentId": "__FLD_1__", "_id": "__FLD_19__", "_type": "request_group", - "name": "pulls" + "name": "projects" }, { "parentId": "__FLD_1__", "_id": "__FLD_20__", "_type": "request_group", - "name": "rate-limit" + "name": "pulls" }, { "parentId": "__FLD_1__", "_id": "__FLD_21__", "_type": "request_group", - "name": "reactions" + "name": "rate-limit" }, { "parentId": "__FLD_1__", "_id": "__FLD_22__", "_type": "request_group", - "name": "repos" + "name": "reactions" }, { "parentId": "__FLD_1__", "_id": "__FLD_23__", "_type": "request_group", - "name": "scim" + "name": "repos" }, { "parentId": "__FLD_1__", "_id": "__FLD_24__", "_type": "request_group", - "name": "search" + "name": "scim" }, { "parentId": "__FLD_1__", "_id": "__FLD_25__", "_type": "request_group", - "name": "teams" + "name": "search" }, { "parentId": "__FLD_1__", "_id": "__FLD_26__", "_type": "request_group", + "name": "teams" + }, + { + "parentId": "__FLD_1__", + "_id": "__FLD_27__", + "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_1__", "_type": "request", "name": "Get the authenticated GitHub App", @@ -257,17 +268,12 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_2__", "_type": "request", "name": "Create a GitHub App from a manifest", "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://developer.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://developer.github.com/v3/apps/#create-a-github-app-from-a-manifest", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.fury-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -278,7 +284,7 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_3__", "_type": "request", "name": "List installations", @@ -310,7 +316,7 @@ ] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_4__", "_type": "request", "name": "Get an installation", @@ -331,7 +337,7 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_5__", "_type": "request", "name": "Delete an installation", @@ -352,11 +358,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_6__", "_type": "request", "name": "Create a new installation token", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token.\n\nBy default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThis example grants the token \"Read and write\" permission to `issues` and \"Read\" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.\n\nhttps://developer.github.com/v3/apps/#create-a-new-installation-token", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThis example grants the token \"Read and write\" permission to `issues` and \"Read\" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.\n\nhttps://developer.github.com/v3/apps/#create-a-new-installation-token", "headers": [ { "name": "Accept", @@ -373,11 +379,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", + "parentId": "__FLD_17__", "_id": "__REQ_7__", "_type": "request", "name": "List your grants", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://developer.github.com/v3/oauth_authorizations/#list-your-grants", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://developer.github.com/v3/oauth_authorizations/#list-your-grants", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -400,11 +406,11 @@ ] }, { - "parentId": "__FLD_16__", + "parentId": "__FLD_17__", "_id": "__REQ_8__", "_type": "request", "name": "Get a single grant", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nhttps://developer.github.com/v3/oauth_authorizations/#get-a-single-grant", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nhttps://developer.github.com/v3/oauth_authorizations/#get-a-single-grant", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -416,11 +422,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", + "parentId": "__FLD_17__", "_id": "__REQ_9__", "_type": "request", "name": "Delete a grant", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/v3/oauth_authorizations/#delete-a-grant", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/v3/oauth_authorizations/#delete-a-grant", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -432,17 +438,12 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_10__", "_type": "request", "name": "Delete an app authorization", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/v3/apps/oauth_applications/#delete-an-app-authorization", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.doctor-strange-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -453,11 +454,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_11__", "_type": "request", "name": "Revoke a grant for an application", - "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application", + "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. The OAuth Application API will be removed on July 1, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -469,17 +470,12 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_12__", "_type": "request", "name": "Check a token", "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#check-a-token", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.doctor-strange-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -490,17 +486,12 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_13__", "_type": "request", "name": "Reset a token", "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#reset-a-token", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.doctor-strange-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -511,17 +502,12 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_14__", "_type": "request", "name": "Delete an app token", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#delete-an-app-token", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.doctor-strange-preview+json" - } - ], + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -532,11 +518,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_15__", "_type": "request", "name": "Check an authorization", - "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#check-an-authorization", + "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. The OAuth Application API will be removed on July 1, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#check-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -548,11 +534,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_16__", "_type": "request", "name": "Reset an authorization", - "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization", + "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. The OAuth Application API will be removed on July 1, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -564,11 +550,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_17__", "_type": "request", "name": "Revoke an authorization for an application", - "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application", + "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. The OAuth Application API will be removed on July 1, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -580,7 +566,7 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_18__", "_type": "request", "name": "Get a single GitHub App", @@ -601,11 +587,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", + "parentId": "__FLD_17__", "_id": "__REQ_19__", "_type": "request", "name": "List your authorizations", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nhttps://developer.github.com/v3/oauth_authorizations/#list-your-authorizations", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nhttps://developer.github.com/v3/oauth_authorizations/#list-your-authorizations", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -628,11 +614,11 @@ ] }, { - "parentId": "__FLD_16__", + "parentId": "__FLD_17__", "_id": "__REQ_20__", "_type": "request", "name": "Create a new authorization", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\n**Warning:** Apps must use the [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/v3/auth/#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be whitelisted. Read more about whitelisting tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\n**Warning:** Apps must use the [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://developer.github.com/v3/auth#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/v3/auth/#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be whitelisted. Read more about whitelisting tokens in [the GitHub Help documentation](https://help.github.com/articles/about-identity-and-access-management-with-saml-single-sign-on).\n\nhttps://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -644,11 +630,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", + "parentId": "__FLD_17__", "_id": "__REQ_21__", "_type": "request", "name": "Get-or-create an authorization for a specific app", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\n**Warning:** Apps must use the [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/v3/auth/#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nhttps://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\n**Warning:** Apps must use the [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/v3/auth/#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nhttps://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -660,11 +646,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", + "parentId": "__FLD_17__", "_id": "__REQ_22__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\n**Warning:** Apps must use the [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\n**Warning:** Apps must use the [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -676,11 +662,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", + "parentId": "__FLD_17__", "_id": "__REQ_23__", "_type": "request", "name": "Get a single authorization", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nhttps://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nhttps://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -692,11 +678,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", + "parentId": "__FLD_17__", "_id": "__REQ_24__", "_type": "request", "name": "Update an existing authorization", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -708,11 +694,11 @@ "parameters": [] }, { - "parentId": "__FLD_16__", + "parentId": "__FLD_17__", "_id": "__REQ_25__", "_type": "request", "name": "Delete an authorization", - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nhttps://developer.github.com/v3/oauth_authorizations/#delete-an-authorization", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nhttps://developer.github.com/v3/oauth_authorizations/#delete-an-authorization", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -724,7 +710,7 @@ "parameters": [] }, { - "parentId": "__FLD_5__", + "parentId": "__FLD_6__", "_id": "__REQ_26__", "_type": "request", "name": "List all codes of conduct", @@ -745,7 +731,7 @@ "parameters": [] }, { - "parentId": "__FLD_5__", + "parentId": "__FLD_6__", "_id": "__REQ_27__", "_type": "request", "name": "Get an individual code of conduct", @@ -766,7 +752,7 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_28__", "_type": "request", "name": "Create a content attachment", @@ -787,7 +773,7 @@ "parameters": [] }, { - "parentId": "__FLD_6__", + "parentId": "__FLD_7__", "_id": "__REQ_29__", "_type": "request", "name": "Get", @@ -803,7 +789,7 @@ "parameters": [] }, { - "parentId": "__FLD_2__", + "parentId": "__FLD_3__", "_id": "__REQ_30__", "_type": "request", "name": "List public events", @@ -830,7 +816,7 @@ ] }, { - "parentId": "__FLD_2__", + "parentId": "__FLD_3__", "_id": "__REQ_31__", "_type": "request", "name": "List feeds", @@ -846,11 +832,11 @@ "parameters": [] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_32__", "_type": "request", - "name": "List the authenticated user's gists or if called anonymously, this will return all public gists", - "description": "\n\nhttps://developer.github.com/v3/gists/#list-a-users-gists", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://developer.github.com/v3/gists/#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -877,7 +863,7 @@ ] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_33__", "_type": "request", "name": "Create a gist", @@ -893,11 +879,11 @@ "parameters": [] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_34__", "_type": "request", - "name": "List all public gists", - "description": "List all public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/v3/gists/#list-all-public-gists", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/v3/gists/#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -924,7 +910,7 @@ ] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_35__", "_type": "request", "name": "List starred gists", @@ -955,11 +941,11 @@ ] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_36__", "_type": "request", - "name": "Get a single gist", - "description": "\n\nhttps://developer.github.com/v3/gists/#get-a-single-gist", + "name": "Get a gist", + "description": "\n\nhttps://developer.github.com/v3/gists/#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -971,11 +957,11 @@ "parameters": [] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_37__", "_type": "request", - "name": "Edit a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/v3/gists/#edit-a-gist", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/v3/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -987,7 +973,7 @@ "parameters": [] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_38__", "_type": "request", "name": "Delete a gist", @@ -1003,7 +989,7 @@ "parameters": [] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_39__", "_type": "request", "name": "List comments on a gist", @@ -1030,7 +1016,7 @@ ] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_40__", "_type": "request", "name": "Create a comment", @@ -1046,7 +1032,7 @@ "parameters": [] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_41__", "_type": "request", "name": "Get a single comment", @@ -1062,7 +1048,7 @@ "parameters": [] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_42__", "_type": "request", "name": "Edit a comment", @@ -1078,7 +1064,7 @@ "parameters": [] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_43__", "_type": "request", "name": "Delete a comment", @@ -1094,7 +1080,7 @@ "parameters": [] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_44__", "_type": "request", "name": "List gist commits", @@ -1121,7 +1107,7 @@ ] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_45__", "_type": "request", "name": "Fork a gist", @@ -1137,7 +1123,7 @@ "parameters": [] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_46__", "_type": "request", "name": "List gist forks", @@ -1164,7 +1150,7 @@ ] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_47__", "_type": "request", "name": "Star a gist", @@ -1180,7 +1166,7 @@ "parameters": [] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_48__", "_type": "request", "name": "Unstar a gist", @@ -1196,7 +1182,7 @@ "parameters": [] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_49__", "_type": "request", "name": "Check if a gist is starred", @@ -1212,7 +1198,7 @@ "parameters": [] }, { - "parentId": "__FLD_7__", + "parentId": "__FLD_8__", "_id": "__REQ_50__", "_type": "request", "name": "Get a specific revision of a gist", @@ -1228,11 +1214,11 @@ "parameters": [] }, { - "parentId": "__FLD_9__", + "parentId": "__FLD_10__", "_id": "__REQ_51__", "_type": "request", "name": "Listing available templates", - "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/v3/repos/#create).\n\nhttps://developer.github.com/v3/gitignore/#listing-available-templates", + "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/v3/repos/#create-a-repository-for-the-authenticated-user).\n\nhttps://developer.github.com/v3/gitignore/#listing-available-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1244,7 +1230,7 @@ "parameters": [] }, { - "parentId": "__FLD_9__", + "parentId": "__FLD_10__", "_id": "__REQ_52__", "_type": "request", "name": "Get a single template", @@ -1260,7 +1246,7 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_53__", "_type": "request", "name": "List repositories", @@ -1292,7 +1278,7 @@ ] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_54__", "_type": "request", "name": "Revoke an installation token", @@ -1313,11 +1299,11 @@ "parameters": [] }, { - "parentId": "__FLD_11__", + "parentId": "__FLD_12__", "_id": "__REQ_55__", "_type": "request", - "name": "List all issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#list-issues", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not necessarily assigned to you. See the [Parameters table](https://developer.github.com/v3/issues/#parameters) for more information.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#list-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -1373,7 +1359,7 @@ ] }, { - "parentId": "__FLD_24__", + "parentId": "__FLD_25__", "_id": "__REQ_56__", "_type": "request", "name": "Search issues", @@ -1389,7 +1375,7 @@ "parameters": [] }, { - "parentId": "__FLD_24__", + "parentId": "__FLD_25__", "_id": "__REQ_57__", "_type": "request", "name": "Search repositories", @@ -1422,7 +1408,7 @@ ] }, { - "parentId": "__FLD_24__", + "parentId": "__FLD_25__", "_id": "__REQ_58__", "_type": "request", "name": "Email search", @@ -1438,7 +1424,7 @@ "parameters": [] }, { - "parentId": "__FLD_24__", + "parentId": "__FLD_25__", "_id": "__REQ_59__", "_type": "request", "name": "Search users", @@ -1467,7 +1453,7 @@ ] }, { - "parentId": "__FLD_12__", + "parentId": "__FLD_13__", "_id": "__REQ_60__", "_type": "request", "name": "List commonly used licenses", @@ -1483,7 +1469,7 @@ "parameters": [] }, { - "parentId": "__FLD_12__", + "parentId": "__FLD_13__", "_id": "__REQ_61__", "_type": "request", "name": "Get an individual license", @@ -1499,7 +1485,7 @@ "parameters": [] }, { - "parentId": "__FLD_13__", + "parentId": "__FLD_14__", "_id": "__REQ_62__", "_type": "request", "name": "Render an arbitrary Markdown document", @@ -1515,7 +1501,7 @@ "parameters": [] }, { - "parentId": "__FLD_13__", + "parentId": "__FLD_14__", "_id": "__REQ_63__", "_type": "request", "name": "Render a Markdown document in raw mode", @@ -1531,11 +1517,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_64__", "_type": "request", - "name": "Check if a GitHub account is associated with any Marketplace listing", - "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#check-if-a-github-account-is-associated-with-any-marketplace-listing", + "name": "Get a subscription plan for an account", + "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1544,25 +1530,14 @@ "method": "GET", "url": "{{ github_api_root }}/marketplace_listing/accounts/{{ account_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_65__", "_type": "request", - "name": "List all plans for your Marketplace listing", - "description": "GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#list-all-plans-for-your-marketplace-listing", + "name": "List plans", + "description": "Lists all plans that are part of your GitHub Marketplace listing.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#list-plans", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1585,11 +1560,11 @@ ] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_66__", "_type": "request", - "name": "List all GitHub accounts (user or organization) on a specific plan", - "description": "Returns any accounts associated with a plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#list-all-github-accounts-user-or-organization-on-a-specific-plan", + "name": "List accounts for a plan", + "description": "Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1621,11 +1596,11 @@ ] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_67__", "_type": "request", - "name": "Check if a GitHub account is associated with any Marketplace listing (stubbed)", - "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#check-if-a-github-account-is-associated-with-any-marketplace-listing", + "name": "Get a subscription plan for an account (stubbed)", + "description": "Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account-stubbed", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1634,25 +1609,14 @@ "method": "GET", "url": "{{ github_api_root }}/marketplace_listing/stubbed/accounts/{{ account_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_68__", "_type": "request", - "name": "List all plans for your Marketplace listing (stubbed)", - "description": "GitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#list-all-plans-for-your-marketplace-listing", + "name": "List plans (stubbed)", + "description": "Lists all plans that are part of your GitHub Marketplace listing.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#list-plans-stubbed", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1675,11 +1639,11 @@ ] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_69__", "_type": "request", - "name": "List all GitHub accounts (user or organization) on a specific plan (stubbed)", - "description": "Returns any accounts associated with a plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#list-all-github-accounts-user-or-organization-on-a-specific-plan", + "name": "List accounts for a plan (stubbed)", + "description": "Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.\n\nhttps://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan-stubbed", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1711,7 +1675,7 @@ ] }, { - "parentId": "__FLD_14__", + "parentId": "__FLD_15__", "_id": "__REQ_70__", "_type": "request", "name": "Get", @@ -1727,7 +1691,7 @@ "parameters": [] }, { - "parentId": "__FLD_2__", + "parentId": "__FLD_3__", "_id": "__REQ_71__", "_type": "request", "name": "List public events for a network of repositories", @@ -1754,7 +1718,7 @@ ] }, { - "parentId": "__FLD_2__", + "parentId": "__FLD_3__", "_id": "__REQ_72__", "_type": "request", "name": "List your notifications", @@ -1799,7 +1763,7 @@ ] }, { - "parentId": "__FLD_2__", + "parentId": "__FLD_3__", "_id": "__REQ_73__", "_type": "request", "name": "Mark as read", @@ -1815,7 +1779,7 @@ "parameters": [] }, { - "parentId": "__FLD_2__", + "parentId": "__FLD_3__", "_id": "__REQ_74__", "_type": "request", "name": "View a single thread", @@ -1831,7 +1795,7 @@ "parameters": [] }, { - "parentId": "__FLD_2__", + "parentId": "__FLD_3__", "_id": "__REQ_75__", "_type": "request", "name": "Mark a thread as read", @@ -1847,7 +1811,7 @@ "parameters": [] }, { - "parentId": "__FLD_2__", + "parentId": "__FLD_3__", "_id": "__REQ_76__", "_type": "request", "name": "Get a thread subscription", @@ -1863,7 +1827,7 @@ "parameters": [] }, { - "parentId": "__FLD_2__", + "parentId": "__FLD_3__", "_id": "__REQ_77__", "_type": "request", "name": "Set a thread subscription", @@ -1879,7 +1843,7 @@ "parameters": [] }, { - "parentId": "__FLD_2__", + "parentId": "__FLD_3__", "_id": "__REQ_78__", "_type": "request", "name": "Delete a thread subscription", @@ -1895,7 +1859,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_79__", "_type": "request", "name": "List all organizations", @@ -1926,7 +1890,7 @@ ] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_80__", "_type": "request", "name": "Get an organization", @@ -1947,11 +1911,11 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_81__", "_type": "request", "name": "Edit an organization", - "description": "\n\n**Parameter Deprecation Notice:** GitHub 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. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://developer.github.com/v3/orgs/#edit-an-organization", + "description": "\n\n**Parameter Deprecation Notice:** GitHub 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).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://developer.github.com/v3/orgs/#edit-an-organization", "headers": [ { "name": "Accept", @@ -1968,7 +1932,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_82__", "_type": "request", "name": "List blocked users", @@ -1984,7 +1948,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_83__", "_type": "request", "name": "Check whether a user is blocked from an organization", @@ -2000,7 +1964,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_84__", "_type": "request", "name": "Block a user", @@ -2016,7 +1980,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_85__", "_type": "request", "name": "Unblock a user", @@ -2032,7 +1996,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_86__", "_type": "request", "name": "List credential authorizations for an organization", @@ -2048,7 +2012,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_87__", "_type": "request", "name": "Remove a credential authorization for an organization", @@ -2064,7 +2028,7 @@ "parameters": [] }, { - "parentId": "__FLD_2__", + "parentId": "__FLD_3__", "_id": "__REQ_88__", "_type": "request", "name": "List public events for an organization", @@ -2091,7 +2055,7 @@ ] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_89__", "_type": "request", "name": "List hooks", @@ -2118,7 +2082,7 @@ ] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_90__", "_type": "request", "name": "Create a hook", @@ -2134,7 +2098,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_91__", "_type": "request", "name": "Get single hook", @@ -2150,7 +2114,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_92__", "_type": "request", "name": "Edit a hook", @@ -2166,7 +2130,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_93__", "_type": "request", "name": "Delete a hook", @@ -2182,7 +2146,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_94__", "_type": "request", "name": "Ping a hook", @@ -2198,7 +2162,7 @@ "parameters": [] }, { - "parentId": "__FLD_3__", + "parentId": "__FLD_4__", "_id": "__REQ_95__", "_type": "request", "name": "Get an organization installation", @@ -2219,7 +2183,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_96__", "_type": "request", "name": "List installations for an organization", @@ -2251,7 +2215,7 @@ ] }, { - "parentId": "__FLD_10__", + "parentId": "__FLD_11__", "_id": "__REQ_97__", "_type": "request", "name": "Get interaction restrictions for an organization", @@ -2272,7 +2236,7 @@ "parameters": [] }, { - "parentId": "__FLD_10__", + "parentId": "__FLD_11__", "_id": "__REQ_98__", "_type": "request", "name": "Add or update interaction restrictions for an organization", @@ -2293,7 +2257,7 @@ "parameters": [] }, { - "parentId": "__FLD_10__", + "parentId": "__FLD_11__", "_id": "__REQ_99__", "_type": "request", "name": "Remove interaction restrictions for an organization", @@ -2314,7 +2278,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_100__", "_type": "request", "name": "List pending organization invitations", @@ -2341,7 +2305,7 @@ ] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_101__", "_type": "request", "name": "Create organization invitation", @@ -2357,7 +2321,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_102__", "_type": "request", "name": "List organization invitation teams", @@ -2384,11 +2348,11 @@ ] }, { - "parentId": "__FLD_11__", + "parentId": "__FLD_12__", "_id": "__REQ_103__", "_type": "request", - "name": "List all issues for a given organization assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#list-issues", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -2444,7 +2408,7 @@ ] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_104__", "_type": "request", "name": "Members list", @@ -2481,7 +2445,7 @@ ] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_105__", "_type": "request", "name": "Check membership", @@ -2497,7 +2461,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_106__", "_type": "request", "name": "Remove a member", @@ -2513,7 +2477,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_107__", "_type": "request", "name": "Get organization membership", @@ -2529,7 +2493,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_108__", "_type": "request", "name": "Add or update organization membership", @@ -2545,7 +2509,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_109__", "_type": "request", "name": "Remove organization membership", @@ -2561,7 +2525,7 @@ "parameters": [] }, { - "parentId": "__FLD_15__", + "parentId": "__FLD_16__", "_id": "__REQ_110__", "_type": "request", "name": "Start an organization migration", @@ -2577,7 +2541,7 @@ "parameters": [] }, { - "parentId": "__FLD_15__", + "parentId": "__FLD_16__", "_id": "__REQ_111__", "_type": "request", "name": "List organization migrations", @@ -2609,7 +2573,7 @@ ] }, { - "parentId": "__FLD_15__", + "parentId": "__FLD_16__", "_id": "__REQ_112__", "_type": "request", "name": "Get the status of an organization migration", @@ -2630,7 +2594,7 @@ "parameters": [] }, { - "parentId": "__FLD_15__", + "parentId": "__FLD_16__", "_id": "__REQ_113__", "_type": "request", "name": "Download an organization migration archive", @@ -2651,7 +2615,7 @@ "parameters": [] }, { - "parentId": "__FLD_15__", + "parentId": "__FLD_16__", "_id": "__REQ_114__", "_type": "request", "name": "Delete an organization migration archive", @@ -2672,7 +2636,7 @@ "parameters": [] }, { - "parentId": "__FLD_15__", + "parentId": "__FLD_16__", "_id": "__REQ_115__", "_type": "request", "name": "Unlock an organization repository", @@ -2693,7 +2657,7 @@ "parameters": [] }, { - "parentId": "__FLD_15__", + "parentId": "__FLD_16__", "_id": "__REQ_116__", "_type": "request", "name": "List repositories in an organization migration", @@ -2725,7 +2689,7 @@ ] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_117__", "_type": "request", "name": "List outside collaborators", @@ -2757,7 +2721,7 @@ ] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_118__", "_type": "request", "name": "Remove outside collaborator", @@ -2773,7 +2737,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_119__", "_type": "request", "name": "Convert member to outside collaborator", @@ -2789,7 +2753,7 @@ "parameters": [] }, { - "parentId": "__FLD_18__", + "parentId": "__FLD_19__", "_id": "__REQ_120__", "_type": "request", "name": "List organization projects", @@ -2826,7 +2790,7 @@ ] }, { - "parentId": "__FLD_18__", + "parentId": "__FLD_19__", "_id": "__REQ_121__", "_type": "request", "name": "Create an organization project", @@ -2847,7 +2811,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_122__", "_type": "request", "name": "Public members list", @@ -2874,7 +2838,7 @@ ] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_123__", "_type": "request", "name": "Check public membership", @@ -2890,7 +2854,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_124__", "_type": "request", "name": "Publicize a user's membership", @@ -2906,7 +2870,7 @@ "parameters": [] }, { - "parentId": "__FLD_17__", + "parentId": "__FLD_18__", "_id": "__REQ_125__", "_type": "request", "name": "Conceal a user's membership", @@ -2922,7 +2886,7 @@ "parameters": [] }, { - "parentId": "__FLD_22__", + "parentId": "__FLD_23__", "_id": "__REQ_126__", "_type": "request", "name": "List organization repositories", @@ -2967,11 +2931,11 @@ ] }, { - "parentId": "__FLD_22__", + "parentId": "__FLD_23__", "_id": "__REQ_127__", "_type": "request", - "name": "Creates a new repository in the specified organization", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/v3/repos/#create", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/v3/repos/#create-an-organization-repository", "headers": [ { "name": "Accept", @@ -2988,7 +2952,7 @@ "parameters": [] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_128__", "_type": "request", "name": "List IdP groups in an organization", @@ -3015,7 +2979,7 @@ ] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_129__", "_type": "request", "name": "List teams", @@ -3042,7 +3006,7 @@ ] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_130__", "_type": "request", "name": "Create team", @@ -3058,7 +3022,7 @@ "parameters": [] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_131__", "_type": "request", "name": "Get team by name", @@ -3074,7 +3038,7 @@ "parameters": [] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_132__", "_type": "request", "name": "Edit team", @@ -3090,7 +3054,7 @@ "parameters": [] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_133__", "_type": "request", "name": "Delete team", @@ -3106,7 +3070,7 @@ "parameters": [] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_134__", "_type": "request", "name": "List discussions", @@ -3143,7 +3107,7 @@ ] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_135__", "_type": "request", "name": "Create a discussion", @@ -3164,7 +3128,7 @@ "parameters": [] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_136__", "_type": "request", "name": "Get a single discussion", @@ -3185,7 +3149,7 @@ "parameters": [] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_137__", "_type": "request", "name": "Edit a discussion", @@ -3206,7 +3170,7 @@ "parameters": [] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_138__", "_type": "request", "name": "Delete a discussion", @@ -3222,7 +3186,7 @@ "parameters": [] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_139__", "_type": "request", "name": "List comments", @@ -3259,7 +3223,7 @@ ] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_140__", "_type": "request", "name": "Create a comment", @@ -3280,7 +3244,7 @@ "parameters": [] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_141__", "_type": "request", "name": "Get a single comment", @@ -3301,7 +3265,7 @@ "parameters": [] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_142__", "_type": "request", "name": "Edit a comment", @@ -3322,7 +3286,7 @@ "parameters": [] }, { - "parentId": "__FLD_25__", + "parentId": "__FLD_26__", "_id": "__REQ_143__", "_type": "request", "name": "Delete a comment", @@ -3338,7 +3302,7 @@ "parameters": [] }, { - "parentId": "__FLD_21__", + "parentId": "__FLD_22__", "_id": "__REQ_144__", "_type": "request", "name": "List reactions for a team discussion comment", @@ -3374,7 +3338,7 @@ ] }, { - "parentId": "__FLD_21__", + "parentId": "__FLD_22__", "_id": "__REQ_145__", "_type": "request", "name": "Create reaction for a team discussion comment", @@ -3395,9 +3359,30 @@ "parameters": [] }, { - "parentId": "__FLD_21__", + "parentId": "__FLD_22__", "_id": "__REQ_146__", "_type": "request", + "name": "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`.\n\nDelete a reaction to a [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/reactions/#delete-team-discussion-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_22__", + "_id": "__REQ_147__", + "_type": "request", "name": "List reactions for a team discussion", "description": "List the reactions to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**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`.\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion", "headers": [ @@ -3431,8 +3416,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_147__", + "parentId": "__FLD_22__", + "_id": "__REQ_148__", "_type": "request", "name": "Create reaction for a team discussion", "description": "Create a reaction to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**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`.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion", @@ -3452,8 +3437,29 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_148__", + "parentId": "__FLD_22__", + "_id": "__REQ_149__", + "_type": "request", + "name": "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`.\n\nDelete a reaction to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/reactions/#delete-team-discussion-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}/discussions/{{ discussion_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_26__", + "_id": "__REQ_150__", "_type": "request", "name": "List pending team invitations", "description": "The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/invitations`.\n\nhttps://developer.github.com/v3/teams/members/#list-pending-team-invitations", @@ -3479,8 +3485,8 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_149__", + "parentId": "__FLD_26__", + "_id": "__REQ_151__", "_type": "request", "name": "List team members", "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/v3/teams/members/#list-team-members", @@ -3511,8 +3517,8 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_150__", + "parentId": "__FLD_26__", + "_id": "__REQ_152__", "_type": "request", "name": "Get team membership", "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**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`.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create team](https://developer.github.com/v3/teams#create-team).\n\nhttps://developer.github.com/v3/teams/members/#get-team-membership", @@ -3527,8 +3533,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_151__", + "parentId": "__FLD_26__", + "_id": "__REQ_153__", "_type": "request", "name": "Add or update team membership", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\n**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 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](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn 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.\n\nIf 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.\n\n**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`.\n\nhttps://developer.github.com/v3/teams/members/#add-or-update-team-membership", @@ -3543,8 +3549,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_152__", + "parentId": "__FLD_26__", + "_id": "__REQ_154__", "_type": "request", "name": "Remove team membership", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo 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.\n\n**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 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](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**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`.\n\nhttps://developer.github.com/v3/teams/members/#remove-team-membership", @@ -3559,8 +3565,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_153__", + "parentId": "__FLD_26__", + "_id": "__REQ_155__", "_type": "request", "name": "List team projects", "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/projects`.\n\nhttps://developer.github.com/v3/teams/#list-team-projects", @@ -3591,8 +3597,8 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_154__", + "parentId": "__FLD_26__", + "_id": "__REQ_156__", "_type": "request", "name": "Review a team 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.\n\n**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`.\n\nhttps://developer.github.com/v3/teams/#review-a-team-project", @@ -3612,8 +3618,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_155__", + "parentId": "__FLD_26__", + "_id": "__REQ_157__", "_type": "request", "name": "Add or update team project", "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.\n\n**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`.\n\nhttps://developer.github.com/v3/teams/#add-or-update-team-project", @@ -3633,8 +3639,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_156__", + "parentId": "__FLD_26__", + "_id": "__REQ_158__", "_type": "request", "name": "Remove team project", "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.\n\n**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`.\n\nhttps://developer.github.com/v3/teams/#remove-team-project", @@ -3649,8 +3655,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_157__", + "parentId": "__FLD_26__", + "_id": "__REQ_159__", "_type": "request", "name": "List team repos", "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/repos`.\n\nhttps://developer.github.com/v3/teams/#list-team-repos", @@ -3676,8 +3682,8 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_158__", + "parentId": "__FLD_26__", + "_id": "__REQ_160__", "_type": "request", "name": "Check if a team manages a repository", "description": "Checks whether a team has `admin`, `push`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\n**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`.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository", @@ -3692,8 +3698,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_159__", + "parentId": "__FLD_26__", + "_id": "__REQ_161__", "_type": "request", "name": "Add or update team repository", "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 verbs](https://developer.github.com/v3/#http-verbs).\"\n\n**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`.\n\nhttps://developer.github.com/v3/teams/#add-or-update-team-repository", @@ -3708,8 +3714,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_160__", + "parentId": "__FLD_26__", + "_id": "__REQ_162__", "_type": "request", "name": "Remove team repository", "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.\n\n**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`.\n\nhttps://developer.github.com/v3/teams/#remove-team-repository", @@ -3724,8 +3730,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_161__", + "parentId": "__FLD_26__", + "_id": "__REQ_163__", "_type": "request", "name": "List IdP groups for a team", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups connected to a team on GitHub.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/team-sync/group-mappings`.\n\nhttps://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team", @@ -3740,8 +3746,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_162__", + "parentId": "__FLD_26__", + "_id": "__REQ_164__", "_type": "request", "name": "Create or update IdP group connections", "description": "Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nCreates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/:org_id/team/:team_id/team-sync/group-mappings`.\n\nhttps://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections", @@ -3756,8 +3762,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_163__", + "parentId": "__FLD_26__", + "_id": "__REQ_165__", "_type": "request", "name": "List child teams", "description": "Lists the child teams of the team requested by `:team_slug`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/teams`.\n\n\n\nhttps://developer.github.com/v3/teams/#list-child-teams", @@ -3783,8 +3789,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_164__", + "parentId": "__FLD_19__", + "_id": "__REQ_166__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://developer.github.com/v3/projects/cards/#get-a-project-card", @@ -3804,8 +3810,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_165__", + "parentId": "__FLD_19__", + "_id": "__REQ_167__", "_type": "request", "name": "Update a project card", "description": "\n\nhttps://developer.github.com/v3/projects/cards/#update-a-project-card", @@ -3825,8 +3831,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_166__", + "parentId": "__FLD_19__", + "_id": "__REQ_168__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://developer.github.com/v3/projects/cards/#delete-a-project-card", @@ -3846,8 +3852,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_167__", + "parentId": "__FLD_19__", + "_id": "__REQ_169__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://developer.github.com/v3/projects/cards/#move-a-project-card", @@ -3867,8 +3873,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_168__", + "parentId": "__FLD_19__", + "_id": "__REQ_170__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://developer.github.com/v3/projects/columns/#get-a-project-column", @@ -3888,8 +3894,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_169__", + "parentId": "__FLD_19__", + "_id": "__REQ_171__", "_type": "request", "name": "Update a project column", "description": "\n\nhttps://developer.github.com/v3/projects/columns/#update-a-project-column", @@ -3909,8 +3915,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_170__", + "parentId": "__FLD_19__", + "_id": "__REQ_172__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://developer.github.com/v3/projects/columns/#delete-a-project-column", @@ -3930,8 +3936,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_171__", + "parentId": "__FLD_19__", + "_id": "__REQ_173__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://developer.github.com/v3/projects/cards/#list-project-cards", @@ -3967,8 +3973,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_172__", + "parentId": "__FLD_19__", + "_id": "__REQ_174__", "_type": "request", "name": "Create a project card", "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/v3/projects/cards/#create-a-project-card", @@ -3988,8 +3994,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_173__", + "parentId": "__FLD_19__", + "_id": "__REQ_175__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://developer.github.com/v3/projects/columns/#move-a-project-column", @@ -4009,8 +4015,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_174__", + "parentId": "__FLD_19__", + "_id": "__REQ_176__", "_type": "request", "name": "Get a project", "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/v3/projects/#get-a-project", @@ -4027,22 +4033,11 @@ "method": "GET", "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_175__", + "parentId": "__FLD_19__", + "_id": "__REQ_177__", "_type": "request", "name": "Update a project", "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/v3/projects/#update-a-project", @@ -4062,8 +4057,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_176__", + "parentId": "__FLD_19__", + "_id": "__REQ_178__", "_type": "request", "name": "Delete a project", "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://developer.github.com/v3/projects/#delete-a-project", @@ -4083,8 +4078,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_177__", + "parentId": "__FLD_19__", + "_id": "__REQ_179__", "_type": "request", "name": "List collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://developer.github.com/v3/projects/collaborators/#list-collaborators", @@ -4120,8 +4115,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_178__", + "parentId": "__FLD_19__", + "_id": "__REQ_180__", "_type": "request", "name": "Add user as a collaborator", "description": "Adds a collaborator to a an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://developer.github.com/v3/projects/collaborators/#add-user-as-a-collaborator", @@ -4141,8 +4136,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_179__", + "parentId": "__FLD_19__", + "_id": "__REQ_181__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://developer.github.com/v3/projects/collaborators/#remove-user-as-a-collaborator", @@ -4162,8 +4157,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_180__", + "parentId": "__FLD_19__", + "_id": "__REQ_182__", "_type": "request", "name": "Review a user's permission level", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://developer.github.com/v3/projects/collaborators/#review-a-users-permission-level", @@ -4183,8 +4178,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_181__", + "parentId": "__FLD_19__", + "_id": "__REQ_183__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://developer.github.com/v3/projects/columns/#list-project-columns", @@ -4215,8 +4210,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_182__", + "parentId": "__FLD_19__", + "_id": "__REQ_184__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://developer.github.com/v3/projects/columns/#create-a-project-column", @@ -4236,8 +4231,8 @@ "parameters": [] }, { - "parentId": "__FLD_20__", - "_id": "__REQ_183__", + "parentId": "__FLD_21__", + "_id": "__REQ_185__", "_type": "request", "name": "Get your current rate limit status", "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Understanding your rate limit status**\n\nThe Search API has a [custom rate limit](https://developer.github.com/v3/search/#rate-limit), separate from the rate limit governing the rest of the REST API. The GraphQL API also has a [custom rate limit](https://developer.github.com/v4/guides/resource-limitations/#rate-limit) that is separate from and calculated differently than rate limits in the REST API.\n\nFor these reasons, the Rate Limit API response categorizes your rate limit. Under `resources`, you'll see four objects:\n\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the [Search API](https://developer.github.com/v3/search/).\n* The `graphql` object provides your rate limit status for the [GraphQL API](https://developer.github.com/v4/).\n* The `integration_manifest` object provides your rate limit status for the [GitHub App Manifest code conversion](https://developer.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration) endpoint.\n\nFor more information on the headers and values in the rate limit response, see \"[Rate limiting](https://developer.github.com/v3/#rate-limiting).\"\n\nThe `rate` object (shown at the bottom of the response above) is deprecated.\n\nIf you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://developer.github.com/v3/rate_limit/#get-your-current-rate-limit-status", @@ -4252,11 +4247,11 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_184__", + "parentId": "__FLD_22__", + "_id": "__REQ_186__", "_type": "request", - "name": "Delete a reaction", - "description": "OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/).\n\nhttps://developer.github.com/v3/reactions/#delete-a-reaction", + "name": "Delete a reaction (Legacy)", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/).\n\nhttps://developer.github.com/v3/reactions/#delete-a-reaction-legacy", "headers": [ { "name": "Accept", @@ -4273,15 +4268,15 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_185__", + "parentId": "__FLD_23__", + "_id": "__REQ_187__", "_type": "request", - "name": "Get", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/v3/repos/#get", + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/v3/repos/#get-a-repository", "headers": [ { "name": "Accept", - "value": "application/vnd.github.nebula-preview+json" + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" } ], "authentication": { @@ -4294,11 +4289,11 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_186__", + "parentId": "__FLD_23__", + "_id": "__REQ_188__", "_type": "request", - "name": "Edit", - "description": "**Note**: To edit a repository's topics, use the [`topics` endpoint](https://developer.github.com/v3/repos/#replace-all-topics-for-a-repository).\n\nhttps://developer.github.com/v3/repos/#edit", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://developer.github.com/v3/repos/#replace-all-repository-topics) endpoint.\n\nhttps://developer.github.com/v3/repos/#update-a-repository", "headers": [ { "name": "Accept", @@ -4315,8 +4310,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_187__", + "parentId": "__FLD_23__", + "_id": "__REQ_189__", "_type": "request", "name": "Delete a repository", "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:\n\nhttps://developer.github.com/v3/repos/#delete-a-repository", @@ -4331,18 +4326,18 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_188__", + "parentId": "__FLD_2__", + "_id": "__REQ_190__", "_type": "request", - "name": "List assignees", - "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://developer.github.com/v3/issues/assignees/#list-assignees", + "name": "List artifacts for a repository", + "description": "Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/artifacts/#list-artifacts-for-a-repository", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts", "body": {}, "parameters": [ { @@ -4358,82 +4353,111 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_189__", + "parentId": "__FLD_2__", + "_id": "__REQ_191__", "_type": "request", - "name": "Check assignee", - "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://developer.github.com/v3/issues/assignees/#check-assignee", + "name": "Get an artifact", + "description": "Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/artifacts/#get-an-artifact", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_190__", + "parentId": "__FLD_2__", + "_id": "__REQ_192__", "_type": "request", - "name": "Enable automated security fixes", - "description": "Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/#enable-automated-security-fixes", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.london-preview+json" - } - ], + "name": "Delete an artifact", + "description": "Deletes an artifact for a workflow run. Anyone with write access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/artifacts/#delete-an-artifact", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "PUT", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/automated-security-fixes", + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_191__", + "parentId": "__FLD_2__", + "_id": "__REQ_193__", "_type": "request", - "name": "Disable automated security fixes", - "description": "Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/#disable-automated-security-fixes", - "headers": [ - { - "name": "Accept", - "value": "application/vnd.github.london-preview+json" - } - ], + "name": "Download an artifact", + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. The `:archive_format` must be `zip`. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nCall this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag.\n\nhttps://developer.github.com/v3/actions/artifacts/#download-an-artifact", + "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, - "method": "DELETE", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/automated-security-fixes", + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/artifacts/{{ artifact_id }}/{{ archive_format }}", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_192__", + "parentId": "__FLD_2__", + "_id": "__REQ_194__", "_type": "request", - "name": "List branches", - "description": "\n\nhttps://developer.github.com/v3/repos/branches/#list-branches", + "name": "Get a workflow job", + "description": "Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/workflow_jobs/#get-a-workflow-job", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_195__", + "_type": "request", + "name": "List workflow job logs", + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nCall this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag.\n\nhttps://developer.github.com/v3/actions/workflow_jobs/#list-workflow-job-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/jobs/{{ job_id }}/logs", "body": {}, "parameters": [ { - "name": "protected", + "name": "per_page", + "value": 30, "disabled": false }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_196__", + "_type": "request", + "name": "List self-hosted runners for a repository", + "description": "Lists all self-hosted runners for a repository. Anyone with admin access to the repository can use this endpoint. GitHub Apps must have the `administration` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/self_hosted_runners/#list-self-hosted-runners-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners", + "body": {}, + "parameters": [ { "name": "per_page", "value": 30, @@ -4447,24 +4471,574 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_193__", + "parentId": "__FLD_2__", + "_id": "__REQ_197__", "_type": "request", - "name": "Get branch", - "description": "\n\nhttps://developer.github.com/v3/repos/branches/#get-branch", + "name": "List downloads for the self-hosted runner application", + "description": "Lists binaries for the self-hosted runner application that you can download and run. Anyone with admin access to the repository can use this endpoint. GitHub Apps must have the `administration` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/self_hosted_runners/#list-downloads-for-the-self-hosted-runner-application", "headers": [], "authentication": { "token": "{{ github_token }}", "type": "bearer" }, "method": "GET", - "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/downloads", "body": {}, "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_194__", + "parentId": "__FLD_2__", + "_id": "__REQ_198__", + "_type": "request", + "name": "Create a registration token", + "description": "Returns a token that you can pass to the `config` script. The token expires after one hour. Anyone with admin access to the repository can use this endpoint. GitHub Apps must have the `administration` permission to use this endpoint.\n\nConfigure your self-hosted runner, replacing TOKEN with the registration token provided by this endpoint.\n\n\n\nhttps://developer.github.com/v3/actions/self_hosted_runners/#create-a-registration-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/registration-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_199__", + "_type": "request", + "name": "Create a remove token", + "description": "Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour. Anyone with admin access to the repository can use this endpoint. GitHub Apps must have the `administration` permission to use this endpoint.\n\nRemove your self-hosted runner from a repository, replacing TOKEN with the remove token provided by this endpoint.\n\n\n\nhttps://developer.github.com/v3/actions/self_hosted_runners/#create-a-remove-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/remove-token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_200__", + "_type": "request", + "name": "Get a self-hosted runner", + "description": "Gets a specific self-hosted runner. Anyone with admin access to the repository can use this endpoint. GitHub Apps must have the `administration` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/self_hosted_runners/#get-a-self-hosted-runner", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_201__", + "_type": "request", + "name": "Remove a self-hosted runner", + "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. Anyone with admin access to the repository can use this endpoint. GitHub Apps must have the `administration` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/self_hosted_runners/#remove-a-self-hosted-runner", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runners/{{ runner_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_202__", + "_type": "request", + "name": "List repository workflow runs", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters).\n\nAnyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/workflow_runs/#list-repository-workflow-runs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_203__", + "_type": "request", + "name": "Get a workflow run", + "description": "Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/workflow_runs/#get-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_204__", + "_type": "request", + "name": "List workflow run artifacts", + "description": "Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/artifacts/#list-workflow-run-artifacts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/artifacts", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_205__", + "_type": "request", + "name": "Cancel a workflow run", + "description": "Cancels a workflow run using its `id`. Anyone with write access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/workflow_runs/#cancel-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/cancel", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_206__", + "_type": "request", + "name": "List jobs for a workflow run", + "description": "Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters).\n\nhttps://developer.github.com/v3/actions/workflow_jobs/#list-jobs-for-a-workflow-run", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/jobs", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_207__", + "_type": "request", + "name": "List workflow run logs", + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nCall this endpoint using the `-v` flag, which enables verbose output and allows you to see the download URL in the header. To download the file into the current working directory, specify the filename using the `-o` flag.\n\nhttps://developer.github.com/v3/actions/workflow_runs/#list-workflow-run-logs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/logs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_208__", + "_type": "request", + "name": "Re-run a workflow", + "description": "Re-runs your workflow run using its `id`. Anyone with write access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/workflow_runs/#re-run-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/runs/{{ run_id }}/rerun", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_209__", + "_type": "request", + "name": "List secrets for a repository", + "description": "Lists all secrets available in a repository without revealing their encrypted values. Anyone with write access to the repository can use this endpoint. GitHub Apps must have the `secrets` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/secrets/#list-secrets-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_210__", + "_type": "request", + "name": "Get your public key", + "description": "Gets your public key, which you must store. You need your public key to use other secrets endpoints. Use the returned `key` to encrypt your secrets. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `secrets` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/secrets/#get-your-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/public-key", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_211__", + "_type": "request", + "name": "Get a secret", + "description": "Gets a single secret without revealing its encrypted value. Anyone with write access to the repository can use this endpoint. GitHub Apps must have the `secrets` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/secrets/#get-a-secret", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_212__", + "_type": "request", + "name": "Create or update a secret for a repository", + "description": "Creates or updates a secret with an encrypted value. Encrypt your secret using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). Anyone with write access to the repository can use this endpoint. GitHub Apps must have the `secrets` permission to use this endpoint.\n\nEncrypt your secret using the [tweetsodium](https://github.com/mastahyeti/tweetsodium) library.\n\n\n\nEncrypt your secret using [pynacl](https://pynacl.readthedocs.io/en/stable/public/#nacl-public-sealedbox) with Python 3.\n\n\n\nEncrypt your secret using the [Sodium.Core](https://www.nuget.org/packages/Sodium.Core/) package.\n\n\n\nEncrypt your secret using the [rbnacl](https://github.com/RubyCrypto/rbnacl) gem.\n\n\n\nhttps://developer.github.com/v3/actions/secrets/#create-or-update-a-secret-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_213__", + "_type": "request", + "name": "Delete a secret from a repository", + "description": "Deletes a secret in a repository using the secret name. Anyone with write access to the repository can use this endpoint. GitHub Apps must have the `secrets` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/secrets/#delete-a-secret-from-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/secrets/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_214__", + "_type": "request", + "name": "List repository workflows", + "description": "Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/workflows/#list-repository-workflows", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_215__", + "_type": "request", + "name": "Get a workflow", + "description": "Gets a specific workflow. You can also replace `:workflow_id` with `:workflow_file_name`. For example, you could use `main.yml`. Anyone with read access to the repository can use this endpoint. GitHub Apps must have the `actions` permission to use this endpoint.\n\nhttps://developer.github.com/v3/actions/workflows/#get-a-workflow", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_2__", + "_id": "__REQ_216__", + "_type": "request", + "name": "List workflow runs", + "description": "List all workflow runs for a workflow. You can also replace `:workflow_id` with `:workflow_file_name`. For example, you could use `main.yml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters).\n\nAnyone with read access to the repository can use this endpoint.\n\nhttps://developer.github.com/v3/actions/workflow_runs/#list-workflow-runs", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/actions/workflows/{{ workflow_id }}/runs", + "body": {}, + "parameters": [ + { + "name": "actor", + "disabled": false + }, + { + "name": "branch", + "disabled": false + }, + { + "name": "event", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_12__", + "_id": "__REQ_217__", + "_type": "request", + "name": "List assignees", + "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://developer.github.com/v3/issues/assignees/#list-assignees", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_12__", + "_id": "__REQ_218__", + "_type": "request", + "name": "Check assignee", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://developer.github.com/v3/issues/assignees/#check-assignee", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_219__", + "_type": "request", + "name": "Enable automated security fixes", + "description": "Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/#enable-automated-security-fixes", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.london-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/automated-security-fixes", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_220__", + "_type": "request", + "name": "Disable automated security fixes", + "description": "Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/#disable-automated-security-fixes", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.london-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/automated-security-fixes", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_221__", + "_type": "request", + "name": "List branches", + "description": "\n\nhttps://developer.github.com/v3/repos/branches/#list-branches", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "body": {}, + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_222__", + "_type": "request", + "name": "Get branch", + "description": "\n\nhttps://developer.github.com/v3/repos/branches/#get-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_223__", "_type": "request", "name": "Get branch protection", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#get-branch-protection", @@ -4484,8 +5058,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_195__", + "parentId": "__FLD_23__", + "_id": "__REQ_224__", "_type": "request", "name": "Update branch protection", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://developer.github.com/v3/repos/branches/#update-branch-protection", @@ -4505,8 +5079,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_196__", + "parentId": "__FLD_23__", + "_id": "__REQ_225__", "_type": "request", "name": "Remove branch protection", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#remove-branch-protection", @@ -4521,8 +5095,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_197__", + "parentId": "__FLD_23__", + "_id": "__REQ_226__", "_type": "request", "name": "Get admin enforcement of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#get-admin-enforcement-of-protected-branch", @@ -4537,8 +5111,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_198__", + "parentId": "__FLD_23__", + "_id": "__REQ_227__", "_type": "request", "name": "Add admin enforcement of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/v3/repos/branches/#add-admin-enforcement-of-protected-branch", @@ -4553,8 +5127,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_199__", + "parentId": "__FLD_23__", + "_id": "__REQ_228__", "_type": "request", "name": "Remove admin enforcement of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/v3/repos/branches/#remove-admin-enforcement-of-protected-branch", @@ -4569,8 +5143,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_200__", + "parentId": "__FLD_23__", + "_id": "__REQ_229__", "_type": "request", "name": "Get pull request review enforcement of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#get-pull-request-review-enforcement-of-protected-branch", @@ -4590,8 +5164,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_201__", + "parentId": "__FLD_23__", + "_id": "__REQ_230__", "_type": "request", "name": "Update pull request review enforcement of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch", @@ -4611,8 +5185,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_202__", + "parentId": "__FLD_23__", + "_id": "__REQ_231__", "_type": "request", "name": "Remove pull request review enforcement of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#remove-pull-request-review-enforcement-of-protected-branch", @@ -4627,8 +5201,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_203__", + "parentId": "__FLD_23__", + "_id": "__REQ_232__", "_type": "request", "name": "Get required signatures of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/v3/repos/branches/#get-required-signatures-of-protected-branch", @@ -4648,8 +5222,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_204__", + "parentId": "__FLD_23__", + "_id": "__REQ_233__", "_type": "request", "name": "Add required signatures of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/v3/repos/branches/#add-required-signatures-of-protected-branch", @@ -4669,8 +5243,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_205__", + "parentId": "__FLD_23__", + "_id": "__REQ_234__", "_type": "request", "name": "Remove required signatures of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/v3/repos/branches/#remove-required-signatures-of-protected-branch", @@ -4690,8 +5264,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_206__", + "parentId": "__FLD_23__", + "_id": "__REQ_235__", "_type": "request", "name": "Get required status checks of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#get-required-status-checks-of-protected-branch", @@ -4706,8 +5280,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_207__", + "parentId": "__FLD_23__", + "_id": "__REQ_236__", "_type": "request", "name": "Update required status checks of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/v3/repos/branches/#update-required-status-checks-of-protected-branch", @@ -4722,8 +5296,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_208__", + "parentId": "__FLD_23__", + "_id": "__REQ_237__", "_type": "request", "name": "Remove required status checks of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#remove-required-status-checks-of-protected-branch", @@ -4738,8 +5312,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_209__", + "parentId": "__FLD_23__", + "_id": "__REQ_238__", "_type": "request", "name": "List required status checks contexts of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#list-required-status-checks-contexts-of-protected-branch", @@ -4754,8 +5328,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_210__", + "parentId": "__FLD_23__", + "_id": "__REQ_239__", "_type": "request", "name": "Replace required status checks contexts of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#replace-required-status-checks-contexts-of-protected-branch", @@ -4770,8 +5344,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_211__", + "parentId": "__FLD_23__", + "_id": "__REQ_240__", "_type": "request", "name": "Add required status checks contexts of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#add-required-status-checks-contexts-of-protected-branch", @@ -4786,8 +5360,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_212__", + "parentId": "__FLD_23__", + "_id": "__REQ_241__", "_type": "request", "name": "Remove required status checks contexts of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/branches/#remove-required-status-checks-contexts-of-protected-branch", @@ -4802,8 +5376,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_213__", + "parentId": "__FLD_23__", + "_id": "__REQ_242__", "_type": "request", "name": "Get restrictions of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch. {{#note}}\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://developer.github.com/v3/repos/branches/#get-restrictions-of-protected-branch", @@ -4818,8 +5392,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_214__", + "parentId": "__FLD_23__", + "_id": "__REQ_243__", "_type": "request", "name": "Remove restrictions of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.\n\nhttps://developer.github.com/v3/repos/branches/#remove-restrictions-of-protected-branch", @@ -4834,8 +5408,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_215__", + "parentId": "__FLD_23__", + "_id": "__REQ_244__", "_type": "request", "name": "Get apps with access to protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://developer.github.com/v3/repos/branches/#list-apps-with-access-to-protected-branch", @@ -4850,8 +5424,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_216__", + "parentId": "__FLD_23__", + "_id": "__REQ_245__", "_type": "request", "name": "Replace app restrictions of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#replace-app-restrictions-of-protected-branch", @@ -4866,8 +5440,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_217__", + "parentId": "__FLD_23__", + "_id": "__REQ_246__", "_type": "request", "name": "Add app restrictions of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#add-app-restrictions-of-protected-branch", @@ -4882,8 +5456,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_218__", + "parentId": "__FLD_23__", + "_id": "__REQ_247__", "_type": "request", "name": "Remove app restrictions of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#remove-app-restrictions-of-protected-branch", @@ -4898,8 +5472,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_219__", + "parentId": "__FLD_23__", + "_id": "__REQ_248__", "_type": "request", "name": "Get teams with access to protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.\n\nhttps://developer.github.com/v3/repos/branches/#list-teams-with-access-to-protected-branch", @@ -4914,8 +5488,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_220__", + "parentId": "__FLD_23__", + "_id": "__REQ_249__", "_type": "request", "name": "Replace team restrictions of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#replace-team-restrictions-of-protected-branch", @@ -4930,8 +5504,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_221__", + "parentId": "__FLD_23__", + "_id": "__REQ_250__", "_type": "request", "name": "Add team restrictions of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#add-team-restrictions-of-protected-branch", @@ -4946,8 +5520,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_222__", + "parentId": "__FLD_23__", + "_id": "__REQ_251__", "_type": "request", "name": "Remove team restrictions of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#remove-team-restrictions-of-protected-branch", @@ -4962,8 +5536,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_223__", + "parentId": "__FLD_23__", + "_id": "__REQ_252__", "_type": "request", "name": "Get users with access to protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.\n\nhttps://developer.github.com/v3/repos/branches/#list-users-with-access-to-protected-branch", @@ -4978,8 +5552,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_224__", + "parentId": "__FLD_23__", + "_id": "__REQ_253__", "_type": "request", "name": "Replace user restrictions of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#replace-user-restrictions-of-protected-branch", @@ -4994,8 +5568,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_225__", + "parentId": "__FLD_23__", + "_id": "__REQ_254__", "_type": "request", "name": "Add user restrictions of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#add-user-restrictions-of-protected-branch", @@ -5010,8 +5584,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_226__", + "parentId": "__FLD_23__", + "_id": "__REQ_255__", "_type": "request", "name": "Remove user restrictions of protected branch", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/v3/repos/branches/#remove-user-restrictions-of-protected-branch", @@ -5026,8 +5600,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_227__", + "parentId": "__FLD_5__", + "_id": "__REQ_256__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nhttps://developer.github.com/v3/checks/runs/#create-a-check-run", @@ -5047,8 +5621,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_228__", + "parentId": "__FLD_5__", + "_id": "__REQ_257__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://developer.github.com/v3/checks/runs/#update-a-check-run", @@ -5068,8 +5642,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_229__", + "parentId": "__FLD_5__", + "_id": "__REQ_258__", "_type": "request", "name": "Get a single check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/v3/checks/runs/#get-a-single-check-run", @@ -5089,8 +5663,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_230__", + "parentId": "__FLD_5__", + "_id": "__REQ_259__", "_type": "request", "name": "List annotations for a check run", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://developer.github.com/v3/checks/runs/#list-annotations-for-a-check-run", @@ -5121,8 +5695,8 @@ ] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_231__", + "parentId": "__FLD_5__", + "_id": "__REQ_260__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://developer.github.com/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Set preferences for check suites on a repository](https://developer.github.com/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://developer.github.com/v3/checks/suites/#create-a-check-suite", @@ -5142,8 +5716,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_232__", + "parentId": "__FLD_5__", + "_id": "__REQ_261__", "_type": "request", "name": "Set preferences for check suites on a repository", "description": "Changes the default automatic flow when creating check suites. By default, the CheckSuiteEvent is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://developer.github.com/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository", @@ -5163,8 +5737,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_233__", + "parentId": "__FLD_5__", + "_id": "__REQ_262__", "_type": "request", "name": "Get a single check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/v3/checks/suites/#get-a-single-check-suite", @@ -5184,8 +5758,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_234__", + "parentId": "__FLD_5__", + "_id": "__REQ_263__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/v3/checks/runs/#list-check-runs-in-a-check-suite", @@ -5229,8 +5803,8 @@ ] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_235__", + "parentId": "__FLD_5__", + "_id": "__REQ_264__", "_type": "request", "name": "Rerequest check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/v3/activity/events/types/#checksuiteevent) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://developer.github.com/v3/checks/suites/#rerequest-check-suite", @@ -5250,8 +5824,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_236__", + "parentId": "__FLD_23__", + "_id": "__REQ_265__", "_type": "request", "name": "List collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://developer.github.com/v3/repos/collaborators/#list-collaborators", @@ -5282,8 +5856,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_237__", + "parentId": "__FLD_23__", + "_id": "__REQ_266__", "_type": "request", "name": "Check if a user is a collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-collaborator", @@ -5298,11 +5872,11 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_238__", + "parentId": "__FLD_23__", + "_id": "__REQ_267__", "_type": "request", "name": "Add user as a collaborator", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nNote 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 verbs](https://developer.github.com/v3/#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://developer.github.com/v3/repos/invitations/).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator", + "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\" in the GitHub Help documentation.\n\nNote 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 verbs](https://developer.github.com/v3/#http-verbs).\"\n\nThe invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the [repository invitations API endpoints](https://developer.github.com/v3/repos/invitations/).\n\n**Rate limits**\n\nTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.\n\nhttps://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5314,8 +5888,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_239__", + "parentId": "__FLD_23__", + "_id": "__REQ_268__", "_type": "request", "name": "Remove user as a collaborator", "description": "\n\nhttps://developer.github.com/v3/repos/collaborators/#remove-user-as-a-collaborator", @@ -5330,8 +5904,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_240__", + "parentId": "__FLD_23__", + "_id": "__REQ_269__", "_type": "request", "name": "Review a user's permission level", "description": "Possible values for the `permission` key: `admin`, `write`, `read`, `none`.\n\nhttps://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level", @@ -5346,8 +5920,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_241__", + "parentId": "__FLD_23__", + "_id": "__REQ_270__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://developer.github.com/v3/repos/comments/#custom-media-types). You can read more about the use of media types in the API [here](https://developer.github.com/v3/media/).\n\nComments are ordered by ascending ID.\n\n\n\nhttps://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository", @@ -5378,8 +5952,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_242__", + "parentId": "__FLD_23__", + "_id": "__REQ_271__", "_type": "request", "name": "Get a single commit comment", "description": "\n\nhttps://developer.github.com/v3/repos/comments/#get-a-single-commit-comment", @@ -5399,8 +5973,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_243__", + "parentId": "__FLD_23__", + "_id": "__REQ_272__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://developer.github.com/v3/repos/comments/#update-a-commit-comment", @@ -5415,8 +5989,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_244__", + "parentId": "__FLD_23__", + "_id": "__REQ_273__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://developer.github.com/v3/repos/comments/#delete-a-commit-comment", @@ -5431,8 +6005,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_245__", + "parentId": "__FLD_22__", + "_id": "__REQ_274__", "_type": "request", "name": "List reactions for a commit comment", "description": "List the reactions to a [commit comment](https://developer.github.com/v3/repos/comments/).\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment", @@ -5467,8 +6041,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_246__", + "parentId": "__FLD_22__", + "_id": "__REQ_275__", "_type": "request", "name": "Create reaction for a commit comment", "description": "Create a reaction to a [commit comment](https://developer.github.com/v3/repos/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-a-commit-comment", @@ -5489,7 +6063,28 @@ }, { "parentId": "__FLD_22__", - "_id": "__REQ_247__", + "_id": "__REQ_276__", + "_type": "request", + "name": "Delete a commit comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://developer.github.com/v3/repos/comments/).\n\nhttps://developer.github.com/v3/reactions/#delete-a-commit-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_277__", "_type": "request", "name": "List commits on a repository", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/v3/repos/commits/#list-commits-on-a-repository", @@ -5535,8 +6130,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_248__", + "parentId": "__FLD_23__", + "_id": "__REQ_278__", "_type": "request", "name": "List branches for HEAD commit", "description": "Protected branches are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://developer.github.com/v3/repos/commits/#list-branches-for-head-commit", @@ -5556,8 +6151,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_249__", + "parentId": "__FLD_23__", + "_id": "__REQ_279__", "_type": "request", "name": "List comments for a single commit", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\n\n\nhttps://developer.github.com/v3/repos/comments/#list-comments-for-a-single-commit", @@ -5588,8 +6183,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_250__", + "parentId": "__FLD_23__", + "_id": "__REQ_280__", "_type": "request", "name": "Create a commit comment", "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/repos/comments/#create-a-commit-comment", @@ -5604,8 +6199,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_251__", + "parentId": "__FLD_23__", + "_id": "__REQ_281__", "_type": "request", "name": "List pull requests associated with commit", "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests) endpoint.\n\nhttps://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-commit", @@ -5636,8 +6231,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_252__", + "parentId": "__FLD_23__", + "_id": "__REQ_282__", "_type": "request", "name": "Get a single commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\nYou can pass the appropriate [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\n\n\nhttps://developer.github.com/v3/repos/commits/#get-a-single-commit", @@ -5652,8 +6247,8 @@ "parameters": [] }, { - "parentId": "__FLD_4__", - "_id": "__REQ_253__", + "parentId": "__FLD_5__", + "_id": "__REQ_283__", "_type": "request", "name": "List check runs for a specific ref", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/v3/checks/runs/#list-check-runs-for-a-specific-ref", @@ -5696,9 +6291,9 @@ } ] }, - { - "parentId": "__FLD_4__", - "_id": "__REQ_254__", + { + "parentId": "__FLD_5__", + "_id": "__REQ_284__", "_type": "request", "name": "List check suites for a specific ref", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/v3/checks/suites/#list-check-suites-for-a-specific-ref", @@ -5737,8 +6332,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_255__", + "parentId": "__FLD_23__", + "_id": "__REQ_285__", "_type": "request", "name": "Get the combined status for a specific ref", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://developer.github.com/v3/#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref", @@ -5753,8 +6348,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_256__", + "parentId": "__FLD_23__", + "_id": "__REQ_286__", "_type": "request", "name": "List statuses for a specific ref", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://developer.github.com/v3/repos/statuses/#list-statuses-for-a-specific-ref", @@ -5780,8 +6375,8 @@ ] }, { - "parentId": "__FLD_5__", - "_id": "__REQ_257__", + "parentId": "__FLD_6__", + "_id": "__REQ_287__", "_type": "request", "name": "Get the contents of a repository's code of conduct", "description": "This method returns the contents of the repository's code of conduct file, if one is detected.\n\nhttps://developer.github.com/v3/codes_of_conduct/#get-the-contents-of-a-repositorys-code-of-conduct", @@ -5801,8 +6396,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_258__", + "parentId": "__FLD_23__", + "_id": "__REQ_288__", "_type": "request", "name": "Retrieve community profile metrics", "description": "This endpoint will return all community profile metrics, including an overall health score, repository description, the presence of documentation, detected code of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE, README, and CONTRIBUTING files.\n\nhttps://developer.github.com/v3/repos/community/#retrieve-community-profile-metrics", @@ -5817,8 +6412,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_259__", + "parentId": "__FLD_23__", + "_id": "__REQ_289__", "_type": "request", "name": "Compare two commits", "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [Commit List API](https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/v3/repos/commits/#compare-two-commits", @@ -5833,8 +6428,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_260__", + "parentId": "__FLD_23__", + "_id": "__REQ_290__", "_type": "request", "name": "Get contents", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit `:path`, you will receive the contents of all files in the repository.\n\nFiles and symlinks support [a custom media type](https://developer.github.com/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML (when supported). All content types support [a custom media type](https://developer.github.com/v3/repos/contents/#custom-media-types) to ensure the content is returned in a consistent object format.\n\n**Note**:\n\n* To get a repository's contents recursively, you can [recursively get the tree](https://developer.github.com/v3/git/trees/).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](https://developer.github.com/v3/git/trees/#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\nThe response will be an array of objects, one object for each item in the directory.\n\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the [format shown above](https://developer.github.com/v3/repos/contents/#response-if-content-is-a-file)).\n\nOtherwise, the API responds with an object describing the symlink itself:\n\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://developer.github.com/v3/repos/contents/#get-contents", @@ -5854,8 +6449,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_261__", + "parentId": "__FLD_23__", + "_id": "__REQ_291__", "_type": "request", "name": "Create or update a file", "description": "Creates a new file or updates an existing file in a repository.\n\nhttps://developer.github.com/v3/repos/contents/#create-or-update-a-file", @@ -5870,8 +6465,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_262__", + "parentId": "__FLD_23__", + "_id": "__REQ_292__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://developer.github.com/v3/repos/contents/#delete-a-file", @@ -5886,8 +6481,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_263__", + "parentId": "__FLD_23__", + "_id": "__REQ_293__", "_type": "request", "name": "List contributors", "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://developer.github.com/v3/repos/#list-contributors", @@ -5917,8 +6512,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_264__", + "parentId": "__FLD_23__", + "_id": "__REQ_294__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://developer.github.com/v3/repos/deployments/#list-deployments", @@ -5969,11 +6564,11 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_265__", + "parentId": "__FLD_23__", + "_id": "__REQ_295__", "_type": "request", "name": "Create a deployment", - "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master`in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/v3/repos/deployments/#create-a-deployment", + "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/v3/repos/deployments/#create-a-deployment", "headers": [ { "name": "Accept", @@ -5990,8 +6585,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_266__", + "parentId": "__FLD_23__", + "_id": "__REQ_296__", "_type": "request", "name": "Get a single deployment", "description": "\n\nhttps://developer.github.com/v3/repos/deployments/#get-a-single-deployment", @@ -6011,8 +6606,24 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_267__", + "parentId": "__FLD_23__", + "_id": "__REQ_297__", + "_type": "request", + "name": "Delete a deployment", + "description": "To ensure there can always be an active deployment, you can only delete an _inactive_ deployment. Anyone with `repo` or `repo_deployment` scopes can delete an inactive deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://developer.github.com/v3/repos/deployments/#create-a-deployment)\" and \"[Create a deployment status](https://developer.github.com/v3/repos/deployments/#create-a-deployment-status).\"\n\nhttps://developer.github.com/v3/repos/deployments/#delete-a-deployment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_23__", + "_id": "__REQ_298__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://developer.github.com/v3/repos/deployments/#list-deployment-statuses", @@ -6043,8 +6654,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_268__", + "parentId": "__FLD_23__", + "_id": "__REQ_299__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://developer.github.com/v3/repos/deployments/#create-a-deployment-status", @@ -6064,8 +6675,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_269__", + "parentId": "__FLD_23__", + "_id": "__REQ_300__", "_type": "request", "name": "Get a single deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://developer.github.com/v3/repos/deployments/#get-a-single-deployment-status", @@ -6085,8 +6696,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_270__", + "parentId": "__FLD_23__", + "_id": "__REQ_301__", "_type": "request", "name": "Create a repository dispatch event", "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://developer.github.com/v3/activity/events/types/#repositorydispatchevent).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow. For a test example, see the [input example](https://developer.github.com/v3/repos/#example-4).\n\nTo give you write access to the repository, you must use a personal access token with the `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nhttps://developer.github.com/v3/repos/#create-a-repository-dispatch-event", @@ -6101,8 +6712,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_271__", + "parentId": "__FLD_23__", + "_id": "__REQ_302__", "_type": "request", "name": "List downloads for a repository", "description": "\n\nhttps://developer.github.com/v3/repos/downloads/#list-downloads-for-a-repository", @@ -6128,8 +6739,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_272__", + "parentId": "__FLD_23__", + "_id": "__REQ_303__", "_type": "request", "name": "Get a single download", "description": "\n\nhttps://developer.github.com/v3/repos/downloads/#get-a-single-download", @@ -6144,8 +6755,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_273__", + "parentId": "__FLD_23__", + "_id": "__REQ_304__", "_type": "request", "name": "Delete a download", "description": "\n\nhttps://developer.github.com/v3/repos/downloads/#delete-a-download", @@ -6160,8 +6771,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_274__", + "parentId": "__FLD_3__", + "_id": "__REQ_305__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://developer.github.com/v3/activity/events/#list-repository-events", @@ -6187,8 +6798,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_275__", + "parentId": "__FLD_23__", + "_id": "__REQ_306__", "_type": "request", "name": "List forks", "description": "\n\nhttps://developer.github.com/v3/repos/forks/#list-forks", @@ -6219,8 +6830,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_276__", + "parentId": "__FLD_23__", + "_id": "__REQ_307__", "_type": "request", "name": "Create a fork", "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Support](https://github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com).\n\nhttps://developer.github.com/v3/repos/forks/#create-a-fork", @@ -6235,8 +6846,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_277__", + "parentId": "__FLD_9__", + "_id": "__REQ_308__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://developer.github.com/v3/git/blobs/#create-a-blob", @@ -6251,8 +6862,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_278__", + "parentId": "__FLD_9__", + "_id": "__REQ_309__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://developer.github.com/v3/git/blobs/#get-a-blob", @@ -6267,8 +6878,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_279__", + "parentId": "__FLD_9__", + "_id": "__REQ_310__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\nIn this example, the payload of the signature would be:\n\n\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/v3/git/commits/#create-a-commit", @@ -6283,8 +6894,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_280__", + "parentId": "__FLD_9__", + "_id": "__REQ_311__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/v3/git/commits/#get-a-commit", @@ -6299,8 +6910,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_281__", + "parentId": "__FLD_9__", + "_id": "__REQ_312__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://developer.github.com/v3/pulls/#get-a-single-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/v3/git/#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://developer.github.com/v3/git/refs/#list-matching-references", @@ -6326,8 +6937,8 @@ ] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_282__", + "parentId": "__FLD_9__", + "_id": "__REQ_313__", "_type": "request", "name": "Get a single reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://developer.github.com/v3/pulls/#get-a-single-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/v3/git/#checking-mergeability-of-pull-requests)\".\n\nTo get the reference for a branch named `skunkworkz/featureA`, the endpoint route is:\n\nhttps://developer.github.com/v3/git/refs/#get-a-single-reference", @@ -6342,8 +6953,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_283__", + "parentId": "__FLD_9__", + "_id": "__REQ_314__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://developer.github.com/v3/git/refs/#create-a-reference", @@ -6358,8 +6969,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_284__", + "parentId": "__FLD_9__", + "_id": "__REQ_315__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://developer.github.com/v3/git/refs/#update-a-reference", @@ -6374,11 +6985,11 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_285__", + "parentId": "__FLD_9__", + "_id": "__REQ_316__", "_type": "request", "name": "Delete a reference", - "description": "```\nDELETE /repos/octocat/Hello-World/git/refs/heads/feature-a\n```\n\n```\nDELETE /repos/octocat/Hello-World/git/refs/tags/v1.0\n```\n\nhttps://developer.github.com/v3/git/refs/#delete-a-reference", + "description": "\n\nhttps://developer.github.com/v3/git/refs/#delete-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6390,8 +7001,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_286__", + "parentId": "__FLD_9__", + "_id": "__REQ_317__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://developer.github.com/v3/git/refs/#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://developer.github.com/v3/git/refs/#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/v3/git/tags/#create-a-tag-object", @@ -6406,8 +7017,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_287__", + "parentId": "__FLD_9__", + "_id": "__REQ_318__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/v3/git/tags/#get-a-tag", @@ -6422,8 +7033,8 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_288__", + "parentId": "__FLD_9__", + "_id": "__REQ_319__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://developer.github.com/v3/git/commits/#create-a-commit)\" and \"[Update a reference](https://developer.github.com/v3/git/refs/#update-a-reference).\"\n\nhttps://developer.github.com/v3/git/trees/#create-a-tree", @@ -6438,11 +7049,11 @@ "parameters": [] }, { - "parentId": "__FLD_8__", - "_id": "__REQ_289__", + "parentId": "__FLD_9__", + "_id": "__REQ_320__", "_type": "request", "name": "Get a tree", - "description": "If `truncated` is `true`, the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/v3/git/trees/#get-a-tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/v3/git/trees/#get-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6459,8 +7070,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_290__", + "parentId": "__FLD_23__", + "_id": "__REQ_321__", "_type": "request", "name": "List hooks", "description": "\n\nhttps://developer.github.com/v3/repos/hooks/#list-hooks", @@ -6486,8 +7097,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_291__", + "parentId": "__FLD_23__", + "_id": "__REQ_322__", "_type": "request", "name": "Create a hook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can share the same `config` as long as those webhooks do not have any `events` that overlap.\n\nHere's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/v3/repos/hooks/#create-a-hook", @@ -6502,8 +7113,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_292__", + "parentId": "__FLD_23__", + "_id": "__REQ_323__", "_type": "request", "name": "Get single hook", "description": "\n\nhttps://developer.github.com/v3/repos/hooks/#get-single-hook", @@ -6518,8 +7129,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_293__", + "parentId": "__FLD_23__", + "_id": "__REQ_324__", "_type": "request", "name": "Edit a hook", "description": "\n\nhttps://developer.github.com/v3/repos/hooks/#edit-a-hook", @@ -6534,8 +7145,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_294__", + "parentId": "__FLD_23__", + "_id": "__REQ_325__", "_type": "request", "name": "Delete a hook", "description": "\n\nhttps://developer.github.com/v3/repos/hooks/#delete-a-hook", @@ -6550,8 +7161,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_295__", + "parentId": "__FLD_23__", + "_id": "__REQ_326__", "_type": "request", "name": "Ping a hook", "description": "This will trigger a [ping event](https://developer.github.com/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/v3/repos/hooks/#ping-a-hook", @@ -6566,8 +7177,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_296__", + "parentId": "__FLD_23__", + "_id": "__REQ_327__", "_type": "request", "name": "Test a push hook", "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://developer.github.com/v3/repos/hooks/#test-a-push-hook", @@ -6582,8 +7193,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_297__", + "parentId": "__FLD_16__", + "_id": "__REQ_328__", "_type": "request", "name": "Start an import", "description": "Start a source import to a GitHub repository using GitHub Importer.\n\nhttps://developer.github.com/v3/migrations/source_imports/#start-an-import", @@ -6598,8 +7209,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_298__", + "parentId": "__FLD_16__", + "_id": "__REQ_329__", "_type": "request", "name": "Get import progress", "description": "View the progress of an import.\n\n**Import status**\n\nThis section includes details about the possible values of the `status` field of the Import Progress response.\n\nAn import that does not have errors will progress through these steps:\n\n* `detecting` - the \"detection\" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.\n* `importing` - the \"raw\" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).\n* `mapping` - the \"rewrite\" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.\n* `pushing` - the \"push\" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is \"Writing objects\".\n* `complete` - the import is complete, and the repository is ready on GitHub.\n\nIf there are problems, you will see one of these in the `status` field:\n\n* `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update Existing Import](https://developer.github.com/v3/migrations/source_imports/#update-existing-import) section.\n* `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://github.com/contact) or [GitHub Premium Support](https://premium.githubsupport.com) for more information.\n* `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update Existing Import](https://developer.github.com/v3/migrations/source_imports/#update-existing-import) section.\n* `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://developer.github.com/v3/migrations/source_imports/#cancel-an-import) and [retry](https://developer.github.com/v3/migrations/source_imports/#start-an-import) with the correct URL.\n* `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update Existing Import](https://developer.github.com/v3/migrations/source_imports/#update-existing-import) section.\n\n**The project_choices field**\n\nWhen multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.\n\n**Git LFS related fields**\n\nThis section includes details about Git LFS related fields that may be present in the Import Progress response.\n\n* `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.\n* `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.\n* `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.\n* `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a \"Get Large Files\" request.\n\nhttps://developer.github.com/v3/migrations/source_imports/#get-import-progress", @@ -6614,8 +7225,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_299__", + "parentId": "__FLD_16__", + "_id": "__REQ_330__", "_type": "request", "name": "Update existing import", "description": "An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API request. If no parameters are provided, the import will be restarted.\n\nSome servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array. You can select the project to import by providing one of the objects in the `project_choices` array in the update request.\n\nThe following example demonstrates the workflow for updating an import with \"project1\" as the project choice. Given a `project_choices` array like such:\n\nTo restart an import, no parameters are provided in the update request.\n\nhttps://developer.github.com/v3/migrations/source_imports/#update-existing-import", @@ -6630,8 +7241,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_300__", + "parentId": "__FLD_16__", + "_id": "__REQ_331__", "_type": "request", "name": "Cancel an import", "description": "Stop an import for a repository.\n\nhttps://developer.github.com/v3/migrations/source_imports/#cancel-an-import", @@ -6646,8 +7257,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_301__", + "parentId": "__FLD_16__", + "_id": "__REQ_332__", "_type": "request", "name": "Get commit authors", "description": "Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot `.\n\nThis API method and the \"Map a commit author\" method allow you to provide correct Git author information.\n\nhttps://developer.github.com/v3/migrations/source_imports/#get-commit-authors", @@ -6667,8 +7278,8 @@ ] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_302__", + "parentId": "__FLD_16__", + "_id": "__REQ_333__", "_type": "request", "name": "Map a commit author", "description": "Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository.\n\nhttps://developer.github.com/v3/migrations/source_imports/#map-a-commit-author", @@ -6683,8 +7294,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_303__", + "parentId": "__FLD_16__", + "_id": "__REQ_334__", "_type": "request", "name": "Get large files", "description": "List files larger than 100MB found during the import\n\nhttps://developer.github.com/v3/migrations/source_imports/#get-large-files", @@ -6699,8 +7310,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_304__", + "parentId": "__FLD_16__", + "_id": "__REQ_335__", "_type": "request", "name": "Set Git LFS preference", "description": "You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability is powered by [Git LFS](https://git-lfs.github.com). You can learn more about our LFS feature and working with large files [on our help site](https://help.github.com/articles/versioning-large-files/).\n\nhttps://developer.github.com/v3/migrations/source_imports/#set-git-lfs-preference", @@ -6715,8 +7326,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_305__", + "parentId": "__FLD_4__", + "_id": "__REQ_336__", "_type": "request", "name": "Get a repository installation", "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/#get-a-repository-installation", @@ -6736,8 +7347,8 @@ "parameters": [] }, { - "parentId": "__FLD_10__", - "_id": "__REQ_306__", + "parentId": "__FLD_11__", + "_id": "__REQ_337__", "_type": "request", "name": "Get interaction restrictions for a repository", "description": "Shows which group of GitHub users can interact with this repository and when the restriction expires. If there are no restrictions, you will see an empty response.\n\nhttps://developer.github.com/v3/interactions/repos/#get-interaction-restrictions-for-a-repository", @@ -6757,8 +7368,8 @@ "parameters": [] }, { - "parentId": "__FLD_10__", - "_id": "__REQ_307__", + "parentId": "__FLD_11__", + "_id": "__REQ_338__", "_type": "request", "name": "Add or update interaction restrictions for a repository", "description": "Temporarily restricts interactions to certain GitHub users within the given repository. You must have owner or admin access to set restrictions.\n\nhttps://developer.github.com/v3/interactions/repos/#add-or-update-interaction-restrictions-for-a-repository", @@ -6778,8 +7389,8 @@ "parameters": [] }, { - "parentId": "__FLD_10__", - "_id": "__REQ_308__", + "parentId": "__FLD_11__", + "_id": "__REQ_339__", "_type": "request", "name": "Remove interaction restrictions for a repository", "description": "Removes all interaction restrictions from the given repository. You must have owner or admin access to remove restrictions.\n\nhttps://developer.github.com/v3/interactions/repos/#remove-interaction-restrictions-for-a-repository", @@ -6799,8 +7410,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_309__", + "parentId": "__FLD_23__", + "_id": "__REQ_340__", "_type": "request", "name": "List invitations for a repository", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\n\n\nhttps://developer.github.com/v3/repos/invitations/#list-invitations-for-a-repository", @@ -6826,8 +7437,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_310__", + "parentId": "__FLD_23__", + "_id": "__REQ_341__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://developer.github.com/v3/repos/invitations/#delete-a-repository-invitation", @@ -6842,8 +7453,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_311__", + "parentId": "__FLD_23__", + "_id": "__REQ_342__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://developer.github.com/v3/repos/invitations/#update-a-repository-invitation", @@ -6858,11 +7469,11 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_312__", + "parentId": "__FLD_12__", + "_id": "__REQ_343__", "_type": "request", - "name": "List issues for a repository", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#list-issues-for-a-repository", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#list-repository-issues", "headers": [ { "name": "Accept", @@ -6929,8 +7540,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_313__", + "parentId": "__FLD_12__", + "_id": "__REQ_344__", "_type": "request", "name": "Create an issue", "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/issues/#create-an-issue", @@ -6944,9 +7555,9 @@ "body": {}, "parameters": [] }, - { - "parentId": "__FLD_11__", - "_id": "__REQ_314__", + { + "parentId": "__FLD_12__", + "_id": "__REQ_345__", "_type": "request", "name": "List comments in a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\n\n\nhttps://developer.github.com/v3/issues/comments/#list-comments-in-a-repository", @@ -6976,12 +7587,22 @@ { "name": "since", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_315__", + "parentId": "__FLD_12__", + "_id": "__REQ_346__", "_type": "request", "name": "Get a single comment", "description": "\n\nhttps://developer.github.com/v3/issues/comments/#get-a-single-comment", @@ -6998,22 +7619,11 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_316__", + "parentId": "__FLD_12__", + "_id": "__REQ_347__", "_type": "request", "name": "Edit a comment", "description": "\n\nhttps://developer.github.com/v3/issues/comments/#edit-a-comment", @@ -7028,8 +7638,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_317__", + "parentId": "__FLD_12__", + "_id": "__REQ_348__", "_type": "request", "name": "Delete a comment", "description": "\n\nhttps://developer.github.com/v3/issues/comments/#delete-a-comment", @@ -7044,8 +7654,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_318__", + "parentId": "__FLD_22__", + "_id": "__REQ_349__", "_type": "request", "name": "List reactions for an issue comment", "description": "List the reactions to an [issue comment](https://developer.github.com/v3/issues/comments/).\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-an-issue-comment", @@ -7080,8 +7690,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_319__", + "parentId": "__FLD_22__", + "_id": "__REQ_350__", "_type": "request", "name": "Create reaction for an issue comment", "description": "Create a reaction to an [issue comment](https://developer.github.com/v3/issues/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-an-issue-comment", @@ -7101,8 +7711,29 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_320__", + "parentId": "__FLD_22__", + "_id": "__REQ_351__", + "_type": "request", + "name": "Delete an issue comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://developer.github.com/v3/issues/comments/).\n\nhttps://developer.github.com/v3/reactions/#delete-an-issue-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_12__", + "_id": "__REQ_352__", "_type": "request", "name": "List events for a repository", "description": "\n\nhttps://developer.github.com/v3/issues/events/#list-events-for-a-repository", @@ -7133,8 +7764,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_321__", + "parentId": "__FLD_12__", + "_id": "__REQ_353__", "_type": "request", "name": "Get a single event", "description": "\n\nhttps://developer.github.com/v3/issues/events/#get-a-single-event", @@ -7154,11 +7785,11 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_322__", + "parentId": "__FLD_12__", + "_id": "__REQ_354__", "_type": "request", - "name": "Get a single issue", - "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#get-a-single-issue", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#get-an-issue", "headers": [ { "name": "Accept", @@ -7175,11 +7806,11 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_323__", + "parentId": "__FLD_12__", + "_id": "__REQ_355__", "_type": "request", - "name": "Edit an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/v3/issues/#edit-an-issue", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/v3/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7191,8 +7822,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_324__", + "parentId": "__FLD_12__", + "_id": "__REQ_356__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nThis example adds two assignees to the existing `octocat` assignee.\n\nhttps://developer.github.com/v3/issues/assignees/#add-assignees-to-an-issue", @@ -7207,8 +7838,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_325__", + "parentId": "__FLD_12__", + "_id": "__REQ_357__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nThis example removes two of three assignees, leaving the `octocat` assignee.\n\nhttps://developer.github.com/v3/issues/assignees/#remove-assignees-from-an-issue", @@ -7223,8 +7854,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_326__", + "parentId": "__FLD_12__", + "_id": "__REQ_358__", "_type": "request", "name": "List comments on an issue", "description": "Issue Comments are ordered by ascending ID.\n\n\n\nhttps://developer.github.com/v3/issues/comments/#list-comments-on-an-issue", @@ -7259,8 +7890,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_327__", + "parentId": "__FLD_12__", + "_id": "__REQ_359__", "_type": "request", "name": "Create a comment", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/issues/comments/#create-a-comment", @@ -7275,8 +7906,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_328__", + "parentId": "__FLD_12__", + "_id": "__REQ_360__", "_type": "request", "name": "List events for an issue", "description": "\n\nhttps://developer.github.com/v3/issues/events/#list-events-for-an-issue", @@ -7307,8 +7938,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_329__", + "parentId": "__FLD_12__", + "_id": "__REQ_361__", "_type": "request", "name": "List labels on an issue", "description": "\n\nhttps://developer.github.com/v3/issues/labels/#list-labels-on-an-issue", @@ -7334,8 +7965,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_330__", + "parentId": "__FLD_12__", + "_id": "__REQ_362__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://developer.github.com/v3/issues/labels/#add-labels-to-an-issue", @@ -7350,8 +7981,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_331__", + "parentId": "__FLD_12__", + "_id": "__REQ_363__", "_type": "request", "name": "Replace all labels for an issue", "description": "\n\nhttps://developer.github.com/v3/issues/labels/#replace-all-labels-for-an-issue", @@ -7366,8 +7997,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_332__", + "parentId": "__FLD_12__", + "_id": "__REQ_364__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://developer.github.com/v3/issues/labels/#remove-all-labels-from-an-issue", @@ -7382,8 +8013,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_333__", + "parentId": "__FLD_12__", + "_id": "__REQ_365__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue", @@ -7398,8 +8029,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_334__", + "parentId": "__FLD_12__", + "_id": "__REQ_366__", "_type": "request", "name": "Lock an issue", "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote 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 verbs](https://developer.github.com/v3/#http-verbs).\"\n\nhttps://developer.github.com/v3/issues/#lock-an-issue", @@ -7419,8 +8050,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_335__", + "parentId": "__FLD_12__", + "_id": "__REQ_367__", "_type": "request", "name": "Unlock an issue", "description": "Users with push access can unlock an issue's conversation.\n\nhttps://developer.github.com/v3/issues/#unlock-an-issue", @@ -7435,8 +8066,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_336__", + "parentId": "__FLD_22__", + "_id": "__REQ_368__", "_type": "request", "name": "List reactions for an issue", "description": "List the reactions to an [issue](https://developer.github.com/v3/issues/).\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-an-issue", @@ -7471,8 +8102,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_337__", + "parentId": "__FLD_22__", + "_id": "__REQ_369__", "_type": "request", "name": "Create reaction for an issue", "description": "Create a reaction to an [issue](https://developer.github.com/v3/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-an-issue", @@ -7492,8 +8123,29 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_338__", + "parentId": "__FLD_22__", + "_id": "__REQ_370__", + "_type": "request", + "name": "Delete an issue reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://developer.github.com/v3/issues/).\n\nhttps://developer.github.com/v3/reactions/#delete-an-issue-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_12__", + "_id": "__REQ_371__", "_type": "request", "name": "List events for an issue", "description": "\n\nhttps://developer.github.com/v3/issues/timeline/#list-events-for-an-issue", @@ -7524,8 +8176,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_339__", + "parentId": "__FLD_23__", + "_id": "__REQ_372__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://developer.github.com/v3/repos/keys/#list-deploy-keys", @@ -7551,8 +8203,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_340__", + "parentId": "__FLD_23__", + "_id": "__REQ_373__", "_type": "request", "name": "Add a new deploy key", "description": "Here's how you can create a read-only deploy key:\n\n\n\nhttps://developer.github.com/v3/repos/keys/#add-a-new-deploy-key", @@ -7567,8 +8219,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_341__", + "parentId": "__FLD_23__", + "_id": "__REQ_374__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://developer.github.com/v3/repos/keys/#get-a-deploy-key", @@ -7583,8 +8235,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_342__", + "parentId": "__FLD_23__", + "_id": "__REQ_375__", "_type": "request", "name": "Remove a deploy key", "description": "\n\nhttps://developer.github.com/v3/repos/keys/#remove-a-deploy-key", @@ -7599,8 +8251,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_343__", + "parentId": "__FLD_12__", + "_id": "__REQ_376__", "_type": "request", "name": "List all labels for this repository", "description": "\n\nhttps://developer.github.com/v3/issues/labels/#list-all-labels-for-this-repository", @@ -7626,8 +8278,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_344__", + "parentId": "__FLD_12__", + "_id": "__REQ_377__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://developer.github.com/v3/issues/labels/#create-a-label", @@ -7642,8 +8294,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_345__", + "parentId": "__FLD_12__", + "_id": "__REQ_378__", "_type": "request", "name": "Get a single label", "description": "\n\nhttps://developer.github.com/v3/issues/labels/#get-a-single-label", @@ -7658,8 +8310,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_346__", + "parentId": "__FLD_12__", + "_id": "__REQ_379__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://developer.github.com/v3/issues/labels/#update-a-label", @@ -7674,8 +8326,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_347__", + "parentId": "__FLD_12__", + "_id": "__REQ_380__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://developer.github.com/v3/issues/labels/#delete-a-label", @@ -7690,8 +8342,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_348__", + "parentId": "__FLD_23__", + "_id": "__REQ_381__", "_type": "request", "name": "List languages", "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://developer.github.com/v3/repos/#list-languages", @@ -7706,8 +8358,8 @@ "parameters": [] }, { - "parentId": "__FLD_12__", - "_id": "__REQ_349__", + "parentId": "__FLD_13__", + "_id": "__REQ_382__", "_type": "request", "name": "Get the contents of a repository's license", "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [the repository contents API](https://developer.github.com/v3/repos/contents/#get-contents), this method also supports [custom media types](https://developer.github.com/v3/repos/contents/#custom-media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://developer.github.com/v3/licenses/#get-the-contents-of-a-repositorys-license", @@ -7722,8 +8374,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_350__", + "parentId": "__FLD_23__", + "_id": "__REQ_383__", "_type": "request", "name": "Perform a merge", "description": "\n\nhttps://developer.github.com/v3/repos/merging/#perform-a-merge", @@ -7738,8 +8390,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_351__", + "parentId": "__FLD_12__", + "_id": "__REQ_384__", "_type": "request", "name": "List milestones for a repository", "description": "\n\nhttps://developer.github.com/v3/issues/milestones/#list-milestones-for-a-repository", @@ -7780,8 +8432,8 @@ ] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_352__", + "parentId": "__FLD_12__", + "_id": "__REQ_385__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://developer.github.com/v3/issues/milestones/#create-a-milestone", @@ -7796,8 +8448,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_353__", + "parentId": "__FLD_12__", + "_id": "__REQ_386__", "_type": "request", "name": "Get a single milestone", "description": "\n\nhttps://developer.github.com/v3/issues/milestones/#get-a-single-milestone", @@ -7812,8 +8464,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_354__", + "parentId": "__FLD_12__", + "_id": "__REQ_387__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://developer.github.com/v3/issues/milestones/#update-a-milestone", @@ -7828,8 +8480,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_355__", + "parentId": "__FLD_12__", + "_id": "__REQ_388__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://developer.github.com/v3/issues/milestones/#delete-a-milestone", @@ -7844,8 +8496,8 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_356__", + "parentId": "__FLD_12__", + "_id": "__REQ_389__", "_type": "request", "name": "Get labels for every issue in a milestone", "description": "\n\nhttps://developer.github.com/v3/issues/labels/#get-labels-for-every-issue-in-a-milestone", @@ -7871,8 +8523,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_357__", + "parentId": "__FLD_3__", + "_id": "__REQ_390__", "_type": "request", "name": "List your notifications in a repository", "description": "List all notifications for the current user.\n\nhttps://developer.github.com/v3/activity/notifications/#list-your-notifications-in-a-repository", @@ -7916,8 +8568,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_358__", + "parentId": "__FLD_3__", + "_id": "__REQ_391__", "_type": "request", "name": "Mark notifications as read in a repository", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications in a repository](https://developer.github.com/v3/activity/notifications/#list-your-notifications-in-a-repository) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository", @@ -7932,8 +8584,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_359__", + "parentId": "__FLD_23__", + "_id": "__REQ_392__", "_type": "request", "name": "Get information about a Pages site", "description": "\n\nhttps://developer.github.com/v3/repos/pages/#get-information-about-a-pages-site", @@ -7948,8 +8600,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_360__", + "parentId": "__FLD_23__", + "_id": "__REQ_393__", "_type": "request", "name": "Enable a Pages site", "description": "\n\nhttps://developer.github.com/v3/repos/pages/#enable-a-pages-site", @@ -7969,8 +8621,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_361__", + "parentId": "__FLD_23__", + "_id": "__REQ_394__", "_type": "request", "name": "Disable a Pages site", "description": "\n\nhttps://developer.github.com/v3/repos/pages/#disable-a-pages-site", @@ -7990,8 +8642,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_362__", + "parentId": "__FLD_23__", + "_id": "__REQ_395__", "_type": "request", "name": "Update information about a Pages site", "description": "\n\nhttps://developer.github.com/v3/repos/pages/#update-information-about-a-pages-site", @@ -8006,8 +8658,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_363__", + "parentId": "__FLD_23__", + "_id": "__REQ_396__", "_type": "request", "name": "Request a page build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://developer.github.com/v3/repos/pages/#request-a-page-build", @@ -8022,8 +8674,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_364__", + "parentId": "__FLD_23__", + "_id": "__REQ_397__", "_type": "request", "name": "List Pages builds", "description": "\n\nhttps://developer.github.com/v3/repos/pages/#list-pages-builds", @@ -8049,8 +8701,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_365__", + "parentId": "__FLD_23__", + "_id": "__REQ_398__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://developer.github.com/v3/repos/pages/#get-latest-pages-build", @@ -8065,8 +8717,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_366__", + "parentId": "__FLD_23__", + "_id": "__REQ_399__", "_type": "request", "name": "Get a specific Pages build", "description": "\n\nhttps://developer.github.com/v3/repos/pages/#get-a-specific-pages-build", @@ -8081,8 +8733,8 @@ "parameters": [] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_367__", + "parentId": "__FLD_19__", + "_id": "__REQ_400__", "_type": "request", "name": "List repository projects", "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/v3/projects/#list-repository-projects", @@ -8118,8 +8770,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_368__", + "parentId": "__FLD_19__", + "_id": "__REQ_401__", "_type": "request", "name": "Create a repository project", "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/v3/projects/#create-a-repository-project", @@ -8139,8 +8791,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_369__", + "parentId": "__FLD_20__", + "_id": "__REQ_402__", "_type": "request", "name": "List pull requests", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Pro, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/pulls/#list-pull-requests", @@ -8193,8 +8845,8 @@ ] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_370__", + "parentId": "__FLD_20__", + "_id": "__REQ_403__", "_type": "request", "name": "Create a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Pro, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/pulls/#create-a-pull-request", @@ -8214,8 +8866,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_371__", + "parentId": "__FLD_20__", + "_id": "__REQ_404__", "_type": "request", "name": "List comments in a repository", "description": "**Note:** Multi-line comments on pull requests are currently in public beta and subject to change.\n\nLists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table.\n\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions.\n\n\n\nhttps://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository", @@ -8259,8 +8911,8 @@ ] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_372__", + "parentId": "__FLD_20__", + "_id": "__REQ_405__", "_type": "request", "name": "Get a single comment", "description": "**Note:** Multi-line comments on pull requests are currently in public beta and subject to change.\n\nProvides details for a review comment.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table.\n\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions.\n\n\n\nhttps://developer.github.com/v3/pulls/comments/#get-a-single-comment", @@ -8280,8 +8932,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_373__", + "parentId": "__FLD_20__", + "_id": "__REQ_406__", "_type": "request", "name": "Edit a comment", "description": "**Note:** Multi-line comments on pull requests are currently in public beta and subject to change.\n\nEnables you to edit a review comment.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table.\n\nhttps://developer.github.com/v3/pulls/comments/#edit-a-comment", @@ -8301,8 +8953,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_374__", + "parentId": "__FLD_20__", + "_id": "__REQ_407__", "_type": "request", "name": "Delete a comment", "description": "Deletes a review comment.\n\nhttps://developer.github.com/v3/pulls/comments/#delete-a-comment", @@ -8317,8 +8969,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_375__", + "parentId": "__FLD_22__", + "_id": "__REQ_408__", "_type": "request", "name": "List reactions for a pull request review comment", "description": "List the reactions to a [pull request review comment](https://developer.github.com/v3/pulls/comments/).\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment", @@ -8353,8 +9005,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_376__", + "parentId": "__FLD_22__", + "_id": "__REQ_409__", "_type": "request", "name": "Create reaction for a pull request review comment", "description": "Create a reaction to a [pull request review comment](https://developer.github.com/v3/pulls/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment", @@ -8374,8 +9026,29 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_377__", + "parentId": "__FLD_22__", + "_id": "__REQ_410__", + "_type": "request", + "name": "Delete a pull request comment reaction", + "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://developer.github.com/v3/pulls/comments/).\n\nhttps://developer.github.com/v3/reactions/#delete-a-pull-request-comment-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_20__", + "_id": "__REQ_411__", "_type": "request", "name": "Get a single pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Pro, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://developer.github.com/v3/pulls/#create-a-pull-request), or [edit](https://developer.github.com/v3/pulls/#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/v3/git/#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://developer.github.com/v3/pulls/#get-a-single-pull-request", @@ -8395,8 +9068,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_378__", + "parentId": "__FLD_20__", + "_id": "__REQ_412__", "_type": "request", "name": "Update a pull request", "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Pro, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nhttps://developer.github.com/v3/pulls/#update-a-pull-request", @@ -8416,8 +9089,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_379__", + "parentId": "__FLD_20__", + "_id": "__REQ_413__", "_type": "request", "name": "List comments on a pull request", "description": "**Note:** Multi-line comments on pull requests are currently in public beta and subject to change.\n\nLists review comments for a pull request. By default, review comments are in ascending order by ID.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table.\n\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions.\n\n\n\nhttps://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request", @@ -8461,8 +9134,8 @@ ] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_380__", + "parentId": "__FLD_20__", + "_id": "__REQ_414__", "_type": "request", "name": "Create a comment", "description": "**Note:** Multi-line comments on pull requests are currently in public beta and subject to change.\n\nCreates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Comments](https://developer.github.com/v3/issues/comments/#create-a-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see [Multi-line comment summary](https://developer.github.com/v3/pulls/comments/#multi-line-comment-summary-3).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/v3/pulls/comments/#parameters-2) table.\n\nhttps://developer.github.com/v3/pulls/comments/#create-a-comment", @@ -8482,8 +9155,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_381__", + "parentId": "__FLD_20__", + "_id": "__REQ_415__", "_type": "request", "name": "Create a review comment reply", "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/pulls/comments/#create-a-review-comment-reply", @@ -8498,8 +9171,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_382__", + "parentId": "__FLD_20__", + "_id": "__REQ_416__", "_type": "request", "name": "List commits on a pull request", "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [Commit List API](https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository).\n\nhttps://developer.github.com/v3/pulls/#list-commits-on-a-pull-request", @@ -8525,11 +9198,11 @@ ] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_383__", + "parentId": "__FLD_20__", + "_id": "__REQ_417__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** The response includes a maximum of 300 files.\n\nhttps://developer.github.com/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://developer.github.com/v3/pulls/#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8552,8 +9225,8 @@ ] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_384__", + "parentId": "__FLD_20__", + "_id": "__REQ_418__", "_type": "request", "name": "Get if a pull request has been merged", "description": "\n\nhttps://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged", @@ -8568,8 +9241,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_385__", + "parentId": "__FLD_20__", + "_id": "__REQ_419__", "_type": "request", "name": "Merge a pull request (Merge Button)", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button", @@ -8584,8 +9257,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_386__", + "parentId": "__FLD_20__", + "_id": "__REQ_420__", "_type": "request", "name": "List review requests", "description": "\n\nhttps://developer.github.com/v3/pulls/review_requests/#list-review-requests", @@ -8611,8 +9284,8 @@ ] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_387__", + "parentId": "__FLD_20__", + "_id": "__REQ_421__", "_type": "request", "name": "Create a review request", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/pulls/review_requests/#create-a-review-request", @@ -8627,8 +9300,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_388__", + "parentId": "__FLD_20__", + "_id": "__REQ_422__", "_type": "request", "name": "Delete a review request", "description": "\n\nhttps://developer.github.com/v3/pulls/review_requests/#delete-a-review-request", @@ -8643,8 +9316,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_389__", + "parentId": "__FLD_20__", + "_id": "__REQ_423__", "_type": "request", "name": "List reviews on a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://developer.github.com/v3/pulls/reviews/#list-reviews-on-a-pull-request", @@ -8670,8 +9343,8 @@ ] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_390__", + "parentId": "__FLD_20__", + "_id": "__REQ_424__", "_type": "request", "name": "Create a pull request review", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/v3/pulls/#get-a-single-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://developer.github.com/v3/pulls/reviews/#create-a-pull-request-review", @@ -8686,8 +9359,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_391__", + "parentId": "__FLD_20__", + "_id": "__REQ_425__", "_type": "request", "name": "Get a single review", "description": "\n\nhttps://developer.github.com/v3/pulls/reviews/#get-a-single-review", @@ -8702,8 +9375,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_392__", + "parentId": "__FLD_20__", + "_id": "__REQ_426__", "_type": "request", "name": "Delete a pending review", "description": "\n\nhttps://developer.github.com/v3/pulls/reviews/#delete-a-pending-review", @@ -8718,8 +9391,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_393__", + "parentId": "__FLD_20__", + "_id": "__REQ_427__", "_type": "request", "name": "Update a pull request review", "description": "Update the review summary comment with new text.\n\nhttps://developer.github.com/v3/pulls/reviews/#update-a-pull-request-review", @@ -8734,8 +9407,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_394__", + "parentId": "__FLD_20__", + "_id": "__REQ_428__", "_type": "request", "name": "Get comments for a single review", "description": "\n\nhttps://developer.github.com/v3/pulls/reviews/#get-comments-for-a-single-review", @@ -8761,8 +9434,8 @@ ] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_395__", + "parentId": "__FLD_20__", + "_id": "__REQ_429__", "_type": "request", "name": "Dismiss a pull request review", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://developer.github.com/v3/repos/branches/), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://developer.github.com/v3/pulls/reviews/#dismiss-a-pull-request-review", @@ -8777,8 +9450,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_396__", + "parentId": "__FLD_20__", + "_id": "__REQ_430__", "_type": "request", "name": "Submit a pull request review", "description": "\n\nhttps://developer.github.com/v3/pulls/reviews/#submit-a-pull-request-review", @@ -8793,8 +9466,8 @@ "parameters": [] }, { - "parentId": "__FLD_19__", - "_id": "__REQ_397__", + "parentId": "__FLD_20__", + "_id": "__REQ_431__", "_type": "request", "name": "Update a pull request branch", "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://developer.github.com/v3/pulls/#update-a-pull-request-branch", @@ -8814,8 +9487,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_398__", + "parentId": "__FLD_23__", + "_id": "__REQ_432__", "_type": "request", "name": "Get the README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://developer.github.com/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://developer.github.com/v3/repos/contents/#get-the-readme", @@ -8835,8 +9508,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_399__", + "parentId": "__FLD_23__", + "_id": "__REQ_433__", "_type": "request", "name": "List releases for a repository", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://developer.github.com/v3/repos/#list-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://developer.github.com/v3/repos/releases/#list-releases-for-a-repository", @@ -8862,8 +9535,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_400__", + "parentId": "__FLD_23__", + "_id": "__REQ_434__", "_type": "request", "name": "Create a release", "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/repos/releases/#create-a-release", @@ -8878,8 +9551,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_401__", + "parentId": "__FLD_23__", + "_id": "__REQ_435__", "_type": "request", "name": "Get a single release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://developer.github.com/v3/media/#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://developer.github.com/v3/repos/releases/#get-a-single-release-asset", @@ -8894,8 +9567,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_402__", + "parentId": "__FLD_23__", + "_id": "__REQ_436__", "_type": "request", "name": "Edit a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://developer.github.com/v3/repos/releases/#edit-a-release-asset", @@ -8910,8 +9583,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_403__", + "parentId": "__FLD_23__", + "_id": "__REQ_437__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://developer.github.com/v3/repos/releases/#delete-a-release-asset", @@ -8926,8 +9599,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_404__", + "parentId": "__FLD_23__", + "_id": "__REQ_438__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://developer.github.com/v3/repos/releases/#get-the-latest-release", @@ -8942,8 +9615,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_405__", + "parentId": "__FLD_23__", + "_id": "__REQ_439__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://developer.github.com/v3/repos/releases/#get-a-release-by-tag-name", @@ -8958,8 +9631,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_406__", + "parentId": "__FLD_23__", + "_id": "__REQ_440__", "_type": "request", "name": "Get a single release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://developer.github.com/v3/#hypermedia).\n\nhttps://developer.github.com/v3/repos/releases/#get-a-single-release", @@ -8974,8 +9647,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_407__", + "parentId": "__FLD_23__", + "_id": "__REQ_441__", "_type": "request", "name": "Edit a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://developer.github.com/v3/repos/releases/#edit-a-release", @@ -8990,8 +9663,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_408__", + "parentId": "__FLD_23__", + "_id": "__REQ_442__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://developer.github.com/v3/repos/releases/#delete-a-release", @@ -9006,8 +9679,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_409__", + "parentId": "__FLD_23__", + "_id": "__REQ_443__", "_type": "request", "name": "List assets for a release", "description": "\n\nhttps://developer.github.com/v3/repos/releases/#list-assets-for-a-release", @@ -9033,8 +9706,33 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_410__", + "parentId": "__FLD_23__", + "_id": "__REQ_444__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://developer.github.com/v3/#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in the response of the [Create a release endpoint](https://developer.github.com/v3/repos/releases/#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example:\n\n`application/zip`\n\nGitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example, you'll still need to pass your authentication to be able to upload an asset.\n\n**Notes:**\n\n* GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://developer.github.com/v3/repos/releases/#list-assets-for-a-release)\" endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nThis may leave an empty asset with a state of `starter`. It can be safely deleted.\n\nhttps://developer.github.com/v3/repos/releases/#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_3__", + "_id": "__REQ_445__", "_type": "request", "name": "List Stargazers", "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/v3/activity/starring/#list-stargazers", @@ -9060,8 +9758,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_411__", + "parentId": "__FLD_23__", + "_id": "__REQ_446__", "_type": "request", "name": "Get the number of additions and deletions per week", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\n\n\nhttps://developer.github.com/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week", @@ -9076,8 +9774,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_412__", + "parentId": "__FLD_23__", + "_id": "__REQ_447__", "_type": "request", "name": "Get the last year of commit activity data", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\n\n\nhttps://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity-data", @@ -9092,8 +9790,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_413__", + "parentId": "__FLD_23__", + "_id": "__REQ_448__", "_type": "request", "name": "Get contributors list with additions, deletions, and commit counts", "description": "* `total` - The Total number of commits authored by the contributor.\n\nWeekly Hash (`weeks` array):\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\n\n\nhttps://developer.github.com/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts", @@ -9108,8 +9806,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_414__", + "parentId": "__FLD_23__", + "_id": "__REQ_449__", "_type": "request", "name": "Get the weekly commit count for the repository owner and everyone else", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\n\n\nhttps://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else", @@ -9124,8 +9822,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_415__", + "parentId": "__FLD_23__", + "_id": "__REQ_450__", "_type": "request", "name": "Get the number of commits per hour in each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://developer.github.com/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day", @@ -9140,8 +9838,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_416__", + "parentId": "__FLD_23__", + "_id": "__REQ_451__", "_type": "request", "name": "Create a status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://developer.github.com/v3/repos/statuses/#create-a-status", @@ -9156,11 +9854,11 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_417__", + "parentId": "__FLD_3__", + "_id": "__REQ_452__", "_type": "request", "name": "List watchers", - "description": "\n\nhttps://developer.github.com/v3/activity/watching/#list-watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://developer.github.com/v3/activity/watching/#list-watchers", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9183,10 +9881,10 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_418__", + "parentId": "__FLD_3__", + "_id": "__REQ_453__", "_type": "request", - "name": "Get a Repository Subscription", + "name": "Get a repository subscription", "description": "\n\nhttps://developer.github.com/v3/activity/watching/#get-a-repository-subscription", "headers": [], "authentication": { @@ -9199,10 +9897,10 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_419__", + "parentId": "__FLD_3__", + "_id": "__REQ_454__", "_type": "request", - "name": "Set a Repository Subscription", + "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://developer.github.com/v3/activity/watching/#delete-a-repository-subscription) completely.\n\nhttps://developer.github.com/v3/activity/watching/#set-a-repository-subscription", "headers": [], "authentication": { @@ -9215,10 +9913,10 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_420__", + "parentId": "__FLD_3__", + "_id": "__REQ_455__", "_type": "request", - "name": "Delete a Repository Subscription", + "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://developer.github.com/v3/activity/watching/#set-a-repository-subscription).\n\nhttps://developer.github.com/v3/activity/watching/#delete-a-repository-subscription", "headers": [], "authentication": { @@ -9231,8 +9929,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_421__", + "parentId": "__FLD_23__", + "_id": "__REQ_456__", "_type": "request", "name": "List tags", "description": "\n\nhttps://developer.github.com/v3/repos/#list-tags", @@ -9258,8 +9956,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_422__", + "parentId": "__FLD_23__", + "_id": "__REQ_457__", "_type": "request", "name": "List teams", "description": "\n\nhttps://developer.github.com/v3/repos/#list-teams", @@ -9285,11 +9983,11 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_423__", + "parentId": "__FLD_23__", + "_id": "__REQ_458__", "_type": "request", - "name": "List all topics for a repository", - "description": "\n\nhttps://developer.github.com/v3/repos/#list-all-topics-for-a-repository", + "name": "Get all repository topics", + "description": "\n\nhttps://developer.github.com/v3/repos/#get-all-repository-topics", "headers": [ { "name": "Accept", @@ -9306,11 +10004,11 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_424__", + "parentId": "__FLD_23__", + "_id": "__REQ_459__", "_type": "request", - "name": "Replace all topics for a repository", - "description": "\n\nhttps://developer.github.com/v3/repos/#replace-all-topics-for-a-repository", + "name": "Replace all repository topics", + "description": "\n\nhttps://developer.github.com/v3/repos/#replace-all-repository-topics", "headers": [ { "name": "Accept", @@ -9327,8 +10025,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_425__", + "parentId": "__FLD_23__", + "_id": "__REQ_460__", "_type": "request", "name": "Clones", "description": "Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.\n\nhttps://developer.github.com/v3/repos/traffic/#clones", @@ -9349,8 +10047,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_426__", + "parentId": "__FLD_23__", + "_id": "__REQ_461__", "_type": "request", "name": "List paths", "description": "Get the top 10 popular contents over the last 14 days.\n\nhttps://developer.github.com/v3/repos/traffic/#list-paths", @@ -9365,8 +10063,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_427__", + "parentId": "__FLD_23__", + "_id": "__REQ_462__", "_type": "request", "name": "List referrers", "description": "Get the top 10 referrers over the last 14 days.\n\nhttps://developer.github.com/v3/repos/traffic/#list-referrers", @@ -9381,8 +10079,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_428__", + "parentId": "__FLD_23__", + "_id": "__REQ_463__", "_type": "request", "name": "Views", "description": "Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.\n\nhttps://developer.github.com/v3/repos/traffic/#views", @@ -9403,8 +10101,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_429__", + "parentId": "__FLD_23__", + "_id": "__REQ_464__", "_type": "request", "name": "Transfer a repository", "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://developer.github.com/v3/repos/#transfer-a-repository", @@ -9419,8 +10117,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_430__", + "parentId": "__FLD_23__", + "_id": "__REQ_465__", "_type": "request", "name": "Check if vulnerability alerts are enabled for a repository", "description": "Shows whether vulnerability alerts are enabled or disabled for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/#check-if-vulnerability-alerts-are-enabled-for-a-repository", @@ -9440,8 +10138,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_431__", + "parentId": "__FLD_23__", + "_id": "__REQ_466__", "_type": "request", "name": "Enable vulnerability alerts", "description": "Enables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/#enable-vulnerability-alerts", @@ -9461,8 +10159,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_432__", + "parentId": "__FLD_23__", + "_id": "__REQ_467__", "_type": "request", "name": "Disable vulnerability alerts", "description": "Disables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/v3/repos/#disable-vulnerability-alerts", @@ -9482,8 +10180,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_433__", + "parentId": "__FLD_23__", + "_id": "__REQ_468__", "_type": "request", "name": "Get archive link", "description": "Gets a redirect URL to download an archive for a repository. The `:archive_format` can be either `tarball` or `zipball`. The `:ref` must be a valid Git reference. If you omit `:ref`, the repository’s default branch (usually `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request.\n\n_Note_: For private repositories, these links are temporary and expire after five minutes.\n\nTo follow redirects with curl, use the `-L` switch:\n\n\n\nhttps://developer.github.com/v3/repos/contents/#get-archive-link", @@ -9498,11 +10196,11 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_434__", + "parentId": "__FLD_23__", + "_id": "__REQ_469__", "_type": "request", - "name": "Create repository using a repository template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [`GET /repos/:owner/:repo`](https://developer.github.com/v3/repos/#get) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\n\\`\n\nhttps://developer.github.com/v3/repos/#create-repository-using-a-repository-template", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://developer.github.com/v3/repos/#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\n\\`\n\nhttps://developer.github.com/v3/repos/#create-a-repository-using-a-template", "headers": [ { "name": "Accept", @@ -9519,11 +10217,11 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_435__", + "parentId": "__FLD_23__", + "_id": "__REQ_470__", "_type": "request", - "name": "List all public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/v3/#link-header) to get the URL for the next page of repositories.\n\nhttps://developer.github.com/v3/repos/#list-all-public-repositories", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/v3/#link-header) to get the URL for the next page of repositories.\n\nhttps://developer.github.com/v3/repos/#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9550,8 +10248,8 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_436__", + "parentId": "__FLD_24__", + "_id": "__REQ_471__", "_type": "request", "name": "Get a list of provisioned identities", "description": "To filter for a specific email address, use the `email` query parameter and the `eq` operator:\n\nYour filter would look like this cURL command:\n\nRetrieves users that match the filter. In the example, we searched only for [octocat@github.com](mailto:octocat@github.com).\n\nRetrieves a paginated list of all provisioned organization members, including pending invitations.\n\nhttps://developer.github.com/v3/scim/#get-a-list-of-provisioned-identities", @@ -9579,8 +10277,8 @@ ] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_437__", + "parentId": "__FLD_24__", + "_id": "__REQ_472__", "_type": "request", "name": "Provision and invite users", "description": "Provision organization membership for a user, and send an activation email to the email address.\n\nAs shown in the following example, you must at least provide the required values for the user: `userName`, `name`, and `emails`.\n\nhttps://developer.github.com/v3/scim/#provision-and-invite-users", @@ -9595,8 +10293,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_438__", + "parentId": "__FLD_24__", + "_id": "__REQ_473__", "_type": "request", "name": "Get provisioning details for a single user", "description": "\n\nhttps://developer.github.com/v3/scim/#get-provisioning-details-for-a-single-user", @@ -9611,8 +10309,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_439__", + "parentId": "__FLD_24__", + "_id": "__REQ_474__", "_type": "request", "name": "Replace a provisioned user's information", "description": "Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the [Update a user attribute](https://developer.github.com/v3/scim/#update-a-user-attribute) endpoint instead.\n\nAs shown in the following example, you must at least provide the required values for the user: `userName`, `name`, and `emails`.\n\n**Warning:** Setting `active: false` removes the user from the organization, deletes the external identity, and deletes the associated `:scim_user_id`.\n\nhttps://developer.github.com/v3/scim/#replace-a-provisioned-users-information", @@ -9627,11 +10325,11 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_440__", + "parentId": "__FLD_24__", + "_id": "__REQ_475__", "_type": "request", "name": "Update a user attribute", - "description": "Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations.\n\nThe following example shows adding a new email address and updating the user's given name. For other examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n**Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will not work.\n\n**Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the organization, deletes the external identity, and deletes the associated `:scim_user_id`.\n\n```\n{\n \"Operations\":[{\n \"op\":\"replace\",\n \"value\":{\n \"active\":false\n }\n }]\n}\n\n```\n\nhttps://developer.github.com/v3/scim/#update-a-user-attribute", + "description": "Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific `Operations` JSON format that contains at least one of the `add`, `remove`, or `replace` operations.\n\nThe following example shows adding a new email address and updating the user's given name. For other examples and more information on the SCIM operations format, see the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n**Note:** Complicated SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will not work.\n\n**Warning:** If you set `active:false` using the `replace` operation (as shown in the JSON example below), it removes the user from the organization, deletes the external identity, and deletes the associated `:scim_user_id`.\n\n```\n{\n \"Operations\":[{\n \"op\":\"replace\",\n \"value\":{\n \"active\":false\n }\n }]\n}\n```\n\nhttps://developer.github.com/v3/scim/#update-a-user-attribute", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9643,8 +10341,8 @@ "parameters": [] }, { - "parentId": "__FLD_23__", - "_id": "__REQ_441__", + "parentId": "__FLD_24__", + "_id": "__REQ_476__", "_type": "request", "name": "Remove a user from the organization", "description": "\n\nhttps://developer.github.com/v3/scim/#remove-a-user-from-the-organization", @@ -9659,8 +10357,8 @@ "parameters": [] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_442__", + "parentId": "__FLD_25__", + "_id": "__REQ_477__", "_type": "request", "name": "Search code", "description": "Find file contents via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\n**Note:** You must [authenticate](https://developer.github.com/v3/#authentication) to search for code across all public repositories.\n\n**Considerations for code search**\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing language:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.\n\nSuppose you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery). Your query would look something like this:\n\nHere, we're searching for the keyword `addClass` within a file's contents. We're making sure that we're only looking in files where the language is JavaScript. And we're scoping the search to the `repo:jquery/jquery` repository.\n\nhttps://developer.github.com/v3/search/#search-code", @@ -9699,8 +10397,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_443__", + "parentId": "__FLD_25__", + "_id": "__REQ_478__", "_type": "request", "name": "Search commits", "description": "Find commits via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\n**Considerations for commit search**\n\nOnly the _default branch_ is considered. In most cases, this will be the `master` branch.\n\nSuppose you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\nhttps://developer.github.com/v3/search/#search-commits", @@ -9744,8 +10442,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_444__", + "parentId": "__FLD_25__", + "_id": "__REQ_479__", "_type": "request", "name": "Search issues and pull requests", "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\nLet's say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\nIn this query, we're searching for the keyword `windows`, within any open issue that's labeled as `bug`. The search runs across repositories whose primary language is Python. We’re sorting by creation date in ascending order, so that the oldest issues appear first in the search results.\n\nhttps://developer.github.com/v3/search/#search-issues-and-pull-requests", @@ -9784,8 +10482,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_445__", + "parentId": "__FLD_25__", + "_id": "__REQ_480__", "_type": "request", "name": "Search labels", "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\nSuppose you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\nThe labels that best match for the query appear first in the search results.\n\nhttps://developer.github.com/v3/search/#search-labels", @@ -9818,8 +10516,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_446__", + "parentId": "__FLD_25__", + "_id": "__REQ_481__", "_type": "request", "name": "Search repositories", "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\nSuppose you want to search for popular Tetris repositories written in Assembly. Your query might look like this.\n\nYou can search for multiple topics by adding more `topic:` instances, and including the `mercy-preview` header. For example:\n\nIn this request, we're searching for repositories with the word `tetris` in the name, the description, or the README. We're limiting the results to only find repositories where the primary language is Assembly. We're sorting by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://developer.github.com/v3/search/#search-repositories", @@ -9863,8 +10561,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_447__", + "parentId": "__FLD_25__", + "_id": "__REQ_482__", "_type": "request", "name": "Search topics", "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\nSee \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nSuppose you want to search for topics related to Ruby that are featured on [https://github.com/topics](https://github.com/topics). Your query might look like this:\n\nIn this request, we're searching for topics with the keyword `ruby`, and we're limiting the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\n**Note:** A search for featured Ruby topics only has 6 total results, so a [Link header](https://developer.github.com/v3/#link-header) indicating pagination is not included in the response.\n\nhttps://developer.github.com/v3/search/#search-topics", @@ -9889,8 +10587,8 @@ ] }, { - "parentId": "__FLD_24__", - "_id": "__REQ_448__", + "parentId": "__FLD_25__", + "_id": "__REQ_483__", "_type": "request", "name": "Search users", "description": "Find users via various criteria. This method returns up to 100 results [per page](https://developer.github.com/v3/#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/v3/search/#text-match-metadata).\n\nImagine you're looking for a list of popular users. You might try out this query:\n\nHere, we're looking at users with the name Tom. We're only interested in those with more than 42 repositories, and only if they have over 1,000 followers.\n\nhttps://developer.github.com/v3/search/#search-users", @@ -9929,8 +10627,8 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_449__", + "parentId": "__FLD_26__", + "_id": "__REQ_484__", "_type": "request", "name": "Get team (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [`Get team by name`](https://developer.github.com/v3/teams/#get-team-by-name) endpoint.\n\nhttps://developer.github.com/v3/teams/#get-team-legacy", @@ -9945,8 +10643,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_450__", + "parentId": "__FLD_26__", + "_id": "__REQ_485__", "_type": "request", "name": "Edit team (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Edit team`](https://developer.github.com/v3/teams/#edit-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://developer.github.com/v3/teams/#edit-team-legacy", @@ -9961,8 +10659,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_451__", + "parentId": "__FLD_26__", + "_id": "__REQ_486__", "_type": "request", "name": "Delete team (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete team`](https://developer.github.com/v3/teams/#delete-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://developer.github.com/v3/teams/#delete-team-legacy", @@ -9977,8 +10675,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_452__", + "parentId": "__FLD_26__", + "_id": "__REQ_487__", "_type": "request", "name": "List discussions (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://developer.github.com/v3/teams/discussions/#list-discussions) endpoint.\n\nList all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussions/#list-discussions-legacy", @@ -10014,8 +10712,8 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_453__", + "parentId": "__FLD_26__", + "_id": "__REQ_488__", "_type": "request", "name": "Create a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://developer.github.com/v3/teams/discussions/#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy", @@ -10035,8 +10733,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_454__", + "parentId": "__FLD_26__", + "_id": "__REQ_489__", "_type": "request", "name": "Get a single discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Get a single discussion`](https://developer.github.com/v3/teams/discussions/#get-a-single-discussion) endpoint.\n\nGet a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussions/#get-a-single-discussion-legacy", @@ -10056,8 +10754,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_455__", + "parentId": "__FLD_26__", + "_id": "__REQ_490__", "_type": "request", "name": "Edit a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Edit a discussion`](https://developer.github.com/v3/teams/discussions/#edit-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussions/#edit-a-discussion-legacy", @@ -10077,8 +10775,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_456__", + "parentId": "__FLD_26__", + "_id": "__REQ_491__", "_type": "request", "name": "Delete a discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://developer.github.com/v3/teams/discussions/#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy", @@ -10093,8 +10791,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_457__", + "parentId": "__FLD_26__", + "_id": "__REQ_492__", "_type": "request", "name": "List comments (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List comments`](https://developer.github.com/v3/teams/discussion_comments/#list-comments) endpoint.\n\nList all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussion_comments/#list-comments-legacy", @@ -10130,8 +10828,8 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_458__", + "parentId": "__FLD_26__", + "_id": "__REQ_493__", "_type": "request", "name": "Create a comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a comment`](https://developer.github.com/v3/teams/discussion_comments/#create-a-comment) endpoint.\n\nCreates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/v3/teams/discussion_comments/#create-a-comment-legacy", @@ -10151,8 +10849,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_459__", + "parentId": "__FLD_26__", + "_id": "__REQ_494__", "_type": "request", "name": "Get a single comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Get a single comment`](https://developer.github.com/v3/teams/discussion_comments/#get-a-single-comment) endpoint.\n\nGet a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussion_comments/#get-a-single-comment-legacy", @@ -10172,8 +10870,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_460__", + "parentId": "__FLD_26__", + "_id": "__REQ_495__", "_type": "request", "name": "Edit a comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Edit a comment`](https://developer.github.com/v3/teams/discussion_comments/#edit-a-comment) endpoint.\n\nEdits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussion_comments/#edit-a-comment-legacy", @@ -10193,8 +10891,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_461__", + "parentId": "__FLD_26__", + "_id": "__REQ_496__", "_type": "request", "name": "Delete a comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a comment`](https://developer.github.com/v3/teams/discussion_comments/#delete-a-comment) endpoint.\n\nDeletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/discussion_comments/#delete-a-comment-legacy", @@ -10209,8 +10907,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_462__", + "parentId": "__FLD_22__", + "_id": "__REQ_497__", "_type": "request", "name": "List reactions for a team discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", @@ -10245,8 +10943,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_463__", + "parentId": "__FLD_22__", + "_id": "__REQ_498__", "_type": "request", "name": "Create reaction for a team discussion comment (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion comment`](https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment) endpoint.\n\nCreate a reaction to a [team discussion comment](https://developer.github.com/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", @@ -10266,8 +10964,8 @@ "parameters": [] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_464__", + "parentId": "__FLD_22__", + "_id": "__REQ_499__", "_type": "request", "name": "List reactions for a team discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy", @@ -10302,8 +11000,8 @@ ] }, { - "parentId": "__FLD_21__", - "_id": "__REQ_465__", + "parentId": "__FLD_22__", + "_id": "__REQ_500__", "_type": "request", "name": "Create reaction for a team discussion (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://developer.github.com/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy", @@ -10323,8 +11021,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_466__", + "parentId": "__FLD_26__", + "_id": "__REQ_501__", "_type": "request", "name": "List pending team invitations (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List pending team invitations`](https://developer.github.com/v3/teams/members/#list-pending-team-invitations) endpoint.\n\nThe return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.\n\nhttps://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy", @@ -10350,8 +11048,8 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_467__", + "parentId": "__FLD_26__", + "_id": "__REQ_502__", "_type": "request", "name": "List team members (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://developer.github.com/v3/teams/members/#list-team-members) endpoint.\n\nTeam members will include the members of child teams.\n\nhttps://developer.github.com/v3/teams/members/#list-team-members-legacy", @@ -10382,8 +11080,8 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_468__", + "parentId": "__FLD_26__", + "_id": "__REQ_503__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership](https://developer.github.com/v3/teams/members/#get-team-membership) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/v3/teams/members/#get-team-member-legacy", @@ -10398,8 +11096,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_469__", + "parentId": "__FLD_26__", + "_id": "__REQ_504__", "_type": "request", "name": "Add team member (Legacy)", "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add team membership](https://developer.github.com/v3/teams/members/#add-or-update-team-membership) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**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 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](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\nhttps://developer.github.com/v3/teams/members/#add-team-member-legacy", @@ -10414,8 +11112,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_470__", + "parentId": "__FLD_26__", + "_id": "__REQ_505__", "_type": "request", "name": "Remove team member (Legacy)", "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership](https://developer.github.com/v3/teams/members/#remove-team-membership) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**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 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](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://developer.github.com/v3/teams/members/#remove-team-member-legacy", @@ -10430,8 +11128,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_471__", + "parentId": "__FLD_26__", + "_id": "__REQ_506__", "_type": "request", "name": "Get team membership (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Get team membership`](https://developer.github.com/v3/teams/members/#get-team-membership) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create team](https://developer.github.com/v3/teams#create-team).\n\nhttps://developer.github.com/v3/teams/members/#get-team-membership-legacy", @@ -10446,8 +11144,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_472__", + "parentId": "__FLD_26__", + "_id": "__REQ_507__", "_type": "request", "name": "Add or update team membership (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Add or update team membership`](https://developer.github.com/v3/teams/members/#add-or-update-team-membership) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**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 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](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user 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. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf 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.\n\nhttps://developer.github.com/v3/teams/members/#add-or-update-team-membership-legacy", @@ -10462,8 +11160,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_473__", + "parentId": "__FLD_26__", + "_id": "__REQ_508__", "_type": "request", "name": "Remove team membership (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Remove team membership`](https://developer.github.com/v3/teams/members/#remove-team-membership) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo 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.\n\n**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 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](https://help.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nhttps://developer.github.com/v3/teams/members/#remove-team-membership-legacy", @@ -10478,8 +11176,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_474__", + "parentId": "__FLD_26__", + "_id": "__REQ_509__", "_type": "request", "name": "List team projects (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://developer.github.com/v3/teams/#list-team-projects) endpoint.\n\nLists the organization projects for a team.\n\nhttps://developer.github.com/v3/teams/#list-team-projects-legacy", @@ -10510,8 +11208,8 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_475__", + "parentId": "__FLD_26__", + "_id": "__REQ_510__", "_type": "request", "name": "Review a team project (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Review a team project`](https://developer.github.com/v3/teams/#review-a-team-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\nhttps://developer.github.com/v3/teams/#review-a-team-project-legacy", @@ -10531,8 +11229,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_476__", + "parentId": "__FLD_26__", + "_id": "__REQ_511__", "_type": "request", "name": "Add or update team project (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Add or update team project`](https://developer.github.com/v3/teams/#add-or-update-team-project) endpoint.\n\nAdds 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.\n\nhttps://developer.github.com/v3/teams/#add-or-update-team-project-legacy", @@ -10552,8 +11250,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_477__", + "parentId": "__FLD_26__", + "_id": "__REQ_512__", "_type": "request", "name": "Remove team project (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Remove team project`](https://developer.github.com/v3/teams/#remove-team-project) endpoint.\n\nRemoves 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. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://developer.github.com/v3/teams/#remove-team-project-legacy", @@ -10568,8 +11266,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_478__", + "parentId": "__FLD_26__", + "_id": "__REQ_513__", "_type": "request", "name": "List team repos (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team repos`](https://developer.github.com/v3/teams/#list-team-repos) endpoint.\n\nhttps://developer.github.com/v3/teams/#list-team-repos-legacy", @@ -10595,8 +11293,8 @@ ] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_479__", + "parentId": "__FLD_26__", + "_id": "__REQ_514__", "_type": "request", "name": "Check if a team manages a repository (Legacy)", "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Check if a team manages a repository`](https://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository-legacy", @@ -10611,8 +11309,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_480__", + "parentId": "__FLD_26__", + "_id": "__REQ_515__", "_type": "request", "name": "Add or update team repository (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Add or update team repository`](https://developer.github.com/v3/teams/#add-or-update-team-repository) endpoint.\n\nTo 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.\n\nNote 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 verbs](https://developer.github.com/v3/#http-verbs).\"\n\nhttps://developer.github.com/v3/teams/#add-or-update-team-repository-legacy", @@ -10626,9 +11324,9 @@ "body": {}, "parameters": [] }, - { - "parentId": "__FLD_25__", - "_id": "__REQ_481__", + { + "parentId": "__FLD_26__", + "_id": "__REQ_516__", "_type": "request", "name": "Remove team repository (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Remove team repository`](https://developer.github.com/v3/teams/#remove-team-repository) endpoint.\n\nIf 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. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://developer.github.com/v3/teams/#remove-team-repository-legacy", @@ -10643,8 +11341,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_482__", + "parentId": "__FLD_26__", + "_id": "__REQ_517__", "_type": "request", "name": "List IdP groups for a team (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List IdP groups for a team`](https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nList IdP groups connected to a team on GitHub.\n\nhttps://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team-legacy", @@ -10659,8 +11357,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_483__", + "parentId": "__FLD_26__", + "_id": "__REQ_518__", "_type": "request", "name": "Create or update IdP group connections (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create or update IdP group connections`](https://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nCreates, updates, or removes a connection between a team and an IdP group. When adding groups to a team, you must include all new and existing groups to avoid replacing existing groups with the new ones. Specifying an empty `groups` array will remove all connections for a team.\n\nhttps://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections-legacy", @@ -10675,8 +11373,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_484__", + "parentId": "__FLD_26__", + "_id": "__REQ_519__", "_type": "request", "name": "List child teams (Legacy)", "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://developer.github.com/v3/teams/#list-child-teams) endpoint.\n\n\n\nhttps://developer.github.com/v3/teams/#list-child-teams-legacy", @@ -10702,8 +11400,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_485__", + "parentId": "__FLD_27__", + "_id": "__REQ_520__", "_type": "request", "name": "Get the authenticated user", "description": "Lists public and private profile information when authenticated through basic auth or OAuth with the `user` scope.\n\nLists public profile information when authenticated through OAuth without the `user` scope.\n\nhttps://developer.github.com/v3/users/#get-the-authenticated-user", @@ -10718,8 +11416,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_486__", + "parentId": "__FLD_27__", + "_id": "__REQ_521__", "_type": "request", "name": "Update the authenticated user", "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://developer.github.com/v3/users/#update-the-authenticated-user", @@ -10734,8 +11432,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_487__", + "parentId": "__FLD_27__", + "_id": "__REQ_522__", "_type": "request", "name": "List blocked users", "description": "List the users you've blocked on your personal account.\n\nhttps://developer.github.com/v3/users/blocking/#list-blocked-users", @@ -10750,8 +11448,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_488__", + "parentId": "__FLD_27__", + "_id": "__REQ_523__", "_type": "request", "name": "Check whether you've blocked a user", "description": "If the user is blocked:\n\nIf the user is not blocked:\n\nhttps://developer.github.com/v3/users/blocking/#check-whether-youve-blocked-a-user", @@ -10766,8 +11464,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_489__", + "parentId": "__FLD_27__", + "_id": "__REQ_524__", "_type": "request", "name": "Block a user", "description": "\n\nhttps://developer.github.com/v3/users/blocking/#block-a-user", @@ -10782,8 +11480,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_490__", + "parentId": "__FLD_27__", + "_id": "__REQ_525__", "_type": "request", "name": "Unblock a user", "description": "\n\nhttps://developer.github.com/v3/users/blocking/#unblock-a-user", @@ -10798,8 +11496,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_491__", + "parentId": "__FLD_27__", + "_id": "__REQ_526__", "_type": "request", "name": "Toggle primary email visibility", "description": "Sets the visibility for your primary email addresses.\n\nhttps://developer.github.com/v3/users/emails/#toggle-primary-email-visibility", @@ -10814,8 +11512,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_492__", + "parentId": "__FLD_27__", + "_id": "__REQ_527__", "_type": "request", "name": "List email addresses for a user", "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/v3/users/emails/#list-email-addresses-for-a-user", @@ -10841,8 +11539,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_493__", + "parentId": "__FLD_27__", + "_id": "__REQ_528__", "_type": "request", "name": "Add email address(es)", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/v3/users/emails/#add-email-addresses", @@ -10857,8 +11555,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_494__", + "parentId": "__FLD_27__", + "_id": "__REQ_529__", "_type": "request", "name": "Delete email address(es)", "description": "This endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/v3/users/emails/#delete-email-addresses", @@ -10873,11 +11571,11 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_495__", + "parentId": "__FLD_27__", + "_id": "__REQ_530__", "_type": "request", - "name": "List the authenticated user's followers", - "description": "\n\nhttps://developer.github.com/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://developer.github.com/v3/users/followers/#list-followers-of-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10900,11 +11598,11 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_496__", + "parentId": "__FLD_27__", + "_id": "__REQ_531__", "_type": "request", - "name": "List who the authenticated user is following", - "description": "\n\nhttps://developer.github.com/v3/users/followers/#list-users-followed-by-another-user", + "name": "List users followed by the authenticated user", + "description": "Lists the people who the authenticated user follows.\n\nhttps://developer.github.com/v3/users/followers/#list-users-followed-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10927,8 +11625,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_497__", + "parentId": "__FLD_27__", + "_id": "__REQ_532__", "_type": "request", "name": "Check if you are following a user", "description": "\n\nhttps://developer.github.com/v3/users/followers/#check-if-you-are-following-a-user", @@ -10943,8 +11641,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_498__", + "parentId": "__FLD_27__", + "_id": "__REQ_533__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/v3/users/followers/#follow-a-user", @@ -10959,8 +11657,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_499__", + "parentId": "__FLD_27__", + "_id": "__REQ_534__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/v3/users/followers/#unfollow-a-user", @@ -10975,8 +11673,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_500__", + "parentId": "__FLD_27__", + "_id": "__REQ_535__", "_type": "request", "name": "List your GPG keys", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/gpg_keys/#list-your-gpg-keys", @@ -11002,8 +11700,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_501__", + "parentId": "__FLD_27__", + "_id": "__REQ_536__", "_type": "request", "name": "Create a GPG key", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/gpg_keys/#create-a-gpg-key", @@ -11018,8 +11716,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_502__", + "parentId": "__FLD_27__", + "_id": "__REQ_537__", "_type": "request", "name": "Get a single GPG key", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/gpg_keys/#get-a-single-gpg-key", @@ -11034,8 +11732,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_503__", + "parentId": "__FLD_27__", + "_id": "__REQ_538__", "_type": "request", "name": "Delete a GPG key", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/gpg_keys/#delete-a-gpg-key", @@ -11050,8 +11748,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_504__", + "parentId": "__FLD_4__", + "_id": "__REQ_539__", "_type": "request", "name": "List installations for a user", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://developer.github.com/v3/apps/installations/#list-installations-for-a-user", @@ -11082,8 +11780,8 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_505__", + "parentId": "__FLD_4__", + "_id": "__REQ_540__", "_type": "request", "name": "List repositories accessible to the user for an installation", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-installation", @@ -11114,8 +11812,8 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_506__", + "parentId": "__FLD_4__", + "_id": "__REQ_541__", "_type": "request", "name": "Add repository to installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/installations/#add-repository-to-installation", @@ -11135,8 +11833,8 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_507__", + "parentId": "__FLD_4__", + "_id": "__REQ_542__", "_type": "request", "name": "Remove repository from installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/installations/#remove-repository-from-installation", @@ -11156,11 +11854,11 @@ "parameters": [] }, { - "parentId": "__FLD_11__", - "_id": "__REQ_508__", + "parentId": "__FLD_12__", + "_id": "__REQ_543__", "_type": "request", - "name": "List all issues across owned and member repositories assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#list-issues", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user:\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/v3/pulls/#list-pull-requests)\" endpoint.\n\n\n\nhttps://developer.github.com/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", "headers": [ { "name": "Accept", @@ -11216,8 +11914,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_509__", + "parentId": "__FLD_27__", + "_id": "__REQ_544__", "_type": "request", "name": "List your public keys", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/keys/#list-your-public-keys", @@ -11243,8 +11941,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_510__", + "parentId": "__FLD_27__", + "_id": "__REQ_545__", "_type": "request", "name": "Create a public key", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/keys/#create-a-public-key", @@ -11259,8 +11957,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_511__", + "parentId": "__FLD_27__", + "_id": "__REQ_546__", "_type": "request", "name": "Get a single public key", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/keys/#get-a-single-public-key", @@ -11275,8 +11973,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_512__", + "parentId": "__FLD_27__", + "_id": "__REQ_547__", "_type": "request", "name": "Delete a public key", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/v3/users/keys/#delete-a-public-key", @@ -11291,11 +11989,11 @@ "parameters": [] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_513__", + "parentId": "__FLD_4__", + "_id": "__REQ_548__", "_type": "request", - "name": "Get a user's Marketplace purchases", - "description": "Returns only active subscriptions. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/).\n\nhttps://developer.github.com/v3/apps/marketplace/#get-a-users-marketplace-purchases", + "name": "List subscriptions for the authenticated user", + "description": "Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/).\n\nhttps://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11318,11 +12016,11 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_514__", + "parentId": "__FLD_4__", + "_id": "__REQ_549__", "_type": "request", - "name": "Get a user's Marketplace purchases (stubbed)", - "description": "Returns only active subscriptions. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/).\n\nhttps://developer.github.com/v3/apps/marketplace/#get-a-users-marketplace-purchases", + "name": "List subscriptions for the authenticated user (stubbed)", + "description": "Lists the active subscriptions for the authenticated user. You must use a [user-to-server OAuth access token](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint. . OAuth Apps must authenticate using an [OAuth token](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/).\n\nhttps://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user-stubbed", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11345,8 +12043,8 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_515__", + "parentId": "__FLD_18__", + "_id": "__REQ_550__", "_type": "request", "name": "List your organization memberships", "description": "\n\nhttps://developer.github.com/v3/orgs/members/#list-your-organization-memberships", @@ -11376,8 +12074,8 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_516__", + "parentId": "__FLD_18__", + "_id": "__REQ_551__", "_type": "request", "name": "Get your organization membership", "description": "\n\nhttps://developer.github.com/v3/orgs/members/#get-your-organization-membership", @@ -11392,8 +12090,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_517__", + "parentId": "__FLD_18__", + "_id": "__REQ_552__", "_type": "request", "name": "Edit your organization membership", "description": "\n\nhttps://developer.github.com/v3/orgs/members/#edit-your-organization-membership", @@ -11408,8 +12106,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_518__", + "parentId": "__FLD_16__", + "_id": "__REQ_553__", "_type": "request", "name": "Start a user migration", "description": "Initiates the generation of a user migration archive.\n\nhttps://developer.github.com/v3/migrations/users/#start-a-user-migration", @@ -11424,8 +12122,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_519__", + "parentId": "__FLD_16__", + "_id": "__REQ_554__", "_type": "request", "name": "List user migrations", "description": "Lists all migrations a user has started.\n\nhttps://developer.github.com/v3/migrations/users/#list-user-migrations", @@ -11456,8 +12154,8 @@ ] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_520__", + "parentId": "__FLD_16__", + "_id": "__REQ_555__", "_type": "request", "name": "Get the status of a user migration", "description": "Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:\n\n* `pending` - the migration hasn't started yet.\n* `exporting` - the migration is in progress.\n* `exported` - the migration finished successfully.\n* `failed` - the migration failed.\n\nOnce the migration has been `exported` you can [download the migration archive](https://developer.github.com/v3/migrations/users/#download-a-user-migration-archive).\n\nhttps://developer.github.com/v3/migrations/users/#get-the-status-of-a-user-migration", @@ -11477,8 +12175,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_521__", + "parentId": "__FLD_16__", + "_id": "__REQ_556__", "_type": "request", "name": "Download a user migration archive", "description": "Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:\n\n* attachments\n* bases\n* commit\\_comments\n* issue\\_comments\n* issue\\_events\n* issues\n* milestones\n* organizations\n* projects\n* protected\\_branches\n* pull\\_request\\_reviews\n* pull\\_requests\n* releases\n* repositories\n* review\\_comments\n* schema\n* users\n\nThe archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data.\n\n\n\nhttps://developer.github.com/v3/migrations/users/#download-a-user-migration-archive", @@ -11498,8 +12196,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_522__", + "parentId": "__FLD_16__", + "_id": "__REQ_557__", "_type": "request", "name": "Delete a user migration archive", "description": "Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://developer.github.com/v3/migrations/users/#list-user-migrations) and [Get the status of a user migration](https://developer.github.com/v3/migrations/users/#get-the-status-of-a-user-migration) endpoints, will continue to be available even after an archive is deleted.\n\nhttps://developer.github.com/v3/migrations/users/#delete-a-user-migration-archive", @@ -11519,8 +12217,8 @@ "parameters": [] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_523__", + "parentId": "__FLD_16__", + "_id": "__REQ_558__", "_type": "request", "name": "Unlock a user repository", "description": "Unlocks a repository. You can lock repositories when you [start a user migration](https://developer.github.com/v3/migrations/users/#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://developer.github.com/v3/repos/#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked.\n\nhttps://developer.github.com/v3/migrations/users/#unlock-a-user-repository", @@ -11540,8 +12238,8 @@ "parameters": [] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_524__", + "parentId": "__FLD_18__", + "_id": "__REQ_559__", "_type": "request", "name": "List your organizations", "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://developer.github.com/v3/orgs/#list-your-organizations", @@ -11567,8 +12265,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_525__", + "parentId": "__FLD_19__", + "_id": "__REQ_560__", "_type": "request", "name": "Create a user project", "description": "\n\nhttps://developer.github.com/v3/projects/#create-a-user-project", @@ -11588,8 +12286,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_526__", + "parentId": "__FLD_27__", + "_id": "__REQ_561__", "_type": "request", "name": "List public email addresses for a user", "description": "Lists your publicly visible email address, which you can set with the [Toggle primary email visibility](https://developer.github.com/v3/users/emails/#toggle-primary-email-visibility) endpoint. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/v3/users/emails/#list-public-email-addresses-for-a-user", @@ -11615,11 +12313,11 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_527__", + "parentId": "__FLD_23__", + "_id": "__REQ_562__", "_type": "request", - "name": "List your repositories", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/v3/repos/#list-your-repositories", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/v3/repos/#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11666,11 +12364,11 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_528__", + "parentId": "__FLD_23__", + "_id": "__REQ_563__", "_type": "request", - "name": "Creates a new repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/v3/repos/#create", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/v3/repos/#create-a-repository-for-the-authenticated-user", "headers": [ { "name": "Accept", @@ -11687,8 +12385,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_529__", + "parentId": "__FLD_23__", + "_id": "__REQ_564__", "_type": "request", "name": "List a user's repository invitations", "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\n\n\nhttps://developer.github.com/v3/repos/invitations/#list-a-users-repository-invitations", @@ -11714,8 +12412,8 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_530__", + "parentId": "__FLD_23__", + "_id": "__REQ_565__", "_type": "request", "name": "Accept a repository invitation", "description": "\n\nhttps://developer.github.com/v3/repos/invitations/#accept-a-repository-invitation", @@ -11730,8 +12428,8 @@ "parameters": [] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_531__", + "parentId": "__FLD_23__", + "_id": "__REQ_566__", "_type": "request", "name": "Decline a repository invitation", "description": "\n\nhttps://developer.github.com/v3/repos/invitations/#decline-a-repository-invitation", @@ -11746,11 +12444,11 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_532__", + "parentId": "__FLD_3__", + "_id": "__REQ_567__", "_type": "request", - "name": "List repositories being starred by the authenticated user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/v3/activity/starring/#list-repositories-starred-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11783,8 +12481,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_533__", + "parentId": "__FLD_3__", + "_id": "__REQ_568__", "_type": "request", "name": "Check if you are starring a repository", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/v3/activity/starring/#check-if-you-are-starring-a-repository", @@ -11799,8 +12497,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_534__", + "parentId": "__FLD_3__", + "_id": "__REQ_569__", "_type": "request", "name": "Star a repository", "description": "Requires for the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\nhttps://developer.github.com/v3/activity/starring/#star-a-repository", @@ -11815,8 +12513,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_535__", + "parentId": "__FLD_3__", + "_id": "__REQ_570__", "_type": "request", "name": "Unstar a repository", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/v3/activity/starring/#unstar-a-repository", @@ -11831,11 +12529,11 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_536__", + "parentId": "__FLD_3__", + "_id": "__REQ_571__", "_type": "request", - "name": "List repositories being watched by the authenticated user", - "description": "\n\nhttps://developer.github.com/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://developer.github.com/v3/activity/watching/#list-repositories-watched-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11858,8 +12556,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_537__", + "parentId": "__FLD_3__", + "_id": "__REQ_572__", "_type": "request", "name": "Check if you are watching a repository (LEGACY)", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/v3/activity/watching/#check-if-you-are-watching-a-repository-legacy", @@ -11874,8 +12572,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_538__", + "parentId": "__FLD_3__", + "_id": "__REQ_573__", "_type": "request", "name": "Watch a repository (LEGACY)", "description": "Requires the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"\n\nhttps://developer.github.com/v3/activity/watching/#watch-a-repository-legacy", @@ -11890,8 +12588,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_539__", + "parentId": "__FLD_3__", + "_id": "__REQ_574__", "_type": "request", "name": "Stop watching a repository (LEGACY)", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/v3/activity/watching/#stop-watching-a-repository-legacy", @@ -11906,8 +12604,8 @@ "parameters": [] }, { - "parentId": "__FLD_25__", - "_id": "__REQ_540__", + "parentId": "__FLD_26__", + "_id": "__REQ_575__", "_type": "request", "name": "List user teams", "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://developer.github.com/apps/building-oauth-apps/).\n\nhttps://developer.github.com/v3/teams/#list-user-teams", @@ -11933,8 +12631,8 @@ ] }, { - "parentId": "__FLD_15__", - "_id": "__REQ_541__", + "parentId": "__FLD_16__", + "_id": "__REQ_576__", "_type": "request", "name": "List repositories for a user migration", "description": "Lists all the repositories for this user migration.\n\nhttps://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration", @@ -11965,8 +12663,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_542__", + "parentId": "__FLD_27__", + "_id": "__REQ_577__", "_type": "request", "name": "Get all users", "description": "Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/v3/#link-header) to get the URL for the next page of users.\n\nhttps://developer.github.com/v3/users/#get-all-users", @@ -11996,8 +12694,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_543__", + "parentId": "__FLD_27__", + "_id": "__REQ_578__", "_type": "request", "name": "Get a single user", "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see \"[Response with GitHub plan information](https://developer.github.com/v3/users/#response-with-github-plan-information).\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://developer.github.com/v3/#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://developer.github.com/v3/users/emails/)\".\n\nhttps://developer.github.com/v3/users/#get-a-single-user", @@ -12012,8 +12710,8 @@ "parameters": [] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_544__", + "parentId": "__FLD_3__", + "_id": "__REQ_579__", "_type": "request", "name": "List events performed by a user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/v3/activity/events/#list-events-performed-by-a-user", @@ -12039,8 +12737,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_545__", + "parentId": "__FLD_3__", + "_id": "__REQ_580__", "_type": "request", "name": "List events for an organization", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://developer.github.com/v3/activity/events/#list-events-for-an-organization", @@ -12066,8 +12764,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_546__", + "parentId": "__FLD_3__", + "_id": "__REQ_581__", "_type": "request", "name": "List public events performed by a user", "description": "\n\nhttps://developer.github.com/v3/activity/events/#list-public-events-performed-by-a-user", @@ -12093,11 +12791,11 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_547__", + "parentId": "__FLD_27__", + "_id": "__REQ_582__", "_type": "request", - "name": "List a user's followers", - "description": "\n\nhttps://developer.github.com/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://developer.github.com/v3/users/followers/#list-followers-of-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12120,11 +12818,11 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_548__", + "parentId": "__FLD_27__", + "_id": "__REQ_583__", "_type": "request", - "name": "List who a user is following", - "description": "\n\nhttps://developer.github.com/v3/users/followers/#list-users-followed-by-another-user", + "name": "List users followed by another user", + "description": "Lists the people who the specified user follows.\n\nhttps://developer.github.com/v3/users/followers/#list-users-followed-by-another-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12147,8 +12845,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_549__", + "parentId": "__FLD_27__", + "_id": "__REQ_584__", "_type": "request", "name": "Check if one user follows another", "description": "\n\nhttps://developer.github.com/v3/users/followers/#check-if-one-user-follows-another", @@ -12163,11 +12861,11 @@ "parameters": [] }, { - "parentId": "__FLD_7__", - "_id": "__REQ_550__", + "parentId": "__FLD_8__", + "_id": "__REQ_585__", "_type": "request", - "name": "List public gists for the specified user", - "description": "\n\nhttps://developer.github.com/v3/gists/#list-a-users-gists", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://developer.github.com/v3/gists/#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12194,8 +12892,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_551__", + "parentId": "__FLD_27__", + "_id": "__REQ_586__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-a-user", @@ -12221,8 +12919,8 @@ ] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_552__", + "parentId": "__FLD_27__", + "_id": "__REQ_587__", "_type": "request", "name": "Get contextual information about a user", "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\nhttps://developer.github.com/v3/users/#get-contextual-information-about-a-user", @@ -12246,8 +12944,8 @@ ] }, { - "parentId": "__FLD_3__", - "_id": "__REQ_553__", + "parentId": "__FLD_4__", + "_id": "__REQ_588__", "_type": "request", "name": "Get a user installation", "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/v3/apps/#get-a-user-installation", @@ -12267,8 +12965,8 @@ "parameters": [] }, { - "parentId": "__FLD_26__", - "_id": "__REQ_554__", + "parentId": "__FLD_27__", + "_id": "__REQ_589__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://developer.github.com/v3/users/keys/#list-public-keys-for-a-user", @@ -12294,8 +12992,8 @@ ] }, { - "parentId": "__FLD_17__", - "_id": "__REQ_555__", + "parentId": "__FLD_18__", + "_id": "__REQ_590__", "_type": "request", "name": "List user organizations", "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List your organizations](https://developer.github.com/v3/orgs/#list-your-organizations) API instead.\n\nhttps://developer.github.com/v3/orgs/#list-user-organizations", @@ -12321,8 +13019,8 @@ ] }, { - "parentId": "__FLD_18__", - "_id": "__REQ_556__", + "parentId": "__FLD_19__", + "_id": "__REQ_591__", "_type": "request", "name": "List user projects", "description": "\n\nhttps://developer.github.com/v3/projects/#list-user-projects", @@ -12358,8 +13056,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_557__", + "parentId": "__FLD_3__", + "_id": "__REQ_592__", "_type": "request", "name": "List events that a user has received", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/v3/activity/events/#list-events-that-a-user-has-received", @@ -12385,8 +13083,8 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_558__", + "parentId": "__FLD_3__", + "_id": "__REQ_593__", "_type": "request", "name": "List public events that a user has received", "description": "\n\nhttps://developer.github.com/v3/activity/events/#list-public-events-that-a-user-has-received", @@ -12412,11 +13110,11 @@ ] }, { - "parentId": "__FLD_22__", - "_id": "__REQ_559__", + "parentId": "__FLD_23__", + "_id": "__REQ_594__", "_type": "request", - "name": "List user repositories", - "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/v3/repos/#list-user-repositories", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/v3/repos/#list-repositories-for-a-user", "headers": [ { "name": "Accept", @@ -12458,11 +13156,11 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_560__", + "parentId": "__FLD_3__", + "_id": "__REQ_595__", "_type": "request", - "name": "List repositories being starred by a user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/v3/activity/starring/#list-repositories-starred-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -12495,11 +13193,11 @@ ] }, { - "parentId": "__FLD_2__", - "_id": "__REQ_561__", + "parentId": "__FLD_3__", + "_id": "__REQ_596__", "_type": "request", - "name": "List repositories being watched by a user", - "description": "\n\nhttps://developer.github.com/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://developer.github.com/v3/activity/watching/#list-repositories-watched-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", diff --git a/routes/ghe-2.17.json b/routes/ghe-2.17.json index 4f44df5..3998bea 100644 --- a/routes/ghe-2.17.json +++ b/routes/ghe-2.17.json @@ -1,12 +1,12 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2020-01-23T05:12:18.672Z", + "__export_date": "2020-03-21T19:15:42.401Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_51__", + "_id": "__FLD_28__", "_type": "request_group", "name": "GitHub Enterprise REST API v3", "environment": { @@ -83,146 +83,146 @@ } }, { - "parentId": "__FLD_51__", - "_id": "__FLD_52__", + "parentId": "__FLD_28__", + "_id": "__FLD_29__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_53__", + "parentId": "__FLD_28__", + "_id": "__FLD_30__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_54__", + "parentId": "__FLD_28__", + "_id": "__FLD_31__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_55__", + "parentId": "__FLD_28__", + "_id": "__FLD_32__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_56__", + "parentId": "__FLD_28__", + "_id": "__FLD_33__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_57__", + "parentId": "__FLD_28__", + "_id": "__FLD_34__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_58__", + "parentId": "__FLD_28__", + "_id": "__FLD_35__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_59__", + "parentId": "__FLD_28__", + "_id": "__FLD_36__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_60__", + "parentId": "__FLD_28__", + "_id": "__FLD_37__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_61__", + "parentId": "__FLD_28__", + "_id": "__FLD_38__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_62__", + "parentId": "__FLD_28__", + "_id": "__FLD_39__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_63__", + "parentId": "__FLD_28__", + "_id": "__FLD_40__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_64__", + "parentId": "__FLD_28__", + "_id": "__FLD_41__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_65__", + "parentId": "__FLD_28__", + "_id": "__FLD_42__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_66__", + "parentId": "__FLD_28__", + "_id": "__FLD_43__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_67__", + "parentId": "__FLD_28__", + "_id": "__FLD_44__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_68__", + "parentId": "__FLD_28__", + "_id": "__FLD_45__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_69__", + "parentId": "__FLD_28__", + "_id": "__FLD_46__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_70__", + "parentId": "__FLD_28__", + "_id": "__FLD_47__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_71__", + "parentId": "__FLD_28__", + "_id": "__FLD_48__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_72__", + "parentId": "__FLD_28__", + "_id": "__FLD_49__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_73__", + "parentId": "__FLD_28__", + "_id": "__FLD_50__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_51__", - "_id": "__FLD_74__", + "parentId": "__FLD_28__", + "_id": "__FLD_51__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1053__", + "parentId": "__FLD_34__", + "_id": "__REQ_597__", "_type": "request", "name": "List global hooks", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/global_webhooks/#list-global-hooks", @@ -253,8 +253,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1054__", + "parentId": "__FLD_34__", + "_id": "__REQ_598__", "_type": "request", "name": "Create a global hook", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/global_webhooks/#create-a-global-hook", @@ -274,8 +274,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1055__", + "parentId": "__FLD_34__", + "_id": "__REQ_599__", "_type": "request", "name": "Get single global hook", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/global_webhooks/#get-single-global-hook", @@ -295,8 +295,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1056__", + "parentId": "__FLD_34__", + "_id": "__REQ_600__", "_type": "request", "name": "Edit a global hook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/global_webhooks/#edit-a-global-hook", @@ -316,8 +316,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1057__", + "parentId": "__FLD_34__", + "_id": "__REQ_601__", "_type": "request", "name": "Delete a global hook", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/global_webhooks/#delete-a-global-hook", @@ -337,8 +337,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1058__", + "parentId": "__FLD_34__", + "_id": "__REQ_602__", "_type": "request", "name": "Ping a global hook", "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.17/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/global_webhooks/#ping-a-global-hook", @@ -358,8 +358,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1059__", + "parentId": "__FLD_34__", + "_id": "__REQ_603__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#delete-a-public-key", @@ -374,8 +374,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1060__", + "parentId": "__FLD_34__", + "_id": "__REQ_604__", "_type": "request", "name": "Update LDAP mapping for a team", "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create team](https://developer.github.com/enterprise/2.17/v3/teams/#create-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-team", @@ -395,8 +395,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1061__", + "parentId": "__FLD_34__", + "_id": "__REQ_605__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-team", @@ -411,8 +411,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1062__", + "parentId": "__FLD_34__", + "_id": "__REQ_606__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user", @@ -427,8 +427,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1063__", + "parentId": "__FLD_34__", + "_id": "__REQ_607__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-user", @@ -443,8 +443,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1064__", + "parentId": "__FLD_34__", + "_id": "__REQ_608__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/orgs/#create-an-organization", @@ -459,8 +459,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1065__", + "parentId": "__FLD_34__", + "_id": "__REQ_609__", "_type": "request", "name": "Rename an organization", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/orgs/#rename-an-organization", @@ -475,8 +475,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1066__", + "parentId": "__FLD_34__", + "_id": "__REQ_610__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#list-pre-receive-environments", @@ -502,8 +502,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1067__", + "parentId": "__FLD_34__", + "_id": "__REQ_611__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#create-a-pre-receive-environment", @@ -518,8 +518,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1068__", + "parentId": "__FLD_34__", + "_id": "__REQ_612__", "_type": "request", "name": "Get a single pre-receive environment", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#get-a-single-pre-receive-environment", @@ -534,8 +534,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1069__", + "parentId": "__FLD_34__", + "_id": "__REQ_613__", "_type": "request", "name": "Edit a pre-receive environment", "description": "If you attempt to modify the default environment, you will get a response like this:\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#edit-a-pre-receive-environment", @@ -550,8 +550,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1070__", + "parentId": "__FLD_34__", + "_id": "__REQ_614__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will get a response like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#delete-a-pre-receive-environment", @@ -566,8 +566,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1071__", + "parentId": "__FLD_34__", + "_id": "__REQ_615__", "_type": "request", "name": "Trigger a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will get a reponse like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#trigger-a-pre-receive-environment-download", @@ -582,8 +582,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1072__", + "parentId": "__FLD_34__", + "_id": "__REQ_616__", "_type": "request", "name": "Get a pre-receive environment's download status", "description": "In addition to seeing the download status at the `/admin/pre-receive-environments/:pre_receive_environment_id`, there is also a separate endpoint for just the status.\n\nPossible values for `state` are `not_started`, `in_progress`, `success`, `failed`.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_environments/#get-a-pre-receive-environments-download-status", @@ -611,8 +611,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1073__", + "parentId": "__FLD_34__", + "_id": "__REQ_617__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_hooks/#list-pre-receive-hooks", @@ -638,8 +638,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1074__", + "parentId": "__FLD_34__", + "_id": "__REQ_618__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_hooks/#create-a-pre-receive-hook", @@ -654,8 +654,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1075__", + "parentId": "__FLD_34__", + "_id": "__REQ_619__", "_type": "request", "name": "Get a single pre-receive hook", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_hooks/#get-a-single-pre-receive-hook", @@ -670,8 +670,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1076__", + "parentId": "__FLD_34__", + "_id": "__REQ_620__", "_type": "request", "name": "Edit a pre-receive hook", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_hooks/#edit-a-pre-receive-hook", @@ -686,8 +686,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1077__", + "parentId": "__FLD_34__", + "_id": "__REQ_621__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/pre_receive_hooks/#delete-a-pre-receive-hook", @@ -702,8 +702,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1078__", + "parentId": "__FLD_34__", + "_id": "__REQ_622__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#list-personal-access-tokens", @@ -729,8 +729,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1079__", + "parentId": "__FLD_34__", + "_id": "__REQ_623__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#delete-a-personal-access-token", @@ -745,8 +745,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1080__", + "parentId": "__FLD_34__", + "_id": "__REQ_624__", "_type": "request", "name": "Create a new user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://developer.github.com/enterprise/2.17/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#create-a-new-user", @@ -761,8 +761,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1081__", + "parentId": "__FLD_34__", + "_id": "__REQ_625__", "_type": "request", "name": "Rename an existing user", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#rename-an-existing-user", @@ -777,8 +777,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1082__", + "parentId": "__FLD_34__", + "_id": "__REQ_626__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#delete-a-user", @@ -793,8 +793,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1083__", + "parentId": "__FLD_34__", + "_id": "__REQ_627__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#create-an-impersonation-oauth-token", @@ -809,8 +809,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1084__", + "parentId": "__FLD_34__", + "_id": "__REQ_628__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#delete-an-impersonation-oauth-token", @@ -825,8 +825,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1085__", + "parentId": "__FLD_30__", + "_id": "__REQ_629__", "_type": "request", "name": "Get the authenticated GitHub App", "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations](https://developer.github.com/enterprise/2.17/v3/apps/#list-installations)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#get-the-authenticated-github-app", @@ -846,8 +846,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1086__", + "parentId": "__FLD_30__", + "_id": "__REQ_630__", "_type": "request", "name": "Create a GitHub App from a manifest", "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://developer.github.com/enterprise/2.17/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#create-a-github-app-from-a-manifest", @@ -867,8 +867,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1087__", + "parentId": "__FLD_30__", + "_id": "__REQ_631__", "_type": "request", "name": "List installations", "description": "You must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#list-installations", @@ -899,8 +899,8 @@ ] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1088__", + "parentId": "__FLD_30__", + "_id": "__REQ_632__", "_type": "request", "name": "Get an installation", "description": "You must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#get-an-installation", @@ -920,8 +920,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1089__", + "parentId": "__FLD_30__", + "_id": "__REQ_633__", "_type": "request", "name": "Delete an installation", "description": "Uninstalls a GitHub App on a user, organization, or business account.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#delete-an-installation", @@ -941,11 +941,11 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1090__", + "parentId": "__FLD_30__", + "_id": "__REQ_634__", "_type": "request", "name": "Create a new installation token", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token.\n\nBy default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThis example grants the token \"Read and write\" permission to `issues` and \"Read\" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#create-a-new-installation-token", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThis example grants the token \"Read and write\" permission to `issues` and \"Read\" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#create-a-new-installation-token", "headers": [ { "name": "Accept", @@ -962,8 +962,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1091__", + "parentId": "__FLD_42__", + "_id": "__REQ_635__", "_type": "request", "name": "List your grants", "description": "You can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#list-your-grants", @@ -989,8 +989,8 @@ ] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1092__", + "parentId": "__FLD_42__", + "_id": "__REQ_636__", "_type": "request", "name": "Get a single grant", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#get-a-single-grant", @@ -1005,8 +1005,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1093__", + "parentId": "__FLD_42__", + "_id": "__REQ_637__", "_type": "request", "name": "Delete a grant", "description": "Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#delete-a-grant", @@ -1021,8 +1021,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1094__", + "parentId": "__FLD_42__", + "_id": "__REQ_638__", "_type": "request", "name": "Revoke a grant for an application", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#revoke-a-grant-for-an-application", @@ -1037,8 +1037,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1095__", + "parentId": "__FLD_42__", + "_id": "__REQ_639__", "_type": "request", "name": "Check an authorization", "description": "OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#check-an-authorization", @@ -1053,8 +1053,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1096__", + "parentId": "__FLD_42__", + "_id": "__REQ_640__", "_type": "request", "name": "Reset an authorization", "description": "OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the \"token\" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#reset-an-authorization", @@ -1069,8 +1069,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1097__", + "parentId": "__FLD_42__", + "_id": "__REQ_641__", "_type": "request", "name": "Revoke an authorization for an application", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#revoke-an-authorization-for-an-application", @@ -1085,8 +1085,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1098__", + "parentId": "__FLD_30__", + "_id": "__REQ_642__", "_type": "request", "name": "Get a single GitHub App", "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#get-a-single-github-app", @@ -1106,8 +1106,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1099__", + "parentId": "__FLD_42__", + "_id": "__REQ_643__", "_type": "request", "name": "List your authorizations", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#list-your-authorizations", @@ -1133,8 +1133,8 @@ ] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1100__", + "parentId": "__FLD_42__", + "_id": "__REQ_644__", "_type": "request", "name": "Create a new authorization", "description": "Creates OAuth tokens using [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.17/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can use this endpoint to create multiple OAuth tokens instead of implementing the [web flow](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/authorizing-oauth-apps/).\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#create-a-new-authorization", @@ -1149,8 +1149,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1101__", + "parentId": "__FLD_42__", + "_id": "__REQ_645__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "Creates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.17/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", @@ -1165,8 +1165,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1102__", + "parentId": "__FLD_42__", + "_id": "__REQ_646__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "This method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.17/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1181,8 +1181,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1103__", + "parentId": "__FLD_42__", + "_id": "__REQ_647__", "_type": "request", "name": "Get a single authorization", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#get-a-single-authorization", @@ -1197,8 +1197,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1104__", + "parentId": "__FLD_42__", + "_id": "__REQ_648__", "_type": "request", "name": "Update an existing authorization", "description": "If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.17/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#update-an-existing-authorization", @@ -1213,8 +1213,8 @@ "parameters": [] }, { - "parentId": "__FLD_65__", - "_id": "__REQ_1105__", + "parentId": "__FLD_42__", + "_id": "__REQ_649__", "_type": "request", "name": "Delete an authorization", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#delete-an-authorization", @@ -1229,8 +1229,8 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1106__", + "parentId": "__FLD_32__", + "_id": "__REQ_650__", "_type": "request", "name": "List all codes of conduct", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/codes_of_conduct/#list-all-codes-of-conduct", @@ -1250,8 +1250,8 @@ "parameters": [] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1107__", + "parentId": "__FLD_32__", + "_id": "__REQ_651__", "_type": "request", "name": "Get an individual code of conduct", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/codes_of_conduct/#get-an-individual-code-of-conduct", @@ -1271,8 +1271,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1108__", + "parentId": "__FLD_30__", + "_id": "__REQ_652__", "_type": "request", "name": "Create a content attachment", "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://developer.github.com/enterprise/2.17/v3/activity/events/types/#contentreferenceevent) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://developer.github.com/enterprise/2.17/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nThis example creates a content attachment for the domain `https://errors.ai/`.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/installations/#create-a-content-attachment", @@ -1292,8 +1292,8 @@ "parameters": [] }, { - "parentId": "__FLD_56__", - "_id": "__REQ_1109__", + "parentId": "__FLD_33__", + "_id": "__REQ_653__", "_type": "request", "name": "Get", "description": "Lists all the emojis available to use on GitHub Enterprise.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/emojis/#emojis", @@ -1308,8 +1308,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1110__", + "parentId": "__FLD_34__", + "_id": "__REQ_654__", "_type": "request", "name": "Get license information", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/license/#get-license-information", @@ -1324,8 +1324,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1111__", + "parentId": "__FLD_34__", + "_id": "__REQ_655__", "_type": "request", "name": "Get statistics", "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/admin_stats/#get-statistics", @@ -1340,8 +1340,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1112__", + "parentId": "__FLD_29__", + "_id": "__REQ_656__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-public-events", @@ -1367,8 +1367,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1113__", + "parentId": "__FLD_29__", + "_id": "__REQ_657__", "_type": "request", "name": "List feeds", "description": "GitHub Enterprise provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise global public timeline\n* **User**: The public timeline for any user, using [URI template](https://developer.github.com/enterprise/2.17/v3/#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/enterprise/2.17/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/feeds/#list-feeds", @@ -1383,11 +1383,11 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1114__", + "parentId": "__FLD_35__", + "_id": "__REQ_658__", "_type": "request", - "name": "List the authenticated user's gists or if called anonymously, this will return all public gists", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-a-users-gists", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1414,8 +1414,8 @@ ] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1115__", + "parentId": "__FLD_35__", + "_id": "__REQ_659__", "_type": "request", "name": "Create a gist", "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#create-a-gist", @@ -1430,11 +1430,11 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1116__", + "parentId": "__FLD_35__", + "_id": "__REQ_660__", "_type": "request", - "name": "List all public gists", - "description": "List all public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/enterprise/2.17/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-all-public-gists", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/enterprise/2.17/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1461,8 +1461,8 @@ ] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1117__", + "parentId": "__FLD_35__", + "_id": "__REQ_661__", "_type": "request", "name": "List starred gists", "description": "List the authenticated user's starred gists:\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-starred-gists", @@ -1492,11 +1492,11 @@ ] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1118__", + "parentId": "__FLD_35__", + "_id": "__REQ_662__", "_type": "request", - "name": "Get a single gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#get-a-single-gist", + "name": "Get a gist", + "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1508,11 +1508,11 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1119__", + "parentId": "__FLD_35__", + "_id": "__REQ_663__", "_type": "request", - "name": "Edit a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#edit-a-gist", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1524,8 +1524,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1120__", + "parentId": "__FLD_35__", + "_id": "__REQ_664__", "_type": "request", "name": "Delete a gist", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#delete-a-gist", @@ -1540,8 +1540,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1121__", + "parentId": "__FLD_35__", + "_id": "__REQ_665__", "_type": "request", "name": "List comments on a gist", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/comments/#list-comments-on-a-gist", @@ -1567,8 +1567,8 @@ ] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1122__", + "parentId": "__FLD_35__", + "_id": "__REQ_666__", "_type": "request", "name": "Create a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/comments/#create-a-comment", @@ -1583,8 +1583,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1123__", + "parentId": "__FLD_35__", + "_id": "__REQ_667__", "_type": "request", "name": "Get a single comment", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/comments/#get-a-single-comment", @@ -1599,8 +1599,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1124__", + "parentId": "__FLD_35__", + "_id": "__REQ_668__", "_type": "request", "name": "Edit a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/comments/#edit-a-comment", @@ -1615,8 +1615,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1125__", + "parentId": "__FLD_35__", + "_id": "__REQ_669__", "_type": "request", "name": "Delete a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/comments/#delete-a-comment", @@ -1631,8 +1631,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1126__", + "parentId": "__FLD_35__", + "_id": "__REQ_670__", "_type": "request", "name": "List gist commits", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-gist-commits", @@ -1658,8 +1658,8 @@ ] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1127__", + "parentId": "__FLD_35__", + "_id": "__REQ_671__", "_type": "request", "name": "Fork a gist", "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#fork-a-gist", @@ -1674,8 +1674,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1128__", + "parentId": "__FLD_35__", + "_id": "__REQ_672__", "_type": "request", "name": "List gist forks", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-gist-forks", @@ -1701,8 +1701,8 @@ ] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1129__", + "parentId": "__FLD_35__", + "_id": "__REQ_673__", "_type": "request", "name": "Star a gist", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#star-a-gist", @@ -1717,8 +1717,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1130__", + "parentId": "__FLD_35__", + "_id": "__REQ_674__", "_type": "request", "name": "Unstar a gist", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#unstar-a-gist", @@ -1733,8 +1733,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1131__", + "parentId": "__FLD_35__", + "_id": "__REQ_675__", "_type": "request", "name": "Check if a gist is starred", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#check-if-a-gist-is-starred", @@ -1749,8 +1749,8 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1132__", + "parentId": "__FLD_35__", + "_id": "__REQ_676__", "_type": "request", "name": "Get a specific revision of a gist", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#get-a-specific-revision-of-a-gist", @@ -1765,11 +1765,11 @@ "parameters": [] }, { - "parentId": "__FLD_60__", - "_id": "__REQ_1133__", + "parentId": "__FLD_37__", + "_id": "__REQ_677__", "_type": "request", "name": "Listing available templates", - "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/enterprise/2.17/v3/repos/#create).\n\nhttps://developer.github.com/enterprise/2.17/v3/gitignore/#listing-available-templates", + "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/enterprise/2.17/v3/repos/#create-a-repository-for-the-authenticated-user).\n\nhttps://developer.github.com/enterprise/2.17/v3/gitignore/#listing-available-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1781,8 +1781,8 @@ "parameters": [] }, { - "parentId": "__FLD_60__", - "_id": "__REQ_1134__", + "parentId": "__FLD_37__", + "_id": "__REQ_678__", "_type": "request", "name": "Get a single template", "description": "The API also allows fetching the source of a single template.\n\nUse the raw [media type](https://developer.github.com/enterprise/2.17/v3/media/) to get the raw contents.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/gitignore/#get-a-single-template", @@ -1797,8 +1797,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1135__", + "parentId": "__FLD_30__", + "_id": "__REQ_679__", "_type": "request", "name": "List repositories", "description": "List repositories that an installation can access.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/installations/#list-repositories", @@ -1829,11 +1829,11 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1136__", + "parentId": "__FLD_38__", + "_id": "__REQ_680__", "_type": "request", - "name": "List all issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#list-issues", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not necessarily assigned to you. See the [Parameters table](https://developer.github.com/enterprise/2.17/v3/issues/#parameters) for more information.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#list-issues-assigned-to-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1884,8 +1884,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1137__", + "parentId": "__FLD_49__", + "_id": "__REQ_681__", "_type": "request", "name": "Search issues", "description": "Find issues by state and keyword.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/legacy/#search-issues", @@ -1900,8 +1900,8 @@ "parameters": [] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1138__", + "parentId": "__FLD_49__", + "_id": "__REQ_682__", "_type": "request", "name": "Search repositories", "description": "Find repositories by keyword. Note, this legacy method does not follow the v3 pagination pattern. This method returns up to 100 results per page and pages can be fetched using the `start_page` parameter.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/legacy/#search-repositories", @@ -1933,8 +1933,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1139__", + "parentId": "__FLD_49__", + "_id": "__REQ_683__", "_type": "request", "name": "Email search", "description": "This API call is added for compatibility reasons only. There's no guarantee that full email searches will always be available. The `@` character in the address must be left unencoded. Searches only against public email addresses (as configured on the user's GitHub Enterprise profile).\n\nhttps://developer.github.com/enterprise/2.17/v3/search/legacy/#email-search", @@ -1949,8 +1949,8 @@ "parameters": [] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1140__", + "parentId": "__FLD_49__", + "_id": "__REQ_684__", "_type": "request", "name": "Search users", "description": "Find users by keyword.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/legacy/#search-users", @@ -1978,8 +1978,8 @@ ] }, { - "parentId": "__FLD_62__", - "_id": "__REQ_1141__", + "parentId": "__FLD_39__", + "_id": "__REQ_685__", "_type": "request", "name": "List commonly used licenses", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/licenses/#list-commonly-used-licenses", @@ -1994,8 +1994,8 @@ "parameters": [] }, { - "parentId": "__FLD_62__", - "_id": "__REQ_1142__", + "parentId": "__FLD_39__", + "_id": "__REQ_686__", "_type": "request", "name": "Get an individual license", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/licenses/#get-an-individual-license", @@ -2010,8 +2010,8 @@ "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1143__", + "parentId": "__FLD_40__", + "_id": "__REQ_687__", "_type": "request", "name": "Render an arbitrary Markdown document", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/markdown/#render-an-arbitrary-markdown-document", @@ -2026,8 +2026,8 @@ "parameters": [] }, { - "parentId": "__FLD_63__", - "_id": "__REQ_1144__", + "parentId": "__FLD_40__", + "_id": "__REQ_688__", "_type": "request", "name": "Render a Markdown document in raw mode", "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/markdown/#render-a-markdown-document-in-raw-mode", @@ -2042,8 +2042,8 @@ "parameters": [] }, { - "parentId": "__FLD_64__", - "_id": "__REQ_1145__", + "parentId": "__FLD_41__", + "_id": "__REQ_689__", "_type": "request", "name": "Get", "description": "If you access this endpoint on your organization's [GitHub Enterprise Server](https://enterprise.github.com/) installation, this endpoint provides information about that installation.\n\n**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.17/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.17/v3/meta/#meta", @@ -2058,8 +2058,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1146__", + "parentId": "__FLD_29__", + "_id": "__REQ_690__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-public-events-for-a-network-of-repositories", @@ -2085,8 +2085,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1147__", + "parentId": "__FLD_29__", + "_id": "__REQ_691__", "_type": "request", "name": "List your notifications", "description": "List all notifications for the current user, sorted by most recently updated.\n\nThe following example uses the `since` parameter to list notifications that have been updated after the specified time.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#list-your-notifications", @@ -2130,8 +2130,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1148__", + "parentId": "__FLD_29__", + "_id": "__REQ_692__", "_type": "request", "name": "Mark as read", "description": "Marks a notification as \"read\" removes it from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications](https://developer.github.com/enterprise/2.17/v3/activity/notifications/#list-your-notifications) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#mark-as-read", @@ -2146,8 +2146,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1149__", + "parentId": "__FLD_29__", + "_id": "__REQ_693__", "_type": "request", "name": "View a single thread", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#view-a-single-thread", @@ -2162,8 +2162,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1150__", + "parentId": "__FLD_29__", + "_id": "__REQ_694__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#mark-a-thread-as-read", @@ -2178,8 +2178,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1151__", + "parentId": "__FLD_29__", + "_id": "__REQ_695__", "_type": "request", "name": "Get a thread subscription", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://developer.github.com/enterprise/2.17/v3/activity/watching/#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#get-a-thread-subscription", @@ -2194,8 +2194,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1152__", + "parentId": "__FLD_29__", + "_id": "__REQ_696__", "_type": "request", "name": "Set a thread subscription", "description": "This lets you subscribe or unsubscribe from a conversation.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#set-a-thread-subscription", @@ -2210,8 +2210,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1153__", + "parentId": "__FLD_29__", + "_id": "__REQ_697__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get **@mention**ed.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#delete-a-thread-subscription", @@ -2226,8 +2226,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1154__", + "parentId": "__FLD_43__", + "_id": "__REQ_698__", "_type": "request", "name": "List all organizations", "description": "Lists all organizations, in the order that they were created on GitHub Enterprise.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.17/v3/#link-header) to get the URL for the next page of organizations.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/#list-all-organizations", @@ -2257,8 +2257,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1155__", + "parentId": "__FLD_43__", + "_id": "__REQ_699__", "_type": "request", "name": "Get an organization", "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. 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://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/#get-an-organization", @@ -2278,8 +2278,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1156__", + "parentId": "__FLD_43__", + "_id": "__REQ_700__", "_type": "request", "name": "Edit an organization", "description": "**Note:** The new `members_allowed_repository_creation_type` replaces the functionality of `members_can_create_repositories`.\n\nSetting `members_allowed_repository_creation_type` will override the value of `members_can_create_repositories` in the following ways:\n\n* Setting `members_allowed_repository_creation_type` to `all` or `private` sets `members_can_create_repositories` to `true`.\n* Setting `members_allowed_repository_creation_type` to `none` sets `members_can_create_repositories` to `false`.\n* If you omit `members_allowed_repository_creation_type`, `members_can_create_repositories` is not modified.\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/#edit-an-organization", @@ -2299,8 +2299,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1157__", + "parentId": "__FLD_29__", + "_id": "__REQ_701__", "_type": "request", "name": "List public events for an organization", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-public-events-for-an-organization", @@ -2326,8 +2326,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1158__", + "parentId": "__FLD_43__", + "_id": "__REQ_702__", "_type": "request", "name": "List hooks", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/hooks/#list-hooks", @@ -2353,8 +2353,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1159__", + "parentId": "__FLD_43__", + "_id": "__REQ_703__", "_type": "request", "name": "Create a hook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/hooks/#create-a-hook", @@ -2369,8 +2369,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1160__", + "parentId": "__FLD_43__", + "_id": "__REQ_704__", "_type": "request", "name": "Get single hook", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/hooks/#get-single-hook", @@ -2385,8 +2385,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1161__", + "parentId": "__FLD_43__", + "_id": "__REQ_705__", "_type": "request", "name": "Edit a hook", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/hooks/#edit-a-hook", @@ -2401,8 +2401,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1162__", + "parentId": "__FLD_43__", + "_id": "__REQ_706__", "_type": "request", "name": "Delete a hook", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/hooks/#delete-a-hook", @@ -2417,8 +2417,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1163__", + "parentId": "__FLD_43__", + "_id": "__REQ_707__", "_type": "request", "name": "Ping a hook", "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.17/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/hooks/#ping-a-hook", @@ -2433,8 +2433,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1164__", + "parentId": "__FLD_30__", + "_id": "__REQ_708__", "_type": "request", "name": "Get an organization installation", "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#get-an-organization-installation", @@ -2454,11 +2454,11 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1165__", + "parentId": "__FLD_38__", + "_id": "__REQ_709__", "_type": "request", - "name": "List all issues for a given organization assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#list-issues", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2509,8 +2509,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1166__", + "parentId": "__FLD_43__", + "_id": "__REQ_710__", "_type": "request", "name": "Members list", "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.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#members-list", @@ -2546,8 +2546,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1167__", + "parentId": "__FLD_43__", + "_id": "__REQ_711__", "_type": "request", "name": "Check membership", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#check-membership", @@ -2562,8 +2562,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1168__", + "parentId": "__FLD_43__", + "_id": "__REQ_712__", "_type": "request", "name": "Remove a 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.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#remove-a-member", @@ -2578,8 +2578,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1169__", + "parentId": "__FLD_43__", + "_id": "__REQ_713__", "_type": "request", "name": "Get organization membership", "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#get-organization-membership", @@ -2594,8 +2594,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1170__", + "parentId": "__FLD_43__", + "_id": "__REQ_714__", "_type": "request", "name": "Add or update organization membership", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#add-or-update-organization-membership", @@ -2610,8 +2610,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1171__", + "parentId": "__FLD_43__", + "_id": "__REQ_715__", "_type": "request", "name": "Remove organization membership", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#remove-organization-membership", @@ -2626,8 +2626,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1172__", + "parentId": "__FLD_43__", + "_id": "__REQ_716__", "_type": "request", "name": "List outside collaborators", "description": "List all users who are outside collaborators of an organization.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/outside_collaborators/#list-outside-collaborators", @@ -2658,8 +2658,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1173__", + "parentId": "__FLD_43__", + "_id": "__REQ_717__", "_type": "request", "name": "Remove outside collaborator", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/outside_collaborators/#remove-outside-collaborator", @@ -2674,8 +2674,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1174__", + "parentId": "__FLD_43__", + "_id": "__REQ_718__", "_type": "request", "name": "Convert 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://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator", @@ -2690,8 +2690,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1175__", + "parentId": "__FLD_34__", + "_id": "__REQ_719__", "_type": "request", "name": "List pre-receive hooks for 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.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/org_pre_receive_hooks/#list-pre-receive-hooks", @@ -2717,8 +2717,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1176__", + "parentId": "__FLD_34__", + "_id": "__REQ_720__", "_type": "request", "name": "Get a single pre-receive hook for organization", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/org_pre_receive_hooks/#get-a-single-pre-receive-hook", @@ -2733,8 +2733,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1177__", + "parentId": "__FLD_34__", + "_id": "__REQ_721__", "_type": "request", "name": "Update pre-receive hook enforcement for organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/org_pre_receive_hooks/#update-pre-receive-hook-enforcement", @@ -2749,8 +2749,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1178__", + "parentId": "__FLD_34__", + "_id": "__REQ_722__", "_type": "request", "name": "Remove enforcement overrides for a pre-receive hook for organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/org_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", @@ -2765,8 +2765,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1179__", + "parentId": "__FLD_44__", + "_id": "__REQ_723__", "_type": "request", "name": "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.\n\ns\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#list-organization-projects", @@ -2802,8 +2802,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1180__", + "parentId": "__FLD_44__", + "_id": "__REQ_724__", "_type": "request", "name": "Create an organization project", "description": "Creates an organization project board. 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.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#create-an-organization-project", @@ -2823,8 +2823,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1181__", + "parentId": "__FLD_43__", + "_id": "__REQ_725__", "_type": "request", "name": "Public members list", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#public-members-list", @@ -2850,8 +2850,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1182__", + "parentId": "__FLD_43__", + "_id": "__REQ_726__", "_type": "request", "name": "Check public membership", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#check-public-membership", @@ -2866,8 +2866,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1183__", + "parentId": "__FLD_43__", + "_id": "__REQ_727__", "_type": "request", "name": "Publicize a user's membership", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#publicize-a-users-membership", @@ -2882,8 +2882,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1184__", + "parentId": "__FLD_43__", + "_id": "__REQ_728__", "_type": "request", "name": "Conceal a user's membership", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#conceal-a-users-membership", @@ -2898,8 +2898,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1185__", + "parentId": "__FLD_48__", + "_id": "__REQ_729__", "_type": "request", "name": "List organization repositories", "description": "Lists repositories for the specified organization.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-organization-repositories", @@ -2939,11 +2939,11 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1186__", + "parentId": "__FLD_48__", + "_id": "__REQ_730__", "_type": "request", - "name": "Creates a new repository in the specified organization", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#create", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#create-an-organization-repository", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2955,8 +2955,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1187__", + "parentId": "__FLD_50__", + "_id": "__REQ_731__", "_type": "request", "name": "List teams", "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#list-teams", @@ -2987,8 +2987,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1188__", + "parentId": "__FLD_50__", + "_id": "__REQ_732__", "_type": "request", "name": "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://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen 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://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#create-team", @@ -3008,8 +3008,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1189__", + "parentId": "__FLD_50__", + "_id": "__REQ_733__", "_type": "request", "name": "Get team by name", "description": "Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#get-team-by-name", @@ -3024,8 +3024,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1190__", + "parentId": "__FLD_44__", + "_id": "__REQ_734__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/cards/#get-a-project-card", @@ -3045,8 +3045,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1191__", + "parentId": "__FLD_44__", + "_id": "__REQ_735__", "_type": "request", "name": "Update a project card", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/cards/#update-a-project-card", @@ -3066,8 +3066,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1192__", + "parentId": "__FLD_44__", + "_id": "__REQ_736__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/cards/#delete-a-project-card", @@ -3087,8 +3087,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1193__", + "parentId": "__FLD_44__", + "_id": "__REQ_737__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/cards/#move-a-project-card", @@ -3108,8 +3108,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1194__", + "parentId": "__FLD_44__", + "_id": "__REQ_738__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/columns/#get-a-project-column", @@ -3129,8 +3129,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1195__", + "parentId": "__FLD_44__", + "_id": "__REQ_739__", "_type": "request", "name": "Update a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/columns/#update-a-project-column", @@ -3150,8 +3150,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1196__", + "parentId": "__FLD_44__", + "_id": "__REQ_740__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/columns/#delete-a-project-column", @@ -3171,8 +3171,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1197__", + "parentId": "__FLD_44__", + "_id": "__REQ_741__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/cards/#list-project-cards", @@ -3208,8 +3208,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1198__", + "parentId": "__FLD_44__", + "_id": "__REQ_742__", "_type": "request", "name": "Create a project card", "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/cards/#create-a-project-card", @@ -3229,8 +3229,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1199__", + "parentId": "__FLD_44__", + "_id": "__REQ_743__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/columns/#move-a-project-column", @@ -3250,8 +3250,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1200__", + "parentId": "__FLD_44__", + "_id": "__REQ_744__", "_type": "request", "name": "Get a project", "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#get-a-project", @@ -3268,22 +3268,11 @@ "method": "GET", "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1201__", + "parentId": "__FLD_44__", + "_id": "__REQ_745__", "_type": "request", "name": "Update a project", "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#update-a-project", @@ -3303,8 +3292,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1202__", + "parentId": "__FLD_44__", + "_id": "__REQ_746__", "_type": "request", "name": "Delete a project", "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#delete-a-project", @@ -3324,8 +3313,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1203__", + "parentId": "__FLD_44__", + "_id": "__REQ_747__", "_type": "request", "name": "List collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/collaborators/#list-collaborators", @@ -3361,8 +3350,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1204__", + "parentId": "__FLD_44__", + "_id": "__REQ_748__", "_type": "request", "name": "Add user as a collaborator", "description": "Adds a collaborator to a an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/collaborators/#add-user-as-a-collaborator", @@ -3382,8 +3371,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1205__", + "parentId": "__FLD_44__", + "_id": "__REQ_749__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/collaborators/#remove-user-as-a-collaborator", @@ -3403,8 +3392,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1206__", + "parentId": "__FLD_44__", + "_id": "__REQ_750__", "_type": "request", "name": "Review a user's permission level", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/collaborators/#review-a-users-permission-level", @@ -3424,8 +3413,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1207__", + "parentId": "__FLD_44__", + "_id": "__REQ_751__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/columns/#list-project-columns", @@ -3456,8 +3445,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1208__", + "parentId": "__FLD_44__", + "_id": "__REQ_752__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/columns/#create-a-project-column", @@ -3477,8 +3466,8 @@ "parameters": [] }, { - "parentId": "__FLD_69__", - "_id": "__REQ_1209__", + "parentId": "__FLD_46__", + "_id": "__REQ_753__", "_type": "request", "name": "Get your current rate limit status", "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Understanding your rate limit status**\n\nThe Search API has a [custom rate limit](https://developer.github.com/enterprise/2.17/v3/search/#rate-limit), separate from the rate limit governing the rest of the REST API. The GraphQL API also has a [custom rate limit](https://developer.github.com/enterprise/2.17/v4/guides/resource-limitations/#rate-limit) that is separate from and calculated differently than rate limits in the REST API.\n\nFor these reasons, the Rate Limit API response categorizes your rate limit. Under `resources`, you'll see four objects:\n\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the [Search API](https://developer.github.com/enterprise/2.17/v3/search/).\n* The `graphql` object provides your rate limit status for the [GraphQL API](https://developer.github.com/enterprise/2.17/v4/).\n* The `integration_manifest` object provides your rate limit status for the [GitHub App Manifest code conversion](https://developer.github.com/enterprise/2.17/apps/building-github-apps/creating-github-apps-from-a-manifest/#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration) endpoint.\n\nFor more information on the headers and values in the rate limit response, see \"[Rate limiting](https://developer.github.com/enterprise/2.17/v3/#rate-limiting).\"\n\nThe `rate` object (shown at the bottom of the response above) is deprecated.\n\nIf you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://developer.github.com/enterprise/2.17/v3/rate_limit/#get-your-current-rate-limit-status", @@ -3493,8 +3482,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1210__", + "parentId": "__FLD_47__", + "_id": "__REQ_754__", "_type": "request", "name": "Delete a reaction", "description": "OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/enterprise/2.17/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#delete-a-reaction", @@ -3514,12 +3503,17 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1211__", + "parentId": "__FLD_48__", + "_id": "__REQ_755__", "_type": "request", - "name": "Get", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#get", - "headers": [], + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#get-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -3530,11 +3524,11 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1212__", + "parentId": "__FLD_48__", + "_id": "__REQ_756__", "_type": "request", - "name": "Edit", - "description": "**Note**: To edit a repository's topics, use the [`topics` endpoint](https://developer.github.com/enterprise/2.17/v3/repos/#replace-all-topics-for-a-repository).\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#edit", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://developer.github.com/enterprise/2.17/v3/repos/#replace-all-repository-topics) endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#update-a-repository", "headers": [ { "name": "Accept", @@ -3551,8 +3545,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1213__", + "parentId": "__FLD_48__", + "_id": "__REQ_757__", "_type": "request", "name": "Delete a repository", "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:\n\nIf a site admin has configured the enterprise appliance to prevent users from deleting organization-owned repositories, a user will get this response:\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#delete-a-repository", @@ -3567,8 +3561,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1214__", + "parentId": "__FLD_38__", + "_id": "__REQ_758__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/assignees/#list-assignees", @@ -3594,8 +3588,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1215__", + "parentId": "__FLD_38__", + "_id": "__REQ_759__", "_type": "request", "name": "Check assignee", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/assignees/#check-assignee", @@ -3610,8 +3604,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1216__", + "parentId": "__FLD_48__", + "_id": "__REQ_760__", "_type": "request", "name": "List branches", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#list-branches", @@ -3641,8 +3635,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1217__", + "parentId": "__FLD_48__", + "_id": "__REQ_761__", "_type": "request", "name": "Get branch", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-branch", @@ -3657,8 +3651,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1218__", + "parentId": "__FLD_48__", + "_id": "__REQ_762__", "_type": "request", "name": "Get branch protection", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-branch-protection", @@ -3678,8 +3672,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1219__", + "parentId": "__FLD_48__", + "_id": "__REQ_763__", "_type": "request", "name": "Update branch protection", "description": "Protecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users and teams in total is limited to 100 items.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#update-branch-protection", @@ -3699,8 +3693,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1220__", + "parentId": "__FLD_48__", + "_id": "__REQ_764__", "_type": "request", "name": "Remove branch protection", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-branch-protection", @@ -3715,8 +3709,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1221__", + "parentId": "__FLD_48__", + "_id": "__REQ_765__", "_type": "request", "name": "Get admin enforcement of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-admin-enforcement-of-protected-branch", @@ -3731,8 +3725,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1222__", + "parentId": "__FLD_48__", + "_id": "__REQ_766__", "_type": "request", "name": "Add admin enforcement of protected branch", "description": "Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#add-admin-enforcement-of-protected-branch", @@ -3747,8 +3741,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1223__", + "parentId": "__FLD_48__", + "_id": "__REQ_767__", "_type": "request", "name": "Remove admin enforcement of protected branch", "description": "Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-admin-enforcement-of-protected-branch", @@ -3763,8 +3757,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1224__", + "parentId": "__FLD_48__", + "_id": "__REQ_768__", "_type": "request", "name": "Get pull request review enforcement of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-pull-request-review-enforcement-of-protected-branch", @@ -3784,8 +3778,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1225__", + "parentId": "__FLD_48__", + "_id": "__REQ_769__", "_type": "request", "name": "Update pull request review enforcement of protected branch", "description": "Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch", @@ -3805,8 +3799,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1226__", + "parentId": "__FLD_48__", + "_id": "__REQ_770__", "_type": "request", "name": "Remove pull request review enforcement of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-pull-request-review-enforcement-of-protected-branch", @@ -3821,8 +3815,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1227__", + "parentId": "__FLD_48__", + "_id": "__REQ_771__", "_type": "request", "name": "Get required signatures of protected branch", "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-required-signatures-of-protected-branch", @@ -3842,8 +3836,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1228__", + "parentId": "__FLD_48__", + "_id": "__REQ_772__", "_type": "request", "name": "Add required signatures of protected branch", "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#add-required-signatures-of-protected-branch", @@ -3863,8 +3857,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1229__", + "parentId": "__FLD_48__", + "_id": "__REQ_773__", "_type": "request", "name": "Remove required signatures of protected branch", "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-required-signatures-of-protected-branch", @@ -3884,8 +3878,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1230__", + "parentId": "__FLD_48__", + "_id": "__REQ_774__", "_type": "request", "name": "Get required status checks of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-required-status-checks-of-protected-branch", @@ -3900,8 +3894,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1231__", + "parentId": "__FLD_48__", + "_id": "__REQ_775__", "_type": "request", "name": "Update required status checks of protected branch", "description": "Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#update-required-status-checks-of-protected-branch", @@ -3916,8 +3910,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1232__", + "parentId": "__FLD_48__", + "_id": "__REQ_776__", "_type": "request", "name": "Remove required status checks of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-required-status-checks-of-protected-branch", @@ -3932,8 +3926,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1233__", + "parentId": "__FLD_48__", + "_id": "__REQ_777__", "_type": "request", "name": "List required status checks contexts of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#list-required-status-checks-contexts-of-protected-branch", @@ -3948,8 +3942,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1234__", + "parentId": "__FLD_48__", + "_id": "__REQ_778__", "_type": "request", "name": "Replace required status checks contexts of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#replace-required-status-checks-contexts-of-protected-branch", @@ -3964,8 +3958,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1235__", + "parentId": "__FLD_48__", + "_id": "__REQ_779__", "_type": "request", "name": "Add required status checks contexts of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#add-required-status-checks-contexts-of-protected-branch", @@ -3980,8 +3974,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1236__", + "parentId": "__FLD_48__", + "_id": "__REQ_780__", "_type": "request", "name": "Remove required status checks contexts of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-required-status-checks-contexts-of-protected-branch", @@ -3996,8 +3990,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1237__", + "parentId": "__FLD_48__", + "_id": "__REQ_781__", "_type": "request", "name": "Get restrictions of protected branch", "description": "Lists who has access to this protected branch. {{#note}}\n\n**Note**: Users and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#get-restrictions-of-protected-branch", @@ -4012,8 +4006,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1238__", + "parentId": "__FLD_48__", + "_id": "__REQ_782__", "_type": "request", "name": "Remove restrictions of protected branch", "description": "Disables the ability to restrict who can push to this branch.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-restrictions-of-protected-branch", @@ -4028,8 +4022,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1239__", + "parentId": "__FLD_48__", + "_id": "__REQ_783__", "_type": "request", "name": "Get teams with access to protected branch", "description": "Lists the teams who have push access to this branch. If you pass the `hellcat-preview` media type, the list includes child teams.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#list-teams-with-access-to-protected-branch", @@ -4049,8 +4043,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1240__", + "parentId": "__FLD_48__", + "_id": "__REQ_784__", "_type": "request", "name": "Replace team restrictions of protected branch", "description": "Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. If you pass the `hellcat-preview` media type, team restrictions include child teams.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#replace-team-restrictions-of-protected-branch", @@ -4070,8 +4064,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1241__", + "parentId": "__FLD_48__", + "_id": "__REQ_785__", "_type": "request", "name": "Add team restrictions of protected branch", "description": "Grants the specified teams push access for this branch. If you pass the `hellcat-preview` media type, you can also give push access to child teams.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#add-team-restrictions-of-protected-branch", @@ -4091,8 +4085,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1242__", + "parentId": "__FLD_48__", + "_id": "__REQ_786__", "_type": "request", "name": "Remove team restrictions of protected branch", "description": "Removes the ability of a team to push to this branch. If you pass the `hellcat-preview` media type, you can also remove push access for child teams.\n\n| Type | Description |\n| ------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-team-restrictions-of-protected-branch", @@ -4112,8 +4106,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1243__", + "parentId": "__FLD_48__", + "_id": "__REQ_787__", "_type": "request", "name": "Get users with access to protected branch", "description": "Lists the people who have push access to this branch.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#list-users-with-access-to-protected-branch", @@ -4128,8 +4122,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1244__", + "parentId": "__FLD_48__", + "_id": "__REQ_788__", "_type": "request", "name": "Replace user restrictions of protected branch", "description": "Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#replace-user-restrictions-of-protected-branch", @@ -4144,8 +4138,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1245__", + "parentId": "__FLD_48__", + "_id": "__REQ_789__", "_type": "request", "name": "Add user restrictions of protected branch", "description": "Grants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#add-user-restrictions-of-protected-branch", @@ -4160,8 +4154,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1246__", + "parentId": "__FLD_48__", + "_id": "__REQ_790__", "_type": "request", "name": "Remove user restrictions of protected branch", "description": "Removes the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | -------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/branches/#remove-user-restrictions-of-protected-branch", @@ -4176,8 +4170,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1247__", + "parentId": "__FLD_31__", + "_id": "__REQ_791__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/runs/#create-a-check-run", @@ -4197,8 +4191,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1248__", + "parentId": "__FLD_31__", + "_id": "__REQ_792__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/runs/#update-a-check-run", @@ -4218,8 +4212,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1249__", + "parentId": "__FLD_31__", + "_id": "__REQ_793__", "_type": "request", "name": "Get a single check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/runs/#get-a-single-check-run", @@ -4239,8 +4233,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1250__", + "parentId": "__FLD_31__", + "_id": "__REQ_794__", "_type": "request", "name": "List annotations for a check run", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/runs/#list-annotations-for-a-check-run", @@ -4271,8 +4265,8 @@ ] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1251__", + "parentId": "__FLD_31__", + "_id": "__REQ_795__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://developer.github.com/enterprise/2.17/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Set preferences for check suites on a repository](https://developer.github.com/enterprise/2.17/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/suites/#create-a-check-suite", @@ -4292,8 +4286,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1252__", + "parentId": "__FLD_31__", + "_id": "__REQ_796__", "_type": "request", "name": "Set preferences for check suites on a repository", "description": "Changes the default automatic flow when creating check suites. By default, the CheckSuiteEvent is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/enterprise/2.17/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository", @@ -4313,8 +4307,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1253__", + "parentId": "__FLD_31__", + "_id": "__REQ_797__", "_type": "request", "name": "Get a single check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/suites/#get-a-single-check-suite", @@ -4334,8 +4328,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1254__", + "parentId": "__FLD_31__", + "_id": "__REQ_798__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/runs/#list-check-runs-in-a-check-suite", @@ -4379,8 +4373,8 @@ ] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1255__", + "parentId": "__FLD_31__", + "_id": "__REQ_799__", "_type": "request", "name": "Rerequest check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/enterprise/2.17/v3/activity/events/types/#checksuiteevent) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/suites/#rerequest-check-suite", @@ -4400,8 +4394,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1256__", + "parentId": "__FLD_48__", + "_id": "__REQ_800__", "_type": "request", "name": "List collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/collaborators/#list-collaborators", @@ -4437,8 +4431,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1257__", + "parentId": "__FLD_48__", + "_id": "__REQ_801__", "_type": "request", "name": "Check if a user is a collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/collaborators/#check-if-a-user-is-a-collaborator", @@ -4458,11 +4452,11 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1258__", + "parentId": "__FLD_48__", + "_id": "__REQ_802__", "_type": "request", "name": "Add user as a collaborator", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/collaborators/#add-user-as-a-collaborator", + "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\" in the GitHub Help documentation.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/collaborators/#add-user-as-a-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4474,8 +4468,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1259__", + "parentId": "__FLD_48__", + "_id": "__REQ_803__", "_type": "request", "name": "Remove user as a collaborator", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/collaborators/#remove-user-as-a-collaborator", @@ -4490,8 +4484,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1260__", + "parentId": "__FLD_48__", + "_id": "__REQ_804__", "_type": "request", "name": "Review a user's permission level", "description": "Possible values for the `permission` key: `admin`, `write`, `read`, `none`.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/collaborators/#review-a-users-permission-level", @@ -4506,8 +4500,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1261__", + "parentId": "__FLD_48__", + "_id": "__REQ_805__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://developer.github.com/enterprise/2.17/v3/repos/comments/#custom-media-types). You can read more about the use of media types in the API [here](https://developer.github.com/enterprise/2.17/v3/media/).\n\nComments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/comments/#list-commit-comments-for-a-repository", @@ -4533,8 +4527,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1262__", + "parentId": "__FLD_48__", + "_id": "__REQ_806__", "_type": "request", "name": "Get a single commit comment", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/comments/#get-a-single-commit-comment", @@ -4549,8 +4543,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1263__", + "parentId": "__FLD_48__", + "_id": "__REQ_807__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/comments/#update-a-commit-comment", @@ -4565,8 +4559,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1264__", + "parentId": "__FLD_48__", + "_id": "__REQ_808__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/comments/#delete-a-commit-comment", @@ -4581,8 +4575,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1265__", + "parentId": "__FLD_47__", + "_id": "__REQ_809__", "_type": "request", "name": "List reactions for a commit comment", "description": "List the reactions to a [commit comment](https://developer.github.com/enterprise/2.17/v3/repos/comments/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#list-reactions-for-a-commit-comment", @@ -4617,8 +4611,8 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1266__", + "parentId": "__FLD_47__", + "_id": "__REQ_810__", "_type": "request", "name": "Create reaction for a commit comment", "description": "Create a reaction to a [commit comment](https://developer.github.com/enterprise/2.17/v3/repos/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#create-reaction-for-a-commit-comment", @@ -4638,8 +4632,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1267__", + "parentId": "__FLD_48__", + "_id": "__REQ_811__", "_type": "request", "name": "List commits on a repository", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/commits/#list-commits-on-a-repository", @@ -4685,8 +4679,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1268__", + "parentId": "__FLD_48__", + "_id": "__REQ_812__", "_type": "request", "name": "List branches for HEAD commit", "description": "Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/commits/#list-branches-for-head-commit", @@ -4706,8 +4700,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1269__", + "parentId": "__FLD_48__", + "_id": "__REQ_813__", "_type": "request", "name": "List comments for a single commit", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/comments/#list-comments-for-a-single-commit", @@ -4733,8 +4727,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1270__", + "parentId": "__FLD_48__", + "_id": "__REQ_814__", "_type": "request", "name": "Create a commit comment", "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/comments/#create-a-commit-comment", @@ -4749,8 +4743,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1271__", + "parentId": "__FLD_48__", + "_id": "__REQ_815__", "_type": "request", "name": "List pull requests associated with commit", "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests) endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/commits/#list-pull-requests-associated-with-commit", @@ -4781,8 +4775,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1272__", + "parentId": "__FLD_48__", + "_id": "__REQ_816__", "_type": "request", "name": "Get a single commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\nYou can pass the appropriate [media type](https://developer.github.com/enterprise/2.17/v3/media/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://developer.github.com/enterprise/2.17/v3/media/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/commits/#get-a-single-commit", @@ -4797,8 +4791,8 @@ "parameters": [] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1273__", + "parentId": "__FLD_31__", + "_id": "__REQ_817__", "_type": "request", "name": "List check runs for a specific ref", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/runs/#list-check-runs-for-a-specific-ref", @@ -4842,8 +4836,8 @@ ] }, { - "parentId": "__FLD_54__", - "_id": "__REQ_1274__", + "parentId": "__FLD_31__", + "_id": "__REQ_818__", "_type": "request", "name": "List check suites for a specific ref", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/checks/suites/#list-check-suites-for-a-specific-ref", @@ -4882,8 +4876,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1275__", + "parentId": "__FLD_48__", + "_id": "__REQ_819__", "_type": "request", "name": "Get the combined status for a specific ref", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://developer.github.com/enterprise/2.17/v3/#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref", @@ -4898,8 +4892,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1276__", + "parentId": "__FLD_48__", + "_id": "__REQ_820__", "_type": "request", "name": "List statuses for a specific ref", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statuses/#list-statuses-for-a-specific-ref", @@ -4925,8 +4919,8 @@ ] }, { - "parentId": "__FLD_55__", - "_id": "__REQ_1277__", + "parentId": "__FLD_32__", + "_id": "__REQ_821__", "_type": "request", "name": "Get the contents of a repository's code of conduct", "description": "This method returns the contents of the repository's code of conduct file, if one is detected.\n\nhttps://developer.github.com/enterprise/2.17/v3/codes_of_conduct/#get-the-contents-of-a-repositorys-code-of-conduct", @@ -4946,8 +4940,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1278__", + "parentId": "__FLD_48__", + "_id": "__REQ_822__", "_type": "request", "name": "Compare two commits", "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://developer.github.com/enterprise/2.17/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [Commit List API](https://developer.github.com/enterprise/2.17/v3/repos/commits/#list-commits-on-a-repository) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/commits/#compare-two-commits", @@ -4962,8 +4956,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1279__", + "parentId": "__FLD_48__", + "_id": "__REQ_823__", "_type": "request", "name": "Get contents", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit `:path`, you will receive the contents of all files in the repository.\n\nFiles and symlinks support [a custom media type](https://developer.github.com/enterprise/2.17/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML (when supported). All content types support [a custom media type](https://developer.github.com/enterprise/2.17/v3/repos/contents/#custom-media-types) to ensure the content is returned in a consistent object format.\n\n**Note**:\n\n* To get a repository's contents recursively, you can [recursively get the tree](https://developer.github.com/enterprise/2.17/v3/git/trees/).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](https://developer.github.com/enterprise/2.17/v3/git/trees/#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\nThe response will be an array of objects, one object for each item in the directory.\n\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the [format shown above](https://developer.github.com/enterprise/2.17/v3/repos/contents/#response-if-content-is-a-file)).\n\nOtherwise, the API responds with an object describing the symlink itself:\n\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/contents/#get-contents", @@ -4983,8 +4977,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1280__", + "parentId": "__FLD_48__", + "_id": "__REQ_824__", "_type": "request", "name": "Create or update a file", "description": "Creates a new file or updates an existing file in a repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/contents/#create-or-update-a-file", @@ -4999,8 +4993,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1281__", + "parentId": "__FLD_48__", + "_id": "__REQ_825__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/contents/#delete-a-file", @@ -5015,8 +5009,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1282__", + "parentId": "__FLD_48__", + "_id": "__REQ_826__", "_type": "request", "name": "List contributors", "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-contributors", @@ -5046,8 +5040,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1283__", + "parentId": "__FLD_48__", + "_id": "__REQ_827__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/deployments/#list-deployments", @@ -5098,11 +5092,11 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1284__", + "parentId": "__FLD_48__", + "_id": "__REQ_828__", "_type": "request", "name": "Create a deployment", - "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/enterprise/2.17/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master`in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/deployments/#create-a-deployment", + "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/enterprise/2.17/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/deployments/#create-a-deployment", "headers": [ { "name": "Accept", @@ -5119,8 +5113,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1285__", + "parentId": "__FLD_48__", + "_id": "__REQ_829__", "_type": "request", "name": "Get a single deployment", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/deployments/#get-a-single-deployment", @@ -5140,8 +5134,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1286__", + "parentId": "__FLD_48__", + "_id": "__REQ_830__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/deployments/#list-deployment-statuses", @@ -5172,8 +5166,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1287__", + "parentId": "__FLD_48__", + "_id": "__REQ_831__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/deployments/#create-a-deployment-status", @@ -5193,8 +5187,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1288__", + "parentId": "__FLD_48__", + "_id": "__REQ_832__", "_type": "request", "name": "Get a single deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/deployments/#get-a-single-deployment-status", @@ -5214,8 +5208,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1289__", + "parentId": "__FLD_48__", + "_id": "__REQ_833__", "_type": "request", "name": "List downloads for a repository", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/downloads/#list-downloads-for-a-repository", @@ -5241,8 +5235,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1290__", + "parentId": "__FLD_48__", + "_id": "__REQ_834__", "_type": "request", "name": "Get a single download", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/downloads/#get-a-single-download", @@ -5257,8 +5251,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1291__", + "parentId": "__FLD_48__", + "_id": "__REQ_835__", "_type": "request", "name": "Delete a download", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/downloads/#delete-a-download", @@ -5273,8 +5267,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1292__", + "parentId": "__FLD_29__", + "_id": "__REQ_836__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-repository-events", @@ -5300,8 +5294,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1293__", + "parentId": "__FLD_48__", + "_id": "__REQ_837__", "_type": "request", "name": "List forks", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/forks/#list-forks", @@ -5332,8 +5326,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1294__", + "parentId": "__FLD_48__", + "_id": "__REQ_838__", "_type": "request", "name": "Create a fork", "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact your GitHub Enterprise site administrator.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/forks/#create-a-fork", @@ -5348,8 +5342,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1295__", + "parentId": "__FLD_36__", + "_id": "__REQ_839__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/git/blobs/#create-a-blob", @@ -5364,8 +5358,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1296__", + "parentId": "__FLD_36__", + "_id": "__REQ_840__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://developer.github.com/enterprise/2.17/v3/git/blobs/#get-a-blob", @@ -5380,8 +5374,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1297__", + "parentId": "__FLD_36__", + "_id": "__REQ_841__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\nIn this example, the payload of the signature would be:\n\n\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.17/v3/git/commits/#create-a-commit", @@ -5396,8 +5390,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1298__", + "parentId": "__FLD_36__", + "_id": "__REQ_842__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.17/v3/git/commits/#get-a-commit", @@ -5412,8 +5406,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1299__", + "parentId": "__FLD_36__", + "_id": "__REQ_843__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://developer.github.com/enterprise/2.17/v3/git/refs/#create-a-reference", @@ -5428,8 +5422,35 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1300__", + "parentId": "__FLD_36__", + "_id": "__REQ_844__", + "_type": "request", + "name": "Get all references", + "description": "Returns an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. If there are no references to list, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://developer.github.com/v3/pulls/#get-a-single-pull-request) to trigger a merge commit creation. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/v3/git/#checking-mergeability-of-pull-requests)\".\n\n```\nGET /repos/octocat/Hello-World/git/refs\n```\n\nYou can also request a sub-namespace. For example, to get all the tag references, you can call:\n\n```\nGET /repos/octocat/Hello-World/git/refs/tags\n```\n\nhttps://developer.github.com/enterprise/2.17/v3/git/refs/#get-all-references", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ namespace }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_36__", + "_id": "__REQ_845__", "_type": "request", "name": "Get a reference", "description": "Returns a branch or tag reference. Other than the [REST API](https://developer.github.com/enterprise/2.17/v3/git/refs/#get-a-reference) it always returns a single reference. If the REST API returns with an array then the method responds with an error.\n\nhttps://developer.github.com/enterprise/2.17/v3/git/refs/#get-a-reference", @@ -5444,8 +5465,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1301__", + "parentId": "__FLD_36__", + "_id": "__REQ_846__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/git/refs/#update-a-reference", @@ -5460,11 +5481,11 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1302__", + "parentId": "__FLD_36__", + "_id": "__REQ_847__", "_type": "request", "name": "Delete a reference", - "description": "```\nDELETE /repos/octocat/Hello-World/git/refs/heads/feature-a\n```\n\n```\nDELETE /repos/octocat/Hello-World/git/refs/tags/v1.0\n```\n\nhttps://developer.github.com/enterprise/2.17/v3/git/refs/#delete-a-reference", + "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/git/refs/#delete-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5476,8 +5497,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1303__", + "parentId": "__FLD_36__", + "_id": "__REQ_848__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://developer.github.com/enterprise/2.17/v3/git/refs/#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://developer.github.com/enterprise/2.17/v3/git/refs/#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.17/v3/git/tags/#create-a-tag-object", @@ -5492,8 +5513,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1304__", + "parentId": "__FLD_36__", + "_id": "__REQ_849__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.17/v3/git/tags/#get-a-tag", @@ -5508,8 +5529,8 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1305__", + "parentId": "__FLD_36__", + "_id": "__REQ_850__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://developer.github.com/enterprise/2.17/v3/git/commits/#create-a-commit)\" and \"[Update a reference](https://developer.github.com/enterprise/2.17/v3/git/refs/#update-a-reference).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/git/trees/#create-a-tree", @@ -5524,11 +5545,11 @@ "parameters": [] }, { - "parentId": "__FLD_59__", - "_id": "__REQ_1306__", + "parentId": "__FLD_36__", + "_id": "__REQ_851__", "_type": "request", "name": "Get a tree", - "description": "If `truncated` is `true`, the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/enterprise/2.17/v3/git/trees/#get-a-tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/enterprise/2.17/v3/git/trees/#get-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5545,8 +5566,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1307__", + "parentId": "__FLD_48__", + "_id": "__REQ_852__", "_type": "request", "name": "List hooks", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#list-hooks", @@ -5572,8 +5593,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1308__", + "parentId": "__FLD_48__", + "_id": "__REQ_853__", "_type": "request", "name": "Create a hook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can share the same `config` as long as those webhooks do not have any `events` that overlap.\n\n**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.17/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nHere's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#create-a-hook", @@ -5588,8 +5609,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1309__", + "parentId": "__FLD_48__", + "_id": "__REQ_854__", "_type": "request", "name": "Get single hook", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#get-single-hook", @@ -5604,8 +5625,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1310__", + "parentId": "__FLD_48__", + "_id": "__REQ_855__", "_type": "request", "name": "Edit a hook", "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.17/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#edit-a-hook", @@ -5620,8 +5641,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1311__", + "parentId": "__FLD_48__", + "_id": "__REQ_856__", "_type": "request", "name": "Delete a hook", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#delete-a-hook", @@ -5636,8 +5657,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1312__", + "parentId": "__FLD_48__", + "_id": "__REQ_857__", "_type": "request", "name": "Ping a hook", "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.17/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger a [ping event](https://developer.github.com/enterprise/2.17/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#ping-a-hook", @@ -5652,8 +5673,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1313__", + "parentId": "__FLD_48__", + "_id": "__REQ_858__", "_type": "request", "name": "Test a push hook", "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.17/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/hooks/#test-a-push-hook", @@ -5668,8 +5689,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1314__", + "parentId": "__FLD_30__", + "_id": "__REQ_859__", "_type": "request", "name": "Get a repository installation", "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#get-a-repository-installation", @@ -5689,8 +5710,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1315__", + "parentId": "__FLD_48__", + "_id": "__REQ_860__", "_type": "request", "name": "List invitations for a repository", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/invitations/#list-invitations-for-a-repository", @@ -5716,8 +5737,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1316__", + "parentId": "__FLD_48__", + "_id": "__REQ_861__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/invitations/#delete-a-repository-invitation", @@ -5732,8 +5753,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1317__", + "parentId": "__FLD_48__", + "_id": "__REQ_862__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/invitations/#update-a-repository-invitation", @@ -5748,11 +5769,11 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1318__", + "parentId": "__FLD_38__", + "_id": "__REQ_863__", "_type": "request", - "name": "List issues for a repository", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#list-issues-for-a-repository", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#list-repository-issues", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5814,8 +5835,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1319__", + "parentId": "__FLD_38__", + "_id": "__REQ_864__", "_type": "request", "name": "Create an issue", "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#create-an-issue", @@ -5830,8 +5851,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1320__", + "parentId": "__FLD_38__", + "_id": "__REQ_865__", "_type": "request", "name": "List comments in a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/comments/#list-comments-in-a-repository", @@ -5856,12 +5877,22 @@ { "name": "since", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1321__", + "parentId": "__FLD_38__", + "_id": "__REQ_866__", "_type": "request", "name": "Get a single comment", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/comments/#get-a-single-comment", @@ -5873,22 +5904,11 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1322__", + "parentId": "__FLD_38__", + "_id": "__REQ_867__", "_type": "request", "name": "Edit a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/comments/#edit-a-comment", @@ -5903,8 +5923,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1323__", + "parentId": "__FLD_38__", + "_id": "__REQ_868__", "_type": "request", "name": "Delete a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/comments/#delete-a-comment", @@ -5919,8 +5939,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1324__", + "parentId": "__FLD_47__", + "_id": "__REQ_869__", "_type": "request", "name": "List reactions for an issue comment", "description": "List the reactions to an [issue comment](https://developer.github.com/enterprise/2.17/v3/issues/comments/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#list-reactions-for-an-issue-comment", @@ -5955,8 +5975,8 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1325__", + "parentId": "__FLD_47__", + "_id": "__REQ_870__", "_type": "request", "name": "Create reaction for an issue comment", "description": "Create a reaction to an [issue comment](https://developer.github.com/enterprise/2.17/v3/issues/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#create-reaction-for-an-issue-comment", @@ -5976,8 +5996,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1326__", + "parentId": "__FLD_38__", + "_id": "__REQ_871__", "_type": "request", "name": "List events for a repository", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/events/#list-events-for-a-repository", @@ -6008,8 +6028,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1327__", + "parentId": "__FLD_38__", + "_id": "__REQ_872__", "_type": "request", "name": "Get a single event", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/events/#get-a-single-event", @@ -6029,11 +6049,11 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1328__", + "parentId": "__FLD_38__", + "_id": "__REQ_873__", "_type": "request", - "name": "Get a single issue", - "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/enterprise/2.17/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/enterprise/2.17/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#get-a-single-issue", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/enterprise/2.17/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/enterprise/2.17/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#get-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6045,11 +6065,11 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1329__", + "parentId": "__FLD_38__", + "_id": "__REQ_874__", "_type": "request", - "name": "Edit an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#edit-an-issue", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6061,8 +6081,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1330__", + "parentId": "__FLD_38__", + "_id": "__REQ_875__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nThis example adds two assignees to the existing `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/assignees/#add-assignees-to-an-issue", @@ -6077,8 +6097,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1331__", + "parentId": "__FLD_38__", + "_id": "__REQ_876__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nThis example removes two of three assignees, leaving the `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/assignees/#remove-assignees-from-an-issue", @@ -6093,8 +6113,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1332__", + "parentId": "__FLD_38__", + "_id": "__REQ_877__", "_type": "request", "name": "List comments on an issue", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/comments/#list-comments-on-an-issue", @@ -6124,8 +6144,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1333__", + "parentId": "__FLD_38__", + "_id": "__REQ_878__", "_type": "request", "name": "Create a comment", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/comments/#create-a-comment", @@ -6140,8 +6160,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1334__", + "parentId": "__FLD_38__", + "_id": "__REQ_879__", "_type": "request", "name": "List events for an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/events/#list-events-for-an-issue", @@ -6172,8 +6192,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1335__", + "parentId": "__FLD_38__", + "_id": "__REQ_880__", "_type": "request", "name": "List labels on an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#list-labels-on-an-issue", @@ -6199,8 +6219,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1336__", + "parentId": "__FLD_38__", + "_id": "__REQ_881__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#add-labels-to-an-issue", @@ -6215,8 +6235,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1337__", + "parentId": "__FLD_38__", + "_id": "__REQ_882__", "_type": "request", "name": "Replace all labels for an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#replace-all-labels-for-an-issue", @@ -6231,8 +6251,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1338__", + "parentId": "__FLD_38__", + "_id": "__REQ_883__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#remove-all-labels-from-an-issue", @@ -6247,8 +6267,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1339__", + "parentId": "__FLD_38__", + "_id": "__REQ_884__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#remove-a-label-from-an-issue", @@ -6263,8 +6283,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1340__", + "parentId": "__FLD_38__", + "_id": "__REQ_885__", "_type": "request", "name": "Lock an issue", "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#lock-an-issue", @@ -6284,8 +6304,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1341__", + "parentId": "__FLD_38__", + "_id": "__REQ_886__", "_type": "request", "name": "Unlock an issue", "description": "Users with push access can unlock an issue's conversation.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#unlock-an-issue", @@ -6300,8 +6320,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1342__", + "parentId": "__FLD_47__", + "_id": "__REQ_887__", "_type": "request", "name": "List reactions for an issue", "description": "List the reactions to an [issue](https://developer.github.com/enterprise/2.17/v3/issues/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#list-reactions-for-an-issue", @@ -6336,8 +6356,8 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1343__", + "parentId": "__FLD_47__", + "_id": "__REQ_888__", "_type": "request", "name": "Create reaction for an issue", "description": "Create a reaction to an [issue](https://developer.github.com/enterprise/2.17/v3/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#create-reaction-for-an-issue", @@ -6357,8 +6377,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1344__", + "parentId": "__FLD_38__", + "_id": "__REQ_889__", "_type": "request", "name": "List events for an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/timeline/#list-events-for-an-issue", @@ -6389,8 +6409,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1345__", + "parentId": "__FLD_48__", + "_id": "__REQ_890__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/keys/#list-deploy-keys", @@ -6416,8 +6436,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1346__", + "parentId": "__FLD_48__", + "_id": "__REQ_891__", "_type": "request", "name": "Add a new deploy key", "description": "Here's how you can create a read-only deploy key:\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/keys/#add-a-new-deploy-key", @@ -6432,8 +6452,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1347__", + "parentId": "__FLD_48__", + "_id": "__REQ_892__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/keys/#get-a-deploy-key", @@ -6448,8 +6468,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1348__", + "parentId": "__FLD_48__", + "_id": "__REQ_893__", "_type": "request", "name": "Remove a deploy key", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/keys/#remove-a-deploy-key", @@ -6464,8 +6484,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1349__", + "parentId": "__FLD_38__", + "_id": "__REQ_894__", "_type": "request", "name": "List all labels for this repository", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#list-all-labels-for-this-repository", @@ -6491,8 +6511,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1350__", + "parentId": "__FLD_38__", + "_id": "__REQ_895__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#create-a-label", @@ -6507,8 +6527,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1351__", + "parentId": "__FLD_38__", + "_id": "__REQ_896__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#update-a-label", @@ -6523,8 +6543,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1352__", + "parentId": "__FLD_38__", + "_id": "__REQ_897__", "_type": "request", "name": "Get a single label", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#get-a-single-label", @@ -6539,8 +6559,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1353__", + "parentId": "__FLD_38__", + "_id": "__REQ_898__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#delete-a-label", @@ -6555,8 +6575,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1354__", + "parentId": "__FLD_48__", + "_id": "__REQ_899__", "_type": "request", "name": "List languages", "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-languages", @@ -6571,8 +6591,8 @@ "parameters": [] }, { - "parentId": "__FLD_62__", - "_id": "__REQ_1355__", + "parentId": "__FLD_39__", + "_id": "__REQ_900__", "_type": "request", "name": "Get the contents of a repository's license", "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [the repository contents API](https://developer.github.com/enterprise/2.17/v3/repos/contents/#get-contents), this method also supports [custom media types](https://developer.github.com/enterprise/2.17/v3/repos/contents/#custom-media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://developer.github.com/enterprise/2.17/v3/licenses/#get-the-contents-of-a-repositorys-license", @@ -6587,8 +6607,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1356__", + "parentId": "__FLD_48__", + "_id": "__REQ_901__", "_type": "request", "name": "Perform a merge", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/merging/#perform-a-merge", @@ -6603,8 +6623,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1357__", + "parentId": "__FLD_38__", + "_id": "__REQ_902__", "_type": "request", "name": "List milestones for a repository", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/milestones/#list-milestones-for-a-repository", @@ -6645,8 +6665,8 @@ ] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1358__", + "parentId": "__FLD_38__", + "_id": "__REQ_903__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/milestones/#create-a-milestone", @@ -6661,8 +6681,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1359__", + "parentId": "__FLD_38__", + "_id": "__REQ_904__", "_type": "request", "name": "Get a single milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/milestones/#get-a-single-milestone", @@ -6677,8 +6697,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1360__", + "parentId": "__FLD_38__", + "_id": "__REQ_905__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/milestones/#update-a-milestone", @@ -6693,8 +6713,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1361__", + "parentId": "__FLD_38__", + "_id": "__REQ_906__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/milestones/#delete-a-milestone", @@ -6709,8 +6729,8 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1362__", + "parentId": "__FLD_38__", + "_id": "__REQ_907__", "_type": "request", "name": "Get labels for every issue in a milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/labels/#get-labels-for-every-issue-in-a-milestone", @@ -6736,8 +6756,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1363__", + "parentId": "__FLD_29__", + "_id": "__REQ_908__", "_type": "request", "name": "List your notifications in a repository", "description": "List all notifications for the current user.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#list-your-notifications-in-a-repository", @@ -6781,8 +6801,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1364__", + "parentId": "__FLD_29__", + "_id": "__REQ_909__", "_type": "request", "name": "Mark notifications as read in a repository", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications in a repository](https://developer.github.com/enterprise/2.17/v3/activity/notifications/#list-your-notifications-in-a-repository) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/notifications/#mark-notifications-as-read-in-a-repository", @@ -6797,8 +6817,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1365__", + "parentId": "__FLD_48__", + "_id": "__REQ_910__", "_type": "request", "name": "Get information about a Pages site", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#get-information-about-a-pages-site", @@ -6818,8 +6838,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1366__", + "parentId": "__FLD_48__", + "_id": "__REQ_911__", "_type": "request", "name": "Enable a Pages site", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#enable-a-pages-site", @@ -6839,8 +6859,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1367__", + "parentId": "__FLD_48__", + "_id": "__REQ_912__", "_type": "request", "name": "Disable a Pages site", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#disable-a-pages-site", @@ -6860,8 +6880,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1368__", + "parentId": "__FLD_48__", + "_id": "__REQ_913__", "_type": "request", "name": "Update information about a Pages site", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#update-information-about-a-pages-site", @@ -6881,8 +6901,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1369__", + "parentId": "__FLD_48__", + "_id": "__REQ_914__", "_type": "request", "name": "Request a page build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#request-a-page-build", @@ -6902,8 +6922,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1370__", + "parentId": "__FLD_48__", + "_id": "__REQ_915__", "_type": "request", "name": "List Pages builds", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#list-pages-builds", @@ -6929,8 +6949,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1371__", + "parentId": "__FLD_48__", + "_id": "__REQ_916__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#get-latest-pages-build", @@ -6945,8 +6965,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1372__", + "parentId": "__FLD_48__", + "_id": "__REQ_917__", "_type": "request", "name": "Get a specific Pages build", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/pages/#get-a-specific-pages-build", @@ -6961,8 +6981,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1373__", + "parentId": "__FLD_34__", + "_id": "__REQ_918__", "_type": "request", "name": "List pre-receive hooks for repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/repo_pre_receive_hooks/#list-pre-receive-hooks", @@ -6988,8 +7008,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1374__", + "parentId": "__FLD_34__", + "_id": "__REQ_919__", "_type": "request", "name": "Get a single pre-receive hook for repository", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/repo_pre_receive_hooks/#get-a-single-pre-receive-hook", @@ -7004,8 +7024,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1375__", + "parentId": "__FLD_34__", + "_id": "__REQ_920__", "_type": "request", "name": "Update pre-receive hook enforcement for repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/repo_pre_receive_hooks/#update-pre-receive-hook-enforcement", @@ -7020,8 +7040,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1376__", + "parentId": "__FLD_34__", + "_id": "__REQ_921__", "_type": "request", "name": "Remove enforcement overrides for a pre-receive hook for repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/repo_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", @@ -7036,8 +7056,8 @@ "parameters": [] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1377__", + "parentId": "__FLD_44__", + "_id": "__REQ_922__", "_type": "request", "name": "List repository projects", "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#list-repository-projects", @@ -7073,8 +7093,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1378__", + "parentId": "__FLD_44__", + "_id": "__REQ_923__", "_type": "request", "name": "Create a repository project", "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#create-a-repository-project", @@ -7094,8 +7114,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1379__", + "parentId": "__FLD_45__", + "_id": "__REQ_924__", "_type": "request", "name": "List pull requests", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests", @@ -7148,8 +7168,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1380__", + "parentId": "__FLD_45__", + "_id": "__REQ_925__", "_type": "request", "name": "Create a pull request", "description": "You can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#create-a-pull-request", @@ -7169,8 +7189,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1381__", + "parentId": "__FLD_45__", + "_id": "__REQ_926__", "_type": "request", "name": "List comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/comments/#list-comments-in-a-repository", @@ -7209,8 +7229,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1382__", + "parentId": "__FLD_45__", + "_id": "__REQ_927__", "_type": "request", "name": "Get a single comment", "description": "Provides details for a review comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/comments/#get-a-single-comment", @@ -7225,8 +7245,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1383__", + "parentId": "__FLD_45__", + "_id": "__REQ_928__", "_type": "request", "name": "Edit a comment", "description": "Enables you to edit a review comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/comments/#edit-a-comment", @@ -7241,8 +7261,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1384__", + "parentId": "__FLD_45__", + "_id": "__REQ_929__", "_type": "request", "name": "Delete a comment", "description": "Deletes a review comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/comments/#delete-a-comment", @@ -7257,8 +7277,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1385__", + "parentId": "__FLD_47__", + "_id": "__REQ_930__", "_type": "request", "name": "List reactions for a pull request review comment", "description": "List the reactions to a [pull request review comment](https://developer.github.com/enterprise/2.17/v3/pulls/comments/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#list-reactions-for-a-pull-request-review-comment", @@ -7293,8 +7313,8 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1386__", + "parentId": "__FLD_47__", + "_id": "__REQ_931__", "_type": "request", "name": "Create reaction for a pull request review comment", "description": "Create a reaction to a [pull request review comment](https://developer.github.com/enterprise/2.17/v3/pulls/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#create-reaction-for-a-pull-request-review-comment", @@ -7314,8 +7334,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1387__", + "parentId": "__FLD_45__", + "_id": "__REQ_932__", "_type": "request", "name": "Get a single pull request", "description": "Lists details of a pull request by providing its number.\n\nWhen you get, [create](https://developer.github.com/enterprise/2.17/v3/pulls/#create-a-pull-request), or [edit](https://developer.github.com/enterprise/2.17/v3/pulls/#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.17/v3/git/#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://developer.github.com/enterprise/2.17/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#get-a-single-pull-request", @@ -7335,8 +7355,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1388__", + "parentId": "__FLD_45__", + "_id": "__REQ_933__", "_type": "request", "name": "Update a pull request", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#update-a-pull-request", @@ -7356,8 +7376,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1389__", + "parentId": "__FLD_45__", + "_id": "__REQ_934__", "_type": "request", "name": "List comments on a pull request", "description": "Lists review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/comments/#list-comments-on-a-pull-request", @@ -7396,8 +7416,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1390__", + "parentId": "__FLD_45__", + "_id": "__REQ_935__", "_type": "request", "name": "Create a comment reply", "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Comments](https://developer.github.com/enterprise/2.17/v3/issues/comments/#create-a-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/comments/#create-a-comment", @@ -7412,8 +7432,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1391__", + "parentId": "__FLD_45__", + "_id": "__REQ_936__", "_type": "request", "name": "List commits on a pull request", "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [Commit List API](https://developer.github.com/enterprise/2.17/v3/repos/commits/#list-commits-on-a-repository).\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#list-commits-on-a-pull-request", @@ -7439,11 +7459,11 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1392__", + "parentId": "__FLD_45__", + "_id": "__REQ_937__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** The response includes a maximum of 300 files.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7466,8 +7486,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1393__", + "parentId": "__FLD_45__", + "_id": "__REQ_938__", "_type": "request", "name": "Get if a pull request has been merged", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#get-if-a-pull-request-has-been-merged", @@ -7482,8 +7502,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1394__", + "parentId": "__FLD_45__", + "_id": "__REQ_939__", "_type": "request", "name": "Merge a pull request (Merge Button)", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/#merge-a-pull-request-merge-button", @@ -7498,8 +7518,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1395__", + "parentId": "__FLD_45__", + "_id": "__REQ_940__", "_type": "request", "name": "List review requests", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/review_requests/#list-review-requests", @@ -7525,8 +7545,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1396__", + "parentId": "__FLD_45__", + "_id": "__REQ_941__", "_type": "request", "name": "Create a review request", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/review_requests/#create-a-review-request", @@ -7541,8 +7561,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1397__", + "parentId": "__FLD_45__", + "_id": "__REQ_942__", "_type": "request", "name": "Delete a review request", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/review_requests/#delete-a-review-request", @@ -7557,8 +7577,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1398__", + "parentId": "__FLD_45__", + "_id": "__REQ_943__", "_type": "request", "name": "List reviews on a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#list-reviews-on-a-pull-request", @@ -7584,8 +7604,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1399__", + "parentId": "__FLD_45__", + "_id": "__REQ_944__", "_type": "request", "name": "Create a pull request review", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/enterprise/2.17/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/enterprise/2.17/v3/pulls/#get-a-single-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#create-a-pull-request-review", @@ -7600,8 +7620,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1400__", + "parentId": "__FLD_45__", + "_id": "__REQ_945__", "_type": "request", "name": "Get a single review", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#get-a-single-review", @@ -7616,8 +7636,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1401__", + "parentId": "__FLD_45__", + "_id": "__REQ_946__", "_type": "request", "name": "Delete a pending review", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#delete-a-pending-review", @@ -7632,8 +7652,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1402__", + "parentId": "__FLD_45__", + "_id": "__REQ_947__", "_type": "request", "name": "Update a pull request review", "description": "Update the review summary comment with new text.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#update-a-pull-request-review", @@ -7648,8 +7668,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1403__", + "parentId": "__FLD_45__", + "_id": "__REQ_948__", "_type": "request", "name": "Get comments for a single review", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#get-comments-for-a-single-review", @@ -7675,8 +7695,8 @@ ] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1404__", + "parentId": "__FLD_45__", + "_id": "__REQ_949__", "_type": "request", "name": "Dismiss a pull request review", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://developer.github.com/enterprise/2.17/v3/repos/branches/), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#dismiss-a-pull-request-review", @@ -7691,8 +7711,8 @@ "parameters": [] }, { - "parentId": "__FLD_68__", - "_id": "__REQ_1405__", + "parentId": "__FLD_45__", + "_id": "__REQ_950__", "_type": "request", "name": "Submit a pull request review", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/pulls/reviews/#submit-a-pull-request-review", @@ -7707,8 +7727,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1406__", + "parentId": "__FLD_48__", + "_id": "__REQ_951__", "_type": "request", "name": "Get the README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://developer.github.com/enterprise/2.17/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/contents/#get-the-readme", @@ -7728,8 +7748,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1407__", + "parentId": "__FLD_48__", + "_id": "__REQ_952__", "_type": "request", "name": "List releases for a repository", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://developer.github.com/enterprise/2.17/v3/repos/#list-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#list-releases-for-a-repository", @@ -7755,8 +7775,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1408__", + "parentId": "__FLD_48__", + "_id": "__REQ_953__", "_type": "request", "name": "Create a release", "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#create-a-release", @@ -7771,8 +7791,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1409__", + "parentId": "__FLD_48__", + "_id": "__REQ_954__", "_type": "request", "name": "Get a single release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://developer.github.com/enterprise/2.17/v3/media/#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#get-a-single-release-asset", @@ -7787,8 +7807,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1410__", + "parentId": "__FLD_48__", + "_id": "__REQ_955__", "_type": "request", "name": "Edit a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#edit-a-release-asset", @@ -7803,8 +7823,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1411__", + "parentId": "__FLD_48__", + "_id": "__REQ_956__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#delete-a-release-asset", @@ -7819,8 +7839,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1412__", + "parentId": "__FLD_48__", + "_id": "__REQ_957__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#get-the-latest-release", @@ -7835,8 +7855,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1413__", + "parentId": "__FLD_48__", + "_id": "__REQ_958__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#get-a-release-by-tag-name", @@ -7851,8 +7871,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1414__", + "parentId": "__FLD_48__", + "_id": "__REQ_959__", "_type": "request", "name": "Get a single release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://developer.github.com/enterprise/2.17/v3/#hypermedia).\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#get-a-single-release", @@ -7867,8 +7887,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1415__", + "parentId": "__FLD_48__", + "_id": "__REQ_960__", "_type": "request", "name": "Edit a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#edit-a-release", @@ -7883,8 +7903,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1416__", + "parentId": "__FLD_48__", + "_id": "__REQ_961__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#delete-a-release", @@ -7899,8 +7919,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1417__", + "parentId": "__FLD_48__", + "_id": "__REQ_962__", "_type": "request", "name": "List assets for a release", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#list-assets-for-a-release", @@ -7926,8 +7946,33 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1418__", + "parentId": "__FLD_48__", + "_id": "__REQ_963__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://developer.github.com/v3/#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in the response of the [Create a release endpoint](https://developer.github.com/v3/repos/releases/#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example:\n\n`application/zip`\n\nGitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example, you'll still need to pass your authentication to be able to upload an asset.\n\n**Notes:**\n\n* GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://developer.github.com/v3/repos/releases/#list-assets-for-a-release)\" endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nThis may leave an empty asset with a state of `starter`. It can be safely deleted.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/releases/#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_29__", + "_id": "__REQ_964__", "_type": "request", "name": "List Stargazers", "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.17/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#list-stargazers", @@ -7953,8 +7998,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1419__", + "parentId": "__FLD_48__", + "_id": "__REQ_965__", "_type": "request", "name": "Get the number of additions and deletions per week", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week", @@ -7969,8 +8014,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1420__", + "parentId": "__FLD_48__", + "_id": "__REQ_966__", "_type": "request", "name": "Get the last year of commit activity data", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statistics/#get-the-last-year-of-commit-activity-data", @@ -7985,8 +8030,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1421__", + "parentId": "__FLD_48__", + "_id": "__REQ_967__", "_type": "request", "name": "Get contributors list with additions, deletions, and commit counts", "description": "* `total` - The Total number of commits authored by the contributor.\n\nWeekly Hash (`weeks` array):\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts", @@ -8001,8 +8046,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1422__", + "parentId": "__FLD_48__", + "_id": "__REQ_968__", "_type": "request", "name": "Get the weekly commit count for the repository owner and everyone else", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else", @@ -8017,8 +8062,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1423__", + "parentId": "__FLD_48__", + "_id": "__REQ_969__", "_type": "request", "name": "Get the number of commits per hour in each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day", @@ -8033,8 +8078,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1424__", + "parentId": "__FLD_48__", + "_id": "__REQ_970__", "_type": "request", "name": "Create a status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/statuses/#create-a-status", @@ -8049,11 +8094,11 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1425__", + "parentId": "__FLD_29__", + "_id": "__REQ_971__", "_type": "request", "name": "List watchers", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#list-watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#list-watchers", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8076,10 +8121,10 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1426__", + "parentId": "__FLD_29__", + "_id": "__REQ_972__", "_type": "request", - "name": "Get a Repository Subscription", + "name": "Get a repository subscription", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#get-a-repository-subscription", "headers": [], "authentication": { @@ -8092,10 +8137,10 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1427__", + "parentId": "__FLD_29__", + "_id": "__REQ_973__", "_type": "request", - "name": "Set a Repository Subscription", + "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://developer.github.com/enterprise/2.17/v3/activity/watching/#delete-a-repository-subscription) completely.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#set-a-repository-subscription", "headers": [], "authentication": { @@ -8108,10 +8153,10 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1428__", + "parentId": "__FLD_29__", + "_id": "__REQ_974__", "_type": "request", - "name": "Delete a Repository Subscription", + "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://developer.github.com/enterprise/2.17/v3/activity/watching/#set-a-repository-subscription).\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#delete-a-repository-subscription", "headers": [], "authentication": { @@ -8124,8 +8169,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1429__", + "parentId": "__FLD_48__", + "_id": "__REQ_975__", "_type": "request", "name": "List tags", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-tags", @@ -8151,8 +8196,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1430__", + "parentId": "__FLD_48__", + "_id": "__REQ_976__", "_type": "request", "name": "List teams", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-teams", @@ -8178,11 +8223,11 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1431__", + "parentId": "__FLD_48__", + "_id": "__REQ_977__", "_type": "request", - "name": "List all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-all-topics-for-a-repository", + "name": "Get all repository topics", + "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#get-all-repository-topics", "headers": [ { "name": "Accept", @@ -8199,11 +8244,11 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1432__", + "parentId": "__FLD_48__", + "_id": "__REQ_978__", "_type": "request", - "name": "Replace all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#replace-all-topics-for-a-repository", + "name": "Replace all repository topics", + "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#replace-all-repository-topics", "headers": [ { "name": "Accept", @@ -8220,8 +8265,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1433__", + "parentId": "__FLD_48__", + "_id": "__REQ_979__", "_type": "request", "name": "Transfer a repository", "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#transfer-a-repository", @@ -8241,8 +8286,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1434__", + "parentId": "__FLD_48__", + "_id": "__REQ_980__", "_type": "request", "name": "Get archive link", "description": "Gets a redirect URL to download an archive for a repository. The `:archive_format` can be either `tarball` or `zipball`. The `:ref` must be a valid Git reference. If you omit `:ref`, the repository’s default branch (usually `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request.\n\n_Note_: For private repositories, these links are temporary and expire after five minutes.\n\nTo follow redirects with curl, use the `-L` switch:\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/contents/#get-archive-link", @@ -8257,11 +8302,11 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1435__", + "parentId": "__FLD_48__", + "_id": "__REQ_981__", "_type": "request", - "name": "List all public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.17/v3/#link-header) to get the URL for the next page of repositories.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.17/v3/#authentication) site administrator for your Enterprise appliance, you will be able to list all repositories including private repositories.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-all-public-repositories", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.17/v3/#link-header) to get the URL for the next page of repositories.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.17/v3/#authentication) site administrator for your Enterprise appliance, you will be able to list all repositories including private repositories.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8293,8 +8338,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1436__", + "parentId": "__FLD_49__", + "_id": "__REQ_982__", "_type": "request", "name": "Search code", "description": "Find file contents via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\n**Considerations for code search**\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 10 MB are searchable.\n\nSuppose you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery). Your query would look something like this:\n\nHere, we're searching for the keyword `addClass` within a file's contents. We're making sure that we're only looking in files where the language is JavaScript. And we're scoping the search to the `repo:jquery/jquery` repository.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-code", @@ -8333,8 +8378,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1437__", + "parentId": "__FLD_49__", + "_id": "__REQ_983__", "_type": "request", "name": "Search commits", "description": "Find commits via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\n**Considerations for commit search**\n\nOnly the _default branch_ is considered. In most cases, this will be the `master` branch.\n\nSuppose you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-commits", @@ -8378,8 +8423,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1438__", + "parentId": "__FLD_49__", + "_id": "__REQ_984__", "_type": "request", "name": "Search issues and pull requests", "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\nLet's say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\nIn this query, we're searching for the keyword `windows`, within any open issue that's labeled as `bug`. The search runs across repositories whose primary language is Python. We’re sorting by creation date in ascending order, so that the oldest issues appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-issues-and-pull-requests", @@ -8418,8 +8463,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1439__", + "parentId": "__FLD_49__", + "_id": "__REQ_985__", "_type": "request", "name": "Search labels", "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\nSuppose you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\nThe labels that best match for the query appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-labels", @@ -8452,8 +8497,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1440__", + "parentId": "__FLD_49__", + "_id": "__REQ_986__", "_type": "request", "name": "Search repositories", "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\nSuppose you want to search for popular Tetris repositories written in Assembly. Your query might look like this.\n\nYou can search for multiple topics by adding more `topic:` instances, and including the `mercy-preview` header. For example:\n\nIn this request, we're searching for repositories with the word `tetris` in the name, the description, or the README. We're limiting the results to only find repositories where the primary language is Assembly. We're sorting by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-repositories", @@ -8497,8 +8542,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1441__", + "parentId": "__FLD_49__", + "_id": "__REQ_987__", "_type": "request", "name": "Search topics", "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\nSee \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nSuppose you want to search for topics related to Ruby that are featured on [https://github.com/topics](https://github.com/topics). Your query might look like this:\n\nIn this request, we're searching for topics with the keyword `ruby`, and we're limiting the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\n**Note:** A search for featured Ruby topics only has 6 total results, so a [Link header](https://developer.github.com/enterprise/2.17/v3/#link-header) indicating pagination is not included in the response.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-topics", @@ -8523,8 +8568,8 @@ ] }, { - "parentId": "__FLD_72__", - "_id": "__REQ_1442__", + "parentId": "__FLD_49__", + "_id": "__REQ_988__", "_type": "request", "name": "Search users", "description": "Find users via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.17/v3/#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.17/v3/search/#text-match-metadata).\n\nImagine you're looking for a list of popular users. You might try out this query:\n\nHere, we're looking at users with the name Tom. We're only interested in those with more than 42 repositories, and only if they have over 1,000 followers.\n\nhttps://developer.github.com/enterprise/2.17/v3/search/#search-users", @@ -8563,8 +8608,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1443__", + "parentId": "__FLD_34__", + "_id": "__REQ_989__", "_type": "request", "name": "Check configuration status", "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#check-configuration-status", @@ -8579,8 +8624,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1444__", + "parentId": "__FLD_34__", + "_id": "__REQ_990__", "_type": "request", "name": "Start a configuration process", "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#start-a-configuration-process", @@ -8595,8 +8640,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1445__", + "parentId": "__FLD_34__", + "_id": "__REQ_991__", "_type": "request", "name": "Check maintenance status", "description": "Check your installation's maintenance status:\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#check-maintenance-status", @@ -8611,8 +8656,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1446__", + "parentId": "__FLD_34__", + "_id": "__REQ_992__", "_type": "request", "name": "Enable or disable maintenance mode", "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#enable-or-disable-maintenance-mode", @@ -8627,8 +8672,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1447__", + "parentId": "__FLD_34__", + "_id": "__REQ_993__", "_type": "request", "name": "Retrieve settings", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#retrieve-settings", @@ -8643,8 +8688,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1448__", + "parentId": "__FLD_34__", + "_id": "__REQ_994__", "_type": "request", "name": "Modify settings", "description": "For a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#modify-settings", @@ -8659,8 +8704,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1449__", + "parentId": "__FLD_34__", + "_id": "__REQ_995__", "_type": "request", "name": "Retrieve authorized SSH keys", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#retrieve-authorized-ssh-keys", @@ -8675,8 +8720,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1450__", + "parentId": "__FLD_34__", + "_id": "__REQ_996__", "_type": "request", "name": "Add a new authorized SSH key", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#add-a-new-authorized-ssh-key", @@ -8691,8 +8736,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1451__", + "parentId": "__FLD_34__", + "_id": "__REQ_997__", "_type": "request", "name": "Remove an authorized SSH key", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#remove-an-authorized-ssh-key", @@ -8707,8 +8752,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1452__", + "parentId": "__FLD_34__", + "_id": "__REQ_998__", "_type": "request", "name": "Upload a license for the first time", "description": "When you boot a GitHub Enterprise Server instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub Enterprise Server instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#upload-a-license-for-the-first-time", @@ -8723,8 +8768,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1453__", + "parentId": "__FLD_34__", + "_id": "__REQ_999__", "_type": "request", "name": "Upgrade a license", "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/management_console/#upgrade-a-license", @@ -8739,8 +8784,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1454__", + "parentId": "__FLD_34__", + "_id": "__REQ_1000__", "_type": "request", "name": "Queue an indexing job", "description": "You can index the following targets (replace `:owner` with the name of a user or organization account and `:repository` with the name of a repository):\n\n| Target | Description |\n| --------------------------- | -------------------------------------------------------------------- |\n| `:owner` | A user or organization account. |\n| `:owner/:repository` | A repository. |\n| `:owner/*` | All of a user or organization's repositories. |\n| `:owner/:repository/issues` | All the issues in a repository. |\n| `:owner/*/issues` | All the issues in all of a user or organization's repositories. |\n| `:owner/:repository/code` | All the source code in a repository. |\n| `:owner/*/code` | All the source code in all of a user or organization's repositories. |\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/search_indexing/#queue-an-indexing-job", @@ -8755,8 +8800,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1455__", + "parentId": "__FLD_50__", + "_id": "__REQ_1001__", "_type": "request", "name": "Get team", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#get-team", @@ -8776,8 +8821,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1456__", + "parentId": "__FLD_50__", + "_id": "__REQ_1002__", "_type": "request", "name": "Edit team", "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#edit-team", @@ -8797,8 +8842,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1457__", + "parentId": "__FLD_50__", + "_id": "__REQ_1003__", "_type": "request", "name": "Delete team", "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#delete-team", @@ -8818,8 +8863,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1458__", + "parentId": "__FLD_50__", + "_id": "__REQ_1004__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussions/#list-discussions", @@ -8855,8 +8900,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1459__", + "parentId": "__FLD_50__", + "_id": "__REQ_1005__", "_type": "request", "name": "Create a discussion", "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussions/#create-a-discussion", @@ -8876,8 +8921,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1460__", + "parentId": "__FLD_50__", + "_id": "__REQ_1006__", "_type": "request", "name": "Get a single discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussions/#get-a-single-discussion", @@ -8897,8 +8942,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1461__", + "parentId": "__FLD_50__", + "_id": "__REQ_1007__", "_type": "request", "name": "Edit a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussions/#edit-a-discussion", @@ -8918,8 +8963,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1462__", + "parentId": "__FLD_50__", + "_id": "__REQ_1008__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussions/#delete-a-discussion", @@ -8939,8 +8984,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1463__", + "parentId": "__FLD_50__", + "_id": "__REQ_1009__", "_type": "request", "name": "List comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/#list-comments", @@ -8976,8 +9021,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1464__", + "parentId": "__FLD_50__", + "_id": "__REQ_1010__", "_type": "request", "name": "Create a comment", "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.17/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/#create-a-comment", @@ -8997,8 +9042,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1465__", + "parentId": "__FLD_50__", + "_id": "__REQ_1011__", "_type": "request", "name": "Get a single comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/#get-a-single-comment", @@ -9018,8 +9063,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1466__", + "parentId": "__FLD_50__", + "_id": "__REQ_1012__", "_type": "request", "name": "Edit a comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/#edit-a-comment", @@ -9039,8 +9084,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1467__", + "parentId": "__FLD_50__", + "_id": "__REQ_1013__", "_type": "request", "name": "Delete a comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/#delete-a-comment", @@ -9060,8 +9105,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1468__", + "parentId": "__FLD_47__", + "_id": "__REQ_1014__", "_type": "request", "name": "List reactions for a team discussion comment", "description": "List the reactions to a [team discussion comment](https://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#list-reactions-for-a-team-discussion-comment", @@ -9096,8 +9141,8 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1469__", + "parentId": "__FLD_47__", + "_id": "__REQ_1015__", "_type": "request", "name": "Create reaction for a team discussion comment", "description": "Create a reaction to a [team discussion comment](https://developer.github.com/enterprise/2.17/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#create-reaction-for-a-team-discussion-comment", @@ -9117,8 +9162,8 @@ "parameters": [] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1470__", + "parentId": "__FLD_47__", + "_id": "__REQ_1016__", "_type": "request", "name": "List reactions for a team discussion", "description": "List the reactions to a [team discussion](https://developer.github.com/enterprise/2.17/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#list-reactions-for-a-team-discussion", @@ -9153,8 +9198,8 @@ ] }, { - "parentId": "__FLD_70__", - "_id": "__REQ_1471__", + "parentId": "__FLD_47__", + "_id": "__REQ_1017__", "_type": "request", "name": "Create reaction for a team discussion", "description": "Create a reaction to a [team discussion](https://developer.github.com/enterprise/2.17/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://developer.github.com/enterprise/2.17/v3/reactions/#create-reaction-for-a-team-discussion", @@ -9174,8 +9219,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1472__", + "parentId": "__FLD_50__", + "_id": "__REQ_1018__", "_type": "request", "name": "List team members", "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#list-team-members", @@ -9211,8 +9256,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1473__", + "parentId": "__FLD_50__", + "_id": "__REQ_1019__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership](https://developer.github.com/enterprise/2.17/v3/teams/members/#get-team-membership) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#get-team-member-legacy", @@ -9227,8 +9272,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1474__", + "parentId": "__FLD_50__", + "_id": "__REQ_1020__", "_type": "request", "name": "Add team member (Legacy)", "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add team membership](https://developer.github.com/enterprise/2.17/v3/teams/members/#add-or-update-team-membership) endpoint instead. It allows you to invite new organization members to your teams.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#add-team-member-legacy", @@ -9243,8 +9288,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1475__", + "parentId": "__FLD_50__", + "_id": "__REQ_1021__", "_type": "request", "name": "Remove team member (Legacy)", "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership](https://developer.github.com/enterprise/2.17/v3/teams/members/#remove-team-membership) endpoint instead. It allows you to remove both active and pending memberships.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#remove-team-member-legacy", @@ -9259,8 +9304,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1476__", + "parentId": "__FLD_50__", + "_id": "__REQ_1022__", "_type": "request", "name": "Get team membership", "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create team](https://developer.github.com/enterprise/2.17/v3/teams#create-team).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#get-team-membership", @@ -9280,8 +9325,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1477__", + "parentId": "__FLD_50__", + "_id": "__REQ_1023__", "_type": "request", "name": "Add or update team membership", "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user 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. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf 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.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#add-or-update-team-membership", @@ -9296,8 +9341,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1478__", + "parentId": "__FLD_50__", + "_id": "__REQ_1024__", "_type": "request", "name": "Remove team membership", "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.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/members/#remove-team-membership", @@ -9312,8 +9357,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1479__", + "parentId": "__FLD_50__", + "_id": "__REQ_1025__", "_type": "request", "name": "List team projects", "description": "Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.17/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#list-team-projects", @@ -9344,8 +9389,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1480__", + "parentId": "__FLD_50__", + "_id": "__REQ_1026__", "_type": "request", "name": "Review a team project", "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#review-a-team-project", @@ -9365,8 +9410,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1481__", + "parentId": "__FLD_50__", + "_id": "__REQ_1027__", "_type": "request", "name": "Add or update team project", "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.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#add-or-update-team-project", @@ -9386,8 +9431,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1482__", + "parentId": "__FLD_50__", + "_id": "__REQ_1028__", "_type": "request", "name": "Remove team project", "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. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#remove-team-project", @@ -9402,8 +9447,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1483__", + "parentId": "__FLD_50__", + "_id": "__REQ_1029__", "_type": "request", "name": "List team repos", "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.17/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#list-team-repos", @@ -9434,8 +9479,8 @@ ] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1484__", + "parentId": "__FLD_50__", + "_id": "__REQ_1030__", "_type": "request", "name": "Check if a team manages a repository", "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.17/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#check-if-a-team-manages-a-repository", @@ -9455,8 +9500,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1485__", + "parentId": "__FLD_50__", + "_id": "__REQ_1031__", "_type": "request", "name": "Add or update team repository", "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.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#add-or-update-team-repository", @@ -9476,8 +9521,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1486__", + "parentId": "__FLD_50__", + "_id": "__REQ_1032__", "_type": "request", "name": "Remove team repository", "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. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#remove-team-repository", @@ -9492,8 +9537,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1487__", + "parentId": "__FLD_50__", + "_id": "__REQ_1033__", "_type": "request", "name": "List child teams", "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#list-child-teams", @@ -9524,8 +9569,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1488__", + "parentId": "__FLD_51__", + "_id": "__REQ_1034__", "_type": "request", "name": "Get the authenticated user", "description": "Lists public and private profile information when authenticated through basic auth or OAuth with the `user` scope.\n\nLists public profile information when authenticated through OAuth without the `user` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/#get-the-authenticated-user", @@ -9540,8 +9585,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1489__", + "parentId": "__FLD_51__", + "_id": "__REQ_1035__", "_type": "request", "name": "Update the authenticated user", "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/#update-the-authenticated-user", @@ -9556,8 +9601,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1490__", + "parentId": "__FLD_51__", + "_id": "__REQ_1036__", "_type": "request", "name": "List email addresses for a user", "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/emails/#list-email-addresses-for-a-user", @@ -9583,8 +9628,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1491__", + "parentId": "__FLD_51__", + "_id": "__REQ_1037__", "_type": "request", "name": "Add email address(es)", "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/emails/#add-email-addresses", @@ -9599,8 +9644,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1492__", + "parentId": "__FLD_51__", + "_id": "__REQ_1038__", "_type": "request", "name": "Delete email address(es)", "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/emails/#delete-email-addresses", @@ -9615,11 +9660,11 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1493__", + "parentId": "__FLD_51__", + "_id": "__REQ_1039__", "_type": "request", - "name": "List the authenticated user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#list-followers-of-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9642,11 +9687,11 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1494__", + "parentId": "__FLD_51__", + "_id": "__REQ_1040__", "_type": "request", - "name": "List who the authenticated user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#list-users-followed-by-another-user", + "name": "List users followed by the authenticated user", + "description": "Lists the people who the authenticated user follows.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#list-users-followed-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9669,8 +9714,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1495__", + "parentId": "__FLD_51__", + "_id": "__REQ_1041__", "_type": "request", "name": "Check if you are following a user", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#check-if-you-are-following-a-user", @@ -9685,8 +9730,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1496__", + "parentId": "__FLD_51__", + "_id": "__REQ_1042__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#follow-a-user", @@ -9701,8 +9746,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1497__", + "parentId": "__FLD_51__", + "_id": "__REQ_1043__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#unfollow-a-user", @@ -9717,8 +9762,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1498__", + "parentId": "__FLD_51__", + "_id": "__REQ_1044__", "_type": "request", "name": "List your GPG keys", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/users/gpg_keys/#list-your-gpg-keys", @@ -9744,8 +9789,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1499__", + "parentId": "__FLD_51__", + "_id": "__REQ_1045__", "_type": "request", "name": "Create a GPG key", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/users/gpg_keys/#create-a-gpg-key", @@ -9760,8 +9805,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1500__", + "parentId": "__FLD_51__", + "_id": "__REQ_1046__", "_type": "request", "name": "Get a single GPG key", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/users/gpg_keys/#get-a-single-gpg-key", @@ -9776,8 +9821,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1501__", + "parentId": "__FLD_51__", + "_id": "__REQ_1047__", "_type": "request", "name": "Delete a GPG key", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/users/gpg_keys/#delete-a-gpg-key", @@ -9792,8 +9837,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1502__", + "parentId": "__FLD_30__", + "_id": "__REQ_1048__", "_type": "request", "name": "List installations for a user", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.17/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/installations/#list-installations-for-a-user", @@ -9824,8 +9869,8 @@ ] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1503__", + "parentId": "__FLD_30__", + "_id": "__REQ_1049__", "_type": "request", "name": "List repositories accessible to the user for an installation", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.17/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-installation", @@ -9856,8 +9901,8 @@ ] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1504__", + "parentId": "__FLD_30__", + "_id": "__REQ_1050__", "_type": "request", "name": "Add repository to installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/installations/#add-repository-to-installation", @@ -9877,8 +9922,8 @@ "parameters": [] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1505__", + "parentId": "__FLD_30__", + "_id": "__REQ_1051__", "_type": "request", "name": "Remove repository from installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.17/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.17/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/installations/#remove-repository-from-installation", @@ -9898,11 +9943,11 @@ "parameters": [] }, { - "parentId": "__FLD_61__", - "_id": "__REQ_1506__", + "parentId": "__FLD_38__", + "_id": "__REQ_1052__", "_type": "request", - "name": "List all issues across owned and member repositories assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#list-issues", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user:\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.17/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9953,8 +9998,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1507__", + "parentId": "__FLD_51__", + "_id": "__REQ_1053__", "_type": "request", "name": "List your public keys", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/users/keys/#list-your-public-keys", @@ -9980,8 +10025,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1508__", + "parentId": "__FLD_51__", + "_id": "__REQ_1054__", "_type": "request", "name": "Create a public key", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/keys/#create-a-public-key", @@ -9996,8 +10041,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1509__", + "parentId": "__FLD_51__", + "_id": "__REQ_1055__", "_type": "request", "name": "Get a single public key", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/users/keys/#get-a-single-public-key", @@ -10012,8 +10057,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1510__", + "parentId": "__FLD_51__", + "_id": "__REQ_1056__", "_type": "request", "name": "Delete a public key", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to remove an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/keys/#delete-a-public-key", @@ -10028,8 +10073,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1511__", + "parentId": "__FLD_43__", + "_id": "__REQ_1057__", "_type": "request", "name": "List your organization memberships", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#list-your-organization-memberships", @@ -10059,8 +10104,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1512__", + "parentId": "__FLD_43__", + "_id": "__REQ_1058__", "_type": "request", "name": "Get your organization membership", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#get-your-organization-membership", @@ -10075,8 +10120,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1513__", + "parentId": "__FLD_43__", + "_id": "__REQ_1059__", "_type": "request", "name": "Edit your organization membership", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/members/#edit-your-organization-membership", @@ -10091,8 +10136,8 @@ "parameters": [] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1514__", + "parentId": "__FLD_43__", + "_id": "__REQ_1060__", "_type": "request", "name": "List your organizations", "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/#list-your-organizations", @@ -10118,8 +10163,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1515__", + "parentId": "__FLD_44__", + "_id": "__REQ_1061__", "_type": "request", "name": "Create a user project", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#create-a-user-project", @@ -10139,8 +10184,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1516__", + "parentId": "__FLD_51__", + "_id": "__REQ_1062__", "_type": "request", "name": "List public email addresses for a user", "description": "Lists your publicly visible email address. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/emails/#list-public-email-addresses-for-a-user", @@ -10166,11 +10211,11 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1517__", + "parentId": "__FLD_48__", + "_id": "__REQ_1063__", "_type": "request", - "name": "List your repositories", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-your-repositories", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10217,11 +10262,11 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1518__", + "parentId": "__FLD_48__", + "_id": "__REQ_1064__", "_type": "request", - "name": "Creates a new repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#create", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#create-a-repository-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10233,8 +10278,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1519__", + "parentId": "__FLD_48__", + "_id": "__REQ_1065__", "_type": "request", "name": "List a user's repository invitations", "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\n\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/invitations/#list-a-users-repository-invitations", @@ -10260,8 +10305,8 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1520__", + "parentId": "__FLD_48__", + "_id": "__REQ_1066__", "_type": "request", "name": "Accept a repository invitation", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/invitations/#accept-a-repository-invitation", @@ -10276,8 +10321,8 @@ "parameters": [] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1521__", + "parentId": "__FLD_48__", + "_id": "__REQ_1067__", "_type": "request", "name": "Decline a repository invitation", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/invitations/#decline-a-repository-invitation", @@ -10292,11 +10337,11 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1522__", + "parentId": "__FLD_29__", + "_id": "__REQ_1068__", "_type": "request", - "name": "List repositories being starred by the authenticated user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.17/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.17/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#list-repositories-starred-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10329,8 +10374,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1523__", + "parentId": "__FLD_29__", + "_id": "__REQ_1069__", "_type": "request", "name": "Check if you are starring a repository", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#check-if-you-are-starring-a-repository", @@ -10345,8 +10390,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1524__", + "parentId": "__FLD_29__", + "_id": "__REQ_1070__", "_type": "request", "name": "Star a repository", "description": "Requires for the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#star-a-repository", @@ -10361,8 +10406,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1525__", + "parentId": "__FLD_29__", + "_id": "__REQ_1071__", "_type": "request", "name": "Unstar a repository", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#unstar-a-repository", @@ -10377,11 +10422,11 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1526__", + "parentId": "__FLD_29__", + "_id": "__REQ_1072__", "_type": "request", - "name": "List repositories being watched by the authenticated user", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#list-repositories-watched-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10404,8 +10449,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1527__", + "parentId": "__FLD_29__", + "_id": "__REQ_1073__", "_type": "request", "name": "Check if you are watching a repository (LEGACY)", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#check-if-you-are-watching-a-repository-legacy", @@ -10420,8 +10465,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1528__", + "parentId": "__FLD_29__", + "_id": "__REQ_1074__", "_type": "request", "name": "Watch a repository (LEGACY)", "description": "Requires the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#watch-a-repository-legacy", @@ -10436,8 +10481,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1529__", + "parentId": "__FLD_29__", + "_id": "__REQ_1075__", "_type": "request", "name": "Stop watching a repository (LEGACY)", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#stop-watching-a-repository-legacy", @@ -10452,8 +10497,8 @@ "parameters": [] }, { - "parentId": "__FLD_73__", - "_id": "__REQ_1530__", + "parentId": "__FLD_50__", + "_id": "__REQ_1076__", "_type": "request", "name": "List user teams", "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://developer.github.com/enterprise/2.17/apps/building-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.17/v3/teams/#list-user-teams", @@ -10484,8 +10529,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1531__", + "parentId": "__FLD_51__", + "_id": "__REQ_1077__", "_type": "request", "name": "Get all users", "description": "Lists all users, in the order that they signed up on GitHub Enterprise. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.17/v3/#link-header) to get the URL for the next page of users.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/#get-all-users", @@ -10515,8 +10560,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1532__", + "parentId": "__FLD_51__", + "_id": "__REQ_1078__", "_type": "request", "name": "Get a single user", "description": "Provides publicly available information about someone with a GitHub Enterprise account.\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise. For more information, see [Authentication](https://developer.github.com/enterprise/2.17/v3/#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://developer.github.com/enterprise/2.17/v3/users/emails/)\".\n\nhttps://developer.github.com/enterprise/2.17/v3/users/#get-a-single-user", @@ -10531,8 +10576,8 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1533__", + "parentId": "__FLD_29__", + "_id": "__REQ_1079__", "_type": "request", "name": "List events performed by a user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-events-performed-by-a-user", @@ -10558,8 +10603,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1534__", + "parentId": "__FLD_29__", + "_id": "__REQ_1080__", "_type": "request", "name": "List events for an organization", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-events-for-an-organization", @@ -10585,8 +10630,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1535__", + "parentId": "__FLD_29__", + "_id": "__REQ_1081__", "_type": "request", "name": "List public events performed by a user", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-public-events-performed-by-a-user", @@ -10612,11 +10657,11 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1536__", + "parentId": "__FLD_51__", + "_id": "__REQ_1082__", "_type": "request", - "name": "List a user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#list-followers-of-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10639,11 +10684,11 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1537__", + "parentId": "__FLD_51__", + "_id": "__REQ_1083__", "_type": "request", - "name": "List who a user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#list-users-followed-by-another-user", + "name": "List users followed by another user", + "description": "Lists the people who the specified user follows.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#list-users-followed-by-another-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10666,8 +10711,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1538__", + "parentId": "__FLD_51__", + "_id": "__REQ_1084__", "_type": "request", "name": "Check if one user follows another", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/users/followers/#check-if-one-user-follows-another", @@ -10682,11 +10727,11 @@ "parameters": [] }, { - "parentId": "__FLD_58__", - "_id": "__REQ_1539__", + "parentId": "__FLD_35__", + "_id": "__REQ_1085__", "_type": "request", - "name": "List public gists for the specified user", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-a-users-gists", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://developer.github.com/enterprise/2.17/v3/gists/#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10713,8 +10758,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1540__", + "parentId": "__FLD_51__", + "_id": "__REQ_1086__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/gpg_keys/#list-gpg-keys-for-a-user", @@ -10740,8 +10785,8 @@ ] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1541__", + "parentId": "__FLD_51__", + "_id": "__REQ_1087__", "_type": "request", "name": "Get contextual information about a user", "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\nhttps://developer.github.com/enterprise/2.17/v3/users/#get-contextual-information-about-a-user", @@ -10770,8 +10815,8 @@ ] }, { - "parentId": "__FLD_53__", - "_id": "__REQ_1542__", + "parentId": "__FLD_30__", + "_id": "__REQ_1088__", "_type": "request", "name": "Get a user installation", "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.17/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.17/v3/apps/#get-a-user-installation", @@ -10791,8 +10836,8 @@ "parameters": [] }, { - "parentId": "__FLD_74__", - "_id": "__REQ_1543__", + "parentId": "__FLD_51__", + "_id": "__REQ_1089__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.17/v3/users/keys/#list-public-keys-for-a-user", @@ -10818,8 +10863,8 @@ ] }, { - "parentId": "__FLD_66__", - "_id": "__REQ_1544__", + "parentId": "__FLD_43__", + "_id": "__REQ_1090__", "_type": "request", "name": "List user organizations", "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List your organizations](https://developer.github.com/enterprise/2.17/v3/orgs/#list-your-organizations) API instead.\n\nhttps://developer.github.com/enterprise/2.17/v3/orgs/#list-user-organizations", @@ -10845,8 +10890,8 @@ ] }, { - "parentId": "__FLD_67__", - "_id": "__REQ_1545__", + "parentId": "__FLD_44__", + "_id": "__REQ_1091__", "_type": "request", "name": "List user projects", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/projects/#list-user-projects", @@ -10882,8 +10927,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1546__", + "parentId": "__FLD_29__", + "_id": "__REQ_1092__", "_type": "request", "name": "List events that a user has received", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-events-that-a-user-has-received", @@ -10909,8 +10954,8 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1547__", + "parentId": "__FLD_29__", + "_id": "__REQ_1093__", "_type": "request", "name": "List public events that a user has received", "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/events/#list-public-events-that-a-user-has-received", @@ -10936,11 +10981,11 @@ ] }, { - "parentId": "__FLD_71__", - "_id": "__REQ_1548__", + "parentId": "__FLD_48__", + "_id": "__REQ_1094__", "_type": "request", - "name": "List user repositories", - "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-user-repositories", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/enterprise/2.17/v3/repos/#list-repositories-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10977,8 +11022,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1549__", + "parentId": "__FLD_34__", + "_id": "__REQ_1095__", "_type": "request", "name": "Promote an ordinary user to a site administrator", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#promote-an-ordinary-user-to-a-site-administrator", @@ -10993,8 +11038,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1550__", + "parentId": "__FLD_34__", + "_id": "__REQ_1096__", "_type": "request", "name": "Demote a site administrator to an ordinary user", "description": "You can demote any user account except your own.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#demote-a-site-administrator-to-an-ordinary-user", @@ -11009,11 +11054,11 @@ "parameters": [] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1551__", + "parentId": "__FLD_29__", + "_id": "__REQ_1097__", "_type": "request", - "name": "List repositories being starred by a user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.17/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.17/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/starring/#list-repositories-starred-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11046,11 +11091,11 @@ ] }, { - "parentId": "__FLD_52__", - "_id": "__REQ_1552__", + "parentId": "__FLD_29__", + "_id": "__REQ_1098__", "_type": "request", - "name": "List repositories being watched by a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://developer.github.com/enterprise/2.17/v3/activity/watching/#list-repositories-watched-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11073,8 +11118,8 @@ ] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1553__", + "parentId": "__FLD_34__", + "_id": "__REQ_1099__", "_type": "request", "name": "Suspend a user", "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.17/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#suspend-a-user", @@ -11089,8 +11134,8 @@ "parameters": [] }, { - "parentId": "__FLD_57__", - "_id": "__REQ_1554__", + "parentId": "__FLD_34__", + "_id": "__REQ_1100__", "_type": "request", "name": "Unsuspend a user", "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://developer.github.com/enterprise/2.17/v3/enterprise-admin/users/#unsuspend-a-user", diff --git a/routes/ghe-2.18.json b/routes/ghe-2.18.json index a53213e..ba7a4ee 100644 --- a/routes/ghe-2.18.json +++ b/routes/ghe-2.18.json @@ -1,12 +1,12 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2020-01-23T05:12:18.701Z", + "__export_date": "2020-03-21T19:15:42.414Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_75__", + "_id": "__FLD_52__", "_type": "request_group", "name": "GitHub Enterprise REST API v3", "environment": { @@ -85,146 +85,146 @@ } }, { - "parentId": "__FLD_75__", - "_id": "__FLD_76__", + "parentId": "__FLD_52__", + "_id": "__FLD_53__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_77__", + "parentId": "__FLD_52__", + "_id": "__FLD_54__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_78__", + "parentId": "__FLD_52__", + "_id": "__FLD_55__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_79__", + "parentId": "__FLD_52__", + "_id": "__FLD_56__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_80__", + "parentId": "__FLD_52__", + "_id": "__FLD_57__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_81__", + "parentId": "__FLD_52__", + "_id": "__FLD_58__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_82__", + "parentId": "__FLD_52__", + "_id": "__FLD_59__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_83__", + "parentId": "__FLD_52__", + "_id": "__FLD_60__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_84__", + "parentId": "__FLD_52__", + "_id": "__FLD_61__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_85__", + "parentId": "__FLD_52__", + "_id": "__FLD_62__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_86__", + "parentId": "__FLD_52__", + "_id": "__FLD_63__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_87__", + "parentId": "__FLD_52__", + "_id": "__FLD_64__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_88__", + "parentId": "__FLD_52__", + "_id": "__FLD_65__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_89__", + "parentId": "__FLD_52__", + "_id": "__FLD_66__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_90__", + "parentId": "__FLD_52__", + "_id": "__FLD_67__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_91__", + "parentId": "__FLD_52__", + "_id": "__FLD_68__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_92__", + "parentId": "__FLD_52__", + "_id": "__FLD_69__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_93__", + "parentId": "__FLD_52__", + "_id": "__FLD_70__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_94__", + "parentId": "__FLD_52__", + "_id": "__FLD_71__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_95__", + "parentId": "__FLD_52__", + "_id": "__FLD_72__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_96__", + "parentId": "__FLD_52__", + "_id": "__FLD_73__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_97__", + "parentId": "__FLD_52__", + "_id": "__FLD_74__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_75__", - "_id": "__FLD_98__", + "parentId": "__FLD_52__", + "_id": "__FLD_75__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1555__", + "parentId": "__FLD_58__", + "_id": "__REQ_1101__", "_type": "request", "name": "List global hooks", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/global_webhooks/#list-global-hooks", @@ -255,8 +255,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1556__", + "parentId": "__FLD_58__", + "_id": "__REQ_1102__", "_type": "request", "name": "Create a global hook", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/global_webhooks/#create-a-global-hook", @@ -276,8 +276,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1557__", + "parentId": "__FLD_58__", + "_id": "__REQ_1103__", "_type": "request", "name": "Get single global hook", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/global_webhooks/#get-single-global-hook", @@ -297,8 +297,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1558__", + "parentId": "__FLD_58__", + "_id": "__REQ_1104__", "_type": "request", "name": "Edit a global hook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/global_webhooks/#edit-a-global-hook", @@ -318,8 +318,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1559__", + "parentId": "__FLD_58__", + "_id": "__REQ_1105__", "_type": "request", "name": "Delete a global hook", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/global_webhooks/#delete-a-global-hook", @@ -339,8 +339,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1560__", + "parentId": "__FLD_58__", + "_id": "__REQ_1106__", "_type": "request", "name": "Ping a global hook", "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.18/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/global_webhooks/#ping-a-global-hook", @@ -360,8 +360,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1561__", + "parentId": "__FLD_58__", + "_id": "__REQ_1107__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#delete-a-public-key", @@ -376,8 +376,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1562__", + "parentId": "__FLD_58__", + "_id": "__REQ_1108__", "_type": "request", "name": "Update LDAP mapping for a team", "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create team](https://developer.github.com/enterprise/2.18/v3/teams/#create-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-team", @@ -397,8 +397,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1563__", + "parentId": "__FLD_58__", + "_id": "__REQ_1109__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-team", @@ -413,8 +413,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1564__", + "parentId": "__FLD_58__", + "_id": "__REQ_1110__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user", @@ -429,8 +429,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1565__", + "parentId": "__FLD_58__", + "_id": "__REQ_1111__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-user", @@ -445,8 +445,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1566__", + "parentId": "__FLD_58__", + "_id": "__REQ_1112__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/orgs/#create-an-organization", @@ -461,8 +461,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1567__", + "parentId": "__FLD_58__", + "_id": "__REQ_1113__", "_type": "request", "name": "Rename an organization", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/orgs/#rename-an-organization", @@ -477,8 +477,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1568__", + "parentId": "__FLD_58__", + "_id": "__REQ_1114__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#list-pre-receive-environments", @@ -504,8 +504,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1569__", + "parentId": "__FLD_58__", + "_id": "__REQ_1115__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#create-a-pre-receive-environment", @@ -520,8 +520,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1570__", + "parentId": "__FLD_58__", + "_id": "__REQ_1116__", "_type": "request", "name": "Get a single pre-receive environment", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#get-a-single-pre-receive-environment", @@ -536,8 +536,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1571__", + "parentId": "__FLD_58__", + "_id": "__REQ_1117__", "_type": "request", "name": "Edit a pre-receive environment", "description": "If you attempt to modify the default environment, you will get a response like this:\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#edit-a-pre-receive-environment", @@ -552,8 +552,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1572__", + "parentId": "__FLD_58__", + "_id": "__REQ_1118__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will get a response like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#delete-a-pre-receive-environment", @@ -568,8 +568,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1573__", + "parentId": "__FLD_58__", + "_id": "__REQ_1119__", "_type": "request", "name": "Trigger a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will get a reponse like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#trigger-a-pre-receive-environment-download", @@ -584,8 +584,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1574__", + "parentId": "__FLD_58__", + "_id": "__REQ_1120__", "_type": "request", "name": "Get a pre-receive environment's download status", "description": "In addition to seeing the download status at the `/admin/pre-receive-environments/:pre_receive_environment_id`, there is also a separate endpoint for just the status.\n\nPossible values for `state` are `not_started`, `in_progress`, `success`, `failed`.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_environments/#get-a-pre-receive-environments-download-status", @@ -613,8 +613,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1575__", + "parentId": "__FLD_58__", + "_id": "__REQ_1121__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_hooks/#list-pre-receive-hooks", @@ -640,8 +640,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1576__", + "parentId": "__FLD_58__", + "_id": "__REQ_1122__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_hooks/#create-a-pre-receive-hook", @@ -656,8 +656,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1577__", + "parentId": "__FLD_58__", + "_id": "__REQ_1123__", "_type": "request", "name": "Get a single pre-receive hook", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_hooks/#get-a-single-pre-receive-hook", @@ -672,8 +672,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1578__", + "parentId": "__FLD_58__", + "_id": "__REQ_1124__", "_type": "request", "name": "Edit a pre-receive hook", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_hooks/#edit-a-pre-receive-hook", @@ -688,8 +688,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1579__", + "parentId": "__FLD_58__", + "_id": "__REQ_1125__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/pre_receive_hooks/#delete-a-pre-receive-hook", @@ -704,8 +704,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1580__", + "parentId": "__FLD_58__", + "_id": "__REQ_1126__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#list-personal-access-tokens", @@ -731,8 +731,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1581__", + "parentId": "__FLD_58__", + "_id": "__REQ_1127__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#delete-a-personal-access-token", @@ -747,8 +747,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1582__", + "parentId": "__FLD_58__", + "_id": "__REQ_1128__", "_type": "request", "name": "Create a new user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://developer.github.com/enterprise/2.18/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#create-a-new-user", @@ -763,8 +763,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1583__", + "parentId": "__FLD_58__", + "_id": "__REQ_1129__", "_type": "request", "name": "Rename an existing user", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#rename-an-existing-user", @@ -779,8 +779,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1584__", + "parentId": "__FLD_58__", + "_id": "__REQ_1130__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#delete-a-user", @@ -795,8 +795,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1585__", + "parentId": "__FLD_58__", + "_id": "__REQ_1131__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#create-an-impersonation-oauth-token", @@ -811,8 +811,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1586__", + "parentId": "__FLD_58__", + "_id": "__REQ_1132__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#delete-an-impersonation-oauth-token", @@ -827,8 +827,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1587__", + "parentId": "__FLD_54__", + "_id": "__REQ_1133__", "_type": "request", "name": "Get the authenticated GitHub App", "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations](https://developer.github.com/enterprise/2.18/v3/apps/#list-installations)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#get-the-authenticated-github-app", @@ -848,8 +848,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1588__", + "parentId": "__FLD_54__", + "_id": "__REQ_1134__", "_type": "request", "name": "Create a GitHub App from a manifest", "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://developer.github.com/enterprise/2.18/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#create-a-github-app-from-a-manifest", @@ -869,8 +869,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1589__", + "parentId": "__FLD_54__", + "_id": "__REQ_1135__", "_type": "request", "name": "List installations", "description": "You must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#list-installations", @@ -901,8 +901,8 @@ ] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1590__", + "parentId": "__FLD_54__", + "_id": "__REQ_1136__", "_type": "request", "name": "Get an installation", "description": "You must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#get-an-installation", @@ -922,8 +922,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1591__", + "parentId": "__FLD_54__", + "_id": "__REQ_1137__", "_type": "request", "name": "Delete an installation", "description": "Uninstalls a GitHub App on a user, organization, or business account.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#delete-an-installation", @@ -943,11 +943,11 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1592__", + "parentId": "__FLD_54__", + "_id": "__REQ_1138__", "_type": "request", "name": "Create a new installation token", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token.\n\nBy default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThis example grants the token \"Read and write\" permission to `issues` and \"Read\" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#create-a-new-installation-token", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThis example grants the token \"Read and write\" permission to `issues` and \"Read\" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#create-a-new-installation-token", "headers": [ { "name": "Accept", @@ -964,8 +964,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1593__", + "parentId": "__FLD_66__", + "_id": "__REQ_1139__", "_type": "request", "name": "List your grants", "description": "You can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#list-your-grants", @@ -991,8 +991,8 @@ ] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1594__", + "parentId": "__FLD_66__", + "_id": "__REQ_1140__", "_type": "request", "name": "Get a single grant", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#get-a-single-grant", @@ -1007,8 +1007,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1595__", + "parentId": "__FLD_66__", + "_id": "__REQ_1141__", "_type": "request", "name": "Delete a grant", "description": "Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#delete-a-grant", @@ -1023,8 +1023,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1596__", + "parentId": "__FLD_66__", + "_id": "__REQ_1142__", "_type": "request", "name": "Revoke a grant for an application", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#revoke-a-grant-for-an-application", @@ -1039,8 +1039,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1597__", + "parentId": "__FLD_66__", + "_id": "__REQ_1143__", "_type": "request", "name": "Check an authorization", "description": "OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#check-an-authorization", @@ -1055,8 +1055,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1598__", + "parentId": "__FLD_66__", + "_id": "__REQ_1144__", "_type": "request", "name": "Reset an authorization", "description": "OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the \"token\" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#reset-an-authorization", @@ -1071,8 +1071,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1599__", + "parentId": "__FLD_66__", + "_id": "__REQ_1145__", "_type": "request", "name": "Revoke an authorization for an application", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#revoke-an-authorization-for-an-application", @@ -1087,8 +1087,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1600__", + "parentId": "__FLD_54__", + "_id": "__REQ_1146__", "_type": "request", "name": "Get a single GitHub App", "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#get-a-single-github-app", @@ -1108,8 +1108,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1601__", + "parentId": "__FLD_66__", + "_id": "__REQ_1147__", "_type": "request", "name": "List your authorizations", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#list-your-authorizations", @@ -1135,8 +1135,8 @@ ] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1602__", + "parentId": "__FLD_66__", + "_id": "__REQ_1148__", "_type": "request", "name": "Create a new authorization", "description": "Creates OAuth tokens using [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.18/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can use this endpoint to create multiple OAuth tokens instead of implementing the [web flow](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/authorizing-oauth-apps/).\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#create-a-new-authorization", @@ -1151,8 +1151,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1603__", + "parentId": "__FLD_66__", + "_id": "__REQ_1149__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "Creates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.18/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", @@ -1167,8 +1167,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1604__", + "parentId": "__FLD_66__", + "_id": "__REQ_1150__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "This method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.18/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1183,8 +1183,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1605__", + "parentId": "__FLD_66__", + "_id": "__REQ_1151__", "_type": "request", "name": "Get a single authorization", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#get-a-single-authorization", @@ -1199,8 +1199,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1606__", + "parentId": "__FLD_66__", + "_id": "__REQ_1152__", "_type": "request", "name": "Update an existing authorization", "description": "If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.18/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#update-an-existing-authorization", @@ -1215,8 +1215,8 @@ "parameters": [] }, { - "parentId": "__FLD_89__", - "_id": "__REQ_1607__", + "parentId": "__FLD_66__", + "_id": "__REQ_1153__", "_type": "request", "name": "Delete an authorization", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#delete-an-authorization", @@ -1231,8 +1231,8 @@ "parameters": [] }, { - "parentId": "__FLD_79__", - "_id": "__REQ_1608__", + "parentId": "__FLD_56__", + "_id": "__REQ_1154__", "_type": "request", "name": "List all codes of conduct", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/codes_of_conduct/#list-all-codes-of-conduct", @@ -1252,8 +1252,8 @@ "parameters": [] }, { - "parentId": "__FLD_79__", - "_id": "__REQ_1609__", + "parentId": "__FLD_56__", + "_id": "__REQ_1155__", "_type": "request", "name": "Get an individual code of conduct", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/codes_of_conduct/#get-an-individual-code-of-conduct", @@ -1273,8 +1273,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1610__", + "parentId": "__FLD_54__", + "_id": "__REQ_1156__", "_type": "request", "name": "Create a content attachment", "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://developer.github.com/enterprise/2.18/v3/activity/events/types/#contentreferenceevent) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://developer.github.com/enterprise/2.18/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nThis example creates a content attachment for the domain `https://errors.ai/`.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/installations/#create-a-content-attachment", @@ -1294,8 +1294,8 @@ "parameters": [] }, { - "parentId": "__FLD_80__", - "_id": "__REQ_1611__", + "parentId": "__FLD_57__", + "_id": "__REQ_1157__", "_type": "request", "name": "Get", "description": "Lists all the emojis available to use on GitHub Enterprise.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/emojis/#emojis", @@ -1310,8 +1310,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1612__", + "parentId": "__FLD_58__", + "_id": "__REQ_1158__", "_type": "request", "name": "Get license information", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/license/#get-license-information", @@ -1326,8 +1326,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1613__", + "parentId": "__FLD_58__", + "_id": "__REQ_1159__", "_type": "request", "name": "Get statistics", "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/admin_stats/#get-statistics", @@ -1342,8 +1342,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1614__", + "parentId": "__FLD_53__", + "_id": "__REQ_1160__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-public-events", @@ -1369,8 +1369,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1615__", + "parentId": "__FLD_53__", + "_id": "__REQ_1161__", "_type": "request", "name": "List feeds", "description": "GitHub Enterprise provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise global public timeline\n* **User**: The public timeline for any user, using [URI template](https://developer.github.com/enterprise/2.18/v3/#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/enterprise/2.18/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/feeds/#list-feeds", @@ -1385,11 +1385,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1616__", + "parentId": "__FLD_59__", + "_id": "__REQ_1162__", "_type": "request", - "name": "List the authenticated user's gists or if called anonymously, this will return all public gists", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-a-users-gists", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1416,8 +1416,8 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1617__", + "parentId": "__FLD_59__", + "_id": "__REQ_1163__", "_type": "request", "name": "Create a gist", "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#create-a-gist", @@ -1432,11 +1432,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1618__", + "parentId": "__FLD_59__", + "_id": "__REQ_1164__", "_type": "request", - "name": "List all public gists", - "description": "List all public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/enterprise/2.18/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-all-public-gists", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/enterprise/2.18/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1463,8 +1463,8 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1619__", + "parentId": "__FLD_59__", + "_id": "__REQ_1165__", "_type": "request", "name": "List starred gists", "description": "List the authenticated user's starred gists:\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-starred-gists", @@ -1494,11 +1494,11 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1620__", + "parentId": "__FLD_59__", + "_id": "__REQ_1166__", "_type": "request", - "name": "Get a single gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#get-a-single-gist", + "name": "Get a gist", + "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1510,11 +1510,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1621__", + "parentId": "__FLD_59__", + "_id": "__REQ_1167__", "_type": "request", - "name": "Edit a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#edit-a-gist", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1526,8 +1526,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1622__", + "parentId": "__FLD_59__", + "_id": "__REQ_1168__", "_type": "request", "name": "Delete a gist", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#delete-a-gist", @@ -1542,8 +1542,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1623__", + "parentId": "__FLD_59__", + "_id": "__REQ_1169__", "_type": "request", "name": "List comments on a gist", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/comments/#list-comments-on-a-gist", @@ -1569,8 +1569,8 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1624__", + "parentId": "__FLD_59__", + "_id": "__REQ_1170__", "_type": "request", "name": "Create a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/comments/#create-a-comment", @@ -1585,8 +1585,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1625__", + "parentId": "__FLD_59__", + "_id": "__REQ_1171__", "_type": "request", "name": "Get a single comment", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/comments/#get-a-single-comment", @@ -1601,8 +1601,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1626__", + "parentId": "__FLD_59__", + "_id": "__REQ_1172__", "_type": "request", "name": "Edit a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/comments/#edit-a-comment", @@ -1617,8 +1617,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1627__", + "parentId": "__FLD_59__", + "_id": "__REQ_1173__", "_type": "request", "name": "Delete a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/comments/#delete-a-comment", @@ -1633,8 +1633,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1628__", + "parentId": "__FLD_59__", + "_id": "__REQ_1174__", "_type": "request", "name": "List gist commits", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-gist-commits", @@ -1660,8 +1660,8 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1629__", + "parentId": "__FLD_59__", + "_id": "__REQ_1175__", "_type": "request", "name": "Fork a gist", "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#fork-a-gist", @@ -1676,8 +1676,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1630__", + "parentId": "__FLD_59__", + "_id": "__REQ_1176__", "_type": "request", "name": "List gist forks", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-gist-forks", @@ -1703,8 +1703,8 @@ ] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1631__", + "parentId": "__FLD_59__", + "_id": "__REQ_1177__", "_type": "request", "name": "Star a gist", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#star-a-gist", @@ -1719,8 +1719,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1632__", + "parentId": "__FLD_59__", + "_id": "__REQ_1178__", "_type": "request", "name": "Unstar a gist", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#unstar-a-gist", @@ -1735,8 +1735,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1633__", + "parentId": "__FLD_59__", + "_id": "__REQ_1179__", "_type": "request", "name": "Check if a gist is starred", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#check-if-a-gist-is-starred", @@ -1751,8 +1751,8 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_1634__", + "parentId": "__FLD_59__", + "_id": "__REQ_1180__", "_type": "request", "name": "Get a specific revision of a gist", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#get-a-specific-revision-of-a-gist", @@ -1767,11 +1767,11 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1635__", + "parentId": "__FLD_61__", + "_id": "__REQ_1181__", "_type": "request", "name": "Listing available templates", - "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/enterprise/2.18/v3/repos/#create).\n\nhttps://developer.github.com/enterprise/2.18/v3/gitignore/#listing-available-templates", + "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/enterprise/2.18/v3/repos/#create-a-repository-for-the-authenticated-user).\n\nhttps://developer.github.com/enterprise/2.18/v3/gitignore/#listing-available-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1783,8 +1783,8 @@ "parameters": [] }, { - "parentId": "__FLD_84__", - "_id": "__REQ_1636__", + "parentId": "__FLD_61__", + "_id": "__REQ_1182__", "_type": "request", "name": "Get a single template", "description": "The API also allows fetching the source of a single template.\n\nUse the raw [media type](https://developer.github.com/enterprise/2.18/v3/media/) to get the raw contents.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/gitignore/#get-a-single-template", @@ -1799,8 +1799,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1637__", + "parentId": "__FLD_54__", + "_id": "__REQ_1183__", "_type": "request", "name": "List repositories", "description": "List repositories that an installation can access.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/installations/#list-repositories", @@ -1831,11 +1831,11 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1638__", + "parentId": "__FLD_62__", + "_id": "__REQ_1184__", "_type": "request", - "name": "List all issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#list-issues", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not necessarily assigned to you. See the [Parameters table](https://developer.github.com/enterprise/2.18/v3/issues/#parameters) for more information.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#list-issues-assigned-to-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1886,8 +1886,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1639__", + "parentId": "__FLD_73__", + "_id": "__REQ_1185__", "_type": "request", "name": "Search issues", "description": "Find issues by state and keyword.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/legacy/#search-issues", @@ -1902,8 +1902,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1640__", + "parentId": "__FLD_73__", + "_id": "__REQ_1186__", "_type": "request", "name": "Search repositories", "description": "Find repositories by keyword. Note, this legacy method does not follow the v3 pagination pattern. This method returns up to 100 results per page and pages can be fetched using the `start_page` parameter.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/legacy/#search-repositories", @@ -1935,8 +1935,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1641__", + "parentId": "__FLD_73__", + "_id": "__REQ_1187__", "_type": "request", "name": "Email search", "description": "This API call is added for compatibility reasons only. There's no guarantee that full email searches will always be available. The `@` character in the address must be left unencoded. Searches only against public email addresses (as configured on the user's GitHub Enterprise profile).\n\nhttps://developer.github.com/enterprise/2.18/v3/search/legacy/#email-search", @@ -1951,8 +1951,8 @@ "parameters": [] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1642__", + "parentId": "__FLD_73__", + "_id": "__REQ_1188__", "_type": "request", "name": "Search users", "description": "Find users by keyword.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/legacy/#search-users", @@ -1980,8 +1980,8 @@ ] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_1643__", + "parentId": "__FLD_63__", + "_id": "__REQ_1189__", "_type": "request", "name": "List commonly used licenses", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/licenses/#list-commonly-used-licenses", @@ -1996,8 +1996,8 @@ "parameters": [] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_1644__", + "parentId": "__FLD_63__", + "_id": "__REQ_1190__", "_type": "request", "name": "Get an individual license", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/licenses/#get-an-individual-license", @@ -2012,8 +2012,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1645__", + "parentId": "__FLD_64__", + "_id": "__REQ_1191__", "_type": "request", "name": "Render an arbitrary Markdown document", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/markdown/#render-an-arbitrary-markdown-document", @@ -2028,8 +2028,8 @@ "parameters": [] }, { - "parentId": "__FLD_87__", - "_id": "__REQ_1646__", + "parentId": "__FLD_64__", + "_id": "__REQ_1192__", "_type": "request", "name": "Render a Markdown document in raw mode", "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/markdown/#render-a-markdown-document-in-raw-mode", @@ -2044,8 +2044,8 @@ "parameters": [] }, { - "parentId": "__FLD_88__", - "_id": "__REQ_1647__", + "parentId": "__FLD_65__", + "_id": "__REQ_1193__", "_type": "request", "name": "Get", "description": "If you access this endpoint on your organization's [GitHub Enterprise Server](https://enterprise.github.com/) installation, this endpoint provides information about that installation.\n\n**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.18/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.18/v3/meta/#meta", @@ -2060,8 +2060,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1648__", + "parentId": "__FLD_53__", + "_id": "__REQ_1194__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-public-events-for-a-network-of-repositories", @@ -2087,8 +2087,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1649__", + "parentId": "__FLD_53__", + "_id": "__REQ_1195__", "_type": "request", "name": "List your notifications", "description": "List all notifications for the current user, sorted by most recently updated.\n\nThe following example uses the `since` parameter to list notifications that have been updated after the specified time.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#list-your-notifications", @@ -2132,8 +2132,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1650__", + "parentId": "__FLD_53__", + "_id": "__REQ_1196__", "_type": "request", "name": "Mark as read", "description": "Marks a notification as \"read\" removes it from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications](https://developer.github.com/enterprise/2.18/v3/activity/notifications/#list-your-notifications) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#mark-as-read", @@ -2148,8 +2148,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1651__", + "parentId": "__FLD_53__", + "_id": "__REQ_1197__", "_type": "request", "name": "View a single thread", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#view-a-single-thread", @@ -2164,8 +2164,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1652__", + "parentId": "__FLD_53__", + "_id": "__REQ_1198__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#mark-a-thread-as-read", @@ -2180,8 +2180,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1653__", + "parentId": "__FLD_53__", + "_id": "__REQ_1199__", "_type": "request", "name": "Get a thread subscription", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://developer.github.com/enterprise/2.18/v3/activity/watching/#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#get-a-thread-subscription", @@ -2196,8 +2196,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1654__", + "parentId": "__FLD_53__", + "_id": "__REQ_1200__", "_type": "request", "name": "Set a thread subscription", "description": "This lets you subscribe or unsubscribe from a conversation.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#set-a-thread-subscription", @@ -2212,8 +2212,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1655__", + "parentId": "__FLD_53__", + "_id": "__REQ_1201__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get **@mention**ed.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#delete-a-thread-subscription", @@ -2228,8 +2228,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1656__", + "parentId": "__FLD_67__", + "_id": "__REQ_1202__", "_type": "request", "name": "List all organizations", "description": "Lists all organizations, in the order that they were created on GitHub Enterprise.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.18/v3/#link-header) to get the URL for the next page of organizations.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/#list-all-organizations", @@ -2259,8 +2259,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1657__", + "parentId": "__FLD_67__", + "_id": "__REQ_1203__", "_type": "request", "name": "Get an organization", "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. 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://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/#get-an-organization", @@ -2280,8 +2280,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1658__", + "parentId": "__FLD_67__", + "_id": "__REQ_1204__", "_type": "request", "name": "Edit an organization", "description": "**Note:** The new `members_allowed_repository_creation_type` replaces the functionality of `members_can_create_repositories`.\n\nSetting `members_allowed_repository_creation_type` will override the value of `members_can_create_repositories` in the following ways:\n\n* Setting `members_allowed_repository_creation_type` to `all` or `private` sets `members_can_create_repositories` to `true`.\n* Setting `members_allowed_repository_creation_type` to `none` sets `members_can_create_repositories` to `false`.\n* If you omit `members_allowed_repository_creation_type`, `members_can_create_repositories` is not modified.\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/#edit-an-organization", @@ -2301,8 +2301,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1659__", + "parentId": "__FLD_53__", + "_id": "__REQ_1205__", "_type": "request", "name": "List public events for an organization", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-public-events-for-an-organization", @@ -2328,8 +2328,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1660__", + "parentId": "__FLD_67__", + "_id": "__REQ_1206__", "_type": "request", "name": "List hooks", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/hooks/#list-hooks", @@ -2355,8 +2355,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1661__", + "parentId": "__FLD_67__", + "_id": "__REQ_1207__", "_type": "request", "name": "Create a hook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/hooks/#create-a-hook", @@ -2371,8 +2371,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1662__", + "parentId": "__FLD_67__", + "_id": "__REQ_1208__", "_type": "request", "name": "Get single hook", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/hooks/#get-single-hook", @@ -2387,8 +2387,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1663__", + "parentId": "__FLD_67__", + "_id": "__REQ_1209__", "_type": "request", "name": "Edit a hook", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/hooks/#edit-a-hook", @@ -2403,8 +2403,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1664__", + "parentId": "__FLD_67__", + "_id": "__REQ_1210__", "_type": "request", "name": "Delete a hook", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/hooks/#delete-a-hook", @@ -2419,8 +2419,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1665__", + "parentId": "__FLD_67__", + "_id": "__REQ_1211__", "_type": "request", "name": "Ping a hook", "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.18/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/hooks/#ping-a-hook", @@ -2435,8 +2435,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1666__", + "parentId": "__FLD_54__", + "_id": "__REQ_1212__", "_type": "request", "name": "Get an organization installation", "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#get-an-organization-installation", @@ -2456,11 +2456,11 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1667__", + "parentId": "__FLD_62__", + "_id": "__REQ_1213__", "_type": "request", - "name": "List all issues for a given organization assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#list-issues", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2511,8 +2511,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1668__", + "parentId": "__FLD_67__", + "_id": "__REQ_1214__", "_type": "request", "name": "Members list", "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.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#members-list", @@ -2548,8 +2548,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1669__", + "parentId": "__FLD_67__", + "_id": "__REQ_1215__", "_type": "request", "name": "Check membership", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#check-membership", @@ -2564,8 +2564,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1670__", + "parentId": "__FLD_67__", + "_id": "__REQ_1216__", "_type": "request", "name": "Remove a 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.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#remove-a-member", @@ -2580,8 +2580,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1671__", + "parentId": "__FLD_67__", + "_id": "__REQ_1217__", "_type": "request", "name": "Get organization membership", "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#get-organization-membership", @@ -2596,8 +2596,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1672__", + "parentId": "__FLD_67__", + "_id": "__REQ_1218__", "_type": "request", "name": "Add or update organization membership", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#add-or-update-organization-membership", @@ -2612,8 +2612,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1673__", + "parentId": "__FLD_67__", + "_id": "__REQ_1219__", "_type": "request", "name": "Remove organization membership", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#remove-organization-membership", @@ -2628,8 +2628,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1674__", + "parentId": "__FLD_67__", + "_id": "__REQ_1220__", "_type": "request", "name": "List outside collaborators", "description": "List all users who are outside collaborators of an organization.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/outside_collaborators/#list-outside-collaborators", @@ -2660,8 +2660,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1675__", + "parentId": "__FLD_67__", + "_id": "__REQ_1221__", "_type": "request", "name": "Remove outside collaborator", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/outside_collaborators/#remove-outside-collaborator", @@ -2676,8 +2676,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1676__", + "parentId": "__FLD_67__", + "_id": "__REQ_1222__", "_type": "request", "name": "Convert 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://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator", @@ -2692,8 +2692,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1677__", + "parentId": "__FLD_58__", + "_id": "__REQ_1223__", "_type": "request", "name": "List pre-receive hooks for 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.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/org_pre_receive_hooks/#list-pre-receive-hooks", @@ -2719,8 +2719,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1678__", + "parentId": "__FLD_58__", + "_id": "__REQ_1224__", "_type": "request", "name": "Get a single pre-receive hook for organization", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/org_pre_receive_hooks/#get-a-single-pre-receive-hook", @@ -2735,8 +2735,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1679__", + "parentId": "__FLD_58__", + "_id": "__REQ_1225__", "_type": "request", "name": "Update pre-receive hook enforcement for organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/org_pre_receive_hooks/#update-pre-receive-hook-enforcement", @@ -2751,8 +2751,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1680__", + "parentId": "__FLD_58__", + "_id": "__REQ_1226__", "_type": "request", "name": "Remove enforcement overrides for a pre-receive hook for organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/org_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", @@ -2767,8 +2767,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1681__", + "parentId": "__FLD_68__", + "_id": "__REQ_1227__", "_type": "request", "name": "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.\n\ns\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#list-organization-projects", @@ -2804,8 +2804,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1682__", + "parentId": "__FLD_68__", + "_id": "__REQ_1228__", "_type": "request", "name": "Create an organization project", "description": "Creates an organization project board. 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.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#create-an-organization-project", @@ -2825,8 +2825,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1683__", + "parentId": "__FLD_67__", + "_id": "__REQ_1229__", "_type": "request", "name": "Public members list", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#public-members-list", @@ -2852,8 +2852,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1684__", + "parentId": "__FLD_67__", + "_id": "__REQ_1230__", "_type": "request", "name": "Check public membership", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#check-public-membership", @@ -2868,8 +2868,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1685__", + "parentId": "__FLD_67__", + "_id": "__REQ_1231__", "_type": "request", "name": "Publicize a user's membership", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#publicize-a-users-membership", @@ -2884,8 +2884,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_1686__", + "parentId": "__FLD_67__", + "_id": "__REQ_1232__", "_type": "request", "name": "Conceal a user's membership", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#conceal-a-users-membership", @@ -2900,8 +2900,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1687__", + "parentId": "__FLD_72__", + "_id": "__REQ_1233__", "_type": "request", "name": "List organization repositories", "description": "Lists repositories for the specified organization.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-organization-repositories", @@ -2946,11 +2946,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1688__", + "parentId": "__FLD_72__", + "_id": "__REQ_1234__", "_type": "request", - "name": "Creates a new repository in the specified organization", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#create", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#create-an-organization-repository", "headers": [ { "name": "Accept", @@ -2967,8 +2967,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1689__", + "parentId": "__FLD_74__", + "_id": "__REQ_1235__", "_type": "request", "name": "List teams", "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#list-teams", @@ -2999,8 +2999,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1690__", + "parentId": "__FLD_74__", + "_id": "__REQ_1236__", "_type": "request", "name": "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://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen 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://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#create-team", @@ -3020,8 +3020,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1691__", + "parentId": "__FLD_74__", + "_id": "__REQ_1237__", "_type": "request", "name": "Get team by name", "description": "Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#get-team-by-name", @@ -3036,8 +3036,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1692__", + "parentId": "__FLD_68__", + "_id": "__REQ_1238__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/cards/#get-a-project-card", @@ -3057,8 +3057,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1693__", + "parentId": "__FLD_68__", + "_id": "__REQ_1239__", "_type": "request", "name": "Update a project card", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/cards/#update-a-project-card", @@ -3078,8 +3078,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1694__", + "parentId": "__FLD_68__", + "_id": "__REQ_1240__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/cards/#delete-a-project-card", @@ -3099,8 +3099,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1695__", + "parentId": "__FLD_68__", + "_id": "__REQ_1241__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/cards/#move-a-project-card", @@ -3120,8 +3120,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1696__", + "parentId": "__FLD_68__", + "_id": "__REQ_1242__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/columns/#get-a-project-column", @@ -3141,8 +3141,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1697__", + "parentId": "__FLD_68__", + "_id": "__REQ_1243__", "_type": "request", "name": "Update a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/columns/#update-a-project-column", @@ -3162,8 +3162,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1698__", + "parentId": "__FLD_68__", + "_id": "__REQ_1244__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/columns/#delete-a-project-column", @@ -3183,8 +3183,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1699__", + "parentId": "__FLD_68__", + "_id": "__REQ_1245__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/cards/#list-project-cards", @@ -3220,8 +3220,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1700__", + "parentId": "__FLD_68__", + "_id": "__REQ_1246__", "_type": "request", "name": "Create a project card", "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/cards/#create-a-project-card", @@ -3241,8 +3241,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1701__", + "parentId": "__FLD_68__", + "_id": "__REQ_1247__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/columns/#move-a-project-column", @@ -3262,8 +3262,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1702__", + "parentId": "__FLD_68__", + "_id": "__REQ_1248__", "_type": "request", "name": "Get a project", "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#get-a-project", @@ -3280,22 +3280,11 @@ "method": "GET", "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1703__", + "parentId": "__FLD_68__", + "_id": "__REQ_1249__", "_type": "request", "name": "Update a project", "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#update-a-project", @@ -3315,8 +3304,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1704__", + "parentId": "__FLD_68__", + "_id": "__REQ_1250__", "_type": "request", "name": "Delete a project", "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#delete-a-project", @@ -3336,8 +3325,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1705__", + "parentId": "__FLD_68__", + "_id": "__REQ_1251__", "_type": "request", "name": "List collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/collaborators/#list-collaborators", @@ -3373,8 +3362,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1706__", + "parentId": "__FLD_68__", + "_id": "__REQ_1252__", "_type": "request", "name": "Add user as a collaborator", "description": "Adds a collaborator to a an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/collaborators/#add-user-as-a-collaborator", @@ -3394,8 +3383,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1707__", + "parentId": "__FLD_68__", + "_id": "__REQ_1253__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/collaborators/#remove-user-as-a-collaborator", @@ -3415,8 +3404,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1708__", + "parentId": "__FLD_68__", + "_id": "__REQ_1254__", "_type": "request", "name": "Review a user's permission level", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/collaborators/#review-a-users-permission-level", @@ -3436,8 +3425,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1709__", + "parentId": "__FLD_68__", + "_id": "__REQ_1255__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/columns/#list-project-columns", @@ -3468,8 +3457,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1710__", + "parentId": "__FLD_68__", + "_id": "__REQ_1256__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/columns/#create-a-project-column", @@ -3489,8 +3478,8 @@ "parameters": [] }, { - "parentId": "__FLD_93__", - "_id": "__REQ_1711__", + "parentId": "__FLD_70__", + "_id": "__REQ_1257__", "_type": "request", "name": "Get your current rate limit status", "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Understanding your rate limit status**\n\nThe Search API has a [custom rate limit](https://developer.github.com/enterprise/2.18/v3/search/#rate-limit), separate from the rate limit governing the rest of the REST API. The GraphQL API also has a [custom rate limit](https://developer.github.com/enterprise/2.18/v4/guides/resource-limitations/#rate-limit) that is separate from and calculated differently than rate limits in the REST API.\n\nFor these reasons, the Rate Limit API response categorizes your rate limit. Under `resources`, you'll see four objects:\n\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the [Search API](https://developer.github.com/enterprise/2.18/v3/search/).\n* The `graphql` object provides your rate limit status for the [GraphQL API](https://developer.github.com/enterprise/2.18/v4/).\n* The `integration_manifest` object provides your rate limit status for the [GitHub App Manifest code conversion](https://developer.github.com/enterprise/2.18/apps/building-github-apps/creating-github-apps-from-a-manifest/#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration) endpoint.\n\nFor more information on the headers and values in the rate limit response, see \"[Rate limiting](https://developer.github.com/enterprise/2.18/v3/#rate-limiting).\"\n\nThe `rate` object (shown at the bottom of the response above) is deprecated.\n\nIf you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://developer.github.com/enterprise/2.18/v3/rate_limit/#get-your-current-rate-limit-status", @@ -3505,8 +3494,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1712__", + "parentId": "__FLD_71__", + "_id": "__REQ_1258__", "_type": "request", "name": "Delete a reaction", "description": "OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/enterprise/2.18/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#delete-a-reaction", @@ -3526,12 +3515,17 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1713__", + "parentId": "__FLD_72__", + "_id": "__REQ_1259__", "_type": "request", - "name": "Get", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#get", - "headers": [], + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#get-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -3542,11 +3536,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1714__", + "parentId": "__FLD_72__", + "_id": "__REQ_1260__", "_type": "request", - "name": "Edit", - "description": "**Note**: To edit a repository's topics, use the [`topics` endpoint](https://developer.github.com/enterprise/2.18/v3/repos/#replace-all-topics-for-a-repository).\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#edit", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://developer.github.com/enterprise/2.18/v3/repos/#replace-all-repository-topics) endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#update-a-repository", "headers": [ { "name": "Accept", @@ -3563,8 +3557,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1715__", + "parentId": "__FLD_72__", + "_id": "__REQ_1261__", "_type": "request", "name": "Delete a repository", "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:\n\nIf a site admin has configured the enterprise appliance to prevent users from deleting organization-owned repositories, a user will get this response:\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#delete-a-repository", @@ -3579,8 +3573,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1716__", + "parentId": "__FLD_62__", + "_id": "__REQ_1262__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/assignees/#list-assignees", @@ -3606,8 +3600,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1717__", + "parentId": "__FLD_62__", + "_id": "__REQ_1263__", "_type": "request", "name": "Check assignee", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/assignees/#check-assignee", @@ -3622,8 +3616,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1718__", + "parentId": "__FLD_72__", + "_id": "__REQ_1264__", "_type": "request", "name": "List branches", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#list-branches", @@ -3653,8 +3647,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1719__", + "parentId": "__FLD_72__", + "_id": "__REQ_1265__", "_type": "request", "name": "Get branch", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-branch", @@ -3669,8 +3663,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1720__", + "parentId": "__FLD_72__", + "_id": "__REQ_1266__", "_type": "request", "name": "Get branch protection", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-branch-protection", @@ -3690,8 +3684,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1721__", + "parentId": "__FLD_72__", + "_id": "__REQ_1267__", "_type": "request", "name": "Update branch protection", "description": "Protecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users and teams in total is limited to 100 items.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#update-branch-protection", @@ -3711,8 +3705,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1722__", + "parentId": "__FLD_72__", + "_id": "__REQ_1268__", "_type": "request", "name": "Remove branch protection", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-branch-protection", @@ -3727,8 +3721,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1723__", + "parentId": "__FLD_72__", + "_id": "__REQ_1269__", "_type": "request", "name": "Get admin enforcement of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-admin-enforcement-of-protected-branch", @@ -3743,8 +3737,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1724__", + "parentId": "__FLD_72__", + "_id": "__REQ_1270__", "_type": "request", "name": "Add admin enforcement of protected branch", "description": "Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#add-admin-enforcement-of-protected-branch", @@ -3759,8 +3753,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1725__", + "parentId": "__FLD_72__", + "_id": "__REQ_1271__", "_type": "request", "name": "Remove admin enforcement of protected branch", "description": "Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-admin-enforcement-of-protected-branch", @@ -3775,8 +3769,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1726__", + "parentId": "__FLD_72__", + "_id": "__REQ_1272__", "_type": "request", "name": "Get pull request review enforcement of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-pull-request-review-enforcement-of-protected-branch", @@ -3796,8 +3790,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1727__", + "parentId": "__FLD_72__", + "_id": "__REQ_1273__", "_type": "request", "name": "Update pull request review enforcement of protected branch", "description": "Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch", @@ -3817,8 +3811,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1728__", + "parentId": "__FLD_72__", + "_id": "__REQ_1274__", "_type": "request", "name": "Remove pull request review enforcement of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-pull-request-review-enforcement-of-protected-branch", @@ -3833,8 +3827,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1729__", + "parentId": "__FLD_72__", + "_id": "__REQ_1275__", "_type": "request", "name": "Get required signatures of protected branch", "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-required-signatures-of-protected-branch", @@ -3854,8 +3848,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1730__", + "parentId": "__FLD_72__", + "_id": "__REQ_1276__", "_type": "request", "name": "Add required signatures of protected branch", "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#add-required-signatures-of-protected-branch", @@ -3875,8 +3869,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1731__", + "parentId": "__FLD_72__", + "_id": "__REQ_1277__", "_type": "request", "name": "Remove required signatures of protected branch", "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-required-signatures-of-protected-branch", @@ -3896,8 +3890,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1732__", + "parentId": "__FLD_72__", + "_id": "__REQ_1278__", "_type": "request", "name": "Get required status checks of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-required-status-checks-of-protected-branch", @@ -3912,8 +3906,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1733__", + "parentId": "__FLD_72__", + "_id": "__REQ_1279__", "_type": "request", "name": "Update required status checks of protected branch", "description": "Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#update-required-status-checks-of-protected-branch", @@ -3928,8 +3922,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1734__", + "parentId": "__FLD_72__", + "_id": "__REQ_1280__", "_type": "request", "name": "Remove required status checks of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-required-status-checks-of-protected-branch", @@ -3944,8 +3938,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1735__", + "parentId": "__FLD_72__", + "_id": "__REQ_1281__", "_type": "request", "name": "List required status checks contexts of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#list-required-status-checks-contexts-of-protected-branch", @@ -3960,8 +3954,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1736__", + "parentId": "__FLD_72__", + "_id": "__REQ_1282__", "_type": "request", "name": "Replace required status checks contexts of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#replace-required-status-checks-contexts-of-protected-branch", @@ -3976,8 +3970,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1737__", + "parentId": "__FLD_72__", + "_id": "__REQ_1283__", "_type": "request", "name": "Add required status checks contexts of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#add-required-status-checks-contexts-of-protected-branch", @@ -3992,8 +3986,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1738__", + "parentId": "__FLD_72__", + "_id": "__REQ_1284__", "_type": "request", "name": "Remove required status checks contexts of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-required-status-checks-contexts-of-protected-branch", @@ -4008,8 +4002,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1739__", + "parentId": "__FLD_72__", + "_id": "__REQ_1285__", "_type": "request", "name": "Get restrictions of protected branch", "description": "Lists who has access to this protected branch. {{#note}}\n\n**Note**: Users and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#get-restrictions-of-protected-branch", @@ -4024,8 +4018,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1740__", + "parentId": "__FLD_72__", + "_id": "__REQ_1286__", "_type": "request", "name": "Remove restrictions of protected branch", "description": "Disables the ability to restrict who can push to this branch.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-restrictions-of-protected-branch", @@ -4040,8 +4034,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1741__", + "parentId": "__FLD_72__", + "_id": "__REQ_1287__", "_type": "request", "name": "Get teams with access to protected branch", "description": "Lists the teams who have push access to this branch. If you pass the `hellcat-preview` media type, the list includes child teams.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#list-teams-with-access-to-protected-branch", @@ -4061,8 +4055,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1742__", + "parentId": "__FLD_72__", + "_id": "__REQ_1288__", "_type": "request", "name": "Replace team restrictions of protected branch", "description": "Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. If you pass the `hellcat-preview` media type, team restrictions include child teams.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#replace-team-restrictions-of-protected-branch", @@ -4082,8 +4076,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1743__", + "parentId": "__FLD_72__", + "_id": "__REQ_1289__", "_type": "request", "name": "Add team restrictions of protected branch", "description": "Grants the specified teams push access for this branch. If you pass the `hellcat-preview` media type, you can also give push access to child teams.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#add-team-restrictions-of-protected-branch", @@ -4103,8 +4097,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1744__", + "parentId": "__FLD_72__", + "_id": "__REQ_1290__", "_type": "request", "name": "Remove team restrictions of protected branch", "description": "Removes the ability of a team to push to this branch. If you pass the `hellcat-preview` media type, you can also remove push access for child teams.\n\n| Type | Description |\n| ------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-team-restrictions-of-protected-branch", @@ -4124,8 +4118,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1745__", + "parentId": "__FLD_72__", + "_id": "__REQ_1291__", "_type": "request", "name": "Get users with access to protected branch", "description": "Lists the people who have push access to this branch.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#list-users-with-access-to-protected-branch", @@ -4140,8 +4134,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1746__", + "parentId": "__FLD_72__", + "_id": "__REQ_1292__", "_type": "request", "name": "Replace user restrictions of protected branch", "description": "Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#replace-user-restrictions-of-protected-branch", @@ -4156,8 +4150,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1747__", + "parentId": "__FLD_72__", + "_id": "__REQ_1293__", "_type": "request", "name": "Add user restrictions of protected branch", "description": "Grants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#add-user-restrictions-of-protected-branch", @@ -4172,8 +4166,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1748__", + "parentId": "__FLD_72__", + "_id": "__REQ_1294__", "_type": "request", "name": "Remove user restrictions of protected branch", "description": "Removes the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | -------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/branches/#remove-user-restrictions-of-protected-branch", @@ -4188,8 +4182,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1749__", + "parentId": "__FLD_55__", + "_id": "__REQ_1295__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/runs/#create-a-check-run", @@ -4209,8 +4203,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1750__", + "parentId": "__FLD_55__", + "_id": "__REQ_1296__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/runs/#update-a-check-run", @@ -4230,8 +4224,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1751__", + "parentId": "__FLD_55__", + "_id": "__REQ_1297__", "_type": "request", "name": "Get a single check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/runs/#get-a-single-check-run", @@ -4251,8 +4245,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1752__", + "parentId": "__FLD_55__", + "_id": "__REQ_1298__", "_type": "request", "name": "List annotations for a check run", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/runs/#list-annotations-for-a-check-run", @@ -4283,8 +4277,8 @@ ] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1753__", + "parentId": "__FLD_55__", + "_id": "__REQ_1299__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://developer.github.com/enterprise/2.18/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Set preferences for check suites on a repository](https://developer.github.com/enterprise/2.18/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/suites/#create-a-check-suite", @@ -4304,8 +4298,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1754__", + "parentId": "__FLD_55__", + "_id": "__REQ_1300__", "_type": "request", "name": "Set preferences for check suites on a repository", "description": "Changes the default automatic flow when creating check suites. By default, the CheckSuiteEvent is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/enterprise/2.18/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository", @@ -4325,8 +4319,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1755__", + "parentId": "__FLD_55__", + "_id": "__REQ_1301__", "_type": "request", "name": "Get a single check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/suites/#get-a-single-check-suite", @@ -4346,8 +4340,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1756__", + "parentId": "__FLD_55__", + "_id": "__REQ_1302__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/runs/#list-check-runs-in-a-check-suite", @@ -4391,8 +4385,8 @@ ] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1757__", + "parentId": "__FLD_55__", + "_id": "__REQ_1303__", "_type": "request", "name": "Rerequest check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/enterprise/2.18/v3/activity/events/types/#checksuiteevent) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/suites/#rerequest-check-suite", @@ -4412,8 +4406,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1758__", + "parentId": "__FLD_72__", + "_id": "__REQ_1304__", "_type": "request", "name": "List collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/collaborators/#list-collaborators", @@ -4449,8 +4443,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1759__", + "parentId": "__FLD_72__", + "_id": "__REQ_1305__", "_type": "request", "name": "Check if a user is a collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/collaborators/#check-if-a-user-is-a-collaborator", @@ -4470,11 +4464,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1760__", + "parentId": "__FLD_72__", + "_id": "__REQ_1306__", "_type": "request", "name": "Add user as a collaborator", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/collaborators/#add-user-as-a-collaborator", + "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\" in the GitHub Help documentation.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/collaborators/#add-user-as-a-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4486,8 +4480,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1761__", + "parentId": "__FLD_72__", + "_id": "__REQ_1307__", "_type": "request", "name": "Remove user as a collaborator", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/collaborators/#remove-user-as-a-collaborator", @@ -4502,8 +4496,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1762__", + "parentId": "__FLD_72__", + "_id": "__REQ_1308__", "_type": "request", "name": "Review a user's permission level", "description": "Possible values for the `permission` key: `admin`, `write`, `read`, `none`.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/collaborators/#review-a-users-permission-level", @@ -4518,8 +4512,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1763__", + "parentId": "__FLD_72__", + "_id": "__REQ_1309__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://developer.github.com/enterprise/2.18/v3/repos/comments/#custom-media-types). You can read more about the use of media types in the API [here](https://developer.github.com/enterprise/2.18/v3/media/).\n\nComments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/comments/#list-commit-comments-for-a-repository", @@ -4545,8 +4539,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1764__", + "parentId": "__FLD_72__", + "_id": "__REQ_1310__", "_type": "request", "name": "Get a single commit comment", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/comments/#get-a-single-commit-comment", @@ -4561,8 +4555,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1765__", + "parentId": "__FLD_72__", + "_id": "__REQ_1311__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/comments/#update-a-commit-comment", @@ -4577,8 +4571,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1766__", + "parentId": "__FLD_72__", + "_id": "__REQ_1312__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/comments/#delete-a-commit-comment", @@ -4593,8 +4587,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1767__", + "parentId": "__FLD_71__", + "_id": "__REQ_1313__", "_type": "request", "name": "List reactions for a commit comment", "description": "List the reactions to a [commit comment](https://developer.github.com/enterprise/2.18/v3/repos/comments/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#list-reactions-for-a-commit-comment", @@ -4629,8 +4623,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1768__", + "parentId": "__FLD_71__", + "_id": "__REQ_1314__", "_type": "request", "name": "Create reaction for a commit comment", "description": "Create a reaction to a [commit comment](https://developer.github.com/enterprise/2.18/v3/repos/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#create-reaction-for-a-commit-comment", @@ -4650,8 +4644,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1769__", + "parentId": "__FLD_72__", + "_id": "__REQ_1315__", "_type": "request", "name": "List commits on a repository", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/commits/#list-commits-on-a-repository", @@ -4697,8 +4691,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1770__", + "parentId": "__FLD_72__", + "_id": "__REQ_1316__", "_type": "request", "name": "List branches for HEAD commit", "description": "Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/commits/#list-branches-for-head-commit", @@ -4718,8 +4712,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1771__", + "parentId": "__FLD_72__", + "_id": "__REQ_1317__", "_type": "request", "name": "List comments for a single commit", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/comments/#list-comments-for-a-single-commit", @@ -4745,8 +4739,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1772__", + "parentId": "__FLD_72__", + "_id": "__REQ_1318__", "_type": "request", "name": "Create a commit comment", "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/comments/#create-a-commit-comment", @@ -4761,8 +4755,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1773__", + "parentId": "__FLD_72__", + "_id": "__REQ_1319__", "_type": "request", "name": "List pull requests associated with commit", "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests) endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/commits/#list-pull-requests-associated-with-commit", @@ -4793,8 +4787,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1774__", + "parentId": "__FLD_72__", + "_id": "__REQ_1320__", "_type": "request", "name": "Get a single commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\nYou can pass the appropriate [media type](https://developer.github.com/enterprise/2.18/v3/media/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://developer.github.com/enterprise/2.18/v3/media/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/commits/#get-a-single-commit", @@ -4809,8 +4803,8 @@ "parameters": [] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1775__", + "parentId": "__FLD_55__", + "_id": "__REQ_1321__", "_type": "request", "name": "List check runs for a specific ref", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/runs/#list-check-runs-for-a-specific-ref", @@ -4854,8 +4848,8 @@ ] }, { - "parentId": "__FLD_78__", - "_id": "__REQ_1776__", + "parentId": "__FLD_55__", + "_id": "__REQ_1322__", "_type": "request", "name": "List check suites for a specific ref", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/checks/suites/#list-check-suites-for-a-specific-ref", @@ -4894,8 +4888,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1777__", + "parentId": "__FLD_72__", + "_id": "__REQ_1323__", "_type": "request", "name": "Get the combined status for a specific ref", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://developer.github.com/enterprise/2.18/v3/#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref", @@ -4910,8 +4904,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1778__", + "parentId": "__FLD_72__", + "_id": "__REQ_1324__", "_type": "request", "name": "List statuses for a specific ref", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statuses/#list-statuses-for-a-specific-ref", @@ -4937,8 +4931,8 @@ ] }, { - "parentId": "__FLD_79__", - "_id": "__REQ_1779__", + "parentId": "__FLD_56__", + "_id": "__REQ_1325__", "_type": "request", "name": "Get the contents of a repository's code of conduct", "description": "This method returns the contents of the repository's code of conduct file, if one is detected.\n\nhttps://developer.github.com/enterprise/2.18/v3/codes_of_conduct/#get-the-contents-of-a-repositorys-code-of-conduct", @@ -4958,8 +4952,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1780__", + "parentId": "__FLD_72__", + "_id": "__REQ_1326__", "_type": "request", "name": "Compare two commits", "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://developer.github.com/enterprise/2.18/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [Commit List API](https://developer.github.com/enterprise/2.18/v3/repos/commits/#list-commits-on-a-repository) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/commits/#compare-two-commits", @@ -4974,8 +4968,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1781__", + "parentId": "__FLD_72__", + "_id": "__REQ_1327__", "_type": "request", "name": "Get contents", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit `:path`, you will receive the contents of all files in the repository.\n\nFiles and symlinks support [a custom media type](https://developer.github.com/enterprise/2.18/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML (when supported). All content types support [a custom media type](https://developer.github.com/enterprise/2.18/v3/repos/contents/#custom-media-types) to ensure the content is returned in a consistent object format.\n\n**Note**:\n\n* To get a repository's contents recursively, you can [recursively get the tree](https://developer.github.com/enterprise/2.18/v3/git/trees/).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](https://developer.github.com/enterprise/2.18/v3/git/trees/#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\nThe response will be an array of objects, one object for each item in the directory.\n\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the [format shown above](https://developer.github.com/enterprise/2.18/v3/repos/contents/#response-if-content-is-a-file)).\n\nOtherwise, the API responds with an object describing the symlink itself:\n\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/contents/#get-contents", @@ -4995,8 +4989,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1782__", + "parentId": "__FLD_72__", + "_id": "__REQ_1328__", "_type": "request", "name": "Create or update a file", "description": "Creates a new file or updates an existing file in a repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/contents/#create-or-update-a-file", @@ -5011,8 +5005,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1783__", + "parentId": "__FLD_72__", + "_id": "__REQ_1329__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/contents/#delete-a-file", @@ -5027,8 +5021,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1784__", + "parentId": "__FLD_72__", + "_id": "__REQ_1330__", "_type": "request", "name": "List contributors", "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-contributors", @@ -5058,8 +5052,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1785__", + "parentId": "__FLD_72__", + "_id": "__REQ_1331__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/deployments/#list-deployments", @@ -5110,11 +5104,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1786__", + "parentId": "__FLD_72__", + "_id": "__REQ_1332__", "_type": "request", "name": "Create a deployment", - "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/enterprise/2.18/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master`in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/deployments/#create-a-deployment", + "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/enterprise/2.18/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/deployments/#create-a-deployment", "headers": [ { "name": "Accept", @@ -5131,8 +5125,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1787__", + "parentId": "__FLD_72__", + "_id": "__REQ_1333__", "_type": "request", "name": "Get a single deployment", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/deployments/#get-a-single-deployment", @@ -5152,8 +5146,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1788__", + "parentId": "__FLD_72__", + "_id": "__REQ_1334__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/deployments/#list-deployment-statuses", @@ -5184,8 +5178,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1789__", + "parentId": "__FLD_72__", + "_id": "__REQ_1335__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/deployments/#create-a-deployment-status", @@ -5205,8 +5199,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1790__", + "parentId": "__FLD_72__", + "_id": "__REQ_1336__", "_type": "request", "name": "Get a single deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/deployments/#get-a-single-deployment-status", @@ -5226,8 +5220,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1791__", + "parentId": "__FLD_72__", + "_id": "__REQ_1337__", "_type": "request", "name": "List downloads for a repository", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/downloads/#list-downloads-for-a-repository", @@ -5253,8 +5247,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1792__", + "parentId": "__FLD_72__", + "_id": "__REQ_1338__", "_type": "request", "name": "Get a single download", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/downloads/#get-a-single-download", @@ -5269,8 +5263,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1793__", + "parentId": "__FLD_72__", + "_id": "__REQ_1339__", "_type": "request", "name": "Delete a download", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/downloads/#delete-a-download", @@ -5285,8 +5279,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1794__", + "parentId": "__FLD_53__", + "_id": "__REQ_1340__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-repository-events", @@ -5312,8 +5306,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1795__", + "parentId": "__FLD_72__", + "_id": "__REQ_1341__", "_type": "request", "name": "List forks", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/forks/#list-forks", @@ -5344,8 +5338,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1796__", + "parentId": "__FLD_72__", + "_id": "__REQ_1342__", "_type": "request", "name": "Create a fork", "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact your GitHub Enterprise site administrator.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/forks/#create-a-fork", @@ -5360,8 +5354,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1797__", + "parentId": "__FLD_60__", + "_id": "__REQ_1343__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/git/blobs/#create-a-blob", @@ -5376,8 +5370,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1798__", + "parentId": "__FLD_60__", + "_id": "__REQ_1344__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://developer.github.com/enterprise/2.18/v3/git/blobs/#get-a-blob", @@ -5392,8 +5386,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1799__", + "parentId": "__FLD_60__", + "_id": "__REQ_1345__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\nIn this example, the payload of the signature would be:\n\n\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.18/v3/git/commits/#create-a-commit", @@ -5408,8 +5402,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1800__", + "parentId": "__FLD_60__", + "_id": "__REQ_1346__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.18/v3/git/commits/#get-a-commit", @@ -5424,8 +5418,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1801__", + "parentId": "__FLD_60__", + "_id": "__REQ_1347__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://developer.github.com/enterprise/2.18/v3/git/refs/#create-a-reference", @@ -5440,8 +5434,35 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1802__", + "parentId": "__FLD_60__", + "_id": "__REQ_1348__", + "_type": "request", + "name": "Get all references", + "description": "Returns an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. If there are no references to list, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://developer.github.com/v3/pulls/#get-a-single-pull-request) to trigger a merge commit creation. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/v3/git/#checking-mergeability-of-pull-requests)\".\n\n```\nGET /repos/octocat/Hello-World/git/refs\n```\n\nYou can also request a sub-namespace. For example, to get all the tag references, you can call:\n\n```\nGET /repos/octocat/Hello-World/git/refs/tags\n```\n\nhttps://developer.github.com/enterprise/2.18/v3/git/refs/#get-all-references", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ namespace }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_60__", + "_id": "__REQ_1349__", "_type": "request", "name": "Get a reference", "description": "Returns a branch or tag reference. Other than the [REST API](https://developer.github.com/enterprise/2.18/v3/git/refs/#get-a-reference) it always returns a single reference. If the REST API returns with an array then the method responds with an error.\n\nhttps://developer.github.com/enterprise/2.18/v3/git/refs/#get-a-reference", @@ -5456,8 +5477,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1803__", + "parentId": "__FLD_60__", + "_id": "__REQ_1350__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/git/refs/#update-a-reference", @@ -5472,11 +5493,11 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1804__", + "parentId": "__FLD_60__", + "_id": "__REQ_1351__", "_type": "request", "name": "Delete a reference", - "description": "```\nDELETE /repos/octocat/Hello-World/git/refs/heads/feature-a\n```\n\n```\nDELETE /repos/octocat/Hello-World/git/refs/tags/v1.0\n```\n\nhttps://developer.github.com/enterprise/2.18/v3/git/refs/#delete-a-reference", + "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/git/refs/#delete-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5488,8 +5509,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1805__", + "parentId": "__FLD_60__", + "_id": "__REQ_1352__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://developer.github.com/enterprise/2.18/v3/git/refs/#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://developer.github.com/enterprise/2.18/v3/git/refs/#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.18/v3/git/tags/#create-a-tag-object", @@ -5504,8 +5525,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1806__", + "parentId": "__FLD_60__", + "_id": "__REQ_1353__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.18/v3/git/tags/#get-a-tag", @@ -5520,8 +5541,8 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1807__", + "parentId": "__FLD_60__", + "_id": "__REQ_1354__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://developer.github.com/enterprise/2.18/v3/git/commits/#create-a-commit)\" and \"[Update a reference](https://developer.github.com/enterprise/2.18/v3/git/refs/#update-a-reference).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/git/trees/#create-a-tree", @@ -5536,11 +5557,11 @@ "parameters": [] }, { - "parentId": "__FLD_83__", - "_id": "__REQ_1808__", + "parentId": "__FLD_60__", + "_id": "__REQ_1355__", "_type": "request", "name": "Get a tree", - "description": "If `truncated` is `true`, the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/enterprise/2.18/v3/git/trees/#get-a-tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/enterprise/2.18/v3/git/trees/#get-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5557,8 +5578,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1809__", + "parentId": "__FLD_72__", + "_id": "__REQ_1356__", "_type": "request", "name": "List hooks", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#list-hooks", @@ -5584,8 +5605,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1810__", + "parentId": "__FLD_72__", + "_id": "__REQ_1357__", "_type": "request", "name": "Create a hook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can share the same `config` as long as those webhooks do not have any `events` that overlap.\n\n**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.18/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nHere's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#create-a-hook", @@ -5600,8 +5621,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1811__", + "parentId": "__FLD_72__", + "_id": "__REQ_1358__", "_type": "request", "name": "Get single hook", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#get-single-hook", @@ -5616,8 +5637,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1812__", + "parentId": "__FLD_72__", + "_id": "__REQ_1359__", "_type": "request", "name": "Edit a hook", "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.18/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#edit-a-hook", @@ -5632,8 +5653,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1813__", + "parentId": "__FLD_72__", + "_id": "__REQ_1360__", "_type": "request", "name": "Delete a hook", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#delete-a-hook", @@ -5648,8 +5669,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1814__", + "parentId": "__FLD_72__", + "_id": "__REQ_1361__", "_type": "request", "name": "Ping a hook", "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.18/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger a [ping event](https://developer.github.com/enterprise/2.18/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#ping-a-hook", @@ -5664,8 +5685,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1815__", + "parentId": "__FLD_72__", + "_id": "__REQ_1362__", "_type": "request", "name": "Test a push hook", "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.18/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/hooks/#test-a-push-hook", @@ -5680,8 +5701,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_1816__", + "parentId": "__FLD_54__", + "_id": "__REQ_1363__", "_type": "request", "name": "Get a repository installation", "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#get-a-repository-installation", @@ -5701,8 +5722,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1817__", + "parentId": "__FLD_72__", + "_id": "__REQ_1364__", "_type": "request", "name": "List invitations for a repository", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/invitations/#list-invitations-for-a-repository", @@ -5728,8 +5749,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1818__", + "parentId": "__FLD_72__", + "_id": "__REQ_1365__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/invitations/#delete-a-repository-invitation", @@ -5744,8 +5765,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1819__", + "parentId": "__FLD_72__", + "_id": "__REQ_1366__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/invitations/#update-a-repository-invitation", @@ -5760,11 +5781,11 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1820__", + "parentId": "__FLD_62__", + "_id": "__REQ_1367__", "_type": "request", - "name": "List issues for a repository", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#list-issues-for-a-repository", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#list-repository-issues", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5826,8 +5847,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1821__", + "parentId": "__FLD_62__", + "_id": "__REQ_1368__", "_type": "request", "name": "Create an issue", "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#create-an-issue", @@ -5842,8 +5863,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1822__", + "parentId": "__FLD_62__", + "_id": "__REQ_1369__", "_type": "request", "name": "List comments in a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/comments/#list-comments-in-a-repository", @@ -5868,12 +5889,22 @@ { "name": "since", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1823__", + "parentId": "__FLD_62__", + "_id": "__REQ_1370__", "_type": "request", "name": "Get a single comment", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/comments/#get-a-single-comment", @@ -5885,22 +5916,11 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1824__", + "parentId": "__FLD_62__", + "_id": "__REQ_1371__", "_type": "request", "name": "Edit a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/comments/#edit-a-comment", @@ -5915,8 +5935,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1825__", + "parentId": "__FLD_62__", + "_id": "__REQ_1372__", "_type": "request", "name": "Delete a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/comments/#delete-a-comment", @@ -5931,8 +5951,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1826__", + "parentId": "__FLD_71__", + "_id": "__REQ_1373__", "_type": "request", "name": "List reactions for an issue comment", "description": "List the reactions to an [issue comment](https://developer.github.com/enterprise/2.18/v3/issues/comments/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#list-reactions-for-an-issue-comment", @@ -5967,8 +5987,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1827__", + "parentId": "__FLD_71__", + "_id": "__REQ_1374__", "_type": "request", "name": "Create reaction for an issue comment", "description": "Create a reaction to an [issue comment](https://developer.github.com/enterprise/2.18/v3/issues/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#create-reaction-for-an-issue-comment", @@ -5988,8 +6008,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1828__", + "parentId": "__FLD_62__", + "_id": "__REQ_1375__", "_type": "request", "name": "List events for a repository", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/events/#list-events-for-a-repository", @@ -6020,8 +6040,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1829__", + "parentId": "__FLD_62__", + "_id": "__REQ_1376__", "_type": "request", "name": "Get a single event", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/events/#get-a-single-event", @@ -6041,11 +6061,11 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1830__", + "parentId": "__FLD_62__", + "_id": "__REQ_1377__", "_type": "request", - "name": "Get a single issue", - "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/enterprise/2.18/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/enterprise/2.18/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#get-a-single-issue", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/enterprise/2.18/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/enterprise/2.18/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#get-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6057,11 +6077,11 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1831__", + "parentId": "__FLD_62__", + "_id": "__REQ_1378__", "_type": "request", - "name": "Edit an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#edit-an-issue", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6073,8 +6093,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1832__", + "parentId": "__FLD_62__", + "_id": "__REQ_1379__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nThis example adds two assignees to the existing `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/assignees/#add-assignees-to-an-issue", @@ -6089,8 +6109,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1833__", + "parentId": "__FLD_62__", + "_id": "__REQ_1380__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nThis example removes two of three assignees, leaving the `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/assignees/#remove-assignees-from-an-issue", @@ -6105,8 +6125,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1834__", + "parentId": "__FLD_62__", + "_id": "__REQ_1381__", "_type": "request", "name": "List comments on an issue", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/comments/#list-comments-on-an-issue", @@ -6136,8 +6156,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1835__", + "parentId": "__FLD_62__", + "_id": "__REQ_1382__", "_type": "request", "name": "Create a comment", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/comments/#create-a-comment", @@ -6152,8 +6172,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1836__", + "parentId": "__FLD_62__", + "_id": "__REQ_1383__", "_type": "request", "name": "List events for an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/events/#list-events-for-an-issue", @@ -6184,8 +6204,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1837__", + "parentId": "__FLD_62__", + "_id": "__REQ_1384__", "_type": "request", "name": "List labels on an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#list-labels-on-an-issue", @@ -6211,8 +6231,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1838__", + "parentId": "__FLD_62__", + "_id": "__REQ_1385__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#add-labels-to-an-issue", @@ -6227,8 +6247,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1839__", + "parentId": "__FLD_62__", + "_id": "__REQ_1386__", "_type": "request", "name": "Replace all labels for an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#replace-all-labels-for-an-issue", @@ -6243,8 +6263,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1840__", + "parentId": "__FLD_62__", + "_id": "__REQ_1387__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#remove-all-labels-from-an-issue", @@ -6259,8 +6279,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1841__", + "parentId": "__FLD_62__", + "_id": "__REQ_1388__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#remove-a-label-from-an-issue", @@ -6275,8 +6295,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1842__", + "parentId": "__FLD_62__", + "_id": "__REQ_1389__", "_type": "request", "name": "Lock an issue", "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#lock-an-issue", @@ -6296,8 +6316,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1843__", + "parentId": "__FLD_62__", + "_id": "__REQ_1390__", "_type": "request", "name": "Unlock an issue", "description": "Users with push access can unlock an issue's conversation.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#unlock-an-issue", @@ -6312,8 +6332,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1844__", + "parentId": "__FLD_71__", + "_id": "__REQ_1391__", "_type": "request", "name": "List reactions for an issue", "description": "List the reactions to an [issue](https://developer.github.com/enterprise/2.18/v3/issues/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#list-reactions-for-an-issue", @@ -6348,8 +6368,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1845__", + "parentId": "__FLD_71__", + "_id": "__REQ_1392__", "_type": "request", "name": "Create reaction for an issue", "description": "Create a reaction to an [issue](https://developer.github.com/enterprise/2.18/v3/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#create-reaction-for-an-issue", @@ -6369,8 +6389,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1846__", + "parentId": "__FLD_62__", + "_id": "__REQ_1393__", "_type": "request", "name": "List events for an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/timeline/#list-events-for-an-issue", @@ -6401,8 +6421,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1847__", + "parentId": "__FLD_72__", + "_id": "__REQ_1394__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/keys/#list-deploy-keys", @@ -6428,8 +6448,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1848__", + "parentId": "__FLD_72__", + "_id": "__REQ_1395__", "_type": "request", "name": "Add a new deploy key", "description": "Here's how you can create a read-only deploy key:\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/keys/#add-a-new-deploy-key", @@ -6444,8 +6464,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1849__", + "parentId": "__FLD_72__", + "_id": "__REQ_1396__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/keys/#get-a-deploy-key", @@ -6460,8 +6480,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1850__", + "parentId": "__FLD_72__", + "_id": "__REQ_1397__", "_type": "request", "name": "Remove a deploy key", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/keys/#remove-a-deploy-key", @@ -6476,8 +6496,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1851__", + "parentId": "__FLD_62__", + "_id": "__REQ_1398__", "_type": "request", "name": "List all labels for this repository", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#list-all-labels-for-this-repository", @@ -6503,8 +6523,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1852__", + "parentId": "__FLD_62__", + "_id": "__REQ_1399__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#create-a-label", @@ -6519,8 +6539,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1853__", + "parentId": "__FLD_62__", + "_id": "__REQ_1400__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#update-a-label", @@ -6535,8 +6555,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1854__", + "parentId": "__FLD_62__", + "_id": "__REQ_1401__", "_type": "request", "name": "Get a single label", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#get-a-single-label", @@ -6551,8 +6571,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1855__", + "parentId": "__FLD_62__", + "_id": "__REQ_1402__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#delete-a-label", @@ -6567,8 +6587,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1856__", + "parentId": "__FLD_72__", + "_id": "__REQ_1403__", "_type": "request", "name": "List languages", "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-languages", @@ -6583,8 +6603,8 @@ "parameters": [] }, { - "parentId": "__FLD_86__", - "_id": "__REQ_1857__", + "parentId": "__FLD_63__", + "_id": "__REQ_1404__", "_type": "request", "name": "Get the contents of a repository's license", "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [the repository contents API](https://developer.github.com/enterprise/2.18/v3/repos/contents/#get-contents), this method also supports [custom media types](https://developer.github.com/enterprise/2.18/v3/repos/contents/#custom-media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://developer.github.com/enterprise/2.18/v3/licenses/#get-the-contents-of-a-repositorys-license", @@ -6599,8 +6619,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1858__", + "parentId": "__FLD_72__", + "_id": "__REQ_1405__", "_type": "request", "name": "Perform a merge", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/merging/#perform-a-merge", @@ -6615,8 +6635,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1859__", + "parentId": "__FLD_62__", + "_id": "__REQ_1406__", "_type": "request", "name": "List milestones for a repository", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/milestones/#list-milestones-for-a-repository", @@ -6657,8 +6677,8 @@ ] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1860__", + "parentId": "__FLD_62__", + "_id": "__REQ_1407__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/milestones/#create-a-milestone", @@ -6673,8 +6693,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1861__", + "parentId": "__FLD_62__", + "_id": "__REQ_1408__", "_type": "request", "name": "Get a single milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/milestones/#get-a-single-milestone", @@ -6689,8 +6709,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1862__", + "parentId": "__FLD_62__", + "_id": "__REQ_1409__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/milestones/#update-a-milestone", @@ -6705,8 +6725,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1863__", + "parentId": "__FLD_62__", + "_id": "__REQ_1410__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/milestones/#delete-a-milestone", @@ -6721,8 +6741,8 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_1864__", + "parentId": "__FLD_62__", + "_id": "__REQ_1411__", "_type": "request", "name": "Get labels for every issue in a milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/labels/#get-labels-for-every-issue-in-a-milestone", @@ -6748,8 +6768,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1865__", + "parentId": "__FLD_53__", + "_id": "__REQ_1412__", "_type": "request", "name": "List your notifications in a repository", "description": "List all notifications for the current user.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#list-your-notifications-in-a-repository", @@ -6793,8 +6813,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1866__", + "parentId": "__FLD_53__", + "_id": "__REQ_1413__", "_type": "request", "name": "Mark notifications as read in a repository", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications in a repository](https://developer.github.com/enterprise/2.18/v3/activity/notifications/#list-your-notifications-in-a-repository) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/notifications/#mark-notifications-as-read-in-a-repository", @@ -6809,8 +6829,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1867__", + "parentId": "__FLD_72__", + "_id": "__REQ_1414__", "_type": "request", "name": "Get information about a Pages site", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#get-information-about-a-pages-site", @@ -6830,8 +6850,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1868__", + "parentId": "__FLD_72__", + "_id": "__REQ_1415__", "_type": "request", "name": "Enable a Pages site", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#enable-a-pages-site", @@ -6851,8 +6871,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1869__", + "parentId": "__FLD_72__", + "_id": "__REQ_1416__", "_type": "request", "name": "Disable a Pages site", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#disable-a-pages-site", @@ -6872,8 +6892,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1870__", + "parentId": "__FLD_72__", + "_id": "__REQ_1417__", "_type": "request", "name": "Update information about a Pages site", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#update-information-about-a-pages-site", @@ -6893,8 +6913,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1871__", + "parentId": "__FLD_72__", + "_id": "__REQ_1418__", "_type": "request", "name": "Request a page build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#request-a-page-build", @@ -6914,8 +6934,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1872__", + "parentId": "__FLD_72__", + "_id": "__REQ_1419__", "_type": "request", "name": "List Pages builds", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#list-pages-builds", @@ -6941,8 +6961,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1873__", + "parentId": "__FLD_72__", + "_id": "__REQ_1420__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#get-latest-pages-build", @@ -6957,8 +6977,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1874__", + "parentId": "__FLD_72__", + "_id": "__REQ_1421__", "_type": "request", "name": "Get a specific Pages build", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/pages/#get-a-specific-pages-build", @@ -6973,8 +6993,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1875__", + "parentId": "__FLD_58__", + "_id": "__REQ_1422__", "_type": "request", "name": "List pre-receive hooks for repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/repo_pre_receive_hooks/#list-pre-receive-hooks", @@ -7000,8 +7020,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1876__", + "parentId": "__FLD_58__", + "_id": "__REQ_1423__", "_type": "request", "name": "Get a single pre-receive hook for repository", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/repo_pre_receive_hooks/#get-a-single-pre-receive-hook", @@ -7016,8 +7036,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1877__", + "parentId": "__FLD_58__", + "_id": "__REQ_1424__", "_type": "request", "name": "Update pre-receive hook enforcement for repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/repo_pre_receive_hooks/#update-pre-receive-hook-enforcement", @@ -7032,8 +7052,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1878__", + "parentId": "__FLD_58__", + "_id": "__REQ_1425__", "_type": "request", "name": "Remove enforcement overrides for a pre-receive hook for repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/repo_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", @@ -7048,8 +7068,8 @@ "parameters": [] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1879__", + "parentId": "__FLD_68__", + "_id": "__REQ_1426__", "_type": "request", "name": "List repository projects", "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#list-repository-projects", @@ -7085,8 +7105,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_1880__", + "parentId": "__FLD_68__", + "_id": "__REQ_1427__", "_type": "request", "name": "Create a repository project", "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#create-a-repository-project", @@ -7106,8 +7126,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1881__", + "parentId": "__FLD_69__", + "_id": "__REQ_1428__", "_type": "request", "name": "List pull requests", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests", @@ -7160,8 +7180,8 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1882__", + "parentId": "__FLD_69__", + "_id": "__REQ_1429__", "_type": "request", "name": "Create a pull request", "description": "You can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#create-a-pull-request", @@ -7181,8 +7201,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1883__", + "parentId": "__FLD_69__", + "_id": "__REQ_1430__", "_type": "request", "name": "List comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#list-comments-in-a-repository", @@ -7221,8 +7241,8 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1884__", + "parentId": "__FLD_69__", + "_id": "__REQ_1431__", "_type": "request", "name": "Get a single comment", "description": "Provides details for a review comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#get-a-single-comment", @@ -7237,8 +7257,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1885__", + "parentId": "__FLD_69__", + "_id": "__REQ_1432__", "_type": "request", "name": "Edit a comment", "description": "Enables you to edit a review comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#edit-a-comment", @@ -7253,8 +7273,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1886__", + "parentId": "__FLD_69__", + "_id": "__REQ_1433__", "_type": "request", "name": "Delete a comment", "description": "Deletes a review comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#delete-a-comment", @@ -7269,8 +7289,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1887__", + "parentId": "__FLD_71__", + "_id": "__REQ_1434__", "_type": "request", "name": "List reactions for a pull request review comment", "description": "List the reactions to a [pull request review comment](https://developer.github.com/enterprise/2.18/v3/pulls/comments/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#list-reactions-for-a-pull-request-review-comment", @@ -7305,8 +7325,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1888__", + "parentId": "__FLD_71__", + "_id": "__REQ_1435__", "_type": "request", "name": "Create reaction for a pull request review comment", "description": "Create a reaction to a [pull request review comment](https://developer.github.com/enterprise/2.18/v3/pulls/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#create-reaction-for-a-pull-request-review-comment", @@ -7326,8 +7346,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1889__", + "parentId": "__FLD_69__", + "_id": "__REQ_1436__", "_type": "request", "name": "Get a single pull request", "description": "Lists details of a pull request by providing its number.\n\nWhen you get, [create](https://developer.github.com/enterprise/2.18/v3/pulls/#create-a-pull-request), or [edit](https://developer.github.com/enterprise/2.18/v3/pulls/#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.18/v3/git/#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://developer.github.com/enterprise/2.18/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#get-a-single-pull-request", @@ -7347,8 +7367,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1890__", + "parentId": "__FLD_69__", + "_id": "__REQ_1437__", "_type": "request", "name": "Update a pull request", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#update-a-pull-request", @@ -7368,8 +7388,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1891__", + "parentId": "__FLD_69__", + "_id": "__REQ_1438__", "_type": "request", "name": "List comments on a pull request", "description": "Lists review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#list-comments-on-a-pull-request", @@ -7408,8 +7428,8 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1892__", + "parentId": "__FLD_69__", + "_id": "__REQ_1439__", "_type": "request", "name": "Create a comment", "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Comments](https://developer.github.com/enterprise/2.18/v3/issues/comments/#create-a-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#create-a-comment", @@ -7424,8 +7444,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1893__", + "parentId": "__FLD_69__", + "_id": "__REQ_1440__", "_type": "request", "name": "Create a review comment reply", "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/comments/#create-a-review-comment-reply", @@ -7440,8 +7460,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1894__", + "parentId": "__FLD_69__", + "_id": "__REQ_1441__", "_type": "request", "name": "List commits on a pull request", "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [Commit List API](https://developer.github.com/enterprise/2.18/v3/repos/commits/#list-commits-on-a-repository).\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#list-commits-on-a-pull-request", @@ -7467,11 +7487,11 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1895__", + "parentId": "__FLD_69__", + "_id": "__REQ_1442__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** The response includes a maximum of 300 files.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7494,8 +7514,8 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1896__", + "parentId": "__FLD_69__", + "_id": "__REQ_1443__", "_type": "request", "name": "Get if a pull request has been merged", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#get-if-a-pull-request-has-been-merged", @@ -7510,8 +7530,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1897__", + "parentId": "__FLD_69__", + "_id": "__REQ_1444__", "_type": "request", "name": "Merge a pull request (Merge Button)", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#merge-a-pull-request-merge-button", @@ -7526,8 +7546,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1898__", + "parentId": "__FLD_69__", + "_id": "__REQ_1445__", "_type": "request", "name": "List review requests", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/review_requests/#list-review-requests", @@ -7553,8 +7573,8 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1899__", + "parentId": "__FLD_69__", + "_id": "__REQ_1446__", "_type": "request", "name": "Create a review request", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/review_requests/#create-a-review-request", @@ -7569,8 +7589,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1900__", + "parentId": "__FLD_69__", + "_id": "__REQ_1447__", "_type": "request", "name": "Delete a review request", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/review_requests/#delete-a-review-request", @@ -7585,8 +7605,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1901__", + "parentId": "__FLD_69__", + "_id": "__REQ_1448__", "_type": "request", "name": "List reviews on a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#list-reviews-on-a-pull-request", @@ -7612,8 +7632,8 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1902__", + "parentId": "__FLD_69__", + "_id": "__REQ_1449__", "_type": "request", "name": "Create a pull request review", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/enterprise/2.18/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/enterprise/2.18/v3/pulls/#get-a-single-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#create-a-pull-request-review", @@ -7628,8 +7648,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1903__", + "parentId": "__FLD_69__", + "_id": "__REQ_1450__", "_type": "request", "name": "Get a single review", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#get-a-single-review", @@ -7644,8 +7664,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1904__", + "parentId": "__FLD_69__", + "_id": "__REQ_1451__", "_type": "request", "name": "Delete a pending review", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#delete-a-pending-review", @@ -7660,8 +7680,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1905__", + "parentId": "__FLD_69__", + "_id": "__REQ_1452__", "_type": "request", "name": "Update a pull request review", "description": "Update the review summary comment with new text.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#update-a-pull-request-review", @@ -7676,8 +7696,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1906__", + "parentId": "__FLD_69__", + "_id": "__REQ_1453__", "_type": "request", "name": "Get comments for a single review", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#get-comments-for-a-single-review", @@ -7703,8 +7723,8 @@ ] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1907__", + "parentId": "__FLD_69__", + "_id": "__REQ_1454__", "_type": "request", "name": "Dismiss a pull request review", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://developer.github.com/enterprise/2.18/v3/repos/branches/), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#dismiss-a-pull-request-review", @@ -7719,8 +7739,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1908__", + "parentId": "__FLD_69__", + "_id": "__REQ_1455__", "_type": "request", "name": "Submit a pull request review", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/reviews/#submit-a-pull-request-review", @@ -7735,8 +7755,8 @@ "parameters": [] }, { - "parentId": "__FLD_92__", - "_id": "__REQ_1909__", + "parentId": "__FLD_69__", + "_id": "__REQ_1456__", "_type": "request", "name": "Update a pull request branch", "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://developer.github.com/enterprise/2.18/v3/pulls/#update-a-pull-request-branch", @@ -7756,8 +7776,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1910__", + "parentId": "__FLD_72__", + "_id": "__REQ_1457__", "_type": "request", "name": "Get the README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://developer.github.com/enterprise/2.18/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/contents/#get-the-readme", @@ -7777,8 +7797,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1911__", + "parentId": "__FLD_72__", + "_id": "__REQ_1458__", "_type": "request", "name": "List releases for a repository", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://developer.github.com/enterprise/2.18/v3/repos/#list-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#list-releases-for-a-repository", @@ -7804,8 +7824,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1912__", + "parentId": "__FLD_72__", + "_id": "__REQ_1459__", "_type": "request", "name": "Create a release", "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#create-a-release", @@ -7820,8 +7840,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1913__", + "parentId": "__FLD_72__", + "_id": "__REQ_1460__", "_type": "request", "name": "Get a single release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://developer.github.com/enterprise/2.18/v3/media/#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#get-a-single-release-asset", @@ -7836,8 +7856,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1914__", + "parentId": "__FLD_72__", + "_id": "__REQ_1461__", "_type": "request", "name": "Edit a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#edit-a-release-asset", @@ -7852,8 +7872,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1915__", + "parentId": "__FLD_72__", + "_id": "__REQ_1462__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#delete-a-release-asset", @@ -7868,8 +7888,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1916__", + "parentId": "__FLD_72__", + "_id": "__REQ_1463__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#get-the-latest-release", @@ -7884,8 +7904,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1917__", + "parentId": "__FLD_72__", + "_id": "__REQ_1464__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#get-a-release-by-tag-name", @@ -7900,8 +7920,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1918__", + "parentId": "__FLD_72__", + "_id": "__REQ_1465__", "_type": "request", "name": "Get a single release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://developer.github.com/enterprise/2.18/v3/#hypermedia).\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#get-a-single-release", @@ -7916,8 +7936,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1919__", + "parentId": "__FLD_72__", + "_id": "__REQ_1466__", "_type": "request", "name": "Edit a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#edit-a-release", @@ -7932,8 +7952,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1920__", + "parentId": "__FLD_72__", + "_id": "__REQ_1467__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#delete-a-release", @@ -7948,8 +7968,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1921__", + "parentId": "__FLD_72__", + "_id": "__REQ_1468__", "_type": "request", "name": "List assets for a release", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#list-assets-for-a-release", @@ -7975,8 +7995,33 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1922__", + "parentId": "__FLD_72__", + "_id": "__REQ_1469__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://developer.github.com/v3/#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in the response of the [Create a release endpoint](https://developer.github.com/v3/repos/releases/#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example:\n\n`application/zip`\n\nGitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example, you'll still need to pass your authentication to be able to upload an asset.\n\n**Notes:**\n\n* GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://developer.github.com/v3/repos/releases/#list-assets-for-a-release)\" endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nThis may leave an empty asset with a state of `starter`. It can be safely deleted.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/releases/#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_53__", + "_id": "__REQ_1470__", "_type": "request", "name": "List Stargazers", "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.18/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#list-stargazers", @@ -8002,8 +8047,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1923__", + "parentId": "__FLD_72__", + "_id": "__REQ_1471__", "_type": "request", "name": "Get the number of additions and deletions per week", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week", @@ -8018,8 +8063,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1924__", + "parentId": "__FLD_72__", + "_id": "__REQ_1472__", "_type": "request", "name": "Get the last year of commit activity data", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statistics/#get-the-last-year-of-commit-activity-data", @@ -8034,8 +8079,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1925__", + "parentId": "__FLD_72__", + "_id": "__REQ_1473__", "_type": "request", "name": "Get contributors list with additions, deletions, and commit counts", "description": "* `total` - The Total number of commits authored by the contributor.\n\nWeekly Hash (`weeks` array):\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts", @@ -8050,8 +8095,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1926__", + "parentId": "__FLD_72__", + "_id": "__REQ_1474__", "_type": "request", "name": "Get the weekly commit count for the repository owner and everyone else", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else", @@ -8066,8 +8111,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1927__", + "parentId": "__FLD_72__", + "_id": "__REQ_1475__", "_type": "request", "name": "Get the number of commits per hour in each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day", @@ -8082,8 +8127,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1928__", + "parentId": "__FLD_72__", + "_id": "__REQ_1476__", "_type": "request", "name": "Create a status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/statuses/#create-a-status", @@ -8098,11 +8143,11 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1929__", + "parentId": "__FLD_53__", + "_id": "__REQ_1477__", "_type": "request", "name": "List watchers", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#list-watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#list-watchers", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8125,10 +8170,10 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1930__", + "parentId": "__FLD_53__", + "_id": "__REQ_1478__", "_type": "request", - "name": "Get a Repository Subscription", + "name": "Get a repository subscription", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#get-a-repository-subscription", "headers": [], "authentication": { @@ -8141,10 +8186,10 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1931__", + "parentId": "__FLD_53__", + "_id": "__REQ_1479__", "_type": "request", - "name": "Set a Repository Subscription", + "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://developer.github.com/enterprise/2.18/v3/activity/watching/#delete-a-repository-subscription) completely.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#set-a-repository-subscription", "headers": [], "authentication": { @@ -8157,10 +8202,10 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_1932__", + "parentId": "__FLD_53__", + "_id": "__REQ_1480__", "_type": "request", - "name": "Delete a Repository Subscription", + "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://developer.github.com/enterprise/2.18/v3/activity/watching/#set-a-repository-subscription).\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#delete-a-repository-subscription", "headers": [], "authentication": { @@ -8173,8 +8218,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1933__", + "parentId": "__FLD_72__", + "_id": "__REQ_1481__", "_type": "request", "name": "List tags", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-tags", @@ -8200,8 +8245,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1934__", + "parentId": "__FLD_72__", + "_id": "__REQ_1482__", "_type": "request", "name": "List teams", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-teams", @@ -8227,11 +8272,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1935__", + "parentId": "__FLD_72__", + "_id": "__REQ_1483__", "_type": "request", - "name": "List all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-all-topics-for-a-repository", + "name": "Get all repository topics", + "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#get-all-repository-topics", "headers": [ { "name": "Accept", @@ -8248,11 +8293,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1936__", + "parentId": "__FLD_72__", + "_id": "__REQ_1484__", "_type": "request", - "name": "Replace all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#replace-all-topics-for-a-repository", + "name": "Replace all repository topics", + "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#replace-all-repository-topics", "headers": [ { "name": "Accept", @@ -8269,8 +8314,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1937__", + "parentId": "__FLD_72__", + "_id": "__REQ_1485__", "_type": "request", "name": "Transfer a repository", "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#transfer-a-repository", @@ -8290,8 +8335,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1938__", + "parentId": "__FLD_72__", + "_id": "__REQ_1486__", "_type": "request", "name": "Enable vulnerability alerts", "description": "Enables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#enable-vulnerability-alerts", @@ -8311,8 +8356,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1939__", + "parentId": "__FLD_72__", + "_id": "__REQ_1487__", "_type": "request", "name": "Disable vulnerability alerts", "description": "Disables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#disable-vulnerability-alerts", @@ -8332,8 +8377,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1940__", + "parentId": "__FLD_72__", + "_id": "__REQ_1488__", "_type": "request", "name": "Get archive link", "description": "Gets a redirect URL to download an archive for a repository. The `:archive_format` can be either `tarball` or `zipball`. The `:ref` must be a valid Git reference. If you omit `:ref`, the repository’s default branch (usually `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request.\n\n_Note_: For private repositories, these links are temporary and expire after five minutes.\n\nTo follow redirects with curl, use the `-L` switch:\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/contents/#get-archive-link", @@ -8348,11 +8393,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1941__", + "parentId": "__FLD_72__", + "_id": "__REQ_1489__", "_type": "request", - "name": "Create repository using a repository template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [`GET /repos/:owner/:repo`](https://developer.github.com/enterprise/2.18/v3/repos/#get) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\n\\`\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#create-repository-using-a-repository-template", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://developer.github.com/enterprise/2.18/v3/repos/#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\n\\`\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#create-a-repository-using-a-template", "headers": [ { "name": "Accept", @@ -8369,11 +8414,11 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_1942__", + "parentId": "__FLD_72__", + "_id": "__REQ_1490__", "_type": "request", - "name": "List all public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.18/v3/#link-header) to get the URL for the next page of repositories.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.18/v3/#authentication) site administrator for your Enterprise appliance, you will be able to list all repositories including private repositories.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-all-public-repositories", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.18/v3/#link-header) to get the URL for the next page of repositories.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.18/v3/#authentication) site administrator for your Enterprise appliance, you will be able to list all repositories including private repositories.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8405,8 +8450,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1943__", + "parentId": "__FLD_73__", + "_id": "__REQ_1491__", "_type": "request", "name": "Search code", "description": "Find file contents via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\n**Considerations for code search**\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 10 MB are searchable.\n\nSuppose you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery). Your query would look something like this:\n\nHere, we're searching for the keyword `addClass` within a file's contents. We're making sure that we're only looking in files where the language is JavaScript. And we're scoping the search to the `repo:jquery/jquery` repository.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-code", @@ -8445,8 +8490,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1944__", + "parentId": "__FLD_73__", + "_id": "__REQ_1492__", "_type": "request", "name": "Search commits", "description": "Find commits via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\n**Considerations for commit search**\n\nOnly the _default branch_ is considered. In most cases, this will be the `master` branch.\n\nSuppose you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-commits", @@ -8490,8 +8535,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1945__", + "parentId": "__FLD_73__", + "_id": "__REQ_1493__", "_type": "request", "name": "Search issues and pull requests", "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\nLet's say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\nIn this query, we're searching for the keyword `windows`, within any open issue that's labeled as `bug`. The search runs across repositories whose primary language is Python. We’re sorting by creation date in ascending order, so that the oldest issues appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-issues-and-pull-requests", @@ -8530,8 +8575,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1946__", + "parentId": "__FLD_73__", + "_id": "__REQ_1494__", "_type": "request", "name": "Search labels", "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\nSuppose you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\nThe labels that best match for the query appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-labels", @@ -8564,8 +8609,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1947__", + "parentId": "__FLD_73__", + "_id": "__REQ_1495__", "_type": "request", "name": "Search repositories", "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\nSuppose you want to search for popular Tetris repositories written in Assembly. Your query might look like this.\n\nYou can search for multiple topics by adding more `topic:` instances, and including the `mercy-preview` header. For example:\n\nIn this request, we're searching for repositories with the word `tetris` in the name, the description, or the README. We're limiting the results to only find repositories where the primary language is Assembly. We're sorting by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-repositories", @@ -8609,8 +8654,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1948__", + "parentId": "__FLD_73__", + "_id": "__REQ_1496__", "_type": "request", "name": "Search topics", "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\nSee \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nSuppose you want to search for topics related to Ruby that are featured on [https://github.com/topics](https://github.com/topics). Your query might look like this:\n\nIn this request, we're searching for topics with the keyword `ruby`, and we're limiting the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\n**Note:** A search for featured Ruby topics only has 6 total results, so a [Link header](https://developer.github.com/enterprise/2.18/v3/#link-header) indicating pagination is not included in the response.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-topics", @@ -8635,8 +8680,8 @@ ] }, { - "parentId": "__FLD_96__", - "_id": "__REQ_1949__", + "parentId": "__FLD_73__", + "_id": "__REQ_1497__", "_type": "request", "name": "Search users", "description": "Find users via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.18/v3/#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.18/v3/search/#text-match-metadata).\n\nImagine you're looking for a list of popular users. You might try out this query:\n\nHere, we're looking at users with the name Tom. We're only interested in those with more than 42 repositories, and only if they have over 1,000 followers.\n\nhttps://developer.github.com/enterprise/2.18/v3/search/#search-users", @@ -8675,8 +8720,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1950__", + "parentId": "__FLD_58__", + "_id": "__REQ_1498__", "_type": "request", "name": "Check configuration status", "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#check-configuration-status", @@ -8691,8 +8736,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1951__", + "parentId": "__FLD_58__", + "_id": "__REQ_1499__", "_type": "request", "name": "Start a configuration process", "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#start-a-configuration-process", @@ -8707,8 +8752,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1952__", + "parentId": "__FLD_58__", + "_id": "__REQ_1500__", "_type": "request", "name": "Check maintenance status", "description": "Check your installation's maintenance status:\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#check-maintenance-status", @@ -8723,8 +8768,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1953__", + "parentId": "__FLD_58__", + "_id": "__REQ_1501__", "_type": "request", "name": "Enable or disable maintenance mode", "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#enable-or-disable-maintenance-mode", @@ -8739,8 +8784,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1954__", + "parentId": "__FLD_58__", + "_id": "__REQ_1502__", "_type": "request", "name": "Retrieve settings", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#retrieve-settings", @@ -8755,8 +8800,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1955__", + "parentId": "__FLD_58__", + "_id": "__REQ_1503__", "_type": "request", "name": "Modify settings", "description": "For a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#modify-settings", @@ -8771,8 +8816,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1956__", + "parentId": "__FLD_58__", + "_id": "__REQ_1504__", "_type": "request", "name": "Retrieve authorized SSH keys", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#retrieve-authorized-ssh-keys", @@ -8787,8 +8832,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1957__", + "parentId": "__FLD_58__", + "_id": "__REQ_1505__", "_type": "request", "name": "Add a new authorized SSH key", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#add-a-new-authorized-ssh-key", @@ -8803,8 +8848,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1958__", + "parentId": "__FLD_58__", + "_id": "__REQ_1506__", "_type": "request", "name": "Remove an authorized SSH key", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#remove-an-authorized-ssh-key", @@ -8819,8 +8864,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1959__", + "parentId": "__FLD_58__", + "_id": "__REQ_1507__", "_type": "request", "name": "Upload a license for the first time", "description": "When you boot a GitHub Enterprise Server instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub Enterprise Server instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#upload-a-license-for-the-first-time", @@ -8835,8 +8880,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1960__", + "parentId": "__FLD_58__", + "_id": "__REQ_1508__", "_type": "request", "name": "Upgrade a license", "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/management_console/#upgrade-a-license", @@ -8851,8 +8896,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_1961__", + "parentId": "__FLD_58__", + "_id": "__REQ_1509__", "_type": "request", "name": "Queue an indexing job", "description": "You can index the following targets (replace `:owner` with the name of a user or organization account and `:repository` with the name of a repository):\n\n| Target | Description |\n| --------------------------- | -------------------------------------------------------------------- |\n| `:owner` | A user or organization account. |\n| `:owner/:repository` | A repository. |\n| `:owner/*` | All of a user or organization's repositories. |\n| `:owner/:repository/issues` | All the issues in a repository. |\n| `:owner/*/issues` | All the issues in all of a user or organization's repositories. |\n| `:owner/:repository/code` | All the source code in a repository. |\n| `:owner/*/code` | All the source code in all of a user or organization's repositories. |\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/search_indexing/#queue-an-indexing-job", @@ -8867,8 +8912,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1962__", + "parentId": "__FLD_74__", + "_id": "__REQ_1510__", "_type": "request", "name": "Get team", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#get-team", @@ -8888,8 +8933,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1963__", + "parentId": "__FLD_74__", + "_id": "__REQ_1511__", "_type": "request", "name": "Edit team", "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#edit-team", @@ -8909,8 +8954,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1964__", + "parentId": "__FLD_74__", + "_id": "__REQ_1512__", "_type": "request", "name": "Delete team", "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#delete-team", @@ -8930,8 +8975,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1965__", + "parentId": "__FLD_74__", + "_id": "__REQ_1513__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussions/#list-discussions", @@ -8967,8 +9012,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1966__", + "parentId": "__FLD_74__", + "_id": "__REQ_1514__", "_type": "request", "name": "Create a discussion", "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussions/#create-a-discussion", @@ -8988,8 +9033,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1967__", + "parentId": "__FLD_74__", + "_id": "__REQ_1515__", "_type": "request", "name": "Get a single discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussions/#get-a-single-discussion", @@ -9009,8 +9054,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1968__", + "parentId": "__FLD_74__", + "_id": "__REQ_1516__", "_type": "request", "name": "Edit a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussions/#edit-a-discussion", @@ -9030,8 +9075,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1969__", + "parentId": "__FLD_74__", + "_id": "__REQ_1517__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussions/#delete-a-discussion", @@ -9051,8 +9096,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1970__", + "parentId": "__FLD_74__", + "_id": "__REQ_1518__", "_type": "request", "name": "List comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/#list-comments", @@ -9088,8 +9133,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1971__", + "parentId": "__FLD_74__", + "_id": "__REQ_1519__", "_type": "request", "name": "Create a comment", "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/#create-a-comment", @@ -9109,8 +9154,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1972__", + "parentId": "__FLD_74__", + "_id": "__REQ_1520__", "_type": "request", "name": "Get a single comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/#get-a-single-comment", @@ -9130,8 +9175,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1973__", + "parentId": "__FLD_74__", + "_id": "__REQ_1521__", "_type": "request", "name": "Edit a comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/#edit-a-comment", @@ -9151,8 +9196,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1974__", + "parentId": "__FLD_74__", + "_id": "__REQ_1522__", "_type": "request", "name": "Delete a comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/#delete-a-comment", @@ -9172,8 +9217,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1975__", + "parentId": "__FLD_71__", + "_id": "__REQ_1523__", "_type": "request", "name": "List reactions for a team discussion comment", "description": "List the reactions to a [team discussion comment](https://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#list-reactions-for-a-team-discussion-comment", @@ -9208,8 +9253,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1976__", + "parentId": "__FLD_71__", + "_id": "__REQ_1524__", "_type": "request", "name": "Create reaction for a team discussion comment", "description": "Create a reaction to a [team discussion comment](https://developer.github.com/enterprise/2.18/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#create-reaction-for-a-team-discussion-comment", @@ -9229,8 +9274,8 @@ "parameters": [] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1977__", + "parentId": "__FLD_71__", + "_id": "__REQ_1525__", "_type": "request", "name": "List reactions for a team discussion", "description": "List the reactions to a [team discussion](https://developer.github.com/enterprise/2.18/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#list-reactions-for-a-team-discussion", @@ -9265,8 +9310,8 @@ ] }, { - "parentId": "__FLD_94__", - "_id": "__REQ_1978__", + "parentId": "__FLD_71__", + "_id": "__REQ_1526__", "_type": "request", "name": "Create reaction for a team discussion", "description": "Create a reaction to a [team discussion](https://developer.github.com/enterprise/2.18/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://developer.github.com/enterprise/2.18/v3/reactions/#create-reaction-for-a-team-discussion", @@ -9286,8 +9331,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1979__", + "parentId": "__FLD_74__", + "_id": "__REQ_1527__", "_type": "request", "name": "List team members", "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#list-team-members", @@ -9323,8 +9368,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1980__", + "parentId": "__FLD_74__", + "_id": "__REQ_1528__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership](https://developer.github.com/enterprise/2.18/v3/teams/members/#get-team-membership) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#get-team-member-legacy", @@ -9339,8 +9384,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1981__", + "parentId": "__FLD_74__", + "_id": "__REQ_1529__", "_type": "request", "name": "Add team member (Legacy)", "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add team membership](https://developer.github.com/enterprise/2.18/v3/teams/members/#add-or-update-team-membership) endpoint instead. It allows you to invite new organization members to your teams.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#add-team-member-legacy", @@ -9355,8 +9400,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1982__", + "parentId": "__FLD_74__", + "_id": "__REQ_1530__", "_type": "request", "name": "Remove team member (Legacy)", "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership](https://developer.github.com/enterprise/2.18/v3/teams/members/#remove-team-membership) endpoint instead. It allows you to remove both active and pending memberships.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#remove-team-member-legacy", @@ -9371,8 +9416,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1983__", + "parentId": "__FLD_74__", + "_id": "__REQ_1531__", "_type": "request", "name": "Get team membership", "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create team](https://developer.github.com/enterprise/2.18/v3/teams#create-team).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#get-team-membership", @@ -9392,8 +9437,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1984__", + "parentId": "__FLD_74__", + "_id": "__REQ_1532__", "_type": "request", "name": "Add or update team membership", "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user 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. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf 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.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#add-or-update-team-membership", @@ -9408,8 +9453,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1985__", + "parentId": "__FLD_74__", + "_id": "__REQ_1533__", "_type": "request", "name": "Remove team membership", "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.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/members/#remove-team-membership", @@ -9424,8 +9469,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1986__", + "parentId": "__FLD_74__", + "_id": "__REQ_1534__", "_type": "request", "name": "List team projects", "description": "Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.18/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#list-team-projects", @@ -9456,8 +9501,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1987__", + "parentId": "__FLD_74__", + "_id": "__REQ_1535__", "_type": "request", "name": "Review a team project", "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#review-a-team-project", @@ -9477,8 +9522,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1988__", + "parentId": "__FLD_74__", + "_id": "__REQ_1536__", "_type": "request", "name": "Add or update team project", "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.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#add-or-update-team-project", @@ -9498,8 +9543,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1989__", + "parentId": "__FLD_74__", + "_id": "__REQ_1537__", "_type": "request", "name": "Remove team project", "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. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#remove-team-project", @@ -9514,8 +9559,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1990__", + "parentId": "__FLD_74__", + "_id": "__REQ_1538__", "_type": "request", "name": "List team repos", "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.18/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#list-team-repos", @@ -9546,8 +9591,8 @@ ] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1991__", + "parentId": "__FLD_74__", + "_id": "__REQ_1539__", "_type": "request", "name": "Check if a team manages a repository", "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.18/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#check-if-a-team-manages-a-repository", @@ -9567,8 +9612,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1992__", + "parentId": "__FLD_74__", + "_id": "__REQ_1540__", "_type": "request", "name": "Add or update team repository", "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.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#add-or-update-team-repository", @@ -9588,8 +9633,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1993__", + "parentId": "__FLD_74__", + "_id": "__REQ_1541__", "_type": "request", "name": "Remove team repository", "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. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#remove-team-repository", @@ -9604,8 +9649,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_1994__", + "parentId": "__FLD_74__", + "_id": "__REQ_1542__", "_type": "request", "name": "List child teams", "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#list-child-teams", @@ -9636,8 +9681,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1995__", + "parentId": "__FLD_75__", + "_id": "__REQ_1543__", "_type": "request", "name": "Get the authenticated user", "description": "Lists public and private profile information when authenticated through basic auth or OAuth with the `user` scope.\n\nLists public profile information when authenticated through OAuth without the `user` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/#get-the-authenticated-user", @@ -9652,8 +9697,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1996__", + "parentId": "__FLD_75__", + "_id": "__REQ_1544__", "_type": "request", "name": "Update the authenticated user", "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/#update-the-authenticated-user", @@ -9668,8 +9713,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1997__", + "parentId": "__FLD_75__", + "_id": "__REQ_1545__", "_type": "request", "name": "List email addresses for a user", "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/emails/#list-email-addresses-for-a-user", @@ -9695,8 +9740,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1998__", + "parentId": "__FLD_75__", + "_id": "__REQ_1546__", "_type": "request", "name": "Add email address(es)", "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/emails/#add-email-addresses", @@ -9711,8 +9756,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_1999__", + "parentId": "__FLD_75__", + "_id": "__REQ_1547__", "_type": "request", "name": "Delete email address(es)", "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/emails/#delete-email-addresses", @@ -9727,11 +9772,11 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2000__", + "parentId": "__FLD_75__", + "_id": "__REQ_1548__", "_type": "request", - "name": "List the authenticated user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#list-followers-of-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9754,11 +9799,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2001__", + "parentId": "__FLD_75__", + "_id": "__REQ_1549__", "_type": "request", - "name": "List who the authenticated user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#list-users-followed-by-another-user", + "name": "List users followed by the authenticated user", + "description": "Lists the people who the authenticated user follows.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#list-users-followed-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9781,8 +9826,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2002__", + "parentId": "__FLD_75__", + "_id": "__REQ_1550__", "_type": "request", "name": "Check if you are following a user", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#check-if-you-are-following-a-user", @@ -9797,8 +9842,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2003__", + "parentId": "__FLD_75__", + "_id": "__REQ_1551__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#follow-a-user", @@ -9813,8 +9858,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2004__", + "parentId": "__FLD_75__", + "_id": "__REQ_1552__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#unfollow-a-user", @@ -9829,8 +9874,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2005__", + "parentId": "__FLD_75__", + "_id": "__REQ_1553__", "_type": "request", "name": "List your GPG keys", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/users/gpg_keys/#list-your-gpg-keys", @@ -9856,8 +9901,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2006__", + "parentId": "__FLD_75__", + "_id": "__REQ_1554__", "_type": "request", "name": "Create a GPG key", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/users/gpg_keys/#create-a-gpg-key", @@ -9872,8 +9917,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2007__", + "parentId": "__FLD_75__", + "_id": "__REQ_1555__", "_type": "request", "name": "Get a single GPG key", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/users/gpg_keys/#get-a-single-gpg-key", @@ -9888,8 +9933,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2008__", + "parentId": "__FLD_75__", + "_id": "__REQ_1556__", "_type": "request", "name": "Delete a GPG key", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/users/gpg_keys/#delete-a-gpg-key", @@ -9904,8 +9949,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2009__", + "parentId": "__FLD_54__", + "_id": "__REQ_1557__", "_type": "request", "name": "List installations for a user", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/installations/#list-installations-for-a-user", @@ -9936,8 +9981,8 @@ ] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2010__", + "parentId": "__FLD_54__", + "_id": "__REQ_1558__", "_type": "request", "name": "List repositories accessible to the user for an installation", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.18/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-installation", @@ -9968,8 +10013,8 @@ ] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2011__", + "parentId": "__FLD_54__", + "_id": "__REQ_1559__", "_type": "request", "name": "Add repository to installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/installations/#add-repository-to-installation", @@ -9989,8 +10034,8 @@ "parameters": [] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2012__", + "parentId": "__FLD_54__", + "_id": "__REQ_1560__", "_type": "request", "name": "Remove repository from installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.18/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.18/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/installations/#remove-repository-from-installation", @@ -10010,11 +10055,11 @@ "parameters": [] }, { - "parentId": "__FLD_85__", - "_id": "__REQ_2013__", + "parentId": "__FLD_62__", + "_id": "__REQ_1561__", "_type": "request", - "name": "List all issues across owned and member repositories assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#list-issues", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user:\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.18/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10065,8 +10110,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2014__", + "parentId": "__FLD_75__", + "_id": "__REQ_1562__", "_type": "request", "name": "List your public keys", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/users/keys/#list-your-public-keys", @@ -10092,8 +10137,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2015__", + "parentId": "__FLD_75__", + "_id": "__REQ_1563__", "_type": "request", "name": "Create a public key", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/keys/#create-a-public-key", @@ -10108,8 +10153,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2016__", + "parentId": "__FLD_75__", + "_id": "__REQ_1564__", "_type": "request", "name": "Get a single public key", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/users/keys/#get-a-single-public-key", @@ -10124,8 +10169,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2017__", + "parentId": "__FLD_75__", + "_id": "__REQ_1565__", "_type": "request", "name": "Delete a public key", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to remove an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/keys/#delete-a-public-key", @@ -10140,8 +10185,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2018__", + "parentId": "__FLD_67__", + "_id": "__REQ_1566__", "_type": "request", "name": "List your organization memberships", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#list-your-organization-memberships", @@ -10171,8 +10216,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2019__", + "parentId": "__FLD_67__", + "_id": "__REQ_1567__", "_type": "request", "name": "Get your organization membership", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#get-your-organization-membership", @@ -10187,8 +10232,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2020__", + "parentId": "__FLD_67__", + "_id": "__REQ_1568__", "_type": "request", "name": "Edit your organization membership", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/members/#edit-your-organization-membership", @@ -10203,8 +10248,8 @@ "parameters": [] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2021__", + "parentId": "__FLD_67__", + "_id": "__REQ_1569__", "_type": "request", "name": "List your organizations", "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/#list-your-organizations", @@ -10230,8 +10275,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2022__", + "parentId": "__FLD_68__", + "_id": "__REQ_1570__", "_type": "request", "name": "Create a user project", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#create-a-user-project", @@ -10251,8 +10296,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2023__", + "parentId": "__FLD_75__", + "_id": "__REQ_1571__", "_type": "request", "name": "List public email addresses for a user", "description": "Lists your publicly visible email address. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/emails/#list-public-email-addresses-for-a-user", @@ -10278,11 +10323,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2024__", + "parentId": "__FLD_72__", + "_id": "__REQ_1572__", "_type": "request", - "name": "List your repositories", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-your-repositories", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10329,11 +10374,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2025__", + "parentId": "__FLD_72__", + "_id": "__REQ_1573__", "_type": "request", - "name": "Creates a new repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#create", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#create-a-repository-for-the-authenticated-user", "headers": [ { "name": "Accept", @@ -10350,8 +10395,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2026__", + "parentId": "__FLD_72__", + "_id": "__REQ_1574__", "_type": "request", "name": "List a user's repository invitations", "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\n\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/invitations/#list-a-users-repository-invitations", @@ -10377,8 +10422,8 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2027__", + "parentId": "__FLD_72__", + "_id": "__REQ_1575__", "_type": "request", "name": "Accept a repository invitation", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/invitations/#accept-a-repository-invitation", @@ -10393,8 +10438,8 @@ "parameters": [] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2028__", + "parentId": "__FLD_72__", + "_id": "__REQ_1576__", "_type": "request", "name": "Decline a repository invitation", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/invitations/#decline-a-repository-invitation", @@ -10409,11 +10454,11 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2029__", + "parentId": "__FLD_53__", + "_id": "__REQ_1577__", "_type": "request", - "name": "List repositories being starred by the authenticated user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.18/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.18/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#list-repositories-starred-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10446,8 +10491,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2030__", + "parentId": "__FLD_53__", + "_id": "__REQ_1578__", "_type": "request", "name": "Check if you are starring a repository", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#check-if-you-are-starring-a-repository", @@ -10462,8 +10507,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2031__", + "parentId": "__FLD_53__", + "_id": "__REQ_1579__", "_type": "request", "name": "Star a repository", "description": "Requires for the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#star-a-repository", @@ -10478,8 +10523,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2032__", + "parentId": "__FLD_53__", + "_id": "__REQ_1580__", "_type": "request", "name": "Unstar a repository", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#unstar-a-repository", @@ -10494,11 +10539,11 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2033__", + "parentId": "__FLD_53__", + "_id": "__REQ_1581__", "_type": "request", - "name": "List repositories being watched by the authenticated user", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#list-repositories-watched-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10521,8 +10566,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2034__", + "parentId": "__FLD_53__", + "_id": "__REQ_1582__", "_type": "request", "name": "Check if you are watching a repository (LEGACY)", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#check-if-you-are-watching-a-repository-legacy", @@ -10537,8 +10582,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2035__", + "parentId": "__FLD_53__", + "_id": "__REQ_1583__", "_type": "request", "name": "Watch a repository (LEGACY)", "description": "Requires the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#watch-a-repository-legacy", @@ -10553,8 +10598,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2036__", + "parentId": "__FLD_53__", + "_id": "__REQ_1584__", "_type": "request", "name": "Stop watching a repository (LEGACY)", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#stop-watching-a-repository-legacy", @@ -10569,8 +10614,8 @@ "parameters": [] }, { - "parentId": "__FLD_97__", - "_id": "__REQ_2037__", + "parentId": "__FLD_74__", + "_id": "__REQ_1585__", "_type": "request", "name": "List user teams", "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://developer.github.com/enterprise/2.18/apps/building-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.18/v3/teams/#list-user-teams", @@ -10601,8 +10646,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2038__", + "parentId": "__FLD_75__", + "_id": "__REQ_1586__", "_type": "request", "name": "Get all users", "description": "Lists all users, in the order that they signed up on GitHub Enterprise. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.18/v3/#link-header) to get the URL for the next page of users.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/#get-all-users", @@ -10632,8 +10677,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2039__", + "parentId": "__FLD_75__", + "_id": "__REQ_1587__", "_type": "request", "name": "Get a single user", "description": "Provides publicly available information about someone with a GitHub Enterprise account.\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise. For more information, see [Authentication](https://developer.github.com/enterprise/2.18/v3/#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://developer.github.com/enterprise/2.18/v3/users/emails/)\".\n\nhttps://developer.github.com/enterprise/2.18/v3/users/#get-a-single-user", @@ -10648,8 +10693,8 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2040__", + "parentId": "__FLD_53__", + "_id": "__REQ_1588__", "_type": "request", "name": "List events performed by a user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-events-performed-by-a-user", @@ -10675,8 +10720,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2041__", + "parentId": "__FLD_53__", + "_id": "__REQ_1589__", "_type": "request", "name": "List events for an organization", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-events-for-an-organization", @@ -10702,8 +10747,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2042__", + "parentId": "__FLD_53__", + "_id": "__REQ_1590__", "_type": "request", "name": "List public events performed by a user", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-public-events-performed-by-a-user", @@ -10729,11 +10774,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2043__", + "parentId": "__FLD_75__", + "_id": "__REQ_1591__", "_type": "request", - "name": "List a user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#list-followers-of-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10756,11 +10801,11 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2044__", + "parentId": "__FLD_75__", + "_id": "__REQ_1592__", "_type": "request", - "name": "List who a user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#list-users-followed-by-another-user", + "name": "List users followed by another user", + "description": "Lists the people who the specified user follows.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#list-users-followed-by-another-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10783,8 +10828,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2045__", + "parentId": "__FLD_75__", + "_id": "__REQ_1593__", "_type": "request", "name": "Check if one user follows another", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/users/followers/#check-if-one-user-follows-another", @@ -10799,11 +10844,11 @@ "parameters": [] }, { - "parentId": "__FLD_82__", - "_id": "__REQ_2046__", + "parentId": "__FLD_59__", + "_id": "__REQ_1594__", "_type": "request", - "name": "List public gists for the specified user", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-a-users-gists", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://developer.github.com/enterprise/2.18/v3/gists/#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10830,8 +10875,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2047__", + "parentId": "__FLD_75__", + "_id": "__REQ_1595__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/gpg_keys/#list-gpg-keys-for-a-user", @@ -10857,8 +10902,8 @@ ] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2048__", + "parentId": "__FLD_75__", + "_id": "__REQ_1596__", "_type": "request", "name": "Get contextual information about a user", "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\nhttps://developer.github.com/enterprise/2.18/v3/users/#get-contextual-information-about-a-user", @@ -10887,8 +10932,8 @@ ] }, { - "parentId": "__FLD_77__", - "_id": "__REQ_2049__", + "parentId": "__FLD_54__", + "_id": "__REQ_1597__", "_type": "request", "name": "Get a user installation", "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.18/v3/apps/#get-a-user-installation", @@ -10908,8 +10953,8 @@ "parameters": [] }, { - "parentId": "__FLD_98__", - "_id": "__REQ_2050__", + "parentId": "__FLD_75__", + "_id": "__REQ_1598__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.18/v3/users/keys/#list-public-keys-for-a-user", @@ -10935,8 +10980,8 @@ ] }, { - "parentId": "__FLD_90__", - "_id": "__REQ_2051__", + "parentId": "__FLD_67__", + "_id": "__REQ_1599__", "_type": "request", "name": "List user organizations", "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List your organizations](https://developer.github.com/enterprise/2.18/v3/orgs/#list-your-organizations) API instead.\n\nhttps://developer.github.com/enterprise/2.18/v3/orgs/#list-user-organizations", @@ -10962,8 +11007,8 @@ ] }, { - "parentId": "__FLD_91__", - "_id": "__REQ_2052__", + "parentId": "__FLD_68__", + "_id": "__REQ_1600__", "_type": "request", "name": "List user projects", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/projects/#list-user-projects", @@ -10999,8 +11044,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2053__", + "parentId": "__FLD_53__", + "_id": "__REQ_1601__", "_type": "request", "name": "List events that a user has received", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-events-that-a-user-has-received", @@ -11026,8 +11071,8 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2054__", + "parentId": "__FLD_53__", + "_id": "__REQ_1602__", "_type": "request", "name": "List public events that a user has received", "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/events/#list-public-events-that-a-user-has-received", @@ -11053,11 +11098,11 @@ ] }, { - "parentId": "__FLD_95__", - "_id": "__REQ_2055__", + "parentId": "__FLD_72__", + "_id": "__REQ_1603__", "_type": "request", - "name": "List user repositories", - "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-user-repositories", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/enterprise/2.18/v3/repos/#list-repositories-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11094,8 +11139,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_2056__", + "parentId": "__FLD_58__", + "_id": "__REQ_1604__", "_type": "request", "name": "Promote an ordinary user to a site administrator", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#promote-an-ordinary-user-to-a-site-administrator", @@ -11110,8 +11155,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_2057__", + "parentId": "__FLD_58__", + "_id": "__REQ_1605__", "_type": "request", "name": "Demote a site administrator to an ordinary user", "description": "You can demote any user account except your own.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#demote-a-site-administrator-to-an-ordinary-user", @@ -11126,11 +11171,11 @@ "parameters": [] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2058__", + "parentId": "__FLD_53__", + "_id": "__REQ_1606__", "_type": "request", - "name": "List repositories being starred by a user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.18/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.18/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/starring/#list-repositories-starred-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11163,11 +11208,11 @@ ] }, { - "parentId": "__FLD_76__", - "_id": "__REQ_2059__", + "parentId": "__FLD_53__", + "_id": "__REQ_1607__", "_type": "request", - "name": "List repositories being watched by a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://developer.github.com/enterprise/2.18/v3/activity/watching/#list-repositories-watched-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11190,8 +11235,8 @@ ] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_2060__", + "parentId": "__FLD_58__", + "_id": "__REQ_1608__", "_type": "request", "name": "Suspend a user", "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.18/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#suspend-a-user", @@ -11206,8 +11251,8 @@ "parameters": [] }, { - "parentId": "__FLD_81__", - "_id": "__REQ_2061__", + "parentId": "__FLD_58__", + "_id": "__REQ_1609__", "_type": "request", "name": "Unsuspend a user", "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://developer.github.com/enterprise/2.18/v3/enterprise-admin/users/#unsuspend-a-user", diff --git a/routes/ghe-2.19.json b/routes/ghe-2.19.json index 8e092ab..1ccd3f8 100644 --- a/routes/ghe-2.19.json +++ b/routes/ghe-2.19.json @@ -1,12 +1,12 @@ { "_type": "export", "__export_format": 4, - "__export_date": "2020-01-23T05:12:18.716Z", + "__export_date": "2020-03-21T19:15:42.449Z", "__export_source": "github-rest-apis-for-insomnia:1.1.1", "resources": [ { "parentId": "__WORKSPACE_ID__", - "_id": "__FLD_99__", + "_id": "__FLD_76__", "_type": "request_group", "name": "GitHub Enterprise REST API v3", "environment": { @@ -84,146 +84,146 @@ } }, { - "parentId": "__FLD_99__", - "_id": "__FLD_100__", + "parentId": "__FLD_76__", + "_id": "__FLD_77__", "_type": "request_group", "name": "activity" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_101__", + "parentId": "__FLD_76__", + "_id": "__FLD_78__", "_type": "request_group", "name": "apps" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_102__", + "parentId": "__FLD_76__", + "_id": "__FLD_79__", "_type": "request_group", "name": "checks" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_103__", + "parentId": "__FLD_76__", + "_id": "__FLD_80__", "_type": "request_group", "name": "codes-of-conduct" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_104__", + "parentId": "__FLD_76__", + "_id": "__FLD_81__", "_type": "request_group", "name": "emojis" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_105__", + "parentId": "__FLD_76__", + "_id": "__FLD_82__", "_type": "request_group", "name": "enterprise-admin" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_106__", + "parentId": "__FLD_76__", + "_id": "__FLD_83__", "_type": "request_group", "name": "gists" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_107__", + "parentId": "__FLD_76__", + "_id": "__FLD_84__", "_type": "request_group", "name": "git" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_108__", + "parentId": "__FLD_76__", + "_id": "__FLD_85__", "_type": "request_group", "name": "gitignore" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_109__", + "parentId": "__FLD_76__", + "_id": "__FLD_86__", "_type": "request_group", "name": "issues" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_110__", + "parentId": "__FLD_76__", + "_id": "__FLD_87__", "_type": "request_group", "name": "licenses" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_111__", + "parentId": "__FLD_76__", + "_id": "__FLD_88__", "_type": "request_group", "name": "markdown" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_112__", + "parentId": "__FLD_76__", + "_id": "__FLD_89__", "_type": "request_group", "name": "meta" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_113__", + "parentId": "__FLD_76__", + "_id": "__FLD_90__", "_type": "request_group", "name": "oauth-authorizations" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_114__", + "parentId": "__FLD_76__", + "_id": "__FLD_91__", "_type": "request_group", "name": "orgs" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_115__", + "parentId": "__FLD_76__", + "_id": "__FLD_92__", "_type": "request_group", "name": "projects" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_116__", + "parentId": "__FLD_76__", + "_id": "__FLD_93__", "_type": "request_group", "name": "pulls" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_117__", + "parentId": "__FLD_76__", + "_id": "__FLD_94__", "_type": "request_group", "name": "rate-limit" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_118__", + "parentId": "__FLD_76__", + "_id": "__FLD_95__", "_type": "request_group", "name": "reactions" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_119__", + "parentId": "__FLD_76__", + "_id": "__FLD_96__", "_type": "request_group", "name": "repos" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_120__", + "parentId": "__FLD_76__", + "_id": "__FLD_97__", "_type": "request_group", "name": "search" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_121__", + "parentId": "__FLD_76__", + "_id": "__FLD_98__", "_type": "request_group", "name": "teams" }, { - "parentId": "__FLD_99__", - "_id": "__FLD_122__", + "parentId": "__FLD_76__", + "_id": "__FLD_99__", "_type": "request_group", "name": "users" }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2062__", + "parentId": "__FLD_82__", + "_id": "__REQ_1610__", "_type": "request", "name": "List global hooks", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/global_webhooks/#list-global-hooks", @@ -254,8 +254,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2063__", + "parentId": "__FLD_82__", + "_id": "__REQ_1611__", "_type": "request", "name": "Create a global hook", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/global_webhooks/#create-a-global-hook", @@ -275,8 +275,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2064__", + "parentId": "__FLD_82__", + "_id": "__REQ_1612__", "_type": "request", "name": "Get single global hook", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/global_webhooks/#get-single-global-hook", @@ -296,8 +296,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2065__", + "parentId": "__FLD_82__", + "_id": "__REQ_1613__", "_type": "request", "name": "Edit a global hook", "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/global_webhooks/#edit-a-global-hook", @@ -317,8 +317,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2066__", + "parentId": "__FLD_82__", + "_id": "__REQ_1614__", "_type": "request", "name": "Delete a global hook", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/global_webhooks/#delete-a-global-hook", @@ -338,8 +338,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2067__", + "parentId": "__FLD_82__", + "_id": "__REQ_1615__", "_type": "request", "name": "Ping a global hook", "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.19/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/global_webhooks/#ping-a-global-hook", @@ -359,8 +359,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2068__", + "parentId": "__FLD_82__", + "_id": "__REQ_1616__", "_type": "request", "name": "Delete a public key", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#delete-a-public-key", @@ -375,8 +375,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2069__", + "parentId": "__FLD_82__", + "_id": "__REQ_1617__", "_type": "request", "name": "Update LDAP mapping for a team", "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create team](https://developer.github.com/enterprise/2.19/v3/teams/#create-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-team", @@ -396,8 +396,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2070__", + "parentId": "__FLD_82__", + "_id": "__REQ_1618__", "_type": "request", "name": "Sync LDAP mapping for a team", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-team", @@ -412,8 +412,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2071__", + "parentId": "__FLD_82__", + "_id": "__REQ_1619__", "_type": "request", "name": "Update LDAP mapping for a user", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user", @@ -428,8 +428,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2072__", + "parentId": "__FLD_82__", + "_id": "__REQ_1620__", "_type": "request", "name": "Sync LDAP mapping for a user", "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-user", @@ -444,8 +444,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2073__", + "parentId": "__FLD_82__", + "_id": "__REQ_1621__", "_type": "request", "name": "Create an organization", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/orgs/#create-an-organization", @@ -460,8 +460,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2074__", + "parentId": "__FLD_82__", + "_id": "__REQ_1622__", "_type": "request", "name": "Rename an organization", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/orgs/#rename-an-organization", @@ -476,8 +476,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2075__", + "parentId": "__FLD_82__", + "_id": "__REQ_1623__", "_type": "request", "name": "List pre-receive environments", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#list-pre-receive-environments", @@ -503,8 +503,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2076__", + "parentId": "__FLD_82__", + "_id": "__REQ_1624__", "_type": "request", "name": "Create a pre-receive environment", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#create-a-pre-receive-environment", @@ -519,8 +519,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2077__", + "parentId": "__FLD_82__", + "_id": "__REQ_1625__", "_type": "request", "name": "Get a single pre-receive environment", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#get-a-single-pre-receive-environment", @@ -535,8 +535,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2078__", + "parentId": "__FLD_82__", + "_id": "__REQ_1626__", "_type": "request", "name": "Edit a pre-receive environment", "description": "If you attempt to modify the default environment, you will get a response like this:\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#edit-a-pre-receive-environment", @@ -551,8 +551,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2079__", + "parentId": "__FLD_82__", + "_id": "__REQ_1627__", "_type": "request", "name": "Delete a pre-receive environment", "description": "If you attempt to delete an environment that cannot be deleted, you will get a response like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#delete-a-pre-receive-environment", @@ -567,8 +567,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2080__", + "parentId": "__FLD_82__", + "_id": "__REQ_1628__", "_type": "request", "name": "Trigger a pre-receive environment download", "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will get a reponse like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#trigger-a-pre-receive-environment-download", @@ -583,8 +583,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2081__", + "parentId": "__FLD_82__", + "_id": "__REQ_1629__", "_type": "request", "name": "Get a pre-receive environment's download status", "description": "In addition to seeing the download status at the `/admin/pre-receive-environments/:pre_receive_environment_id`, there is also a separate endpoint for just the status.\n\nPossible values for `state` are `not_started`, `in_progress`, `success`, `failed`.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_environments/#get-a-pre-receive-environments-download-status", @@ -612,8 +612,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2082__", + "parentId": "__FLD_82__", + "_id": "__REQ_1630__", "_type": "request", "name": "List pre-receive hooks", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_hooks/#list-pre-receive-hooks", @@ -639,8 +639,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2083__", + "parentId": "__FLD_82__", + "_id": "__REQ_1631__", "_type": "request", "name": "Create a pre-receive hook", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_hooks/#create-a-pre-receive-hook", @@ -655,8 +655,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2084__", + "parentId": "__FLD_82__", + "_id": "__REQ_1632__", "_type": "request", "name": "Get a single pre-receive hook", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_hooks/#get-a-single-pre-receive-hook", @@ -671,8 +671,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2085__", + "parentId": "__FLD_82__", + "_id": "__REQ_1633__", "_type": "request", "name": "Edit a pre-receive hook", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_hooks/#edit-a-pre-receive-hook", @@ -687,8 +687,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2086__", + "parentId": "__FLD_82__", + "_id": "__REQ_1634__", "_type": "request", "name": "Delete a pre-receive hook", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/pre_receive_hooks/#delete-a-pre-receive-hook", @@ -703,8 +703,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2087__", + "parentId": "__FLD_82__", + "_id": "__REQ_1635__", "_type": "request", "name": "List personal access tokens", "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#list-personal-access-tokens", @@ -730,8 +730,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2088__", + "parentId": "__FLD_82__", + "_id": "__REQ_1636__", "_type": "request", "name": "Delete a personal access token", "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#delete-a-personal-access-token", @@ -746,8 +746,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2089__", + "parentId": "__FLD_82__", + "_id": "__REQ_1637__", "_type": "request", "name": "Create a new user", "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://developer.github.com/enterprise/2.19/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#create-a-new-user", @@ -762,8 +762,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2090__", + "parentId": "__FLD_82__", + "_id": "__REQ_1638__", "_type": "request", "name": "Rename an existing user", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#rename-an-existing-user", @@ -778,8 +778,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2091__", + "parentId": "__FLD_82__", + "_id": "__REQ_1639__", "_type": "request", "name": "Delete a user", "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#delete-a-user", @@ -794,8 +794,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2092__", + "parentId": "__FLD_82__", + "_id": "__REQ_1640__", "_type": "request", "name": "Create an impersonation OAuth token", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#create-an-impersonation-oauth-token", @@ -810,8 +810,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2093__", + "parentId": "__FLD_82__", + "_id": "__REQ_1641__", "_type": "request", "name": "Delete an impersonation OAuth token", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#delete-an-impersonation-oauth-token", @@ -826,8 +826,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2094__", + "parentId": "__FLD_78__", + "_id": "__REQ_1642__", "_type": "request", "name": "Get the authenticated GitHub App", "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations](https://developer.github.com/enterprise/2.19/v3/apps/#list-installations)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#get-the-authenticated-github-app", @@ -847,8 +847,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2095__", + "parentId": "__FLD_78__", + "_id": "__REQ_1643__", "_type": "request", "name": "Create a GitHub App from a manifest", "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://developer.github.com/enterprise/2.19/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#create-a-github-app-from-a-manifest", @@ -868,8 +868,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2096__", + "parentId": "__FLD_78__", + "_id": "__REQ_1644__", "_type": "request", "name": "List installations", "description": "You must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#list-installations", @@ -900,8 +900,8 @@ ] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2097__", + "parentId": "__FLD_78__", + "_id": "__REQ_1645__", "_type": "request", "name": "Get an installation", "description": "You must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#get-an-installation", @@ -921,8 +921,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2098__", + "parentId": "__FLD_78__", + "_id": "__REQ_1646__", "_type": "request", "name": "Delete an installation", "description": "Uninstalls a GitHub App on a user, organization, or business account.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#delete-an-installation", @@ -942,11 +942,11 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2099__", + "parentId": "__FLD_78__", + "_id": "__REQ_1647__", "_type": "request", "name": "Create a new installation token", - "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token.\n\nBy default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThis example grants the token \"Read and write\" permission to `issues` and \"Read\" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#create-a-new-installation-token", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThis example grants the token \"Read and write\" permission to `issues` and \"Read\" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#create-a-new-installation-token", "headers": [ { "name": "Accept", @@ -963,8 +963,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2100__", + "parentId": "__FLD_90__", + "_id": "__REQ_1648__", "_type": "request", "name": "List your grants", "description": "You can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#list-your-grants", @@ -990,8 +990,8 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2101__", + "parentId": "__FLD_90__", + "_id": "__REQ_1649__", "_type": "request", "name": "Get a single grant", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#get-a-single-grant", @@ -1006,8 +1006,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2102__", + "parentId": "__FLD_90__", + "_id": "__REQ_1650__", "_type": "request", "name": "Delete a grant", "description": "Deleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#delete-a-grant", @@ -1022,8 +1022,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2103__", + "parentId": "__FLD_90__", + "_id": "__REQ_1651__", "_type": "request", "name": "Revoke a grant for an application", "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#revoke-a-grant-for-an-application", @@ -1038,8 +1038,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2104__", + "parentId": "__FLD_90__", + "_id": "__REQ_1652__", "_type": "request", "name": "Check an authorization", "description": "OAuth applications can use a special API method for checking OAuth token validity without running afoul of normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#check-an-authorization", @@ -1054,8 +1054,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2105__", + "parentId": "__FLD_90__", + "_id": "__REQ_1653__", "_type": "request", "name": "Reset an authorization", "description": "OAuth applications can use this API method to reset a valid OAuth token without end user involvement. Applications must save the \"token\" property in the response, because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth#basic-authentication) when accessing it, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#reset-an-authorization", @@ -1070,8 +1070,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2106__", + "parentId": "__FLD_90__", + "_id": "__REQ_1654__", "_type": "request", "name": "Revoke an authorization for an application", "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth#basic-authentication) for this method, where the username is the OAuth application `client_id` and the password is its `client_secret`.\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#revoke-an-authorization-for-an-application", @@ -1086,8 +1086,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2107__", + "parentId": "__FLD_78__", + "_id": "__REQ_1655__", "_type": "request", "name": "Get a single GitHub App", "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#get-a-single-github-app", @@ -1107,8 +1107,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2108__", + "parentId": "__FLD_90__", + "_id": "__REQ_1656__", "_type": "request", "name": "List your authorizations", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#list-your-authorizations", @@ -1134,8 +1134,8 @@ ] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2109__", + "parentId": "__FLD_90__", + "_id": "__REQ_1657__", "_type": "request", "name": "Create a new authorization", "description": "**Warning:** Apps must use the [web application flow](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.19/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can use this endpoint to create multiple OAuth tokens instead of implementing the [web flow](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/authorizing-oauth-apps/).\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#create-a-new-authorization", @@ -1150,8 +1150,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2110__", + "parentId": "__FLD_90__", + "_id": "__REQ_1658__", "_type": "request", "name": "Get-or-create an authorization for a specific app", "description": "**Warning:** Apps must use the [web application flow](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.19/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", @@ -1166,8 +1166,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2111__", + "parentId": "__FLD_90__", + "_id": "__REQ_1659__", "_type": "request", "name": "Get-or-create an authorization for a specific app and fingerprint", "description": "**Warning:** Apps must use the [web application flow](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.19/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", @@ -1182,8 +1182,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2112__", + "parentId": "__FLD_90__", + "_id": "__REQ_1660__", "_type": "request", "name": "Get a single authorization", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#get-a-single-authorization", @@ -1198,8 +1198,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2113__", + "parentId": "__FLD_90__", + "_id": "__REQ_1661__", "_type": "request", "name": "Update an existing authorization", "description": "If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.19/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#update-an-existing-authorization", @@ -1214,8 +1214,8 @@ "parameters": [] }, { - "parentId": "__FLD_113__", - "_id": "__REQ_2114__", + "parentId": "__FLD_90__", + "_id": "__REQ_1662__", "_type": "request", "name": "Delete an authorization", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#delete-an-authorization", @@ -1230,8 +1230,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2115__", + "parentId": "__FLD_80__", + "_id": "__REQ_1663__", "_type": "request", "name": "List all codes of conduct", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/codes_of_conduct/#list-all-codes-of-conduct", @@ -1251,8 +1251,8 @@ "parameters": [] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2116__", + "parentId": "__FLD_80__", + "_id": "__REQ_1664__", "_type": "request", "name": "Get an individual code of conduct", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/codes_of_conduct/#get-an-individual-code-of-conduct", @@ -1272,8 +1272,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2117__", + "parentId": "__FLD_78__", + "_id": "__REQ_1665__", "_type": "request", "name": "Create a content attachment", "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://developer.github.com/enterprise/2.19/v3/activity/events/types/#contentreferenceevent) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://developer.github.com/enterprise/2.19/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nThis example creates a content attachment for the domain `https://errors.ai/`.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/installations/#create-a-content-attachment", @@ -1293,8 +1293,8 @@ "parameters": [] }, { - "parentId": "__FLD_104__", - "_id": "__REQ_2118__", + "parentId": "__FLD_81__", + "_id": "__REQ_1666__", "_type": "request", "name": "Get", "description": "Lists all the emojis available to use on GitHub Enterprise.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/emojis/#emojis", @@ -1309,8 +1309,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2119__", + "parentId": "__FLD_82__", + "_id": "__REQ_1667__", "_type": "request", "name": "Get license information", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/license/#get-license-information", @@ -1325,8 +1325,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2120__", + "parentId": "__FLD_82__", + "_id": "__REQ_1668__", "_type": "request", "name": "Get statistics", "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/admin_stats/#get-statistics", @@ -1341,8 +1341,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2121__", + "parentId": "__FLD_77__", + "_id": "__REQ_1669__", "_type": "request", "name": "List public events", "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-public-events", @@ -1368,8 +1368,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2122__", + "parentId": "__FLD_77__", + "_id": "__REQ_1670__", "_type": "request", "name": "List feeds", "description": "GitHub Enterprise provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise global public timeline\n* **User**: The public timeline for any user, using [URI template](https://developer.github.com/enterprise/2.19/v3/#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/enterprise/2.19/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/feeds/#list-feeds", @@ -1384,11 +1384,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2123__", + "parentId": "__FLD_83__", + "_id": "__REQ_1671__", "_type": "request", - "name": "List the authenticated user's gists or if called anonymously, this will return all public gists", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-a-users-gists", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-gists-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1415,8 +1415,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2124__", + "parentId": "__FLD_83__", + "_id": "__REQ_1672__", "_type": "request", "name": "Create a gist", "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#create-a-gist", @@ -1431,11 +1431,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2125__", + "parentId": "__FLD_83__", + "_id": "__REQ_1673__", "_type": "request", - "name": "List all public gists", - "description": "List all public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/enterprise/2.19/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-all-public-gists", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/enterprise/2.19/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-public-gists", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1462,8 +1462,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2126__", + "parentId": "__FLD_83__", + "_id": "__REQ_1674__", "_type": "request", "name": "List starred gists", "description": "List the authenticated user's starred gists:\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-starred-gists", @@ -1493,11 +1493,11 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2127__", + "parentId": "__FLD_83__", + "_id": "__REQ_1675__", "_type": "request", - "name": "Get a single gist", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#get-a-single-gist", + "name": "Get a gist", + "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#get-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1509,11 +1509,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2128__", + "parentId": "__FLD_83__", + "_id": "__REQ_1676__", "_type": "request", - "name": "Edit a gist", - "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#edit-a-gist", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#update-a-gist", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1525,8 +1525,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2129__", + "parentId": "__FLD_83__", + "_id": "__REQ_1677__", "_type": "request", "name": "Delete a gist", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#delete-a-gist", @@ -1541,8 +1541,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2130__", + "parentId": "__FLD_83__", + "_id": "__REQ_1678__", "_type": "request", "name": "List comments on a gist", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/comments/#list-comments-on-a-gist", @@ -1568,8 +1568,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2131__", + "parentId": "__FLD_83__", + "_id": "__REQ_1679__", "_type": "request", "name": "Create a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/comments/#create-a-comment", @@ -1584,8 +1584,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2132__", + "parentId": "__FLD_83__", + "_id": "__REQ_1680__", "_type": "request", "name": "Get a single comment", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/comments/#get-a-single-comment", @@ -1600,8 +1600,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2133__", + "parentId": "__FLD_83__", + "_id": "__REQ_1681__", "_type": "request", "name": "Edit a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/comments/#edit-a-comment", @@ -1616,8 +1616,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2134__", + "parentId": "__FLD_83__", + "_id": "__REQ_1682__", "_type": "request", "name": "Delete a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/comments/#delete-a-comment", @@ -1632,8 +1632,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2135__", + "parentId": "__FLD_83__", + "_id": "__REQ_1683__", "_type": "request", "name": "List gist commits", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-gist-commits", @@ -1659,8 +1659,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2136__", + "parentId": "__FLD_83__", + "_id": "__REQ_1684__", "_type": "request", "name": "Fork a gist", "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#fork-a-gist", @@ -1675,8 +1675,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2137__", + "parentId": "__FLD_83__", + "_id": "__REQ_1685__", "_type": "request", "name": "List gist forks", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-gist-forks", @@ -1702,8 +1702,8 @@ ] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2138__", + "parentId": "__FLD_83__", + "_id": "__REQ_1686__", "_type": "request", "name": "Star a gist", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#star-a-gist", @@ -1718,8 +1718,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2139__", + "parentId": "__FLD_83__", + "_id": "__REQ_1687__", "_type": "request", "name": "Unstar a gist", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#unstar-a-gist", @@ -1734,8 +1734,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2140__", + "parentId": "__FLD_83__", + "_id": "__REQ_1688__", "_type": "request", "name": "Check if a gist is starred", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#check-if-a-gist-is-starred", @@ -1750,8 +1750,8 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2141__", + "parentId": "__FLD_83__", + "_id": "__REQ_1689__", "_type": "request", "name": "Get a specific revision of a gist", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#get-a-specific-revision-of-a-gist", @@ -1766,11 +1766,11 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2142__", + "parentId": "__FLD_85__", + "_id": "__REQ_1690__", "_type": "request", "name": "Listing available templates", - "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/enterprise/2.19/v3/repos/#create).\n\nhttps://developer.github.com/enterprise/2.19/v3/gitignore/#listing-available-templates", + "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/enterprise/2.19/v3/repos/#create-a-repository-for-the-authenticated-user).\n\nhttps://developer.github.com/enterprise/2.19/v3/gitignore/#listing-available-templates", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1782,8 +1782,8 @@ "parameters": [] }, { - "parentId": "__FLD_108__", - "_id": "__REQ_2143__", + "parentId": "__FLD_85__", + "_id": "__REQ_1691__", "_type": "request", "name": "Get a single template", "description": "The API also allows fetching the source of a single template.\n\nUse the raw [media type](https://developer.github.com/enterprise/2.19/v3/media/) to get the raw contents.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/gitignore/#get-a-single-template", @@ -1798,8 +1798,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2144__", + "parentId": "__FLD_78__", + "_id": "__REQ_1692__", "_type": "request", "name": "List repositories", "description": "List repositories that an installation can access.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/installations/#list-repositories", @@ -1830,11 +1830,11 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2145__", + "parentId": "__FLD_86__", + "_id": "__REQ_1693__", "_type": "request", - "name": "List all issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#list-issues", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not necessarily assigned to you. See the [Parameters table](https://developer.github.com/enterprise/2.19/v3/issues/#parameters) for more information.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#list-issues-assigned-to-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -1885,8 +1885,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2146__", + "parentId": "__FLD_97__", + "_id": "__REQ_1694__", "_type": "request", "name": "Search issues", "description": "Find issues by state and keyword.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/legacy/#search-issues", @@ -1901,8 +1901,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2147__", + "parentId": "__FLD_97__", + "_id": "__REQ_1695__", "_type": "request", "name": "Search repositories", "description": "Find repositories by keyword. Note, this legacy method does not follow the v3 pagination pattern. This method returns up to 100 results per page and pages can be fetched using the `start_page` parameter.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/legacy/#search-repositories", @@ -1934,8 +1934,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2148__", + "parentId": "__FLD_97__", + "_id": "__REQ_1696__", "_type": "request", "name": "Email search", "description": "This API call is added for compatibility reasons only. There's no guarantee that full email searches will always be available. The `@` character in the address must be left unencoded. Searches only against public email addresses (as configured on the user's GitHub Enterprise profile).\n\nhttps://developer.github.com/enterprise/2.19/v3/search/legacy/#email-search", @@ -1950,8 +1950,8 @@ "parameters": [] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2149__", + "parentId": "__FLD_97__", + "_id": "__REQ_1697__", "_type": "request", "name": "Search users", "description": "Find users by keyword.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/legacy/#search-users", @@ -1979,8 +1979,8 @@ ] }, { - "parentId": "__FLD_110__", - "_id": "__REQ_2150__", + "parentId": "__FLD_87__", + "_id": "__REQ_1698__", "_type": "request", "name": "List commonly used licenses", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/licenses/#list-commonly-used-licenses", @@ -1995,8 +1995,8 @@ "parameters": [] }, { - "parentId": "__FLD_110__", - "_id": "__REQ_2151__", + "parentId": "__FLD_87__", + "_id": "__REQ_1699__", "_type": "request", "name": "Get an individual license", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/licenses/#get-an-individual-license", @@ -2011,8 +2011,8 @@ "parameters": [] }, { - "parentId": "__FLD_111__", - "_id": "__REQ_2152__", + "parentId": "__FLD_88__", + "_id": "__REQ_1700__", "_type": "request", "name": "Render an arbitrary Markdown document", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/markdown/#render-an-arbitrary-markdown-document", @@ -2027,8 +2027,8 @@ "parameters": [] }, { - "parentId": "__FLD_111__", - "_id": "__REQ_2153__", + "parentId": "__FLD_88__", + "_id": "__REQ_1701__", "_type": "request", "name": "Render a Markdown document in raw mode", "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/markdown/#render-a-markdown-document-in-raw-mode", @@ -2043,8 +2043,8 @@ "parameters": [] }, { - "parentId": "__FLD_112__", - "_id": "__REQ_2154__", + "parentId": "__FLD_89__", + "_id": "__REQ_1702__", "_type": "request", "name": "Get", "description": "If you access this endpoint on your organization's [GitHub Enterprise Server](https://enterprise.github.com/) installation, this endpoint provides information about that installation.\n\n**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.19/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.19/v3/meta/#meta", @@ -2059,8 +2059,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2155__", + "parentId": "__FLD_77__", + "_id": "__REQ_1703__", "_type": "request", "name": "List public events for a network of repositories", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-public-events-for-a-network-of-repositories", @@ -2086,8 +2086,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2156__", + "parentId": "__FLD_77__", + "_id": "__REQ_1704__", "_type": "request", "name": "List your notifications", "description": "List all notifications for the current user, sorted by most recently updated.\n\nThe following example uses the `since` parameter to list notifications that have been updated after the specified time.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#list-your-notifications", @@ -2131,8 +2131,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2157__", + "parentId": "__FLD_77__", + "_id": "__REQ_1705__", "_type": "request", "name": "Mark as read", "description": "Marks a notification as \"read\" removes it from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications](https://developer.github.com/enterprise/2.19/v3/activity/notifications/#list-your-notifications) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#mark-as-read", @@ -2147,8 +2147,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2158__", + "parentId": "__FLD_77__", + "_id": "__REQ_1706__", "_type": "request", "name": "View a single thread", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#view-a-single-thread", @@ -2163,8 +2163,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2159__", + "parentId": "__FLD_77__", + "_id": "__REQ_1707__", "_type": "request", "name": "Mark a thread as read", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#mark-a-thread-as-read", @@ -2179,8 +2179,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2160__", + "parentId": "__FLD_77__", + "_id": "__REQ_1708__", "_type": "request", "name": "Get a thread subscription", "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://developer.github.com/enterprise/2.19/v3/activity/watching/#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#get-a-thread-subscription", @@ -2195,8 +2195,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2161__", + "parentId": "__FLD_77__", + "_id": "__REQ_1709__", "_type": "request", "name": "Set a thread subscription", "description": "This lets you subscribe or unsubscribe from a conversation.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#set-a-thread-subscription", @@ -2211,8 +2211,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2162__", + "parentId": "__FLD_77__", + "_id": "__REQ_1710__", "_type": "request", "name": "Delete a thread subscription", "description": "Mutes all future notifications for a conversation until you comment on the thread or get **@mention**ed.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#delete-a-thread-subscription", @@ -2227,8 +2227,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2163__", + "parentId": "__FLD_91__", + "_id": "__REQ_1711__", "_type": "request", "name": "List all organizations", "description": "Lists all organizations, in the order that they were created on GitHub Enterprise.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.19/v3/#link-header) to get the URL for the next page of organizations.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/#list-all-organizations", @@ -2258,8 +2258,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2164__", + "parentId": "__FLD_91__", + "_id": "__REQ_1712__", "_type": "request", "name": "Get an organization", "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. 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://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/#get-an-organization", @@ -2279,8 +2279,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2165__", + "parentId": "__FLD_91__", + "_id": "__REQ_1713__", "_type": "request", "name": "Edit an organization", "description": "**Note:** The new `members_allowed_repository_creation_type` replaces the functionality of `members_can_create_repositories`.\n\nSetting `members_allowed_repository_creation_type` will override the value of `members_can_create_repositories` in the following ways:\n\n* Setting `members_allowed_repository_creation_type` to `all` or `private` sets `members_can_create_repositories` to `true`.\n* Setting `members_allowed_repository_creation_type` to `none` sets `members_can_create_repositories` to `false`.\n* If you omit `members_allowed_repository_creation_type`, `members_can_create_repositories` is not modified.\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/#edit-an-organization", @@ -2300,8 +2300,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2166__", + "parentId": "__FLD_77__", + "_id": "__REQ_1714__", "_type": "request", "name": "List public events for an organization", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-public-events-for-an-organization", @@ -2327,8 +2327,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2167__", + "parentId": "__FLD_91__", + "_id": "__REQ_1715__", "_type": "request", "name": "List hooks", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/hooks/#list-hooks", @@ -2354,8 +2354,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2168__", + "parentId": "__FLD_91__", + "_id": "__REQ_1716__", "_type": "request", "name": "Create a hook", "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/hooks/#create-a-hook", @@ -2370,8 +2370,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2169__", + "parentId": "__FLD_91__", + "_id": "__REQ_1717__", "_type": "request", "name": "Get single hook", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/hooks/#get-single-hook", @@ -2386,8 +2386,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2170__", + "parentId": "__FLD_91__", + "_id": "__REQ_1718__", "_type": "request", "name": "Edit a hook", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/hooks/#edit-a-hook", @@ -2402,8 +2402,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2171__", + "parentId": "__FLD_91__", + "_id": "__REQ_1719__", "_type": "request", "name": "Delete a hook", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/hooks/#delete-a-hook", @@ -2418,8 +2418,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2172__", + "parentId": "__FLD_91__", + "_id": "__REQ_1720__", "_type": "request", "name": "Ping a hook", "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.19/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/hooks/#ping-a-hook", @@ -2434,8 +2434,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2173__", + "parentId": "__FLD_78__", + "_id": "__REQ_1721__", "_type": "request", "name": "Get an organization installation", "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#get-an-organization-installation", @@ -2455,8 +2455,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2174__", + "parentId": "__FLD_91__", + "_id": "__REQ_1722__", "_type": "request", "name": "List 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. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/#list-installations-for-an-organization", @@ -2487,11 +2487,11 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2175__", + "parentId": "__FLD_86__", + "_id": "__REQ_1723__", "_type": "request", - "name": "List all issues for a given organization assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#list-issues", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -2542,8 +2542,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2176__", + "parentId": "__FLD_91__", + "_id": "__REQ_1724__", "_type": "request", "name": "Members list", "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.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#members-list", @@ -2579,8 +2579,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2177__", + "parentId": "__FLD_91__", + "_id": "__REQ_1725__", "_type": "request", "name": "Check membership", "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#check-membership", @@ -2595,8 +2595,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2178__", + "parentId": "__FLD_91__", + "_id": "__REQ_1726__", "_type": "request", "name": "Remove a 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.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#remove-a-member", @@ -2611,8 +2611,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2179__", + "parentId": "__FLD_91__", + "_id": "__REQ_1727__", "_type": "request", "name": "Get organization membership", "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#get-organization-membership", @@ -2627,8 +2627,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2180__", + "parentId": "__FLD_91__", + "_id": "__REQ_1728__", "_type": "request", "name": "Add or update organization membership", "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#add-or-update-organization-membership", @@ -2643,8 +2643,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2181__", + "parentId": "__FLD_91__", + "_id": "__REQ_1729__", "_type": "request", "name": "Remove organization membership", "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#remove-organization-membership", @@ -2659,8 +2659,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2182__", + "parentId": "__FLD_91__", + "_id": "__REQ_1730__", "_type": "request", "name": "List outside collaborators", "description": "List all users who are outside collaborators of an organization.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/outside_collaborators/#list-outside-collaborators", @@ -2691,8 +2691,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2183__", + "parentId": "__FLD_91__", + "_id": "__REQ_1731__", "_type": "request", "name": "Remove outside collaborator", "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/outside_collaborators/#remove-outside-collaborator", @@ -2707,8 +2707,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2184__", + "parentId": "__FLD_91__", + "_id": "__REQ_1732__", "_type": "request", "name": "Convert 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://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator", @@ -2723,8 +2723,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2185__", + "parentId": "__FLD_82__", + "_id": "__REQ_1733__", "_type": "request", "name": "List pre-receive hooks for 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.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/org_pre_receive_hooks/#list-pre-receive-hooks", @@ -2750,8 +2750,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2186__", + "parentId": "__FLD_82__", + "_id": "__REQ_1734__", "_type": "request", "name": "Get a single pre-receive hook for organization", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/org_pre_receive_hooks/#get-a-single-pre-receive-hook", @@ -2766,8 +2766,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2187__", + "parentId": "__FLD_82__", + "_id": "__REQ_1735__", "_type": "request", "name": "Update pre-receive hook enforcement for organization", "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/org_pre_receive_hooks/#update-pre-receive-hook-enforcement", @@ -2782,8 +2782,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2188__", + "parentId": "__FLD_82__", + "_id": "__REQ_1736__", "_type": "request", "name": "Remove enforcement overrides for a pre-receive hook for organization", "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/org_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", @@ -2798,8 +2798,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2189__", + "parentId": "__FLD_92__", + "_id": "__REQ_1737__", "_type": "request", "name": "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.\n\ns\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#list-organization-projects", @@ -2835,8 +2835,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2190__", + "parentId": "__FLD_92__", + "_id": "__REQ_1738__", "_type": "request", "name": "Create an organization project", "description": "Creates an organization project board. 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.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#create-an-organization-project", @@ -2856,8 +2856,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2191__", + "parentId": "__FLD_91__", + "_id": "__REQ_1739__", "_type": "request", "name": "Public members list", "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#public-members-list", @@ -2883,8 +2883,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2192__", + "parentId": "__FLD_91__", + "_id": "__REQ_1740__", "_type": "request", "name": "Check public membership", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#check-public-membership", @@ -2899,8 +2899,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2193__", + "parentId": "__FLD_91__", + "_id": "__REQ_1741__", "_type": "request", "name": "Publicize a user's membership", "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#publicize-a-users-membership", @@ -2915,8 +2915,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2194__", + "parentId": "__FLD_91__", + "_id": "__REQ_1742__", "_type": "request", "name": "Conceal a user's membership", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#conceal-a-users-membership", @@ -2931,8 +2931,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2195__", + "parentId": "__FLD_96__", + "_id": "__REQ_1743__", "_type": "request", "name": "List organization repositories", "description": "Lists repositories for the specified organization.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-organization-repositories", @@ -2977,11 +2977,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2196__", + "parentId": "__FLD_96__", + "_id": "__REQ_1744__", "_type": "request", - "name": "Creates a new repository in the specified organization", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#create", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#create-an-organization-repository", "headers": [ { "name": "Accept", @@ -2998,8 +2998,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2197__", + "parentId": "__FLD_98__", + "_id": "__REQ_1745__", "_type": "request", "name": "List teams", "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#list-teams", @@ -3030,8 +3030,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2198__", + "parentId": "__FLD_98__", + "_id": "__REQ_1746__", "_type": "request", "name": "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://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen 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://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#create-team", @@ -3051,8 +3051,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2199__", + "parentId": "__FLD_98__", + "_id": "__REQ_1747__", "_type": "request", "name": "Get team by name", "description": "Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#get-team-by-name", @@ -3067,8 +3067,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2200__", + "parentId": "__FLD_92__", + "_id": "__REQ_1748__", "_type": "request", "name": "Get a project card", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/cards/#get-a-project-card", @@ -3088,8 +3088,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2201__", + "parentId": "__FLD_92__", + "_id": "__REQ_1749__", "_type": "request", "name": "Update a project card", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/cards/#update-a-project-card", @@ -3109,8 +3109,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2202__", + "parentId": "__FLD_92__", + "_id": "__REQ_1750__", "_type": "request", "name": "Delete a project card", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/cards/#delete-a-project-card", @@ -3130,8 +3130,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2203__", + "parentId": "__FLD_92__", + "_id": "__REQ_1751__", "_type": "request", "name": "Move a project card", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/cards/#move-a-project-card", @@ -3151,8 +3151,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2204__", + "parentId": "__FLD_92__", + "_id": "__REQ_1752__", "_type": "request", "name": "Get a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/columns/#get-a-project-column", @@ -3172,8 +3172,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2205__", + "parentId": "__FLD_92__", + "_id": "__REQ_1753__", "_type": "request", "name": "Update a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/columns/#update-a-project-column", @@ -3193,8 +3193,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2206__", + "parentId": "__FLD_92__", + "_id": "__REQ_1754__", "_type": "request", "name": "Delete a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/columns/#delete-a-project-column", @@ -3214,8 +3214,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2207__", + "parentId": "__FLD_92__", + "_id": "__REQ_1755__", "_type": "request", "name": "List project cards", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/cards/#list-project-cards", @@ -3251,8 +3251,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2208__", + "parentId": "__FLD_92__", + "_id": "__REQ_1756__", "_type": "request", "name": "Create a project card", "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/cards/#create-a-project-card", @@ -3272,8 +3272,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2209__", + "parentId": "__FLD_92__", + "_id": "__REQ_1757__", "_type": "request", "name": "Move a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/columns/#move-a-project-column", @@ -3293,8 +3293,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2210__", + "parentId": "__FLD_92__", + "_id": "__REQ_1758__", "_type": "request", "name": "Get a project", "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#get-a-project", @@ -3311,22 +3311,11 @@ "method": "GET", "url": "{{ github_api_root }}/projects/{{ project_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2211__", + "parentId": "__FLD_92__", + "_id": "__REQ_1759__", "_type": "request", "name": "Update a project", "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#update-a-project", @@ -3346,8 +3335,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2212__", + "parentId": "__FLD_92__", + "_id": "__REQ_1760__", "_type": "request", "name": "Delete a project", "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#delete-a-project", @@ -3367,8 +3356,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2213__", + "parentId": "__FLD_92__", + "_id": "__REQ_1761__", "_type": "request", "name": "List collaborators", "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/collaborators/#list-collaborators", @@ -3404,8 +3393,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2214__", + "parentId": "__FLD_92__", + "_id": "__REQ_1762__", "_type": "request", "name": "Add user as a collaborator", "description": "Adds a collaborator to a an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/collaborators/#add-user-as-a-collaborator", @@ -3425,8 +3414,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2215__", + "parentId": "__FLD_92__", + "_id": "__REQ_1763__", "_type": "request", "name": "Remove user as a collaborator", "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/collaborators/#remove-user-as-a-collaborator", @@ -3446,8 +3435,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2216__", + "parentId": "__FLD_92__", + "_id": "__REQ_1764__", "_type": "request", "name": "Review a user's permission level", "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/collaborators/#review-a-users-permission-level", @@ -3467,8 +3456,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2217__", + "parentId": "__FLD_92__", + "_id": "__REQ_1765__", "_type": "request", "name": "List project columns", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/columns/#list-project-columns", @@ -3499,8 +3488,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2218__", + "parentId": "__FLD_92__", + "_id": "__REQ_1766__", "_type": "request", "name": "Create a project column", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/columns/#create-a-project-column", @@ -3520,8 +3509,8 @@ "parameters": [] }, { - "parentId": "__FLD_117__", - "_id": "__REQ_2219__", + "parentId": "__FLD_94__", + "_id": "__REQ_1767__", "_type": "request", "name": "Get your current rate limit status", "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Understanding your rate limit status**\n\nThe Search API has a [custom rate limit](https://developer.github.com/enterprise/2.19/v3/search/#rate-limit), separate from the rate limit governing the rest of the REST API. The GraphQL API also has a [custom rate limit](https://developer.github.com/enterprise/2.19/v4/guides/resource-limitations/#rate-limit) that is separate from and calculated differently than rate limits in the REST API.\n\nFor these reasons, the Rate Limit API response categorizes your rate limit. Under `resources`, you'll see four objects:\n\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the [Search API](https://developer.github.com/enterprise/2.19/v3/search/).\n* The `graphql` object provides your rate limit status for the [GraphQL API](https://developer.github.com/enterprise/2.19/v4/).\n* The `integration_manifest` object provides your rate limit status for the [GitHub App Manifest code conversion](https://developer.github.com/enterprise/2.19/apps/building-github-apps/creating-github-apps-from-a-manifest/#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration) endpoint.\n\nFor more information on the headers and values in the rate limit response, see \"[Rate limiting](https://developer.github.com/enterprise/2.19/v3/#rate-limiting).\"\n\nThe `rate` object (shown at the bottom of the response above) is deprecated.\n\nIf you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://developer.github.com/enterprise/2.19/v3/rate_limit/#get-your-current-rate-limit-status", @@ -3536,8 +3525,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2220__", + "parentId": "__FLD_95__", + "_id": "__REQ_1768__", "_type": "request", "name": "Delete a reaction", "description": "OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/enterprise/2.19/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#delete-a-reaction", @@ -3557,12 +3546,17 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2221__", + "parentId": "__FLD_96__", + "_id": "__REQ_1769__", "_type": "request", - "name": "Get", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#get", - "headers": [], + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#get-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], "authentication": { "token": "{{ github_token }}", "type": "bearer" @@ -3573,11 +3567,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2222__", + "parentId": "__FLD_96__", + "_id": "__REQ_1770__", "_type": "request", - "name": "Edit", - "description": "**Note**: To edit a repository's topics, use the [`topics` endpoint](https://developer.github.com/enterprise/2.19/v3/repos/#replace-all-topics-for-a-repository).\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#edit", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://developer.github.com/enterprise/2.19/v3/repos/#replace-all-repository-topics) endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#update-a-repository", "headers": [ { "name": "Accept", @@ -3594,8 +3588,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2223__", + "parentId": "__FLD_96__", + "_id": "__REQ_1771__", "_type": "request", "name": "Delete a repository", "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:\n\nIf a site admin has configured the enterprise appliance to prevent users from deleting organization-owned repositories, a user will get this response:\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#delete-a-repository", @@ -3610,8 +3604,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2224__", + "parentId": "__FLD_86__", + "_id": "__REQ_1772__", "_type": "request", "name": "List assignees", "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/assignees/#list-assignees", @@ -3637,8 +3631,8 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2225__", + "parentId": "__FLD_86__", + "_id": "__REQ_1773__", "_type": "request", "name": "Check assignee", "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/assignees/#check-assignee", @@ -3653,8 +3647,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2226__", + "parentId": "__FLD_96__", + "_id": "__REQ_1774__", "_type": "request", "name": "List branches", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#list-branches", @@ -3684,8 +3678,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2227__", + "parentId": "__FLD_96__", + "_id": "__REQ_1775__", "_type": "request", "name": "Get branch", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-branch", @@ -3700,8 +3694,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2228__", + "parentId": "__FLD_96__", + "_id": "__REQ_1776__", "_type": "request", "name": "Get branch protection", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-branch-protection", @@ -3721,8 +3715,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2229__", + "parentId": "__FLD_96__", + "_id": "__REQ_1777__", "_type": "request", "name": "Update branch protection", "description": "Protecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#update-branch-protection", @@ -3742,8 +3736,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2230__", + "parentId": "__FLD_96__", + "_id": "__REQ_1778__", "_type": "request", "name": "Remove branch protection", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-branch-protection", @@ -3758,8 +3752,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2231__", + "parentId": "__FLD_96__", + "_id": "__REQ_1779__", "_type": "request", "name": "Get admin enforcement of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-admin-enforcement-of-protected-branch", @@ -3774,8 +3768,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2232__", + "parentId": "__FLD_96__", + "_id": "__REQ_1780__", "_type": "request", "name": "Add admin enforcement of protected branch", "description": "Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#add-admin-enforcement-of-protected-branch", @@ -3790,8 +3784,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2233__", + "parentId": "__FLD_96__", + "_id": "__REQ_1781__", "_type": "request", "name": "Remove admin enforcement of protected branch", "description": "Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-admin-enforcement-of-protected-branch", @@ -3806,8 +3800,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2234__", + "parentId": "__FLD_96__", + "_id": "__REQ_1782__", "_type": "request", "name": "Get pull request review enforcement of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-pull-request-review-enforcement-of-protected-branch", @@ -3827,8 +3821,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2235__", + "parentId": "__FLD_96__", + "_id": "__REQ_1783__", "_type": "request", "name": "Update pull request review enforcement of protected branch", "description": "Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch", @@ -3848,8 +3842,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2236__", + "parentId": "__FLD_96__", + "_id": "__REQ_1784__", "_type": "request", "name": "Remove pull request review enforcement of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-pull-request-review-enforcement-of-protected-branch", @@ -3864,8 +3858,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2237__", + "parentId": "__FLD_96__", + "_id": "__REQ_1785__", "_type": "request", "name": "Get required signatures of protected branch", "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-required-signatures-of-protected-branch", @@ -3885,8 +3879,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2238__", + "parentId": "__FLD_96__", + "_id": "__REQ_1786__", "_type": "request", "name": "Add required signatures of protected branch", "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#add-required-signatures-of-protected-branch", @@ -3906,8 +3900,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2239__", + "parentId": "__FLD_96__", + "_id": "__REQ_1787__", "_type": "request", "name": "Remove required signatures of protected branch", "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-required-signatures-of-protected-branch", @@ -3927,8 +3921,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2240__", + "parentId": "__FLD_96__", + "_id": "__REQ_1788__", "_type": "request", "name": "Get required status checks of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-required-status-checks-of-protected-branch", @@ -3943,8 +3937,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2241__", + "parentId": "__FLD_96__", + "_id": "__REQ_1789__", "_type": "request", "name": "Update required status checks of protected branch", "description": "Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#update-required-status-checks-of-protected-branch", @@ -3959,8 +3953,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2242__", + "parentId": "__FLD_96__", + "_id": "__REQ_1790__", "_type": "request", "name": "Remove required status checks of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-required-status-checks-of-protected-branch", @@ -3975,8 +3969,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2243__", + "parentId": "__FLD_96__", + "_id": "__REQ_1791__", "_type": "request", "name": "List required status checks contexts of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#list-required-status-checks-contexts-of-protected-branch", @@ -3991,8 +3985,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2244__", + "parentId": "__FLD_96__", + "_id": "__REQ_1792__", "_type": "request", "name": "Replace required status checks contexts of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#replace-required-status-checks-contexts-of-protected-branch", @@ -4007,8 +4001,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2245__", + "parentId": "__FLD_96__", + "_id": "__REQ_1793__", "_type": "request", "name": "Add required status checks contexts of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#add-required-status-checks-contexts-of-protected-branch", @@ -4023,8 +4017,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2246__", + "parentId": "__FLD_96__", + "_id": "__REQ_1794__", "_type": "request", "name": "Remove required status checks contexts of protected branch", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-required-status-checks-contexts-of-protected-branch", @@ -4039,8 +4033,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2247__", + "parentId": "__FLD_96__", + "_id": "__REQ_1795__", "_type": "request", "name": "Get restrictions of protected branch", "description": "Lists who has access to this protected branch. {{#note}}\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#get-restrictions-of-protected-branch", @@ -4055,8 +4049,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2248__", + "parentId": "__FLD_96__", + "_id": "__REQ_1796__", "_type": "request", "name": "Remove restrictions of protected branch", "description": "Disables the ability to restrict who can push to this branch.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-restrictions-of-protected-branch", @@ -4071,8 +4065,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2249__", + "parentId": "__FLD_96__", + "_id": "__REQ_1797__", "_type": "request", "name": "Get apps with access to protected branch", "description": "Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#list-apps-with-access-to-protected-branch", @@ -4087,8 +4081,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2250__", + "parentId": "__FLD_96__", + "_id": "__REQ_1798__", "_type": "request", "name": "Replace app restrictions of protected branch", "description": "Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#replace-app-restrictions-of-protected-branch", @@ -4103,8 +4097,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2251__", + "parentId": "__FLD_96__", + "_id": "__REQ_1799__", "_type": "request", "name": "Add app restrictions of protected branch", "description": "Grants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#add-app-restrictions-of-protected-branch", @@ -4119,8 +4113,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2252__", + "parentId": "__FLD_96__", + "_id": "__REQ_1800__", "_type": "request", "name": "Remove app restrictions of protected branch", "description": "Removes the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-app-restrictions-of-protected-branch", @@ -4135,8 +4129,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2253__", + "parentId": "__FLD_96__", + "_id": "__REQ_1801__", "_type": "request", "name": "Get teams with access to protected branch", "description": "Lists the teams who have push access to this branch. If you pass the `hellcat-preview` media type, the list includes child teams.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#list-teams-with-access-to-protected-branch", @@ -4156,8 +4150,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2254__", + "parentId": "__FLD_96__", + "_id": "__REQ_1802__", "_type": "request", "name": "Replace team restrictions of protected branch", "description": "Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. If you pass the `hellcat-preview` media type, team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#replace-team-restrictions-of-protected-branch", @@ -4177,8 +4171,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2255__", + "parentId": "__FLD_96__", + "_id": "__REQ_1803__", "_type": "request", "name": "Add team restrictions of protected branch", "description": "Grants the specified teams push access for this branch. If you pass the `hellcat-preview` media type, you can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#add-team-restrictions-of-protected-branch", @@ -4198,8 +4192,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2256__", + "parentId": "__FLD_96__", + "_id": "__REQ_1804__", "_type": "request", "name": "Remove team restrictions of protected branch", "description": "Removes the ability of a team to push to this branch. If you pass the `hellcat-preview` media type, you can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-team-restrictions-of-protected-branch", @@ -4219,8 +4213,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2257__", + "parentId": "__FLD_96__", + "_id": "__REQ_1805__", "_type": "request", "name": "Get users with access to protected branch", "description": "Lists the people who have push access to this branch.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#list-users-with-access-to-protected-branch", @@ -4235,8 +4229,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2258__", + "parentId": "__FLD_96__", + "_id": "__REQ_1806__", "_type": "request", "name": "Replace user restrictions of protected branch", "description": "Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#replace-user-restrictions-of-protected-branch", @@ -4251,8 +4245,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2259__", + "parentId": "__FLD_96__", + "_id": "__REQ_1807__", "_type": "request", "name": "Add user restrictions of protected branch", "description": "Grants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#add-user-restrictions-of-protected-branch", @@ -4267,8 +4261,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2260__", + "parentId": "__FLD_96__", + "_id": "__REQ_1808__", "_type": "request", "name": "Remove user restrictions of protected branch", "description": "Removes the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/branches/#remove-user-restrictions-of-protected-branch", @@ -4283,8 +4277,8 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2261__", + "parentId": "__FLD_79__", + "_id": "__REQ_1809__", "_type": "request", "name": "Create a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/runs/#create-a-check-run", @@ -4304,8 +4298,8 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2262__", + "parentId": "__FLD_79__", + "_id": "__REQ_1810__", "_type": "request", "name": "Update a check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/runs/#update-a-check-run", @@ -4325,8 +4319,8 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2263__", + "parentId": "__FLD_79__", + "_id": "__REQ_1811__", "_type": "request", "name": "Get a single check run", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/runs/#get-a-single-check-run", @@ -4346,8 +4340,8 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2264__", + "parentId": "__FLD_79__", + "_id": "__REQ_1812__", "_type": "request", "name": "List annotations for a check run", "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/runs/#list-annotations-for-a-check-run", @@ -4378,8 +4372,8 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2265__", + "parentId": "__FLD_79__", + "_id": "__REQ_1813__", "_type": "request", "name": "Create a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://developer.github.com/enterprise/2.19/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Set preferences for check suites on a repository](https://developer.github.com/enterprise/2.19/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/suites/#create-a-check-suite", @@ -4399,8 +4393,8 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2266__", + "parentId": "__FLD_79__", + "_id": "__REQ_1814__", "_type": "request", "name": "Set preferences for check suites on a repository", "description": "Changes the default automatic flow when creating check suites. By default, the CheckSuiteEvent is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/enterprise/2.19/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository", @@ -4420,8 +4414,8 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2267__", + "parentId": "__FLD_79__", + "_id": "__REQ_1815__", "_type": "request", "name": "Get a single check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/suites/#get-a-single-check-suite", @@ -4441,8 +4435,8 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2268__", + "parentId": "__FLD_79__", + "_id": "__REQ_1816__", "_type": "request", "name": "List check runs in a check suite", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/runs/#list-check-runs-in-a-check-suite", @@ -4486,8 +4480,8 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2269__", + "parentId": "__FLD_79__", + "_id": "__REQ_1817__", "_type": "request", "name": "Rerequest check suite", "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/enterprise/2.19/v3/activity/events/types/#checksuiteevent) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/suites/#rerequest-check-suite", @@ -4507,8 +4501,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2270__", + "parentId": "__FLD_96__", + "_id": "__REQ_1818__", "_type": "request", "name": "List collaborators", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/collaborators/#list-collaborators", @@ -4544,8 +4538,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2271__", + "parentId": "__FLD_96__", + "_id": "__REQ_1819__", "_type": "request", "name": "Check if a user is a collaborator", "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nIf you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/collaborators/#check-if-a-user-is-a-collaborator", @@ -4565,11 +4559,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2272__", + "parentId": "__FLD_96__", + "_id": "__REQ_1820__", "_type": "request", "name": "Add user as a collaborator", - "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/collaborators/#add-user-as-a-collaborator", + "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\" in the GitHub Help documentation.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/collaborators/#add-user-as-a-collaborator", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -4581,8 +4575,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2273__", + "parentId": "__FLD_96__", + "_id": "__REQ_1821__", "_type": "request", "name": "Remove user as a collaborator", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/collaborators/#remove-user-as-a-collaborator", @@ -4597,8 +4591,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2274__", + "parentId": "__FLD_96__", + "_id": "__REQ_1822__", "_type": "request", "name": "Review a user's permission level", "description": "Possible values for the `permission` key: `admin`, `write`, `read`, `none`.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/collaborators/#review-a-users-permission-level", @@ -4613,8 +4607,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2275__", + "parentId": "__FLD_96__", + "_id": "__REQ_1823__", "_type": "request", "name": "List commit comments for a repository", "description": "Commit Comments use [these custom media types](https://developer.github.com/enterprise/2.19/v3/repos/comments/#custom-media-types). You can read more about the use of media types in the API [here](https://developer.github.com/enterprise/2.19/v3/media/).\n\nComments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/comments/#list-commit-comments-for-a-repository", @@ -4640,8 +4634,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2276__", + "parentId": "__FLD_96__", + "_id": "__REQ_1824__", "_type": "request", "name": "Get a single commit comment", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/comments/#get-a-single-commit-comment", @@ -4656,8 +4650,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2277__", + "parentId": "__FLD_96__", + "_id": "__REQ_1825__", "_type": "request", "name": "Update a commit comment", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/comments/#update-a-commit-comment", @@ -4672,8 +4666,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2278__", + "parentId": "__FLD_96__", + "_id": "__REQ_1826__", "_type": "request", "name": "Delete a commit comment", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/comments/#delete-a-commit-comment", @@ -4688,8 +4682,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2279__", + "parentId": "__FLD_95__", + "_id": "__REQ_1827__", "_type": "request", "name": "List reactions for a commit comment", "description": "List the reactions to a [commit comment](https://developer.github.com/enterprise/2.19/v3/repos/comments/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#list-reactions-for-a-commit-comment", @@ -4724,8 +4718,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2280__", + "parentId": "__FLD_95__", + "_id": "__REQ_1828__", "_type": "request", "name": "Create reaction for a commit comment", "description": "Create a reaction to a [commit comment](https://developer.github.com/enterprise/2.19/v3/repos/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#create-reaction-for-a-commit-comment", @@ -4745,8 +4739,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2281__", + "parentId": "__FLD_96__", + "_id": "__REQ_1829__", "_type": "request", "name": "List commits on a repository", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/commits/#list-commits-on-a-repository", @@ -4792,8 +4786,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2282__", + "parentId": "__FLD_96__", + "_id": "__REQ_1830__", "_type": "request", "name": "List branches for HEAD commit", "description": "Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/commits/#list-branches-for-head-commit", @@ -4813,8 +4807,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2283__", + "parentId": "__FLD_96__", + "_id": "__REQ_1831__", "_type": "request", "name": "List comments for a single commit", "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/comments/#list-comments-for-a-single-commit", @@ -4840,8 +4834,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2284__", + "parentId": "__FLD_96__", + "_id": "__REQ_1832__", "_type": "request", "name": "Create a commit comment", "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/comments/#create-a-commit-comment", @@ -4856,8 +4850,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2285__", + "parentId": "__FLD_96__", + "_id": "__REQ_1833__", "_type": "request", "name": "List pull requests associated with commit", "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests) endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/commits/#list-pull-requests-associated-with-commit", @@ -4888,8 +4882,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2286__", + "parentId": "__FLD_96__", + "_id": "__REQ_1834__", "_type": "request", "name": "Get a single commit", "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\nYou can pass the appropriate [media type](https://developer.github.com/enterprise/2.19/v3/media/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://developer.github.com/enterprise/2.19/v3/media/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/commits/#get-a-single-commit", @@ -4904,8 +4898,8 @@ "parameters": [] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2287__", + "parentId": "__FLD_79__", + "_id": "__REQ_1835__", "_type": "request", "name": "List check runs for a specific ref", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/runs/#list-check-runs-for-a-specific-ref", @@ -4949,8 +4943,8 @@ ] }, { - "parentId": "__FLD_102__", - "_id": "__REQ_2288__", + "parentId": "__FLD_79__", + "_id": "__REQ_1836__", "_type": "request", "name": "List check suites for a specific ref", "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/checks/suites/#list-check-suites-for-a-specific-ref", @@ -4989,8 +4983,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2289__", + "parentId": "__FLD_96__", + "_id": "__REQ_1837__", "_type": "request", "name": "Get the combined status for a specific ref", "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://developer.github.com/enterprise/2.19/v3/#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref", @@ -5005,8 +4999,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2290__", + "parentId": "__FLD_96__", + "_id": "__REQ_1838__", "_type": "request", "name": "List statuses for a specific ref", "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statuses/#list-statuses-for-a-specific-ref", @@ -5032,8 +5026,8 @@ ] }, { - "parentId": "__FLD_103__", - "_id": "__REQ_2291__", + "parentId": "__FLD_80__", + "_id": "__REQ_1839__", "_type": "request", "name": "Get the contents of a repository's code of conduct", "description": "This method returns the contents of the repository's code of conduct file, if one is detected.\n\nhttps://developer.github.com/enterprise/2.19/v3/codes_of_conduct/#get-the-contents-of-a-repositorys-code-of-conduct", @@ -5053,8 +5047,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2292__", + "parentId": "__FLD_96__", + "_id": "__REQ_1840__", "_type": "request", "name": "Compare two commits", "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://developer.github.com/enterprise/2.19/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [Commit List API](https://developer.github.com/enterprise/2.19/v3/repos/commits/#list-commits-on-a-repository) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/commits/#compare-two-commits", @@ -5069,8 +5063,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2293__", + "parentId": "__FLD_96__", + "_id": "__REQ_1841__", "_type": "request", "name": "Get contents", "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit `:path`, you will receive the contents of all files in the repository.\n\nFiles and symlinks support [a custom media type](https://developer.github.com/enterprise/2.19/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML (when supported). All content types support [a custom media type](https://developer.github.com/enterprise/2.19/v3/repos/contents/#custom-media-types) to ensure the content is returned in a consistent object format.\n\n**Note**:\n\n* To get a repository's contents recursively, you can [recursively get the tree](https://developer.github.com/enterprise/2.19/v3/git/trees/).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](https://developer.github.com/enterprise/2.19/v3/git/trees/#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\nThe response will be an array of objects, one object for each item in the directory.\n\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the [format shown above](https://developer.github.com/enterprise/2.19/v3/repos/contents/#response-if-content-is-a-file)).\n\nOtherwise, the API responds with an object describing the symlink itself:\n\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/contents/#get-contents", @@ -5090,8 +5084,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2294__", + "parentId": "__FLD_96__", + "_id": "__REQ_1842__", "_type": "request", "name": "Create or update a file", "description": "Creates a new file or updates an existing file in a repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/contents/#create-or-update-a-file", @@ -5106,8 +5100,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2295__", + "parentId": "__FLD_96__", + "_id": "__REQ_1843__", "_type": "request", "name": "Delete a file", "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/contents/#delete-a-file", @@ -5122,8 +5116,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2296__", + "parentId": "__FLD_96__", + "_id": "__REQ_1844__", "_type": "request", "name": "List contributors", "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-contributors", @@ -5153,8 +5147,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2297__", + "parentId": "__FLD_96__", + "_id": "__REQ_1845__", "_type": "request", "name": "List deployments", "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/deployments/#list-deployments", @@ -5205,11 +5199,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2298__", + "parentId": "__FLD_96__", + "_id": "__REQ_1846__", "_type": "request", "name": "Create a deployment", - "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/enterprise/2.19/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master`in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/deployments/#create-a-deployment", + "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/enterprise/2.19/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/deployments/#create-a-deployment", "headers": [ { "name": "Accept", @@ -5226,8 +5220,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2299__", + "parentId": "__FLD_96__", + "_id": "__REQ_1847__", "_type": "request", "name": "Get a single deployment", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/deployments/#get-a-single-deployment", @@ -5247,8 +5241,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2300__", + "parentId": "__FLD_96__", + "_id": "__REQ_1848__", "_type": "request", "name": "List deployment statuses", "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/deployments/#list-deployment-statuses", @@ -5279,8 +5273,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2301__", + "parentId": "__FLD_96__", + "_id": "__REQ_1849__", "_type": "request", "name": "Create a deployment status", "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/deployments/#create-a-deployment-status", @@ -5300,8 +5294,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2302__", + "parentId": "__FLD_96__", + "_id": "__REQ_1850__", "_type": "request", "name": "Get a single deployment status", "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/deployments/#get-a-single-deployment-status", @@ -5321,8 +5315,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2303__", + "parentId": "__FLD_96__", + "_id": "__REQ_1851__", "_type": "request", "name": "List downloads for a repository", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/downloads/#list-downloads-for-a-repository", @@ -5348,8 +5342,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2304__", + "parentId": "__FLD_96__", + "_id": "__REQ_1852__", "_type": "request", "name": "Get a single download", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/downloads/#get-a-single-download", @@ -5364,8 +5358,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2305__", + "parentId": "__FLD_96__", + "_id": "__REQ_1853__", "_type": "request", "name": "Delete a download", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/downloads/#delete-a-download", @@ -5380,8 +5374,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2306__", + "parentId": "__FLD_77__", + "_id": "__REQ_1854__", "_type": "request", "name": "List repository events", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-repository-events", @@ -5407,8 +5401,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2307__", + "parentId": "__FLD_96__", + "_id": "__REQ_1855__", "_type": "request", "name": "List forks", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/forks/#list-forks", @@ -5439,8 +5433,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2308__", + "parentId": "__FLD_96__", + "_id": "__REQ_1856__", "_type": "request", "name": "Create a fork", "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact your GitHub Enterprise site administrator.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/forks/#create-a-fork", @@ -5455,8 +5449,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2309__", + "parentId": "__FLD_84__", + "_id": "__REQ_1857__", "_type": "request", "name": "Create a blob", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/git/blobs/#create-a-blob", @@ -5471,8 +5465,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2310__", + "parentId": "__FLD_84__", + "_id": "__REQ_1858__", "_type": "request", "name": "Get a blob", "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://developer.github.com/enterprise/2.19/v3/git/blobs/#get-a-blob", @@ -5487,8 +5481,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2311__", + "parentId": "__FLD_84__", + "_id": "__REQ_1859__", "_type": "request", "name": "Create a commit", "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\nIn this example, the payload of the signature would be:\n\n\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.19/v3/git/commits/#create-a-commit", @@ -5503,8 +5497,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2312__", + "parentId": "__FLD_84__", + "_id": "__REQ_1860__", "_type": "request", "name": "Get a commit", "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.19/v3/git/commits/#get-a-commit", @@ -5519,8 +5513,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2313__", + "parentId": "__FLD_84__", + "_id": "__REQ_1861__", "_type": "request", "name": "List matching references", "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`. If there are no references to list, a 404 is returned.\n\n**Note:** You need to explicitly [request a pull request](https://developer.github.com/enterprise/2.19/v3/pulls/#get-a-single-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.19/v3/git/#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://developer.github.com/enterprise/2.19/v3/git/refs/#list-matching-references", @@ -5546,8 +5540,8 @@ ] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2314__", + "parentId": "__FLD_84__", + "_id": "__REQ_1862__", "_type": "request", "name": "Get a single reference", "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://developer.github.com/enterprise/2.19/v3/pulls/#get-a-single-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.19/v3/git/#checking-mergeability-of-pull-requests)\".\n\nTo get the reference for a branch named `skunkworkz/featureA`, the endpoint route is:\n\nhttps://developer.github.com/enterprise/2.19/v3/git/refs/#get-a-single-reference", @@ -5562,8 +5556,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2315__", + "parentId": "__FLD_84__", + "_id": "__REQ_1863__", "_type": "request", "name": "Create a reference", "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://developer.github.com/enterprise/2.19/v3/git/refs/#create-a-reference", @@ -5578,8 +5572,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2316__", + "parentId": "__FLD_84__", + "_id": "__REQ_1864__", "_type": "request", "name": "Update a reference", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/git/refs/#update-a-reference", @@ -5594,11 +5588,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2317__", + "parentId": "__FLD_84__", + "_id": "__REQ_1865__", "_type": "request", "name": "Delete a reference", - "description": "```\nDELETE /repos/octocat/Hello-World/git/refs/heads/feature-a\n```\n\n```\nDELETE /repos/octocat/Hello-World/git/refs/tags/v1.0\n```\n\nhttps://developer.github.com/enterprise/2.19/v3/git/refs/#delete-a-reference", + "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/git/refs/#delete-a-reference", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5610,8 +5604,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2318__", + "parentId": "__FLD_84__", + "_id": "__REQ_1866__", "_type": "request", "name": "Create a tag object", "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://developer.github.com/enterprise/2.19/v3/git/refs/#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://developer.github.com/enterprise/2.19/v3/git/refs/#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.19/v3/git/tags/#create-a-tag-object", @@ -5626,8 +5620,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2319__", + "parentId": "__FLD_84__", + "_id": "__REQ_1867__", "_type": "request", "name": "Get a tag", "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.19/v3/git/tags/#get-a-tag", @@ -5642,8 +5636,8 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2320__", + "parentId": "__FLD_84__", + "_id": "__REQ_1868__", "_type": "request", "name": "Create a tree", "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://developer.github.com/enterprise/2.19/v3/git/commits/#create-a-commit)\" and \"[Update a reference](https://developer.github.com/enterprise/2.19/v3/git/refs/#update-a-reference).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/git/trees/#create-a-tree", @@ -5658,11 +5652,11 @@ "parameters": [] }, { - "parentId": "__FLD_107__", - "_id": "__REQ_2321__", + "parentId": "__FLD_84__", + "_id": "__REQ_1869__", "_type": "request", "name": "Get a tree", - "description": "If `truncated` is `true`, the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/enterprise/2.19/v3/git/trees/#get-a-tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/enterprise/2.19/v3/git/trees/#get-a-tree", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5679,8 +5673,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2322__", + "parentId": "__FLD_96__", + "_id": "__REQ_1870__", "_type": "request", "name": "List hooks", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#list-hooks", @@ -5706,8 +5700,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2323__", + "parentId": "__FLD_96__", + "_id": "__REQ_1871__", "_type": "request", "name": "Create a hook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can share the same `config` as long as those webhooks do not have any `events` that overlap.\n\n**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.19/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nHere's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#create-a-hook", @@ -5722,8 +5716,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2324__", + "parentId": "__FLD_96__", + "_id": "__REQ_1872__", "_type": "request", "name": "Get single hook", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#get-single-hook", @@ -5738,8 +5732,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2325__", + "parentId": "__FLD_96__", + "_id": "__REQ_1873__", "_type": "request", "name": "Edit a hook", "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.19/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#edit-a-hook", @@ -5754,8 +5748,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2326__", + "parentId": "__FLD_96__", + "_id": "__REQ_1874__", "_type": "request", "name": "Delete a hook", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#delete-a-hook", @@ -5770,8 +5764,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2327__", + "parentId": "__FLD_96__", + "_id": "__REQ_1875__", "_type": "request", "name": "Ping a hook", "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.19/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger a [ping event](https://developer.github.com/enterprise/2.19/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#ping-a-hook", @@ -5786,8 +5780,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2328__", + "parentId": "__FLD_96__", + "_id": "__REQ_1876__", "_type": "request", "name": "Test a push hook", "description": "**Note:** GitHub Enterprise release 2.17 and higher no longer allows admins to install new GitHub Services, and existing services will stop working in GitHub Enterprise release 2.20 and higher. You can use the [Replacing GitHub Services guide](https://developer.github.com/enterprise/2.19/v3/guides/replacing-github-services) to help you update your services to webhooks.\n\nThis will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/hooks/#test-a-push-hook", @@ -5802,8 +5796,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2329__", + "parentId": "__FLD_78__", + "_id": "__REQ_1877__", "_type": "request", "name": "Get a repository installation", "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#get-a-repository-installation", @@ -5823,8 +5817,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2330__", + "parentId": "__FLD_96__", + "_id": "__REQ_1878__", "_type": "request", "name": "List invitations for a repository", "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/invitations/#list-invitations-for-a-repository", @@ -5850,8 +5844,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2331__", + "parentId": "__FLD_96__", + "_id": "__REQ_1879__", "_type": "request", "name": "Delete a repository invitation", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/invitations/#delete-a-repository-invitation", @@ -5866,8 +5860,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2332__", + "parentId": "__FLD_96__", + "_id": "__REQ_1880__", "_type": "request", "name": "Update a repository invitation", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/invitations/#update-a-repository-invitation", @@ -5882,11 +5876,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2333__", + "parentId": "__FLD_86__", + "_id": "__REQ_1881__", "_type": "request", - "name": "List issues for a repository", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#list-issues-for-a-repository", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#list-repository-issues", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -5948,8 +5942,8 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2334__", + "parentId": "__FLD_86__", + "_id": "__REQ_1882__", "_type": "request", "name": "Create an issue", "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#create-an-issue", @@ -5964,8 +5958,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2335__", + "parentId": "__FLD_86__", + "_id": "__REQ_1883__", "_type": "request", "name": "List comments in a repository", "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/comments/#list-comments-in-a-repository", @@ -5990,12 +5984,22 @@ { "name": "since", "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false } ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2336__", + "parentId": "__FLD_86__", + "_id": "__REQ_1884__", "_type": "request", "name": "Get a single comment", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/comments/#get-a-single-comment", @@ -6007,22 +6011,11 @@ "method": "GET", "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", "body": {}, - "parameters": [ - { - "name": "per_page", - "value": 30, - "disabled": false - }, - { - "name": "page", - "value": 1, - "disabled": false - } - ] + "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2337__", + "parentId": "__FLD_86__", + "_id": "__REQ_1885__", "_type": "request", "name": "Edit a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/comments/#edit-a-comment", @@ -6037,8 +6030,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2338__", + "parentId": "__FLD_86__", + "_id": "__REQ_1886__", "_type": "request", "name": "Delete a comment", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/comments/#delete-a-comment", @@ -6053,8 +6046,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2339__", + "parentId": "__FLD_95__", + "_id": "__REQ_1887__", "_type": "request", "name": "List reactions for an issue comment", "description": "List the reactions to an [issue comment](https://developer.github.com/enterprise/2.19/v3/issues/comments/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#list-reactions-for-an-issue-comment", @@ -6089,8 +6082,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2340__", + "parentId": "__FLD_95__", + "_id": "__REQ_1888__", "_type": "request", "name": "Create reaction for an issue comment", "description": "Create a reaction to an [issue comment](https://developer.github.com/enterprise/2.19/v3/issues/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#create-reaction-for-an-issue-comment", @@ -6110,8 +6103,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2341__", + "parentId": "__FLD_86__", + "_id": "__REQ_1889__", "_type": "request", "name": "List events for a repository", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/events/#list-events-for-a-repository", @@ -6142,8 +6135,8 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2342__", + "parentId": "__FLD_86__", + "_id": "__REQ_1890__", "_type": "request", "name": "Get a single event", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/events/#get-a-single-event", @@ -6163,11 +6156,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2343__", + "parentId": "__FLD_86__", + "_id": "__REQ_1891__", "_type": "request", - "name": "Get a single issue", - "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/enterprise/2.19/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/enterprise/2.19/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#get-a-single-issue", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/enterprise/2.19/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/enterprise/2.19/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#get-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6179,11 +6172,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2344__", + "parentId": "__FLD_86__", + "_id": "__REQ_1892__", "_type": "request", - "name": "Edit an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#edit-an-issue", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#update-an-issue", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -6195,8 +6188,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2345__", + "parentId": "__FLD_86__", + "_id": "__REQ_1893__", "_type": "request", "name": "Add assignees to an issue", "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nThis example adds two assignees to the existing `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/assignees/#add-assignees-to-an-issue", @@ -6211,8 +6204,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2346__", + "parentId": "__FLD_86__", + "_id": "__REQ_1894__", "_type": "request", "name": "Remove assignees from an issue", "description": "Removes one or more assignees from an issue.\n\nThis example removes two of three assignees, leaving the `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/assignees/#remove-assignees-from-an-issue", @@ -6227,8 +6220,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2347__", + "parentId": "__FLD_86__", + "_id": "__REQ_1895__", "_type": "request", "name": "List comments on an issue", "description": "Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/comments/#list-comments-on-an-issue", @@ -6258,8 +6251,8 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2348__", + "parentId": "__FLD_86__", + "_id": "__REQ_1896__", "_type": "request", "name": "Create a comment", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/comments/#create-a-comment", @@ -6274,8 +6267,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2349__", + "parentId": "__FLD_86__", + "_id": "__REQ_1897__", "_type": "request", "name": "List events for an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/events/#list-events-for-an-issue", @@ -6306,8 +6299,8 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2350__", + "parentId": "__FLD_86__", + "_id": "__REQ_1898__", "_type": "request", "name": "List labels on an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#list-labels-on-an-issue", @@ -6333,8 +6326,8 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2351__", + "parentId": "__FLD_86__", + "_id": "__REQ_1899__", "_type": "request", "name": "Add labels to an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#add-labels-to-an-issue", @@ -6349,8 +6342,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2352__", + "parentId": "__FLD_86__", + "_id": "__REQ_1900__", "_type": "request", "name": "Replace all labels for an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#replace-all-labels-for-an-issue", @@ -6365,8 +6358,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2353__", + "parentId": "__FLD_86__", + "_id": "__REQ_1901__", "_type": "request", "name": "Remove all labels from an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#remove-all-labels-from-an-issue", @@ -6381,8 +6374,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2354__", + "parentId": "__FLD_86__", + "_id": "__REQ_1902__", "_type": "request", "name": "Remove a label from an issue", "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#remove-a-label-from-an-issue", @@ -6397,8 +6390,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2355__", + "parentId": "__FLD_86__", + "_id": "__REQ_1903__", "_type": "request", "name": "Lock an issue", "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#lock-an-issue", @@ -6418,8 +6411,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2356__", + "parentId": "__FLD_86__", + "_id": "__REQ_1904__", "_type": "request", "name": "Unlock an issue", "description": "Users with push access can unlock an issue's conversation.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#unlock-an-issue", @@ -6434,8 +6427,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2357__", + "parentId": "__FLD_95__", + "_id": "__REQ_1905__", "_type": "request", "name": "List reactions for an issue", "description": "List the reactions to an [issue](https://developer.github.com/enterprise/2.19/v3/issues/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#list-reactions-for-an-issue", @@ -6470,8 +6463,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2358__", + "parentId": "__FLD_95__", + "_id": "__REQ_1906__", "_type": "request", "name": "Create reaction for an issue", "description": "Create a reaction to an [issue](https://developer.github.com/enterprise/2.19/v3/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#create-reaction-for-an-issue", @@ -6491,8 +6484,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2359__", + "parentId": "__FLD_86__", + "_id": "__REQ_1907__", "_type": "request", "name": "List events for an issue", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/timeline/#list-events-for-an-issue", @@ -6523,8 +6516,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2360__", + "parentId": "__FLD_96__", + "_id": "__REQ_1908__", "_type": "request", "name": "List deploy keys", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/keys/#list-deploy-keys", @@ -6550,8 +6543,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2361__", + "parentId": "__FLD_96__", + "_id": "__REQ_1909__", "_type": "request", "name": "Add a new deploy key", "description": "Here's how you can create a read-only deploy key:\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/keys/#add-a-new-deploy-key", @@ -6566,8 +6559,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2362__", + "parentId": "__FLD_96__", + "_id": "__REQ_1910__", "_type": "request", "name": "Get a deploy key", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/keys/#get-a-deploy-key", @@ -6582,8 +6575,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2363__", + "parentId": "__FLD_96__", + "_id": "__REQ_1911__", "_type": "request", "name": "Remove a deploy key", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/keys/#remove-a-deploy-key", @@ -6598,8 +6591,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2364__", + "parentId": "__FLD_86__", + "_id": "__REQ_1912__", "_type": "request", "name": "List all labels for this repository", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#list-all-labels-for-this-repository", @@ -6625,8 +6618,8 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2365__", + "parentId": "__FLD_86__", + "_id": "__REQ_1913__", "_type": "request", "name": "Create a label", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#create-a-label", @@ -6641,8 +6634,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2366__", + "parentId": "__FLD_86__", + "_id": "__REQ_1914__", "_type": "request", "name": "Get a single label", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#get-a-single-label", @@ -6657,8 +6650,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2367__", + "parentId": "__FLD_86__", + "_id": "__REQ_1915__", "_type": "request", "name": "Update a label", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#update-a-label", @@ -6673,8 +6666,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2368__", + "parentId": "__FLD_86__", + "_id": "__REQ_1916__", "_type": "request", "name": "Delete a label", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#delete-a-label", @@ -6689,8 +6682,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2369__", + "parentId": "__FLD_96__", + "_id": "__REQ_1917__", "_type": "request", "name": "List languages", "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-languages", @@ -6705,8 +6698,8 @@ "parameters": [] }, { - "parentId": "__FLD_110__", - "_id": "__REQ_2370__", + "parentId": "__FLD_87__", + "_id": "__REQ_1918__", "_type": "request", "name": "Get the contents of a repository's license", "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [the repository contents API](https://developer.github.com/enterprise/2.19/v3/repos/contents/#get-contents), this method also supports [custom media types](https://developer.github.com/enterprise/2.19/v3/repos/contents/#custom-media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://developer.github.com/enterprise/2.19/v3/licenses/#get-the-contents-of-a-repositorys-license", @@ -6721,8 +6714,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2371__", + "parentId": "__FLD_96__", + "_id": "__REQ_1919__", "_type": "request", "name": "Perform a merge", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/merging/#perform-a-merge", @@ -6737,8 +6730,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2372__", + "parentId": "__FLD_86__", + "_id": "__REQ_1920__", "_type": "request", "name": "List milestones for a repository", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/milestones/#list-milestones-for-a-repository", @@ -6779,8 +6772,8 @@ ] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2373__", + "parentId": "__FLD_86__", + "_id": "__REQ_1921__", "_type": "request", "name": "Create a milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/milestones/#create-a-milestone", @@ -6795,8 +6788,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2374__", + "parentId": "__FLD_86__", + "_id": "__REQ_1922__", "_type": "request", "name": "Get a single milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/milestones/#get-a-single-milestone", @@ -6811,8 +6804,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2375__", + "parentId": "__FLD_86__", + "_id": "__REQ_1923__", "_type": "request", "name": "Update a milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/milestones/#update-a-milestone", @@ -6827,8 +6820,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2376__", + "parentId": "__FLD_86__", + "_id": "__REQ_1924__", "_type": "request", "name": "Delete a milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/milestones/#delete-a-milestone", @@ -6843,8 +6836,8 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2377__", + "parentId": "__FLD_86__", + "_id": "__REQ_1925__", "_type": "request", "name": "Get labels for every issue in a milestone", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/labels/#get-labels-for-every-issue-in-a-milestone", @@ -6870,8 +6863,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2378__", + "parentId": "__FLD_77__", + "_id": "__REQ_1926__", "_type": "request", "name": "List your notifications in a repository", "description": "List all notifications for the current user.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#list-your-notifications-in-a-repository", @@ -6915,8 +6908,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2379__", + "parentId": "__FLD_77__", + "_id": "__REQ_1927__", "_type": "request", "name": "Mark notifications as read in a repository", "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications in a repository](https://developer.github.com/enterprise/2.19/v3/activity/notifications/#list-your-notifications-in-a-repository) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/notifications/#mark-notifications-as-read-in-a-repository", @@ -6931,8 +6924,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2380__", + "parentId": "__FLD_96__", + "_id": "__REQ_1928__", "_type": "request", "name": "Get information about a Pages site", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#get-information-about-a-pages-site", @@ -6947,8 +6940,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2381__", + "parentId": "__FLD_96__", + "_id": "__REQ_1929__", "_type": "request", "name": "Enable a Pages site", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#enable-a-pages-site", @@ -6968,8 +6961,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2382__", + "parentId": "__FLD_96__", + "_id": "__REQ_1930__", "_type": "request", "name": "Disable a Pages site", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#disable-a-pages-site", @@ -6989,8 +6982,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2383__", + "parentId": "__FLD_96__", + "_id": "__REQ_1931__", "_type": "request", "name": "Update information about a Pages site", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#update-information-about-a-pages-site", @@ -7005,8 +6998,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2384__", + "parentId": "__FLD_96__", + "_id": "__REQ_1932__", "_type": "request", "name": "Request a page build", "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#request-a-page-build", @@ -7021,8 +7014,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2385__", + "parentId": "__FLD_96__", + "_id": "__REQ_1933__", "_type": "request", "name": "List Pages builds", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#list-pages-builds", @@ -7048,8 +7041,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2386__", + "parentId": "__FLD_96__", + "_id": "__REQ_1934__", "_type": "request", "name": "Get latest Pages build", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#get-latest-pages-build", @@ -7064,8 +7057,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2387__", + "parentId": "__FLD_96__", + "_id": "__REQ_1935__", "_type": "request", "name": "Get a specific Pages build", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/pages/#get-a-specific-pages-build", @@ -7080,8 +7073,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2388__", + "parentId": "__FLD_82__", + "_id": "__REQ_1936__", "_type": "request", "name": "List pre-receive hooks for repository", "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/repo_pre_receive_hooks/#list-pre-receive-hooks", @@ -7107,8 +7100,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2389__", + "parentId": "__FLD_82__", + "_id": "__REQ_1937__", "_type": "request", "name": "Get a single pre-receive hook for repository", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/repo_pre_receive_hooks/#get-a-single-pre-receive-hook", @@ -7123,8 +7116,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2390__", + "parentId": "__FLD_82__", + "_id": "__REQ_1938__", "_type": "request", "name": "Update pre-receive hook enforcement for repository", "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/repo_pre_receive_hooks/#update-pre-receive-hook-enforcement", @@ -7139,8 +7132,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2391__", + "parentId": "__FLD_82__", + "_id": "__REQ_1939__", "_type": "request", "name": "Remove enforcement overrides for a pre-receive hook for repository", "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/repo_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", @@ -7155,8 +7148,8 @@ "parameters": [] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2392__", + "parentId": "__FLD_92__", + "_id": "__REQ_1940__", "_type": "request", "name": "List repository projects", "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#list-repository-projects", @@ -7192,8 +7185,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2393__", + "parentId": "__FLD_92__", + "_id": "__REQ_1941__", "_type": "request", "name": "Create a repository project", "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#create-a-repository-project", @@ -7213,8 +7206,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2394__", + "parentId": "__FLD_93__", + "_id": "__REQ_1942__", "_type": "request", "name": "List pull requests", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests", @@ -7267,8 +7260,8 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2395__", + "parentId": "__FLD_93__", + "_id": "__REQ_1943__", "_type": "request", "name": "Create a pull request", "description": "You can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#create-a-pull-request", @@ -7288,8 +7281,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2396__", + "parentId": "__FLD_93__", + "_id": "__REQ_1944__", "_type": "request", "name": "List comments in a repository", "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#list-comments-in-a-repository", @@ -7328,8 +7321,8 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2397__", + "parentId": "__FLD_93__", + "_id": "__REQ_1945__", "_type": "request", "name": "Get a single comment", "description": "Provides details for a review comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#get-a-single-comment", @@ -7344,8 +7337,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2398__", + "parentId": "__FLD_93__", + "_id": "__REQ_1946__", "_type": "request", "name": "Edit a comment", "description": "Enables you to edit a review comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#edit-a-comment", @@ -7360,8 +7353,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2399__", + "parentId": "__FLD_93__", + "_id": "__REQ_1947__", "_type": "request", "name": "Delete a comment", "description": "Deletes a review comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#delete-a-comment", @@ -7376,8 +7369,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2400__", + "parentId": "__FLD_95__", + "_id": "__REQ_1948__", "_type": "request", "name": "List reactions for a pull request review comment", "description": "List the reactions to a [pull request review comment](https://developer.github.com/enterprise/2.19/v3/pulls/comments/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#list-reactions-for-a-pull-request-review-comment", @@ -7412,8 +7405,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2401__", + "parentId": "__FLD_95__", + "_id": "__REQ_1949__", "_type": "request", "name": "Create reaction for a pull request review comment", "description": "Create a reaction to a [pull request review comment](https://developer.github.com/enterprise/2.19/v3/pulls/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#create-reaction-for-a-pull-request-review-comment", @@ -7433,8 +7426,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2402__", + "parentId": "__FLD_93__", + "_id": "__REQ_1950__", "_type": "request", "name": "Get a single pull request", "description": "Lists details of a pull request by providing its number.\n\nWhen you get, [create](https://developer.github.com/enterprise/2.19/v3/pulls/#create-a-pull-request), or [edit](https://developer.github.com/enterprise/2.19/v3/pulls/#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.19/v3/git/#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://developer.github.com/enterprise/2.19/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#get-a-single-pull-request", @@ -7454,8 +7447,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2403__", + "parentId": "__FLD_93__", + "_id": "__REQ_1951__", "_type": "request", "name": "Update a pull request", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#update-a-pull-request", @@ -7475,8 +7468,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2404__", + "parentId": "__FLD_93__", + "_id": "__REQ_1952__", "_type": "request", "name": "List comments on a pull request", "description": "Lists review comments for a pull request. By default, review comments are in ascending order by ID.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#list-comments-on-a-pull-request", @@ -7515,8 +7508,8 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2405__", + "parentId": "__FLD_93__", + "_id": "__REQ_1953__", "_type": "request", "name": "Create a comment", "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Comments](https://developer.github.com/enterprise/2.19/v3/issues/comments/#create-a-comment).\"\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#create-a-comment", @@ -7531,8 +7524,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2406__", + "parentId": "__FLD_93__", + "_id": "__REQ_1954__", "_type": "request", "name": "Create a review comment reply", "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/comments/#create-a-review-comment-reply", @@ -7547,8 +7540,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2407__", + "parentId": "__FLD_93__", + "_id": "__REQ_1955__", "_type": "request", "name": "List commits on a pull request", "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [Commit List API](https://developer.github.com/enterprise/2.19/v3/repos/commits/#list-commits-on-a-repository).\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#list-commits-on-a-pull-request", @@ -7574,11 +7567,11 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2408__", + "parentId": "__FLD_93__", + "_id": "__REQ_1956__", "_type": "request", "name": "List pull requests files", - "description": "**Note:** The response includes a maximum of 300 files.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests-files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests-files", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -7601,8 +7594,8 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2409__", + "parentId": "__FLD_93__", + "_id": "__REQ_1957__", "_type": "request", "name": "Get if a pull request has been merged", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#get-if-a-pull-request-has-been-merged", @@ -7617,8 +7610,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2410__", + "parentId": "__FLD_93__", + "_id": "__REQ_1958__", "_type": "request", "name": "Merge a pull request (Merge Button)", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#merge-a-pull-request-merge-button", @@ -7633,8 +7626,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2411__", + "parentId": "__FLD_93__", + "_id": "__REQ_1959__", "_type": "request", "name": "List review requests", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/review_requests/#list-review-requests", @@ -7660,8 +7653,8 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2412__", + "parentId": "__FLD_93__", + "_id": "__REQ_1960__", "_type": "request", "name": "Create a review request", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/review_requests/#create-a-review-request", @@ -7676,8 +7669,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2413__", + "parentId": "__FLD_93__", + "_id": "__REQ_1961__", "_type": "request", "name": "Delete a review request", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/review_requests/#delete-a-review-request", @@ -7692,8 +7685,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2414__", + "parentId": "__FLD_93__", + "_id": "__REQ_1962__", "_type": "request", "name": "List reviews on a pull request", "description": "The list of reviews returns in chronological order.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#list-reviews-on-a-pull-request", @@ -7719,8 +7712,8 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2415__", + "parentId": "__FLD_93__", + "_id": "__REQ_1963__", "_type": "request", "name": "Create a pull request review", "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/enterprise/2.19/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/enterprise/2.19/v3/pulls/#get-a-single-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#create-a-pull-request-review", @@ -7735,8 +7728,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2416__", + "parentId": "__FLD_93__", + "_id": "__REQ_1964__", "_type": "request", "name": "Get a single review", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#get-a-single-review", @@ -7751,8 +7744,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2417__", + "parentId": "__FLD_93__", + "_id": "__REQ_1965__", "_type": "request", "name": "Delete a pending review", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#delete-a-pending-review", @@ -7767,8 +7760,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2418__", + "parentId": "__FLD_93__", + "_id": "__REQ_1966__", "_type": "request", "name": "Update a pull request review", "description": "Update the review summary comment with new text.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#update-a-pull-request-review", @@ -7783,8 +7776,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2419__", + "parentId": "__FLD_93__", + "_id": "__REQ_1967__", "_type": "request", "name": "Get comments for a single review", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#get-comments-for-a-single-review", @@ -7810,8 +7803,8 @@ ] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2420__", + "parentId": "__FLD_93__", + "_id": "__REQ_1968__", "_type": "request", "name": "Dismiss a pull request review", "description": "**Note:** To dismiss a pull request review on a [protected branch](https://developer.github.com/enterprise/2.19/v3/repos/branches/), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#dismiss-a-pull-request-review", @@ -7826,8 +7819,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2421__", + "parentId": "__FLD_93__", + "_id": "__REQ_1969__", "_type": "request", "name": "Submit a pull request review", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/reviews/#submit-a-pull-request-review", @@ -7842,8 +7835,8 @@ "parameters": [] }, { - "parentId": "__FLD_116__", - "_id": "__REQ_2422__", + "parentId": "__FLD_93__", + "_id": "__REQ_1970__", "_type": "request", "name": "Update a pull request branch", "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://developer.github.com/enterprise/2.19/v3/pulls/#update-a-pull-request-branch", @@ -7863,8 +7856,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2423__", + "parentId": "__FLD_96__", + "_id": "__REQ_1971__", "_type": "request", "name": "Get the README", "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://developer.github.com/enterprise/2.19/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/contents/#get-the-readme", @@ -7884,8 +7877,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2424__", + "parentId": "__FLD_96__", + "_id": "__REQ_1972__", "_type": "request", "name": "List releases for a repository", "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://developer.github.com/enterprise/2.19/v3/repos/#list-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#list-releases-for-a-repository", @@ -7911,8 +7904,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2425__", + "parentId": "__FLD_96__", + "_id": "__REQ_1973__", "_type": "request", "name": "Create a release", "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#create-a-release", @@ -7927,8 +7920,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2426__", + "parentId": "__FLD_96__", + "_id": "__REQ_1974__", "_type": "request", "name": "Get a single release asset", "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://developer.github.com/enterprise/2.19/v3/media/#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#get-a-single-release-asset", @@ -7943,8 +7936,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2427__", + "parentId": "__FLD_96__", + "_id": "__REQ_1975__", "_type": "request", "name": "Edit a release asset", "description": "Users with push access to the repository can edit a release asset.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#edit-a-release-asset", @@ -7959,8 +7952,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2428__", + "parentId": "__FLD_96__", + "_id": "__REQ_1976__", "_type": "request", "name": "Delete a release asset", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#delete-a-release-asset", @@ -7975,8 +7968,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2429__", + "parentId": "__FLD_96__", + "_id": "__REQ_1977__", "_type": "request", "name": "Get the latest release", "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#get-the-latest-release", @@ -7991,8 +7984,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2430__", + "parentId": "__FLD_96__", + "_id": "__REQ_1978__", "_type": "request", "name": "Get a release by tag name", "description": "Get a published release with the specified tag.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#get-a-release-by-tag-name", @@ -8007,8 +8000,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2431__", + "parentId": "__FLD_96__", + "_id": "__REQ_1979__", "_type": "request", "name": "Get a single release", "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://developer.github.com/enterprise/2.19/v3/#hypermedia).\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#get-a-single-release", @@ -8023,8 +8016,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2432__", + "parentId": "__FLD_96__", + "_id": "__REQ_1980__", "_type": "request", "name": "Edit a release", "description": "Users with push access to the repository can edit a release.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#edit-a-release", @@ -8039,8 +8032,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2433__", + "parentId": "__FLD_96__", + "_id": "__REQ_1981__", "_type": "request", "name": "Delete a release", "description": "Users with push access to the repository can delete a release.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#delete-a-release", @@ -8055,8 +8048,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2434__", + "parentId": "__FLD_96__", + "_id": "__REQ_1982__", "_type": "request", "name": "List assets for a release", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#list-assets-for-a-release", @@ -8082,8 +8075,33 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2435__", + "parentId": "__FLD_96__", + "_id": "__REQ_1983__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://developer.github.com/v3/#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in the response of the [Create a release endpoint](https://developer.github.com/v3/repos/releases/#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example:\n\n`application/zip`\n\nGitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example, you'll still need to pass your authentication to be able to upload an asset.\n\n**Notes:**\n\n* GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://developer.github.com/v3/repos/releases/#list-assets-for-a-release)\" endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nThis may leave an empty asset with a state of `starter`. It can be safely deleted.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/releases/#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_77__", + "_id": "__REQ_1984__", "_type": "request", "name": "List Stargazers", "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.19/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#list-stargazers", @@ -8109,8 +8127,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2436__", + "parentId": "__FLD_96__", + "_id": "__REQ_1985__", "_type": "request", "name": "Get the number of additions and deletions per week", "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week", @@ -8125,8 +8143,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2437__", + "parentId": "__FLD_96__", + "_id": "__REQ_1986__", "_type": "request", "name": "Get the last year of commit activity data", "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statistics/#get-the-last-year-of-commit-activity-data", @@ -8141,8 +8159,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2438__", + "parentId": "__FLD_96__", + "_id": "__REQ_1987__", "_type": "request", "name": "Get contributors list with additions, deletions, and commit counts", "description": "* `total` - The Total number of commits authored by the contributor.\n\nWeekly Hash (`weeks` array):\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts", @@ -8157,8 +8175,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2439__", + "parentId": "__FLD_96__", + "_id": "__REQ_1988__", "_type": "request", "name": "Get the weekly commit count for the repository owner and everyone else", "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else", @@ -8173,8 +8191,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2440__", + "parentId": "__FLD_96__", + "_id": "__REQ_1989__", "_type": "request", "name": "Get the number of commits per hour in each day", "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day", @@ -8189,8 +8207,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2441__", + "parentId": "__FLD_96__", + "_id": "__REQ_1990__", "_type": "request", "name": "Create a status", "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/statuses/#create-a-status", @@ -8205,11 +8223,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2442__", + "parentId": "__FLD_77__", + "_id": "__REQ_1991__", "_type": "request", "name": "List watchers", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#list-watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#list-watchers", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8232,10 +8250,10 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2443__", + "parentId": "__FLD_77__", + "_id": "__REQ_1992__", "_type": "request", - "name": "Get a Repository Subscription", + "name": "Get a repository subscription", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#get-a-repository-subscription", "headers": [], "authentication": { @@ -8248,10 +8266,10 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2444__", + "parentId": "__FLD_77__", + "_id": "__REQ_1993__", "_type": "request", - "name": "Set a Repository Subscription", + "name": "Set a repository subscription", "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://developer.github.com/enterprise/2.19/v3/activity/watching/#delete-a-repository-subscription) completely.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#set-a-repository-subscription", "headers": [], "authentication": { @@ -8264,10 +8282,10 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2445__", + "parentId": "__FLD_77__", + "_id": "__REQ_1994__", "_type": "request", - "name": "Delete a Repository Subscription", + "name": "Delete a repository subscription", "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://developer.github.com/enterprise/2.19/v3/activity/watching/#set-a-repository-subscription).\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#delete-a-repository-subscription", "headers": [], "authentication": { @@ -8280,8 +8298,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2446__", + "parentId": "__FLD_96__", + "_id": "__REQ_1995__", "_type": "request", "name": "List tags", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-tags", @@ -8307,8 +8325,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2447__", + "parentId": "__FLD_96__", + "_id": "__REQ_1996__", "_type": "request", "name": "List teams", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-teams", @@ -8334,11 +8352,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2448__", + "parentId": "__FLD_96__", + "_id": "__REQ_1997__", "_type": "request", - "name": "List all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-all-topics-for-a-repository", + "name": "Get all repository topics", + "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#get-all-repository-topics", "headers": [ { "name": "Accept", @@ -8355,11 +8373,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2449__", + "parentId": "__FLD_96__", + "_id": "__REQ_1998__", "_type": "request", - "name": "Replace all topics for a repository", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#replace-all-topics-for-a-repository", + "name": "Replace all repository topics", + "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#replace-all-repository-topics", "headers": [ { "name": "Accept", @@ -8376,8 +8394,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2450__", + "parentId": "__FLD_96__", + "_id": "__REQ_1999__", "_type": "request", "name": "Transfer a repository", "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#transfer-a-repository", @@ -8397,8 +8415,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2451__", + "parentId": "__FLD_96__", + "_id": "__REQ_2000__", "_type": "request", "name": "Enable vulnerability alerts", "description": "Enables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#enable-vulnerability-alerts", @@ -8418,8 +8436,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2452__", + "parentId": "__FLD_96__", + "_id": "__REQ_2001__", "_type": "request", "name": "Disable vulnerability alerts", "description": "Disables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#disable-vulnerability-alerts", @@ -8439,8 +8457,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2453__", + "parentId": "__FLD_96__", + "_id": "__REQ_2002__", "_type": "request", "name": "Get archive link", "description": "Gets a redirect URL to download an archive for a repository. The `:archive_format` can be either `tarball` or `zipball`. The `:ref` must be a valid Git reference. If you omit `:ref`, the repository’s default branch (usually `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request.\n\n_Note_: For private repositories, these links are temporary and expire after five minutes.\n\nTo follow redirects with curl, use the `-L` switch:\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/contents/#get-archive-link", @@ -8455,11 +8473,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2454__", + "parentId": "__FLD_96__", + "_id": "__REQ_2003__", "_type": "request", - "name": "Create repository using a repository template", - "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [`GET /repos/:owner/:repo`](https://developer.github.com/enterprise/2.19/v3/repos/#get) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\n\\`\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#create-repository-using-a-repository-template", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://developer.github.com/enterprise/2.19/v3/repos/#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\n\\`\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#create-a-repository-using-a-template", "headers": [ { "name": "Accept", @@ -8476,11 +8494,11 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2455__", + "parentId": "__FLD_96__", + "_id": "__REQ_2004__", "_type": "request", - "name": "List all public repositories", - "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.19/v3/#link-header) to get the URL for the next page of repositories.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.19/v3/#authentication) site administrator for your Enterprise appliance, you will be able to list all repositories including private repositories.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-all-public-repositories", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.19/v3/#link-header) to get the URL for the next page of repositories.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.19/v3/#authentication) site administrator for your Enterprise appliance, you will be able to list all repositories including private repositories.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-public-repositories", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -8512,8 +8530,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2456__", + "parentId": "__FLD_97__", + "_id": "__REQ_2005__", "_type": "request", "name": "Search code", "description": "Find file contents via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\n**Considerations for code search**\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 10 MB are searchable.\n\nSuppose you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery). Your query would look something like this:\n\nHere, we're searching for the keyword `addClass` within a file's contents. We're making sure that we're only looking in files where the language is JavaScript. And we're scoping the search to the `repo:jquery/jquery` repository.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-code", @@ -8552,8 +8570,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2457__", + "parentId": "__FLD_97__", + "_id": "__REQ_2006__", "_type": "request", "name": "Search commits", "description": "Find commits via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\n**Considerations for commit search**\n\nOnly the _default branch_ is considered. In most cases, this will be the `master` branch.\n\nSuppose you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-commits", @@ -8597,8 +8615,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2458__", + "parentId": "__FLD_97__", + "_id": "__REQ_2007__", "_type": "request", "name": "Search issues and pull requests", "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\nLet's say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\nIn this query, we're searching for the keyword `windows`, within any open issue that's labeled as `bug`. The search runs across repositories whose primary language is Python. We’re sorting by creation date in ascending order, so that the oldest issues appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-issues-and-pull-requests", @@ -8637,8 +8655,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2459__", + "parentId": "__FLD_97__", + "_id": "__REQ_2008__", "_type": "request", "name": "Search labels", "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\nSuppose you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\nThe labels that best match for the query appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-labels", @@ -8671,8 +8689,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2460__", + "parentId": "__FLD_97__", + "_id": "__REQ_2009__", "_type": "request", "name": "Search repositories", "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\nSuppose you want to search for popular Tetris repositories written in Assembly. Your query might look like this.\n\nYou can search for multiple topics by adding more `topic:` instances, and including the `mercy-preview` header. For example:\n\nIn this request, we're searching for repositories with the word `tetris` in the name, the description, or the README. We're limiting the results to only find repositories where the primary language is Assembly. We're sorting by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-repositories", @@ -8716,8 +8734,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2461__", + "parentId": "__FLD_97__", + "_id": "__REQ_2010__", "_type": "request", "name": "Search topics", "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\nSee \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nSuppose you want to search for topics related to Ruby that are featured on [https://github.com/topics](https://github.com/topics). Your query might look like this:\n\nIn this request, we're searching for topics with the keyword `ruby`, and we're limiting the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\n**Note:** A search for featured Ruby topics only has 6 total results, so a [Link header](https://developer.github.com/enterprise/2.19/v3/#link-header) indicating pagination is not included in the response.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-topics", @@ -8742,8 +8760,8 @@ ] }, { - "parentId": "__FLD_120__", - "_id": "__REQ_2462__", + "parentId": "__FLD_97__", + "_id": "__REQ_2011__", "_type": "request", "name": "Search users", "description": "Find users via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.19/v3/#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.19/v3/search/#text-match-metadata).\n\nImagine you're looking for a list of popular users. You might try out this query:\n\nHere, we're looking at users with the name Tom. We're only interested in those with more than 42 repositories, and only if they have over 1,000 followers.\n\nhttps://developer.github.com/enterprise/2.19/v3/search/#search-users", @@ -8782,8 +8800,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2463__", + "parentId": "__FLD_82__", + "_id": "__REQ_2012__", "_type": "request", "name": "Check configuration status", "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#check-configuration-status", @@ -8798,8 +8816,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2464__", + "parentId": "__FLD_82__", + "_id": "__REQ_2013__", "_type": "request", "name": "Start a configuration process", "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#start-a-configuration-process", @@ -8814,8 +8832,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2465__", + "parentId": "__FLD_82__", + "_id": "__REQ_2014__", "_type": "request", "name": "Check maintenance status", "description": "Check your installation's maintenance status:\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#check-maintenance-status", @@ -8830,8 +8848,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2466__", + "parentId": "__FLD_82__", + "_id": "__REQ_2015__", "_type": "request", "name": "Enable or disable maintenance mode", "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#enable-or-disable-maintenance-mode", @@ -8846,8 +8864,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2467__", + "parentId": "__FLD_82__", + "_id": "__REQ_2016__", "_type": "request", "name": "Retrieve settings", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#retrieve-settings", @@ -8862,8 +8880,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2468__", + "parentId": "__FLD_82__", + "_id": "__REQ_2017__", "_type": "request", "name": "Modify settings", "description": "For a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#modify-settings", @@ -8878,8 +8896,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2469__", + "parentId": "__FLD_82__", + "_id": "__REQ_2018__", "_type": "request", "name": "Retrieve authorized SSH keys", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#retrieve-authorized-ssh-keys", @@ -8894,8 +8912,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2470__", + "parentId": "__FLD_82__", + "_id": "__REQ_2019__", "_type": "request", "name": "Add a new authorized SSH key", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#add-a-new-authorized-ssh-key", @@ -8910,8 +8928,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2471__", + "parentId": "__FLD_82__", + "_id": "__REQ_2020__", "_type": "request", "name": "Remove an authorized SSH key", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#remove-an-authorized-ssh-key", @@ -8926,8 +8944,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2472__", + "parentId": "__FLD_82__", + "_id": "__REQ_2021__", "_type": "request", "name": "Upload a license for the first time", "description": "When you boot a GitHub Enterprise Server instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub Enterprise Server instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#upload-a-license-for-the-first-time", @@ -8942,8 +8960,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2473__", + "parentId": "__FLD_82__", + "_id": "__REQ_2022__", "_type": "request", "name": "Upgrade a license", "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/management_console/#upgrade-a-license", @@ -8958,8 +8976,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2474__", + "parentId": "__FLD_82__", + "_id": "__REQ_2023__", "_type": "request", "name": "Queue an indexing job", "description": "You can index the following targets (replace `:owner` with the name of a user or organization account and `:repository` with the name of a repository):\n\n| Target | Description |\n| --------------------------- | -------------------------------------------------------------------- |\n| `:owner` | A user or organization account. |\n| `:owner/:repository` | A repository. |\n| `:owner/*` | All of a user or organization's repositories. |\n| `:owner/:repository/issues` | All the issues in a repository. |\n| `:owner/*/issues` | All the issues in all of a user or organization's repositories. |\n| `:owner/:repository/code` | All the source code in a repository. |\n| `:owner/*/code` | All the source code in all of a user or organization's repositories. |\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/search_indexing/#queue-an-indexing-job", @@ -8974,8 +8992,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2475__", + "parentId": "__FLD_98__", + "_id": "__REQ_2024__", "_type": "request", "name": "Get team", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#get-team", @@ -8995,8 +9013,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2476__", + "parentId": "__FLD_98__", + "_id": "__REQ_2025__", "_type": "request", "name": "Edit team", "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#edit-team", @@ -9016,8 +9034,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2477__", + "parentId": "__FLD_98__", + "_id": "__REQ_2026__", "_type": "request", "name": "Delete team", "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#delete-team", @@ -9037,8 +9055,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2478__", + "parentId": "__FLD_98__", + "_id": "__REQ_2027__", "_type": "request", "name": "List discussions", "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussions/#list-discussions", @@ -9074,8 +9092,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2479__", + "parentId": "__FLD_98__", + "_id": "__REQ_2028__", "_type": "request", "name": "Create a discussion", "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussions/#create-a-discussion", @@ -9095,8 +9113,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2480__", + "parentId": "__FLD_98__", + "_id": "__REQ_2029__", "_type": "request", "name": "Get a single discussion", "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussions/#get-a-single-discussion", @@ -9116,8 +9134,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2481__", + "parentId": "__FLD_98__", + "_id": "__REQ_2030__", "_type": "request", "name": "Edit a discussion", "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussions/#edit-a-discussion", @@ -9137,8 +9155,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2482__", + "parentId": "__FLD_98__", + "_id": "__REQ_2031__", "_type": "request", "name": "Delete a discussion", "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussions/#delete-a-discussion", @@ -9153,8 +9171,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2483__", + "parentId": "__FLD_98__", + "_id": "__REQ_2032__", "_type": "request", "name": "List comments", "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#list-comments", @@ -9190,8 +9208,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2484__", + "parentId": "__FLD_98__", + "_id": "__REQ_2033__", "_type": "request", "name": "Create a comment", "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#create-a-comment", @@ -9211,8 +9229,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2485__", + "parentId": "__FLD_98__", + "_id": "__REQ_2034__", "_type": "request", "name": "Get a single comment", "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#get-a-single-comment", @@ -9232,8 +9250,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2486__", + "parentId": "__FLD_98__", + "_id": "__REQ_2035__", "_type": "request", "name": "Edit a comment", "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#edit-a-comment", @@ -9253,8 +9271,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2487__", + "parentId": "__FLD_98__", + "_id": "__REQ_2036__", "_type": "request", "name": "Delete a comment", "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#delete-a-comment", @@ -9269,8 +9287,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2488__", + "parentId": "__FLD_95__", + "_id": "__REQ_2037__", "_type": "request", "name": "List reactions for a team discussion comment", "description": "List the reactions to a [team discussion comment](https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#list-reactions-for-a-team-discussion-comment", @@ -9305,8 +9323,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2489__", + "parentId": "__FLD_95__", + "_id": "__REQ_2038__", "_type": "request", "name": "Create reaction for a team discussion comment", "description": "Create a reaction to a [team discussion comment](https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#create-reaction-for-a-team-discussion-comment", @@ -9326,8 +9344,8 @@ "parameters": [] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2490__", + "parentId": "__FLD_95__", + "_id": "__REQ_2039__", "_type": "request", "name": "List reactions for a team discussion", "description": "List the reactions to a [team discussion](https://developer.github.com/enterprise/2.19/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#list-reactions-for-a-team-discussion", @@ -9362,8 +9380,8 @@ ] }, { - "parentId": "__FLD_118__", - "_id": "__REQ_2491__", + "parentId": "__FLD_95__", + "_id": "__REQ_2040__", "_type": "request", "name": "Create reaction for a team discussion", "description": "Create a reaction to a [team discussion](https://developer.github.com/enterprise/2.19/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://developer.github.com/enterprise/2.19/v3/reactions/#create-reaction-for-a-team-discussion", @@ -9383,8 +9401,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2492__", + "parentId": "__FLD_98__", + "_id": "__REQ_2041__", "_type": "request", "name": "List team members", "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#list-team-members", @@ -9420,8 +9438,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2493__", + "parentId": "__FLD_98__", + "_id": "__REQ_2042__", "_type": "request", "name": "Get team member (Legacy)", "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership](https://developer.github.com/enterprise/2.19/v3/teams/members/#get-team-membership) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#get-team-member-legacy", @@ -9436,8 +9454,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2494__", + "parentId": "__FLD_98__", + "_id": "__REQ_2043__", "_type": "request", "name": "Add team member (Legacy)", "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add team membership](https://developer.github.com/enterprise/2.19/v3/teams/members/#add-or-update-team-membership) endpoint instead. It allows you to invite new organization members to your teams.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#add-team-member-legacy", @@ -9452,8 +9470,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2495__", + "parentId": "__FLD_98__", + "_id": "__REQ_2044__", "_type": "request", "name": "Remove team member (Legacy)", "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership](https://developer.github.com/enterprise/2.19/v3/teams/members/#remove-team-membership) endpoint instead. It allows you to remove both active and pending memberships.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#remove-team-member-legacy", @@ -9468,8 +9486,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2496__", + "parentId": "__FLD_98__", + "_id": "__REQ_2045__", "_type": "request", "name": "Get team membership", "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create team](https://developer.github.com/enterprise/2.19/v3/teams#create-team).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#get-team-membership", @@ -9489,8 +9507,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2497__", + "parentId": "__FLD_98__", + "_id": "__REQ_2046__", "_type": "request", "name": "Add or update team membership", "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user 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. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf 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.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#add-or-update-team-membership", @@ -9505,8 +9523,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2498__", + "parentId": "__FLD_98__", + "_id": "__REQ_2047__", "_type": "request", "name": "Remove team membership", "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.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/members/#remove-team-membership", @@ -9521,8 +9539,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2499__", + "parentId": "__FLD_98__", + "_id": "__REQ_2048__", "_type": "request", "name": "List team projects", "description": "Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.19/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#list-team-projects", @@ -9553,8 +9571,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2500__", + "parentId": "__FLD_98__", + "_id": "__REQ_2049__", "_type": "request", "name": "Review a team project", "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#review-a-team-project", @@ -9574,8 +9592,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2501__", + "parentId": "__FLD_98__", + "_id": "__REQ_2050__", "_type": "request", "name": "Add or update team project", "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.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#add-or-update-team-project", @@ -9595,8 +9613,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2502__", + "parentId": "__FLD_98__", + "_id": "__REQ_2051__", "_type": "request", "name": "Remove team project", "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. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#remove-team-project", @@ -9611,8 +9629,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2503__", + "parentId": "__FLD_98__", + "_id": "__REQ_2052__", "_type": "request", "name": "List team repos", "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.19/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#list-team-repos", @@ -9643,8 +9661,8 @@ ] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2504__", + "parentId": "__FLD_98__", + "_id": "__REQ_2053__", "_type": "request", "name": "Check if a team manages a repository", "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.19/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#check-if-a-team-manages-a-repository", @@ -9664,8 +9682,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2505__", + "parentId": "__FLD_98__", + "_id": "__REQ_2054__", "_type": "request", "name": "Add or update team repository", "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.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#add-or-update-team-repository", @@ -9685,8 +9703,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2506__", + "parentId": "__FLD_98__", + "_id": "__REQ_2055__", "_type": "request", "name": "Remove team repository", "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. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#remove-team-repository", @@ -9701,8 +9719,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2507__", + "parentId": "__FLD_98__", + "_id": "__REQ_2056__", "_type": "request", "name": "List child teams", "description": "You must use the `hellcat-preview` media type to use this endpoint.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#list-child-teams", @@ -9733,8 +9751,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2508__", + "parentId": "__FLD_99__", + "_id": "__REQ_2057__", "_type": "request", "name": "Get the authenticated user", "description": "Lists public and private profile information when authenticated through basic auth or OAuth with the `user` scope.\n\nLists public profile information when authenticated through OAuth without the `user` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/#get-the-authenticated-user", @@ -9749,8 +9767,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2509__", + "parentId": "__FLD_99__", + "_id": "__REQ_2058__", "_type": "request", "name": "Update the authenticated user", "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/#update-the-authenticated-user", @@ -9765,8 +9783,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2510__", + "parentId": "__FLD_99__", + "_id": "__REQ_2059__", "_type": "request", "name": "List email addresses for a user", "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/emails/#list-email-addresses-for-a-user", @@ -9792,8 +9810,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2511__", + "parentId": "__FLD_99__", + "_id": "__REQ_2060__", "_type": "request", "name": "Add email address(es)", "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/emails/#add-email-addresses", @@ -9808,8 +9826,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2512__", + "parentId": "__FLD_99__", + "_id": "__REQ_2061__", "_type": "request", "name": "Delete email address(es)", "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/emails/#delete-email-addresses", @@ -9824,11 +9842,11 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2513__", + "parentId": "__FLD_99__", + "_id": "__REQ_2062__", "_type": "request", - "name": "List the authenticated user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#list-followers-of-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9851,11 +9869,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2514__", + "parentId": "__FLD_99__", + "_id": "__REQ_2063__", "_type": "request", - "name": "List who the authenticated user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#list-users-followed-by-another-user", + "name": "List users followed by the authenticated user", + "description": "Lists the people who the authenticated user follows.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#list-users-followed-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -9878,8 +9896,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2515__", + "parentId": "__FLD_99__", + "_id": "__REQ_2064__", "_type": "request", "name": "Check if you are following a user", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#check-if-you-are-following-a-user", @@ -9894,8 +9912,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2516__", + "parentId": "__FLD_99__", + "_id": "__REQ_2065__", "_type": "request", "name": "Follow a user", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#follow-a-user", @@ -9910,8 +9928,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2517__", + "parentId": "__FLD_99__", + "_id": "__REQ_2066__", "_type": "request", "name": "Unfollow a user", "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#unfollow-a-user", @@ -9926,8 +9944,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2518__", + "parentId": "__FLD_99__", + "_id": "__REQ_2067__", "_type": "request", "name": "List your GPG keys", "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/users/gpg_keys/#list-your-gpg-keys", @@ -9953,8 +9971,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2519__", + "parentId": "__FLD_99__", + "_id": "__REQ_2068__", "_type": "request", "name": "Create a GPG key", "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/users/gpg_keys/#create-a-gpg-key", @@ -9969,8 +9987,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2520__", + "parentId": "__FLD_99__", + "_id": "__REQ_2069__", "_type": "request", "name": "Get a single GPG key", "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/users/gpg_keys/#get-a-single-gpg-key", @@ -9985,8 +10003,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2521__", + "parentId": "__FLD_99__", + "_id": "__REQ_2070__", "_type": "request", "name": "Delete a GPG key", "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/users/gpg_keys/#delete-a-gpg-key", @@ -10001,8 +10019,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2522__", + "parentId": "__FLD_78__", + "_id": "__REQ_2071__", "_type": "request", "name": "List installations for a user", "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/installations/#list-installations-for-a-user", @@ -10033,8 +10051,8 @@ ] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2523__", + "parentId": "__FLD_78__", + "_id": "__REQ_2072__", "_type": "request", "name": "List repositories accessible to the user for an installation", "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.19/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-installation", @@ -10065,8 +10083,8 @@ ] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2524__", + "parentId": "__FLD_78__", + "_id": "__REQ_2073__", "_type": "request", "name": "Add repository to installation", "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/installations/#add-repository-to-installation", @@ -10086,8 +10104,8 @@ "parameters": [] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2525__", + "parentId": "__FLD_78__", + "_id": "__REQ_2074__", "_type": "request", "name": "Remove repository from installation", "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.19/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.19/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/installations/#remove-repository-from-installation", @@ -10107,11 +10125,11 @@ "parameters": [] }, { - "parentId": "__FLD_109__", - "_id": "__REQ_2526__", + "parentId": "__FLD_86__", + "_id": "__REQ_2075__", "_type": "request", - "name": "List all issues across owned and member repositories assigned to the authenticated user", - "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#list-issues", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user:\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.19/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10162,8 +10180,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2527__", + "parentId": "__FLD_99__", + "_id": "__REQ_2076__", "_type": "request", "name": "List your public keys", "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/users/keys/#list-your-public-keys", @@ -10189,8 +10207,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2528__", + "parentId": "__FLD_99__", + "_id": "__REQ_2077__", "_type": "request", "name": "Create a public key", "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/keys/#create-a-public-key", @@ -10205,8 +10223,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2529__", + "parentId": "__FLD_99__", + "_id": "__REQ_2078__", "_type": "request", "name": "Get a single public key", "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/users/keys/#get-a-single-public-key", @@ -10221,8 +10239,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2530__", + "parentId": "__FLD_99__", + "_id": "__REQ_2079__", "_type": "request", "name": "Delete a public key", "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to remove an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/keys/#delete-a-public-key", @@ -10237,8 +10255,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2531__", + "parentId": "__FLD_91__", + "_id": "__REQ_2080__", "_type": "request", "name": "List your organization memberships", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#list-your-organization-memberships", @@ -10268,8 +10286,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2532__", + "parentId": "__FLD_91__", + "_id": "__REQ_2081__", "_type": "request", "name": "Get your organization membership", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#get-your-organization-membership", @@ -10284,8 +10302,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2533__", + "parentId": "__FLD_91__", + "_id": "__REQ_2082__", "_type": "request", "name": "Edit your organization membership", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/members/#edit-your-organization-membership", @@ -10300,8 +10318,8 @@ "parameters": [] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2534__", + "parentId": "__FLD_91__", + "_id": "__REQ_2083__", "_type": "request", "name": "List your organizations", "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/#list-your-organizations", @@ -10327,8 +10345,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2535__", + "parentId": "__FLD_92__", + "_id": "__REQ_2084__", "_type": "request", "name": "Create a user project", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#create-a-user-project", @@ -10348,8 +10366,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2536__", + "parentId": "__FLD_99__", + "_id": "__REQ_2085__", "_type": "request", "name": "List public email addresses for a user", "description": "Lists your publicly visible email address. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/emails/#list-public-email-addresses-for-a-user", @@ -10375,11 +10393,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2537__", + "parentId": "__FLD_96__", + "_id": "__REQ_2086__", "_type": "request", - "name": "List your repositories", - "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-your-repositories", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-repositories-for-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10426,11 +10444,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2538__", + "parentId": "__FLD_96__", + "_id": "__REQ_2087__", "_type": "request", - "name": "Creates a new repository for the authenticated user", - "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#create", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#create-a-repository-for-the-authenticated-user", "headers": [ { "name": "Accept", @@ -10447,8 +10465,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2539__", + "parentId": "__FLD_96__", + "_id": "__REQ_2088__", "_type": "request", "name": "List a user's repository invitations", "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\n\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/invitations/#list-a-users-repository-invitations", @@ -10474,8 +10492,8 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2540__", + "parentId": "__FLD_96__", + "_id": "__REQ_2089__", "_type": "request", "name": "Accept a repository invitation", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/invitations/#accept-a-repository-invitation", @@ -10490,8 +10508,8 @@ "parameters": [] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2541__", + "parentId": "__FLD_96__", + "_id": "__REQ_2090__", "_type": "request", "name": "Decline a repository invitation", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/invitations/#decline-a-repository-invitation", @@ -10506,11 +10524,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2542__", + "parentId": "__FLD_77__", + "_id": "__REQ_2091__", "_type": "request", - "name": "List repositories being starred by the authenticated user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.19/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.19/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#list-repositories-starred-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10543,8 +10561,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2543__", + "parentId": "__FLD_77__", + "_id": "__REQ_2092__", "_type": "request", "name": "Check if you are starring a repository", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#check-if-you-are-starring-a-repository", @@ -10559,8 +10577,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2544__", + "parentId": "__FLD_77__", + "_id": "__REQ_2093__", "_type": "request", "name": "Star a repository", "description": "Requires for the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#star-a-repository", @@ -10575,8 +10593,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2545__", + "parentId": "__FLD_77__", + "_id": "__REQ_2094__", "_type": "request", "name": "Unstar a repository", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#unstar-a-repository", @@ -10591,11 +10609,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2546__", + "parentId": "__FLD_77__", + "_id": "__REQ_2095__", "_type": "request", - "name": "List repositories being watched by the authenticated user", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#list-repositories-watched-by-the-authenticated-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10618,8 +10636,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2547__", + "parentId": "__FLD_77__", + "_id": "__REQ_2096__", "_type": "request", "name": "Check if you are watching a repository (LEGACY)", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#check-if-you-are-watching-a-repository-legacy", @@ -10634,8 +10652,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2548__", + "parentId": "__FLD_77__", + "_id": "__REQ_2097__", "_type": "request", "name": "Watch a repository (LEGACY)", "description": "Requires the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#watch-a-repository-legacy", @@ -10650,8 +10668,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2549__", + "parentId": "__FLD_77__", + "_id": "__REQ_2098__", "_type": "request", "name": "Stop watching a repository (LEGACY)", "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#stop-watching-a-repository-legacy", @@ -10666,8 +10684,8 @@ "parameters": [] }, { - "parentId": "__FLD_121__", - "_id": "__REQ_2550__", + "parentId": "__FLD_98__", + "_id": "__REQ_2099__", "_type": "request", "name": "List user teams", "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://developer.github.com/enterprise/2.19/apps/building-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.19/v3/teams/#list-user-teams", @@ -10698,8 +10716,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2551__", + "parentId": "__FLD_99__", + "_id": "__REQ_2100__", "_type": "request", "name": "Get all users", "description": "Lists all users, in the order that they signed up on GitHub Enterprise. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.19/v3/#link-header) to get the URL for the next page of users.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/#get-all-users", @@ -10729,8 +10747,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2552__", + "parentId": "__FLD_99__", + "_id": "__REQ_2101__", "_type": "request", "name": "Get a single user", "description": "Provides publicly available information about someone with a GitHub Enterprise account.\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise. For more information, see [Authentication](https://developer.github.com/enterprise/2.19/v3/#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://developer.github.com/enterprise/2.19/v3/users/emails/)\".\n\nhttps://developer.github.com/enterprise/2.19/v3/users/#get-a-single-user", @@ -10745,8 +10763,8 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2553__", + "parentId": "__FLD_77__", + "_id": "__REQ_2102__", "_type": "request", "name": "List events performed by a user", "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-events-performed-by-a-user", @@ -10772,8 +10790,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2554__", + "parentId": "__FLD_77__", + "_id": "__REQ_2103__", "_type": "request", "name": "List events for an organization", "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-events-for-an-organization", @@ -10799,8 +10817,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2555__", + "parentId": "__FLD_77__", + "_id": "__REQ_2104__", "_type": "request", "name": "List public events performed by a user", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-public-events-performed-by-a-user", @@ -10826,11 +10844,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2556__", + "parentId": "__FLD_99__", + "_id": "__REQ_2105__", "_type": "request", - "name": "List a user's followers", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#list-followers-of-a-user", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#list-followers-of-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10853,11 +10871,11 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2557__", + "parentId": "__FLD_99__", + "_id": "__REQ_2106__", "_type": "request", - "name": "List who a user is following", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#list-users-followed-by-another-user", + "name": "List users followed by another user", + "description": "Lists the people who the specified user follows.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#list-users-followed-by-another-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10880,8 +10898,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2558__", + "parentId": "__FLD_99__", + "_id": "__REQ_2107__", "_type": "request", "name": "Check if one user follows another", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/users/followers/#check-if-one-user-follows-another", @@ -10896,11 +10914,11 @@ "parameters": [] }, { - "parentId": "__FLD_106__", - "_id": "__REQ_2559__", + "parentId": "__FLD_83__", + "_id": "__REQ_2108__", "_type": "request", - "name": "List public gists for the specified user", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-a-users-gists", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://developer.github.com/enterprise/2.19/v3/gists/#list-gists-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -10927,8 +10945,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2560__", + "parentId": "__FLD_99__", + "_id": "__REQ_2109__", "_type": "request", "name": "List GPG keys for a user", "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/gpg_keys/#list-gpg-keys-for-a-user", @@ -10954,8 +10972,8 @@ ] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2561__", + "parentId": "__FLD_99__", + "_id": "__REQ_2110__", "_type": "request", "name": "Get contextual information about a user", "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\nhttps://developer.github.com/enterprise/2.19/v3/users/#get-contextual-information-about-a-user", @@ -10979,8 +10997,8 @@ ] }, { - "parentId": "__FLD_101__", - "_id": "__REQ_2562__", + "parentId": "__FLD_78__", + "_id": "__REQ_2111__", "_type": "request", "name": "Get a user installation", "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.19/v3/apps/#get-a-user-installation", @@ -11000,8 +11018,8 @@ "parameters": [] }, { - "parentId": "__FLD_122__", - "_id": "__REQ_2563__", + "parentId": "__FLD_99__", + "_id": "__REQ_2112__", "_type": "request", "name": "List public keys for a user", "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.19/v3/users/keys/#list-public-keys-for-a-user", @@ -11027,8 +11045,8 @@ ] }, { - "parentId": "__FLD_114__", - "_id": "__REQ_2564__", + "parentId": "__FLD_91__", + "_id": "__REQ_2113__", "_type": "request", "name": "List user organizations", "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List your organizations](https://developer.github.com/enterprise/2.19/v3/orgs/#list-your-organizations) API instead.\n\nhttps://developer.github.com/enterprise/2.19/v3/orgs/#list-user-organizations", @@ -11054,8 +11072,8 @@ ] }, { - "parentId": "__FLD_115__", - "_id": "__REQ_2565__", + "parentId": "__FLD_92__", + "_id": "__REQ_2114__", "_type": "request", "name": "List user projects", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/projects/#list-user-projects", @@ -11091,8 +11109,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2566__", + "parentId": "__FLD_77__", + "_id": "__REQ_2115__", "_type": "request", "name": "List events that a user has received", "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-events-that-a-user-has-received", @@ -11118,8 +11136,8 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2567__", + "parentId": "__FLD_77__", + "_id": "__REQ_2116__", "_type": "request", "name": "List public events that a user has received", "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/events/#list-public-events-that-a-user-has-received", @@ -11145,11 +11163,11 @@ ] }, { - "parentId": "__FLD_119__", - "_id": "__REQ_2568__", + "parentId": "__FLD_96__", + "_id": "__REQ_2117__", "_type": "request", - "name": "List user repositories", - "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-user-repositories", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/enterprise/2.19/v3/repos/#list-repositories-for-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11186,8 +11204,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2569__", + "parentId": "__FLD_82__", + "_id": "__REQ_2118__", "_type": "request", "name": "Promote an ordinary user to a site administrator", "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#promote-an-ordinary-user-to-a-site-administrator", @@ -11202,8 +11220,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2570__", + "parentId": "__FLD_82__", + "_id": "__REQ_2119__", "_type": "request", "name": "Demote a site administrator to an ordinary user", "description": "You can demote any user account except your own.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#demote-a-site-administrator-to-an-ordinary-user", @@ -11218,11 +11236,11 @@ "parameters": [] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2571__", + "parentId": "__FLD_77__", + "_id": "__REQ_2120__", "_type": "request", - "name": "List repositories being starred by a user", - "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.19/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#list-repositories-being-starred", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.19/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/starring/#list-repositories-starred-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11255,11 +11273,11 @@ ] }, { - "parentId": "__FLD_100__", - "_id": "__REQ_2572__", + "parentId": "__FLD_77__", + "_id": "__REQ_2121__", "_type": "request", - "name": "List repositories being watched by a user", - "description": "\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#list-repositories-being-watched", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://developer.github.com/enterprise/2.19/v3/activity/watching/#list-repositories-watched-by-a-user", "headers": [], "authentication": { "token": "{{ github_token }}", @@ -11282,8 +11300,8 @@ ] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2573__", + "parentId": "__FLD_82__", + "_id": "__REQ_2122__", "_type": "request", "name": "Suspend a user", "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.19/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#suspend-a-user", @@ -11298,8 +11316,8 @@ "parameters": [] }, { - "parentId": "__FLD_105__", - "_id": "__REQ_2574__", + "parentId": "__FLD_82__", + "_id": "__REQ_2123__", "_type": "request", "name": "Unsuspend a user", "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://developer.github.com/enterprise/2.19/v3/enterprise-admin/users/#unsuspend-a-user", diff --git a/routes/ghe-2.20.json b/routes/ghe-2.20.json new file mode 100644 index 0000000..796b615 --- /dev/null +++ b/routes/ghe-2.20.json @@ -0,0 +1,11344 @@ +{ + "_type": "export", + "__export_format": 4, + "__export_date": "2020-03-21T19:15:42.463Z", + "__export_source": "github-rest-apis-for-insomnia:1.1.1", + "resources": [ + { + "parentId": "__WORKSPACE_ID__", + "_id": "__FLD_100__", + "_type": "request_group", + "name": "GitHub Enterprise REST API v3", + "environment": { + "github_api_root": "http://{hostname}", + "access_token": "", + "app_slug": "", + "archive_format": "", + "asset_id": 0, + "assignee": "", + "authorization_id": 0, + "base": "", + "branch": "", + "build_id": 0, + "card_id": 0, + "check_run_id": 0, + "check_suite_id": 0, + "client_id": "", + "code": "", + "column_id": 0, + "comment_id": 0, + "comment_number": 0, + "commit_sha": "", + "content_reference_id": 0, + "deployment_id": 0, + "discussion_number": 0, + "download_id": 0, + "email": "", + "event_id": 0, + "file_sha": "", + "fingerprint": "", + "gist_id": "", + "gpg_key_id": 0, + "grant_id": 0, + "head": "", + "hook_id": 0, + "installation_id": 0, + "invitation_id": 0, + "issue_number": 0, + "key": "", + "key_id": 0, + "key_ids": "", + "keyword": "", + "license": "", + "milestone_number": 0, + "name": "", + "org": "", + "owner": "", + "path": "", + "pre_receive_environment_id": 0, + "pre_receive_hook_id": 0, + "project_id": 0, + "pull_number": 0, + "reaction_id": 0, + "ref": "", + "release_id": 0, + "repo": "", + "repository": "", + "repository_id": 0, + "review_id": 0, + "sha": "", + "state": "", + "status_id": 0, + "tag": "", + "tag_sha": "", + "target_user": "", + "team_id": 0, + "team_slug": "", + "template_owner": "", + "template_repo": "", + "thread_id": 0, + "token_id": 0, + "tree_sha": "", + "type": "", + "username": "" + } + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_101__", + "_type": "request_group", + "name": "activity" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_102__", + "_type": "request_group", + "name": "apps" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_103__", + "_type": "request_group", + "name": "checks" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_104__", + "_type": "request_group", + "name": "codes-of-conduct" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_105__", + "_type": "request_group", + "name": "emojis" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_106__", + "_type": "request_group", + "name": "enterprise-admin" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_107__", + "_type": "request_group", + "name": "gists" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_108__", + "_type": "request_group", + "name": "git" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_109__", + "_type": "request_group", + "name": "gitignore" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_110__", + "_type": "request_group", + "name": "issues" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_111__", + "_type": "request_group", + "name": "licenses" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_112__", + "_type": "request_group", + "name": "markdown" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_113__", + "_type": "request_group", + "name": "meta" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_114__", + "_type": "request_group", + "name": "oauth-authorizations" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_115__", + "_type": "request_group", + "name": "orgs" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_116__", + "_type": "request_group", + "name": "projects" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_117__", + "_type": "request_group", + "name": "pulls" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_118__", + "_type": "request_group", + "name": "rate-limit" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_119__", + "_type": "request_group", + "name": "reactions" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_120__", + "_type": "request_group", + "name": "repos" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_121__", + "_type": "request_group", + "name": "search" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_122__", + "_type": "request_group", + "name": "teams" + }, + { + "parentId": "__FLD_100__", + "_id": "__FLD_123__", + "_type": "request_group", + "name": "users" + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2124__", + "_type": "request", + "name": "List global hooks", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/global_webhooks/#list-global-hooks", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2125__", + "_type": "request", + "name": "Create a global hook", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/global_webhooks/#create-a-global-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2126__", + "_type": "request", + "name": "Get single global hook", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/global_webhooks/#get-single-global-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2127__", + "_type": "request", + "name": "Edit a global hook", + "description": "Parameters that are not provided will be overwritten with the default value or removed if no default exists.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/global_webhooks/#edit-a-global-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2128__", + "_type": "request", + "name": "Delete a global hook", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/global_webhooks/#delete-a-global-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2129__", + "_type": "request", + "name": "Ping a global hook", + "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.20/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/global_webhooks/#ping-a-global-hook", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.superpro-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2130__", + "_type": "request", + "name": "Delete a public key", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/users/#delete-a-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/keys/{{ key_ids }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2131__", + "_type": "request", + "name": "Update LDAP mapping for a team", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create team](https://developer.github.com/enterprise/2.20/v3/teams/#create-team) endpoint to create a team with LDAP mapping.\n\nYou can also update the LDAP mapping of a child team.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2132__", + "_type": "request", + "name": "Sync LDAP mapping for a team", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/teams/{{ team_id }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2133__", + "_type": "request", + "name": "Update LDAP mapping for a user", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/mapping", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2134__", + "_type": "request", + "name": "Sync LDAP mapping for a user", + "description": "Note that this API call does not automatically initiate an LDAP sync. Rather, if a `201` is returned, the sync job is queued successfully, and is performed when the instance is ready.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/ldap/#sync-ldap-mapping-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/ldap/users/{{ username }}/sync", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2135__", + "_type": "request", + "name": "Create an organization", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/orgs/#create-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/organizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2136__", + "_type": "request", + "name": "Rename an organization", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/orgs/#rename-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/organizations/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2137__", + "_type": "request", + "name": "List pre-receive environments", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/pre_receive_environments/#list-pre-receive-environments", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2138__", + "_type": "request", + "name": "Create a pre-receive environment", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/pre_receive_environments/#create-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2139__", + "_type": "request", + "name": "Get a single pre-receive environment", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/pre_receive_environments/#get-a-single-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2140__", + "_type": "request", + "name": "Edit a pre-receive environment", + "description": "If you attempt to modify the default environment, you will get a response like this:\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/pre_receive_environments/#edit-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2141__", + "_type": "request", + "name": "Delete a pre-receive environment", + "description": "If you attempt to delete an environment that cannot be deleted, you will get a response like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Cannot delete environment that has hooks_\n* _Cannot delete environment when download is in progress_\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/pre_receive_environments/#delete-a-pre-receive-environment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2142__", + "_type": "request", + "name": "Trigger a pre-receive environment download", + "description": "Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment.\n\nIf a download cannot be triggered, you will get a reponse like this:\n\nThe possible error messages are:\n\n* _Cannot modify or delete the default environment_\n* _Can not start a new download when a download is in progress_\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/pre_receive_environments/#trigger-a-pre-receive-environment-download", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2143__", + "_type": "request", + "name": "Get a pre-receive environment's download status", + "description": "In addition to seeing the download status at the `/admin/pre-receive-environments/:pre_receive_environment_id`, there is also a separate endpoint for just the status.\n\nPossible values for `state` are `not_started`, `in_progress`, `success`, `failed`.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/pre_receive_environments/#get-a-pre-receive-environments-download-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-environments/{{ pre_receive_environment_id }}/downloads/latest", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "downloaded_at", + "disabled": false + }, + { + "name": "message", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2144__", + "_type": "request", + "name": "List pre-receive hooks", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/pre_receive_hooks/#list-pre-receive-hooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2145__", + "_type": "request", + "name": "Create a pre-receive hook", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/pre_receive_hooks/#create-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/pre-receive-hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2146__", + "_type": "request", + "name": "Get a single pre-receive hook", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/pre_receive_hooks/#get-a-single-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2147__", + "_type": "request", + "name": "Edit a pre-receive hook", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/pre_receive_hooks/#edit-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/pre_receive_hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2148__", + "_type": "request", + "name": "Delete a pre-receive hook", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/pre_receive_hooks/#delete-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/pre_receive_hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2149__", + "_type": "request", + "name": "List personal access tokens", + "description": "Lists personal access tokens for all users, including admin users.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/users/#list-personal-access-tokens", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/admin/tokens", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2150__", + "_type": "request", + "name": "Delete a personal access token", + "description": "Deletes a personal access token. Returns a `403 - Forbidden` status when a personal access token is in use. For example, if you access this endpoint with the same personal access token that you are trying to delete, you will receive this error.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/users/#delete-a-personal-access-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/tokens/{{ token_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2151__", + "_type": "request", + "name": "Create a new user", + "description": "If an external authentication mechanism is used, the login name should match the login name in the external system. If you are using LDAP authentication, you should also [update the LDAP mapping](https://developer.github.com/enterprise/2.20/v3/enterprise-admin/ldap/#update-ldap-mapping-for-a-user) for the user.\n\nThe login name will be normalized to only contain alphanumeric characters or single hyphens. For example, if you send `\"octo_cat\"` as the login, a user named `\"octo-cat\"` will be created.\n\nIf the login name or email address is already associated with an account, the server will return a `422` response.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/users/#create-a-new-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2152__", + "_type": "request", + "name": "Rename an existing user", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/users/#rename-an-existing-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2153__", + "_type": "request", + "name": "Delete a user", + "description": "Deleting a user will delete all their repositories, gists, applications, and personal settings. [Suspending a user](https://developer.github.com/enterprise/2.20/v3/enterprise-admin/users/#suspend-a-user) is often a better option.\n\nYou can delete any user account except your own.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/users/#delete-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2154__", + "_type": "request", + "name": "Create an impersonation OAuth token", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/users/#create-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2155__", + "_type": "request", + "name": "Delete an impersonation OAuth token", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/users/#delete-an-impersonation-oauth-token", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/admin/users/{{ username }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2156__", + "_type": "request", + "name": "Get the authenticated GitHub App", + "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations](https://developer.github.com/enterprise/2.20/v3/apps/#list-installations)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/#get-the-authenticated-github-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2157__", + "_type": "request", + "name": "Create a GitHub App from a manifest", + "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://developer.github.com/enterprise/2.20/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/#create-a-github-app-from-a-manifest", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.fury-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app-manifests/{{ code }}/conversions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2158__", + "_type": "request", + "name": "List installations", + "description": "You must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/#list-installations", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2159__", + "_type": "request", + "name": "Get an installation", + "description": "You must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/#get-an-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2160__", + "_type": "request", + "name": "Delete an installation", + "description": "Uninstalls a GitHub App on a user, organization, or business account.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/#delete-an-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2161__", + "_type": "request", + "name": "Create a new installation token", + "description": "Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the `repository_ids` when creating the token. When you omit `repository_ids`, the response does not contain the `repositories` key.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThis example grants the token \"Read and write\" permission to `issues` and \"Read\" permission to `contents`, and restricts the token's access to the repository with an `id` of 1296269.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/#create-a-new-installation-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/app/installations/{{ installation_id }}/access_tokens", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2162__", + "_type": "request", + "name": "List your grants", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nYou can use this API to list the set of OAuth applications that have been granted access to your account. Unlike the [list your authorizations](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/#list-your-authorizations) API, this API does not manage individual tokens. This API will return one entry for each OAuth application that has been granted access to your account, regardless of the number of tokens an application has generated for your user. The list of OAuth applications returned matches what is shown on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). The `scopes` returned are the union of scopes authorized for the application. For example, if an application has one token with `repo` scope and another token with `user` scope, the grant will return `[\"repo\", \"user\"]`.\n\nhttps://developer.github.com/enterprise/2.20/v3/oauth_authorizations/#list-your-grants", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2163__", + "_type": "request", + "name": "Get a single grant", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nhttps://developer.github.com/enterprise/2.20/v3/oauth_authorizations/#get-a-single-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2164__", + "_type": "request", + "name": "Delete a grant", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for your user. Once deleted, the application has no access to your account and is no longer listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.20/v3/oauth_authorizations/#delete-a-grant", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/grants/{{ grant_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2165__", + "_type": "request", + "name": "Delete an app authorization", + "description": "OAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/enterprise/2.20/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/oauth_applications/#delete-an-app-authorization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.doctor-strange-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grant", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2166__", + "_type": "request", + "name": "Revoke a grant for an application", + "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a grant for their OAuth application and a specific user. You must use [Basic Authentication](https://developer.github.com/enterprise/2.20/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also provide a valid token as `:access_token` and the grant for the token's owner will be deleted.\n\nDeleting an OAuth application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the Applications settings page under \"Authorized OAuth Apps\" on GitHub](https://github.com/settings/applications#authorized).\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/oauth_applications/#revoke-a-grant-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/grants/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2167__", + "_type": "request", + "name": "Check a token", + "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/enterprise/2.20/v3/auth#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/oauth_applications/#check-a-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.doctor-strange-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2168__", + "_type": "request", + "name": "Reset a token", + "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/enterprise/2.20/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/oauth_applications/#reset-a-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.doctor-strange-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2169__", + "_type": "request", + "name": "Delete an app token", + "description": "OAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/enterprise/2.20/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/oauth_applications/#delete-an-app-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.doctor-strange-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2170__", + "_type": "request", + "name": "Check an authorization", + "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://developer.github.com/enterprise/2.20/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/oauth_applications/#check-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2171__", + "_type": "request", + "name": "Reset an authorization", + "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://developer.github.com/enterprise/2.20/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/oauth_applications/#reset-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2172__", + "_type": "request", + "name": "Revoke an authorization for an application", + "description": "**Deprecation Notice:** GitHub will replace and discontinue OAuth endpoints containing `access_token` in the path parameter. We are introducing new endpoints that allow you to securely manage tokens for OAuth Apps by using `access_token` as an input parameter. For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/).\n\nOAuth application owners can revoke a single token for an OAuth application. You must use [Basic Authentication](https://developer.github.com/enterprise/2.20/v3/auth#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/applications/{{ client_id }}/tokens/{{ access_token }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2173__", + "_type": "request", + "name": "Get a single GitHub App", + "description": "**Note**: The `:app_slug` is just the URL-friendly name of your GitHub App. You can find this on the settings page for your GitHub App (e.g., `https://github.com/settings/apps/:app_slug`).\n\nIf the GitHub App you specify is public, you can access this endpoint without authenticating. If the GitHub App you specify is private, you must authenticate with a [personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or an [installation access token](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/#get-a-single-github-app", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/apps/{{ app_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2174__", + "_type": "request", + "name": "List your authorizations", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nhttps://developer.github.com/enterprise/2.20/v3/oauth_authorizations/#list-your-authorizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2175__", + "_type": "request", + "name": "Create a new authorization", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\n**Warning:** Apps must use the [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://developer.github.com/enterprise/2.20/v3/auth#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.20/v3/auth/#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://help.github.com/articles/creating-an-access-token-for-command-line-use).\n\nhttps://developer.github.com/enterprise/2.20/v3/oauth_authorizations/#create-a-new-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/authorizations", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2176__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\n**Warning:** Apps must use the [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates a new authorization for the specified OAuth application, only if an authorization for that application doesn't already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.20/v3/auth/#working-with-two-factor-authentication).\"\n\n**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nhttps://developer.github.com/enterprise/2.20/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2177__", + "_type": "request", + "name": "Get-or-create an authorization for a specific app and fingerprint", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\n**Warning:** Apps must use the [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nThis method will create a new authorization for the specified OAuth application, only if an authorization for that application and fingerprint do not already exist for the user. The URL includes the 20 character client ID for the OAuth app that is requesting the token. `fingerprint` is a unique string to distinguish an authorization from others created for the same client ID and user. It returns the user's existing authorization for the application if one is present. Otherwise, it creates and returns a new one.\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.20/v3/auth/#working-with-two-factor-authentication).\"\n\nhttps://developer.github.com/enterprise/2.20/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/authorizations/clients/{{ client_id }}/{{ fingerprint }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2178__", + "_type": "request", + "name": "Get a single authorization", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nhttps://developer.github.com/enterprise/2.20/v3/oauth_authorizations/#get-a-single-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2179__", + "_type": "request", + "name": "Update an existing authorization", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nIf you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://developer.github.com/enterprise/2.20/v3/auth/#working-with-two-factor-authentication).\"\n\nYou can only send one of these scope keys at a time.\n\nhttps://developer.github.com/enterprise/2.20/v3/oauth_authorizations/#update-an-existing-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_114__", + "_id": "__REQ_2180__", + "_type": "request", + "name": "Delete an authorization", + "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). For more information, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\nhttps://developer.github.com/enterprise/2.20/v3/oauth_authorizations/#delete-an-authorization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/authorizations/{{ authorization_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_104__", + "_id": "__REQ_2181__", + "_type": "request", + "name": "List all codes of conduct", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/codes_of_conduct/#list-all-codes-of-conduct", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_104__", + "_id": "__REQ_2182__", + "_type": "request", + "name": "Get an individual code of conduct", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/codes_of_conduct/#get-an-individual-code-of-conduct", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/codes_of_conduct/{{ key }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2183__", + "_type": "request", + "name": "Create a content attachment", + "description": "Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the `id` of the content reference from the [`content_reference` event](https://developer.github.com/enterprise/2.20/v3/activity/events/types/#contentreferenceevent) to create an attachment.\n\nThe app must create a content attachment within six hours of the content reference URL being posted. See \"[Using content attachments](https://developer.github.com/enterprise/2.20/apps/using-content-attachments/)\" for details about content attachments.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nThis example creates a content attachment for the domain `https://errors.ai/`.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/installations/#create-a-content-attachment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.corsair-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/content_references/{{ content_reference_id }}/attachments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_105__", + "_id": "__REQ_2184__", + "_type": "request", + "name": "Get", + "description": "Lists all the emojis available to use on GitHub Enterprise.\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/emojis/#emojis", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/emojis", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2185__", + "_type": "request", + "name": "Get license information", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/license/#get-license-information", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/settings/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2186__", + "_type": "request", + "name": "Get statistics", + "description": "There are a variety of types to choose from:\n\n| Type | Description |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| `issues` | The number of open and closed issues. |\n| `hooks` | The number of active and inactive hooks. |\n| `milestones` | The number of open and closed milestones. |\n| `orgs` | The number of organizations, teams, team members, and disabled organizations. |\n| `comments` | The number of comments on issues, pull requests, commits, and gists. |\n| `pages` | The number of GitHub Pages sites. |\n| `users` | The number of suspended and admin users. |\n| `gists` | The number of private and public gists. |\n| `pulls` | The number of merged, mergeable, and unmergeable pull requests. |\n| `repos` | The number of organization-owned repositories, root repositories, forks, pushed commits, and wikis. |\n| `all` | All of the statistics listed above. |\n\nThese statistics are cached and will be updated approximately every 10 minutes.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/admin_stats/#get-statistics", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/enterprise/stats/{{ type }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2187__", + "_type": "request", + "name": "List public events", + "description": "We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/events/#list-public-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2188__", + "_type": "request", + "name": "List feeds", + "description": "GitHub Enterprise provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:\n\n* **Timeline**: The GitHub Enterprise global public timeline\n* **User**: The public timeline for any user, using [URI template](https://developer.github.com/enterprise/2.20/v3/#hypermedia)\n* **Current user public**: The public timeline for the authenticated user\n* **Current user**: The private timeline for the authenticated user\n* **Current user actor**: The private timeline for activity created by the authenticated user\n* **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.\n\n**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/enterprise/2.20/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/feeds/#list-feeds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/feeds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2189__", + "_type": "request", + "name": "List gists for the authenticated user", + "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#list-gists-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2190__", + "_type": "request", + "name": "Create a gist", + "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#create-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2191__", + "_type": "request", + "name": "List public gists", + "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://developer.github.com/enterprise/2.20/v3/#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#list-public-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/public", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2192__", + "_type": "request", + "name": "List starred gists", + "description": "List the authenticated user's starred gists:\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#list-starred-gists", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/starred", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2193__", + "_type": "request", + "name": "Get a gist", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#get-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2194__", + "_type": "request", + "name": "Update a gist", + "description": "Allows you to update or delete a gist file and rename gist files. Files from the previous version of the gist that aren't explicitly changed during an edit are unchanged.\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#update-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2195__", + "_type": "request", + "name": "Delete a gist", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#delete-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2196__", + "_type": "request", + "name": "List comments on a gist", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/comments/#list-comments-on-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2197__", + "_type": "request", + "name": "Create a comment", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/comments/#create-a-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2198__", + "_type": "request", + "name": "Get a single comment", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/comments/#get-a-single-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2199__", + "_type": "request", + "name": "Edit a comment", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/comments/#edit-a-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2200__", + "_type": "request", + "name": "Delete a comment", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/comments/#delete-a-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2201__", + "_type": "request", + "name": "List gist commits", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#list-gist-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2202__", + "_type": "request", + "name": "Fork a gist", + "description": "**Note**: This was previously `/gists/:gist_id/fork`.\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#fork-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2203__", + "_type": "request", + "name": "List gist forks", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#list-gist-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/forks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2204__", + "_type": "request", + "name": "Star a gist", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.20/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#star-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2205__", + "_type": "request", + "name": "Unstar a gist", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#unstar-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2206__", + "_type": "request", + "name": "Check if a gist is starred", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#check-if-a-gist-is-starred", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/star", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2207__", + "_type": "request", + "name": "Get a specific revision of a gist", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#get-a-specific-revision-of-a-gist", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gists/{{ gist_id }}/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_109__", + "_id": "__REQ_2208__", + "_type": "request", + "name": "Listing available templates", + "description": "List all templates available to pass as an option when [creating a repository](https://developer.github.com/enterprise/2.20/v3/repos/#create-a-repository-for-the-authenticated-user).\n\nhttps://developer.github.com/enterprise/2.20/v3/gitignore/#listing-available-templates", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_109__", + "_id": "__REQ_2209__", + "_type": "request", + "name": "Get a single template", + "description": "The API also allows fetching the source of a single template.\n\nUse the raw [media type](https://developer.github.com/enterprise/2.20/v3/media/) to get the raw contents.\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/gitignore/#get-a-single-template", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/gitignore/templates/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2210__", + "_type": "request", + "name": "List repositories", + "description": "List repositories that an installation can access.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/installations/#list-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/installation/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2211__", + "_type": "request", + "name": "Revoke an installation token", + "description": "Revokes the installation token you're using to authenticate as an installation and access this endpoint.\n\nOnce an installation token is revoked, the token is invalidated and cannot be used. Other endpoints that require the revoked installation token must have a new installation token to work. You can create a new token using the \"[Create a new installation token](https://developer.github.com/enterprise/2.20/v3/apps/#create-a-new-installation-token)\" endpoint.\n\nYou must use an [installation access token](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-an-installation) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/installations/#revoke-an-installation-token", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.gambit-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/installation/token", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2212__", + "_type": "request", + "name": "List issues assigned to the authenticated user", + "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not necessarily assigned to you. See the [Parameters table](https://developer.github.com/enterprise/2.20/v3/issues/#parameters) for more information.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.20/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2213__", + "_type": "request", + "name": "Search issues", + "description": "Find issues by state and keyword.\n\nhttps://developer.github.com/enterprise/2.20/v3/search/legacy/#search-issues", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/legacy/issues/search/{{ owner }}/{{ repository }}/{{ state }}/{{ keyword }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2214__", + "_type": "request", + "name": "Search repositories", + "description": "Find repositories by keyword. Note, this legacy method does not follow the v3 pagination pattern. This method returns up to 100 results per page and pages can be fetched using the `start_page` parameter.\n\nhttps://developer.github.com/enterprise/2.20/v3/search/legacy/#search-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/legacy/repos/search/{{ keyword }}", + "body": {}, + "parameters": [ + { + "name": "language", + "disabled": false + }, + { + "name": "start_page", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2215__", + "_type": "request", + "name": "Email search", + "description": "This API call is added for compatibility reasons only. There's no guarantee that full email searches will always be available. The `@` character in the address must be left unencoded. Searches only against public email addresses (as configured on the user's GitHub Enterprise profile).\n\nhttps://developer.github.com/enterprise/2.20/v3/search/legacy/#email-search", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/legacy/user/email/{{ email }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2216__", + "_type": "request", + "name": "Search users", + "description": "Find users by keyword.\n\nhttps://developer.github.com/enterprise/2.20/v3/search/legacy/#search-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/legacy/user/search/{{ keyword }}", + "body": {}, + "parameters": [ + { + "name": "start_page", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_111__", + "_id": "__REQ_2217__", + "_type": "request", + "name": "List commonly used licenses", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/licenses/#list-commonly-used-licenses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_111__", + "_id": "__REQ_2218__", + "_type": "request", + "name": "Get an individual license", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/licenses/#get-an-individual-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/licenses/{{ license }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2219__", + "_type": "request", + "name": "Render an arbitrary Markdown document", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/markdown/#render-an-arbitrary-markdown-document", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_112__", + "_id": "__REQ_2220__", + "_type": "request", + "name": "Render a Markdown document in raw mode", + "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/markdown/#render-a-markdown-document-in-raw-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/markdown/raw", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_113__", + "_id": "__REQ_2221__", + "_type": "request", + "name": "Get", + "description": "If you access this endpoint on your organization's [GitHub Enterprise Server](https://enterprise.github.com/) installation, this endpoint provides information about that installation.\n\nhttps://developer.github.com/enterprise/2.20/v3/meta/#meta", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/meta", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2222__", + "_type": "request", + "name": "List public events for a network of repositories", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/events/#list-public-events-for-a-network-of-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/networks/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2223__", + "_type": "request", + "name": "List your notifications", + "description": "List all notifications for the current user, sorted by most recently updated.\n\nThe following example uses the `since` parameter to list notifications that have been updated after the specified time.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/notifications/#list-your-notifications", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2224__", + "_type": "request", + "name": "Mark as read", + "description": "Marks a notification as \"read\" removes it from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications](https://developer.github.com/enterprise/2.20/v3/activity/notifications/#list-your-notifications) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/notifications/#mark-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2225__", + "_type": "request", + "name": "View a single thread", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/notifications/#view-a-single-thread", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2226__", + "_type": "request", + "name": "Mark a thread as read", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/notifications/#mark-a-thread-as-read", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2227__", + "_type": "request", + "name": "Get a thread subscription", + "description": "This checks to see if the current user is subscribed to a thread. You can also [get a repository subscription](https://developer.github.com/enterprise/2.20/v3/activity/watching/#get-a-repository-subscription).\n\nNote that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mentioned**, or manually subscribe to a thread.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/notifications/#get-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2228__", + "_type": "request", + "name": "Set a thread subscription", + "description": "This lets you subscribe or unsubscribe from a conversation.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/notifications/#set-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2229__", + "_type": "request", + "name": "Delete a thread subscription", + "description": "Mutes all future notifications for a conversation until you comment on the thread or get **@mention**ed.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/notifications/#delete-a-thread-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/notifications/threads/{{ thread_id }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2230__", + "_type": "request", + "name": "List all organizations", + "description": "Lists all organizations, in the order that they were created on GitHub Enterprise.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.20/v3/#link-header) to get the URL for the next page of organizations.\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/#list-all-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/organizations", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2231__", + "_type": "request", + "name": "Get an organization", + "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. 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://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/#get-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2232__", + "_type": "request", + "name": "Edit an organization", + "description": "\n\n**Parameter Deprecation Notice:** GitHub 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).\n\nEnables an authenticated organization owner with the `admin:org` scope to update the organization's profile and member privileges.\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/#edit-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.surtur-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2233__", + "_type": "request", + "name": "List public events for an organization", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/events/#list-public-events-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2234__", + "_type": "request", + "name": "List hooks", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/hooks/#list-hooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2235__", + "_type": "request", + "name": "Create a hook", + "description": "Here's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/hooks/#create-a-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2236__", + "_type": "request", + "name": "Get single hook", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/hooks/#get-single-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2237__", + "_type": "request", + "name": "Edit a hook", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/hooks/#edit-a-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2238__", + "_type": "request", + "name": "Delete a hook", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/hooks/#delete-a-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2239__", + "_type": "request", + "name": "Ping a hook", + "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.20/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/hooks/#ping-a-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2240__", + "_type": "request", + "name": "Get an organization installation", + "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/#get-an-organization-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2241__", + "_type": "request", + "name": "List 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. You must be an organization owner with `admin:read` scope to use this endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/#list-installations-for-an-organization", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2242__", + "_type": "request", + "name": "List organization issues assigned to the authenticated user", + "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.20/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2243__", + "_type": "request", + "name": "Members list", + "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.\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/members/#members-list", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2244__", + "_type": "request", + "name": "Check membership", + "description": "Check if a user is, publicly or privately, a member of the organization.\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/members/#check-membership", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2245__", + "_type": "request", + "name": "Remove a 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.\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/members/#remove-a-member", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2246__", + "_type": "request", + "name": "Get organization membership", + "description": "In order to get a user's membership with an organization, the authenticated user must be an organization member.\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/members/#get-organization-membership", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2247__", + "_type": "request", + "name": "Add or update organization membership", + "description": "Only authenticated organization owners can add a member to the organization or update the member's role.\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/members/#add-or-update-organization-membership", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2248__", + "_type": "request", + "name": "Remove organization membership", + "description": "In order to remove a user's membership with an organization, the authenticated user must be an organization owner.\n\nIf the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/members/#remove-organization-membership", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2249__", + "_type": "request", + "name": "List outside collaborators", + "description": "List all users who are outside collaborators of an organization.\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/outside_collaborators/#list-outside-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2250__", + "_type": "request", + "name": "Remove outside collaborator", + "description": "Removing a user from this list will remove them from all the organization's repositories.\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/outside_collaborators/#remove-outside-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2251__", + "_type": "request", + "name": "Convert 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://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/outside_collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2252__", + "_type": "request", + "name": "List pre-receive hooks for 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.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/org_pre_receive_hooks/#list-pre-receive-hooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2253__", + "_type": "request", + "name": "Get a single pre-receive hook for organization", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/org_pre_receive_hooks/#get-a-single-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2254__", + "_type": "request", + "name": "Update pre-receive hook enforcement for organization", + "description": "For pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration`\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/org_pre_receive_hooks/#update-pre-receive-hook-enforcement", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2255__", + "_type": "request", + "name": "Remove enforcement overrides for a pre-receive hook for organization", + "description": "Removes any overrides for this hook at the org level for this org.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/org_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2256__", + "_type": "request", + "name": "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.\n\ns\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/#list-organization-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2257__", + "_type": "request", + "name": "Create an organization project", + "description": "Creates an organization project board. 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.\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/#create-an-organization-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2258__", + "_type": "request", + "name": "Public members list", + "description": "Members of an organization can choose to have their membership publicized or not.\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/members/#public-members-list", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2259__", + "_type": "request", + "name": "Check public membership", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/members/#check-public-membership", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2260__", + "_type": "request", + "name": "Publicize a user's membership", + "description": "The user can publicize their own membership. (A user cannot publicize the membership for another user.)\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.20/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/members/#publicize-a-users-membership", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2261__", + "_type": "request", + "name": "Conceal a user's membership", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/members/#conceal-a-users-membership", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/orgs/{{ org }}/public_members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2262__", + "_type": "request", + "name": "List organization repositories", + "description": "Lists repositories for the specified organization.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#list-organization-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2263__", + "_type": "request", + "name": "Create an organization repository", + "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#create-an-organization-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2264__", + "_type": "request", + "name": "List teams", + "description": "Lists all teams in an organization that are visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#list-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2265__", + "_type": "request", + "name": "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://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen 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://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#create-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2266__", + "_type": "request", + "name": "Get team by name", + "description": "Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#get-team-by-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/orgs/{{ org }}/teams/{{ team_slug }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2267__", + "_type": "request", + "name": "Get a project card", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/cards/#get-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2268__", + "_type": "request", + "name": "Update a project card", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/cards/#update-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2269__", + "_type": "request", + "name": "Delete a project card", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/cards/#delete-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2270__", + "_type": "request", + "name": "Move a project card", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/cards/#move-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/cards/{{ card_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2271__", + "_type": "request", + "name": "Get a project column", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/columns/#get-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2272__", + "_type": "request", + "name": "Update a project column", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/columns/#update-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2273__", + "_type": "request", + "name": "Delete a project column", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/columns/#delete-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2274__", + "_type": "request", + "name": "List project cards", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/cards/#list-project-cards", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [ + { + "name": "archived_state", + "value": "not_archived", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2275__", + "_type": "request", + "name": "Create a project card", + "description": "**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.20/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/cards/#create-a-project-card", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/cards", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2276__", + "_type": "request", + "name": "Move a project column", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/columns/#move-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/columns/{{ column_id }}/moves", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2277__", + "_type": "request", + "name": "Get a project", + "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/#get-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2278__", + "_type": "request", + "name": "Update a project", + "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/#update-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2279__", + "_type": "request", + "name": "Delete a project", + "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/#delete-a-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2280__", + "_type": "request", + "name": "List collaborators", + "description": "Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project `admin` to list collaborators.\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/collaborators/#list-collaborators", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2281__", + "_type": "request", + "name": "Add user as a collaborator", + "description": "Adds a collaborator to a an organization project and sets their permission level. You must be an organization owner or a project `admin` to add a collaborator.\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/collaborators/#add-user-as-a-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2282__", + "_type": "request", + "name": "Remove user as a collaborator", + "description": "Removes a collaborator from an organization project. You must be an organization owner or a project `admin` to remove a collaborator.\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/collaborators/#remove-user-as-a-collaborator", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2283__", + "_type": "request", + "name": "Review a user's permission level", + "description": "Returns the collaborator's permission level for an organization project. Possible values for the `permission` key: `admin`, `write`, `read`, `none`. You must be an organization owner or a project `admin` to review a user's permission level.\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/collaborators/#review-a-users-permission-level", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2284__", + "_type": "request", + "name": "List project columns", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/columns/#list-project-columns", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2285__", + "_type": "request", + "name": "Create a project column", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/columns/#create-a-project-column", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/projects/{{ project_id }}/columns", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_118__", + "_id": "__REQ_2286__", + "_type": "request", + "name": "Get your current rate limit status", + "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Understanding your rate limit status**\n\nThe Search API has a [custom rate limit](https://developer.github.com/enterprise/2.20/v3/search/#rate-limit), separate from the rate limit governing the rest of the REST API. The GraphQL API also has a [custom rate limit](https://developer.github.com/enterprise/2.20/v4/guides/resource-limitations/#rate-limit) that is separate from and calculated differently than rate limits in the REST API.\n\nFor these reasons, the Rate Limit API response categorizes your rate limit. Under `resources`, you'll see four objects:\n\n* The `core` object provides your rate limit status for all non-search-related resources in the REST API.\n* The `search` object provides your rate limit status for the [Search API](https://developer.github.com/enterprise/2.20/v3/search/).\n* The `graphql` object provides your rate limit status for the [GraphQL API](https://developer.github.com/enterprise/2.20/v4/).\n* The `integration_manifest` object provides your rate limit status for the [GitHub App Manifest code conversion](https://developer.github.com/enterprise/2.20/apps/building-github-apps/creating-github-apps-from-a-manifest/#3-you-exchange-the-temporary-code-to-retrieve-the-app-configuration) endpoint.\n\nFor more information on the headers and values in the rate limit response, see \"[Rate limiting](https://developer.github.com/enterprise/2.20/v3/#rate-limiting).\"\n\nThe `rate` object (shown at the bottom of the response above) is deprecated.\n\nIf you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.\n\nhttps://developer.github.com/enterprise/2.20/v3/rate_limit/#get-your-current-rate-limit-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/rate_limit", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2287__", + "_type": "request", + "name": "Delete a reaction", + "description": "OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://developer.github.com/enterprise/2.20/v3/teams/discussions/) or [team discussion comment](https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/).\n\nhttps://developer.github.com/enterprise/2.20/v3/reactions/#delete-a-reaction", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/reactions/{{ reaction_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2288__", + "_type": "request", + "name": "Get a repository", + "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#get-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2289__", + "_type": "request", + "name": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://developer.github.com/enterprise/2.20/v3/repos/#replace-all-repository-topics) endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#update-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.x-ray-preview+json,application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2290__", + "_type": "request", + "name": "Delete a repository", + "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:\n\nIf a site admin has configured the enterprise appliance to prevent users from deleting organization-owned repositories, a user will get this response:\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#delete-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2291__", + "_type": "request", + "name": "List assignees", + "description": "Lists the [available assignees](https://help.github.com/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/assignees/#list-assignees", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2292__", + "_type": "request", + "name": "Check assignee", + "description": "Checks if a user has permission to be assigned to an issue in this repository.\n\nIf the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.\n\nOtherwise a `404` status code is returned.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/assignees/#check-assignee", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/assignees/{{ assignee }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2293__", + "_type": "request", + "name": "List branches", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#list-branches", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches", + "body": {}, + "parameters": [ + { + "name": "protected", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2294__", + "_type": "request", + "name": "Get branch", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#get-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2295__", + "_type": "request", + "name": "Get branch protection", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#get-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2296__", + "_type": "request", + "name": "Update branch protection", + "description": "Protecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#update-branch-protection", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2297__", + "_type": "request", + "name": "Remove branch protection", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#remove-branch-protection", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2298__", + "_type": "request", + "name": "Get admin enforcement of protected branch", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#get-admin-enforcement-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2299__", + "_type": "request", + "name": "Add admin enforcement of protected branch", + "description": "Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#add-admin-enforcement-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2300__", + "_type": "request", + "name": "Remove admin enforcement of protected branch", + "description": "Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#remove-admin-enforcement-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/enforce_admins", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2301__", + "_type": "request", + "name": "Get pull request review enforcement of protected branch", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#get-pull-request-review-enforcement-of-protected-branch", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2302__", + "_type": "request", + "name": "Update pull request review enforcement of protected branch", + "description": "Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.luke-cage-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2303__", + "_type": "request", + "name": "Remove pull request review enforcement of protected branch", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#remove-pull-request-review-enforcement-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_pull_request_reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2304__", + "_type": "request", + "name": "Get required signatures of protected branch", + "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://help.github.com/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#get-required-signatures-of-protected-branch", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2305__", + "_type": "request", + "name": "Add required signatures of protected branch", + "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#add-required-signatures-of-protected-branch", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2306__", + "_type": "request", + "name": "Remove required signatures of protected branch", + "description": "When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#remove-required-signatures-of-protected-branch", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.zzzax-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_signatures", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2307__", + "_type": "request", + "name": "Get required status checks of protected branch", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#get-required-status-checks-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2308__", + "_type": "request", + "name": "Update required status checks of protected branch", + "description": "Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#update-required-status-checks-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2309__", + "_type": "request", + "name": "Remove required status checks of protected branch", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#remove-required-status-checks-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2310__", + "_type": "request", + "name": "List required status checks contexts of protected branch", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#list-required-status-checks-contexts-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2311__", + "_type": "request", + "name": "Replace required status checks contexts of protected branch", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#replace-required-status-checks-contexts-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2312__", + "_type": "request", + "name": "Add required status checks contexts of protected branch", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#add-required-status-checks-contexts-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2313__", + "_type": "request", + "name": "Remove required status checks contexts of protected branch", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#remove-required-status-checks-contexts-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/required_status_checks/contexts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2314__", + "_type": "request", + "name": "Get restrictions of protected branch", + "description": "Lists who has access to this protected branch. {{#note}}\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#get-restrictions-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2315__", + "_type": "request", + "name": "Remove restrictions of protected branch", + "description": "Disables the ability to restrict who can push to this branch.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#remove-restrictions-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2316__", + "_type": "request", + "name": "Get apps with access to protected branch", + "description": "Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#list-apps-with-access-to-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2317__", + "_type": "request", + "name": "Replace app restrictions of protected branch", + "description": "Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#replace-app-restrictions-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2318__", + "_type": "request", + "name": "Add app restrictions of protected branch", + "description": "Grants the specified apps push access for this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#add-app-restrictions-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2319__", + "_type": "request", + "name": "Remove app restrictions of protected branch", + "description": "Removes the ability of an app to push to this branch. Only installed GitHub Apps with `write` access to the `contents` permission can be added as authorized actors on a protected branch.\n\n| Type | Description |\n| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | The GitHub Apps that have push access to this branch. Use the app's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#remove-app-restrictions-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/apps", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2320__", + "_type": "request", + "name": "Get teams with access to protected branch", + "description": "Lists the teams who have push access to this branch. The list includes child teams.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#list-teams-with-access-to-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2321__", + "_type": "request", + "name": "Replace team restrictions of protected branch", + "description": "Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#replace-team-restrictions-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2322__", + "_type": "request", + "name": "Add team restrictions of protected branch", + "description": "Grants the specified teams push access for this branch. You can also give push access to child teams.\n\n| Type | Description |\n| ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| `array` | The teams that can have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#add-team-restrictions-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2323__", + "_type": "request", + "name": "Remove team restrictions of protected branch", + "description": "Removes the ability of a team to push to this branch. You can also remove push access for child teams.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Teams that should no longer have push access. Use the team's `slug`. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#remove-team-restrictions-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/teams", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2324__", + "_type": "request", + "name": "Get users with access to protected branch", + "description": "Lists the people who have push access to this branch.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#list-users-with-access-to-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2325__", + "_type": "request", + "name": "Replace user restrictions of protected branch", + "description": "Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#replace-user-restrictions-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2326__", + "_type": "request", + "name": "Add user restrictions of protected branch", + "description": "Grants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#add-user-restrictions-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2327__", + "_type": "request", + "name": "Remove user restrictions of protected branch", + "description": "Removes the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/branches/#remove-user-restrictions-of-protected-branch", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/branches/{{ branch }}/protection/restrictions/users", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2328__", + "_type": "request", + "name": "Create a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nCreates a new check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to create check runs.\n\nhttps://developer.github.com/enterprise/2.20/v3/checks/runs/#create-a-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2329__", + "_type": "request", + "name": "Update a check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\nhttps://developer.github.com/enterprise/2.20/v3/checks/runs/#update-a-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2330__", + "_type": "request", + "name": "Get a single check run", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.20/v3/checks/runs/#get-a-single-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2331__", + "_type": "request", + "name": "List annotations for a check run", + "description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.\n\nhttps://developer.github.com/enterprise/2.20/v3/checks/runs/#list-annotations-for-a-check-run", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-runs/{{ check_run_id }}/annotations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2332__", + "_type": "request", + "name": "Create a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nBy default, check suites are automatically created when you create a [check run](https://developer.github.com/enterprise/2.20/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Set preferences for check suites on a repository](https://developer.github.com/enterprise/2.20/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)\". Your GitHub App must have the `checks:write` permission to create check suites.\n\nhttps://developer.github.com/enterprise/2.20/v3/checks/suites/#create-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2333__", + "_type": "request", + "name": "Set preferences for check suites on a repository", + "description": "Changes the default automatic flow when creating check suites. By default, the CheckSuiteEvent is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/enterprise/2.20/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.\n\nhttps://developer.github.com/enterprise/2.20/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/preferences", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2334__", + "_type": "request", + "name": "Get a single check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.20/v3/checks/suites/#get-a-single-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2335__", + "_type": "request", + "name": "List check runs in a check suite", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.20/v3/checks/runs/#list-check-runs-in-a-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2336__", + "_type": "request", + "name": "Rerequest check suite", + "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/enterprise/2.20/v3/activity/events/types/#checksuiteevent) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.\n\nhttps://developer.github.com/enterprise/2.20/v3/checks/suites/#rerequest-check-suite", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/check-suites/{{ check_suite_id }}/rerequest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2337__", + "_type": "request", + "name": "List collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/collaborators/#list-collaborators", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators", + "body": {}, + "parameters": [ + { + "name": "affiliation", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2338__", + "_type": "request", + "name": "Check if a user is a collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/collaborators/#check-if-a-user-is-a-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2339__", + "_type": "request", + "name": "Add user as a collaborator", + "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.\n\nFor more information the permission levels, see \"[Repository permission levels for an organization](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\" in the GitHub Help documentation.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.20/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/collaborators/#add-user-as-a-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2340__", + "_type": "request", + "name": "Remove user as a collaborator", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/collaborators/#remove-user-as-a-collaborator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2341__", + "_type": "request", + "name": "Review a user's permission level", + "description": "Possible values for the `permission` key: `admin`, `write`, `read`, `none`.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/collaborators/#review-a-users-permission-level", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/collaborators/{{ username }}/permission", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2342__", + "_type": "request", + "name": "List commit comments for a repository", + "description": "Commit Comments use [these custom media types](https://developer.github.com/enterprise/2.20/v3/repos/comments/#custom-media-types). You can read more about the use of media types in the API [here](https://developer.github.com/enterprise/2.20/v3/media/).\n\nComments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/comments/#list-commit-comments-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2343__", + "_type": "request", + "name": "Get a single commit comment", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/comments/#get-a-single-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2344__", + "_type": "request", + "name": "Update a commit comment", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/comments/#update-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2345__", + "_type": "request", + "name": "Delete a commit comment", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/comments/#delete-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2346__", + "_type": "request", + "name": "List reactions for a commit comment", + "description": "List the reactions to a [commit comment](https://developer.github.com/enterprise/2.20/v3/repos/comments/).\n\nhttps://developer.github.com/enterprise/2.20/v3/reactions/#list-reactions-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2347__", + "_type": "request", + "name": "Create reaction for a commit comment", + "description": "Create a reaction to a [commit comment](https://developer.github.com/enterprise/2.20/v3/repos/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.\n\nhttps://developer.github.com/enterprise/2.20/v3/reactions/#create-reaction-for-a-commit-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2348__", + "_type": "request", + "name": "List commits on a repository", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/commits/#list-commits-on-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits", + "body": {}, + "parameters": [ + { + "name": "sha", + "disabled": false + }, + { + "name": "path", + "disabled": false + }, + { + "name": "author", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "until", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2349__", + "_type": "request", + "name": "List branches for HEAD commit", + "description": "Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/commits/#list-branches-for-head-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/branches-where-head", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2350__", + "_type": "request", + "name": "List comments for a single commit", + "description": "Use the `:commit_sha` to specify the commit that will have its comments listed.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/comments/#list-comments-for-a-single-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2351__", + "_type": "request", + "name": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/comments/#create-a-commit-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2352__", + "_type": "request", + "name": "List pull requests associated with commit", + "description": "Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the [List pull requests](https://developer.github.com/enterprise/2.20/v3/pulls/#list-pull-requests) endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/commits/#list-pull-requests-associated-with-commit", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.groot-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ commit_sha }}/pulls", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2353__", + "_type": "request", + "name": "Get a single commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\nYou can pass the appropriate [media type](https://developer.github.com/enterprise/2.20/v3/media/#commits-commit-comparison-and-pull-requests) to fetch `diff` and `patch` formats. Diffs with binary data will have no `patch` property.\n\nTo return only the SHA-1 hash of the commit reference, you can provide the `sha` custom [media type](https://developer.github.com/enterprise/2.20/v3/media/#commits-commit-comparison-and-pull-requests) in the `Accept` header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/commits/#get-a-single-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2354__", + "_type": "request", + "name": "List check runs for a specific ref", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\nhttps://developer.github.com/enterprise/2.20/v3/checks/runs/#list-check-runs-for-a-specific-ref", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-runs", + "body": {}, + "parameters": [ + { + "name": "check_name", + "disabled": false + }, + { + "name": "status", + "disabled": false + }, + { + "name": "filter", + "value": "latest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_103__", + "_id": "__REQ_2355__", + "_type": "request", + "name": "List check suites for a specific ref", + "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\nhttps://developer.github.com/enterprise/2.20/v3/checks/suites/#list-check-suites-for-a-specific-ref", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.antiope-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/check-suites", + "body": {}, + "parameters": [ + { + "name": "app_id", + "disabled": false + }, + { + "name": "check_name", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2356__", + "_type": "request", + "name": "Get the combined status for a specific ref", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\nThe most recent status for each context is returned, up to 100. This field [paginates](https://developer.github.com/enterprise/2.20/v3/#pagination) if there are over 100 contexts.\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/status", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2357__", + "_type": "request", + "name": "List statuses for a specific ref", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/statuses/#list-statuses-for-a-specific-ref", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/commits/{{ ref }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_104__", + "_id": "__REQ_2358__", + "_type": "request", + "name": "Get the contents of a repository's code of conduct", + "description": "This method returns the contents of the repository's code of conduct file, if one is detected.\n\nhttps://developer.github.com/enterprise/2.20/v3/codes_of_conduct/#get-the-contents-of-a-repositorys-code-of-conduct", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.scarlet-witch-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/community/code_of_conduct", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2359__", + "_type": "request", + "name": "Compare two commits", + "description": "Both `:base` and `:head` must be branch names in `:repo`. To compare branches across other repositories in the same network as `:repo`, use the format `:branch`.\n\nThe response from the API is equivalent to running the `git log base..head` command; however, commits are returned in chronological order. Pass the appropriate [media type](https://developer.github.com/enterprise/2.20/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nThe response also includes details on the files that were changed between the two commits. This includes the status of the change (for example, if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\n**Working with large comparisons**\n\nThe response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the [Commit List API](https://developer.github.com/enterprise/2.20/v3/repos/commits/#list-commits-on-a-repository) to enumerate all commits in the range.\n\nFor comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/commits/#compare-two-commits", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/compare/{{ base }}...{{ head }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2360__", + "_type": "request", + "name": "Get contents", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit `:path`, you will receive the contents of all files in the repository.\n\nFiles and symlinks support [a custom media type](https://developer.github.com/enterprise/2.20/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML (when supported). All content types support [a custom media type](https://developer.github.com/enterprise/2.20/v3/repos/contents/#custom-media-types) to ensure the content is returned in a consistent object format.\n\n**Note**:\n\n* To get a repository's contents recursively, you can [recursively get the tree](https://developer.github.com/enterprise/2.20/v3/git/trees/).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees API](https://developer.github.com/enterprise/2.20/v3/git/trees/#get-a-tree).\n* This API supports files up to 1 megabyte in size.\n\nThe response will be an array of objects, one object for each item in the directory.\n\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the [format shown above](https://developer.github.com/enterprise/2.20/v3/repos/contents/#response-if-content-is-a-file)).\n\nOtherwise, the API responds with an object describing the symlink itself:\n\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/contents/#get-contents", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2361__", + "_type": "request", + "name": "Create or update a file", + "description": "Creates a new file or updates an existing file in a repository.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/contents/#create-or-update-a-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2362__", + "_type": "request", + "name": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/contents/#delete-a-file", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contents/{{ path }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2363__", + "_type": "request", + "name": "List contributors", + "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#list-contributors", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/contributors", + "body": {}, + "parameters": [ + { + "name": "anon", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2364__", + "_type": "request", + "name": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/deployments/#list-deployments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [ + { + "name": "sha", + "value": "none", + "disabled": false + }, + { + "name": "ref", + "value": "none", + "disabled": false + }, + { + "name": "task", + "value": "none", + "disabled": false + }, + { + "name": "environment", + "value": "none", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2365__", + "_type": "request", + "name": "Create a deployment", + "description": "Deployments offer a few configurable parameters with sane defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub we often deploy branches and verify them before we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have multiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter makes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If the ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds, the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will return a failure response.\n\nBy default, [commit statuses](https://developer.github.com/enterprise/2.20/v3/repos/statuses) for every submitted context must be in a `success` state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to specify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do not require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text field that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might be `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an application with debugging enabled.\n\nUsers with `repo` or `repo_deployment` scopes can create a deployment for a given ref:\n\nA simple example putting the user and room into the payload to notify back to chat networks.\n\nA more advanced example specifying required commit statuses and bypassing auto-merging.\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating a deployment. This auto-merge happens when:\n\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful response.\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't be merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success` status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/deployments/#create-a-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2366__", + "_type": "request", + "name": "Get a single deployment", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/deployments/#get-a-single-deployment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2367__", + "_type": "request", + "name": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/deployments/#list-deployment-statuses", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2368__", + "_type": "request", + "name": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nGitHub Apps require `read & write` access to \"Deployments\" and `read-only` access to \"Repo contents\" (for private repos). OAuth Apps require the `repo_deployment` scope.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/deployments/#create-a-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2369__", + "_type": "request", + "name": "Get a single deployment status", + "description": "Users with pull access can view a deployment status for a deployment:\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/deployments/#get-a-single-deployment-status", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.flash-preview+json,application/vnd.github.ant-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/deployments/{{ deployment_id }}/statuses/{{ status_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2370__", + "_type": "request", + "name": "List downloads for a repository", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/downloads/#list-downloads-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2371__", + "_type": "request", + "name": "Get a single download", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/downloads/#get-a-single-download", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads/{{ download_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2372__", + "_type": "request", + "name": "Delete a download", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/downloads/#delete-a-download", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/downloads/{{ download_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2373__", + "_type": "request", + "name": "List repository events", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/events/#list-repository-events", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2374__", + "_type": "request", + "name": "List forks", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/forks/#list-forks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "newest", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2375__", + "_type": "request", + "name": "Create a fork", + "description": "Create a fork for the authenticated user.\n\n**Note**: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact your GitHub Enterprise site administrator.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/forks/#create-a-fork", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/forks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2376__", + "_type": "request", + "name": "Create a blob", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/git/blobs/#create-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2377__", + "_type": "request", + "name": "Get a blob", + "description": "The `content` in the response will always be Base64 encoded.\n\n_Note_: This API supports blobs up to 100 megabytes in size.\n\nhttps://developer.github.com/enterprise/2.20/v3/git/blobs/#get-a-blob", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/blobs/{{ file_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2378__", + "_type": "request", + "name": "Create a commit", + "description": "Creates a new Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\nIn this example, the payload of the signature would be:\n\n\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.20/v3/git/commits/#create-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2379__", + "_type": "request", + "name": "Get a commit", + "description": "Gets a Git [commit object](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects).\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.20/v3/git/commits/#get-a-commit", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/commits/{{ commit_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2380__", + "_type": "request", + "name": "List matching references", + "description": "Returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.\n\nWhen you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.\n\n**Note:** You need to explicitly [request a pull request](https://developer.github.com/enterprise/2.20/v3/pulls/#get-a-single-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.20/v3/git/#checking-mergeability-of-pull-requests)\".\n\nIf you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`.\n\nhttps://developer.github.com/enterprise/2.20/v3/git/refs/#list-matching-references", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/matching-refs/{{ ref }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2381__", + "_type": "request", + "name": "Get a single reference", + "description": "Returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/` for branches and `tags/` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.\n\n**Note:** You need to explicitly [request a pull request](https://developer.github.com/enterprise/2.20/v3/pulls/#get-a-single-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.20/v3/git/#checking-mergeability-of-pull-requests)\".\n\nTo get the reference for a branch named `skunkworkz/featureA`, the endpoint route is:\n\nhttps://developer.github.com/enterprise/2.20/v3/git/refs/#get-a-single-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/ref/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2382__", + "_type": "request", + "name": "Create a reference", + "description": "Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.\n\nhttps://developer.github.com/enterprise/2.20/v3/git/refs/#create-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2383__", + "_type": "request", + "name": "Update a reference", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/git/refs/#update-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2384__", + "_type": "request", + "name": "Delete a reference", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/git/refs/#delete-a-reference", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/refs/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2385__", + "_type": "request", + "name": "Create a tag object", + "description": "Note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://developer.github.com/enterprise/2.20/v3/git/refs/#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://developer.github.com/enterprise/2.20/v3/git/refs/#create-a-reference) the tag reference - this call would be unnecessary.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.20/v3/git/tags/#create-a-tag-object", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2386__", + "_type": "request", + "name": "Get a tag", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on her/his account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |\n\nhttps://developer.github.com/enterprise/2.20/v3/git/tags/#get-a-tag", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/tags/{{ tag_sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2387__", + "_type": "request", + "name": "Create a tree", + "description": "The tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.\n\nIf you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see \"[Create a commit](https://developer.github.com/enterprise/2.20/v3/git/commits/#create-a-commit)\" and \"[Update a reference](https://developer.github.com/enterprise/2.20/v3/git/refs/#update-a-reference).\"\n\nhttps://developer.github.com/enterprise/2.20/v3/git/trees/#create-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_108__", + "_id": "__REQ_2388__", + "_type": "request", + "name": "Get a tree", + "description": "Returns a single tree using the SHA1 value for that tree.\n\nIf `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, you can clone the repository and iterate over the Git data locally.\n\nhttps://developer.github.com/enterprise/2.20/v3/git/trees/#get-a-tree", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/git/trees/{{ tree_sha }}", + "body": {}, + "parameters": [ + { + "name": "recursive", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2389__", + "_type": "request", + "name": "List hooks", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/hooks/#list-hooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2390__", + "_type": "request", + "name": "Create a hook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can share the same `config` as long as those webhooks do not have any `events` that overlap.\n\nHere's how you can create a hook that posts payloads in JSON format:\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/hooks/#create-a-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2391__", + "_type": "request", + "name": "Get single hook", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/hooks/#get-single-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2392__", + "_type": "request", + "name": "Edit a hook", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/hooks/#edit-a-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2393__", + "_type": "request", + "name": "Delete a hook", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/hooks/#delete-a-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2394__", + "_type": "request", + "name": "Ping a hook", + "description": "This will trigger a [ping event](https://developer.github.com/enterprise/2.20/webhooks/#ping-event) to be sent to the hook.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/hooks/#ping-a-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/pings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2395__", + "_type": "request", + "name": "Test a push hook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/hooks/#test-a-push-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/hooks/{{ hook_id }}/tests", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2396__", + "_type": "request", + "name": "Get a repository installation", + "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/#get-a-repository-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2397__", + "_type": "request", + "name": "List invitations for a repository", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/invitations/#list-invitations-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2398__", + "_type": "request", + "name": "Delete a repository invitation", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/invitations/#delete-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2399__", + "_type": "request", + "name": "Update a repository invitation", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/invitations/#update-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2400__", + "_type": "request", + "name": "List repository issues", + "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.20/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/#list-repository-issues", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [ + { + "name": "milestone", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "assignee", + "disabled": false + }, + { + "name": "creator", + "disabled": false + }, + { + "name": "mentioned", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2401__", + "_type": "request", + "name": "Create an issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/#create-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2402__", + "_type": "request", + "name": "List comments in a repository", + "description": "By default, Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/comments/#list-comments-in-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2403__", + "_type": "request", + "name": "Get a single comment", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/comments/#get-a-single-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2404__", + "_type": "request", + "name": "Edit a comment", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/comments/#edit-a-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2405__", + "_type": "request", + "name": "Delete a comment", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/comments/#delete-a-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2406__", + "_type": "request", + "name": "List reactions for an issue comment", + "description": "List the reactions to an [issue comment](https://developer.github.com/enterprise/2.20/v3/issues/comments/).\n\nhttps://developer.github.com/enterprise/2.20/v3/reactions/#list-reactions-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2407__", + "_type": "request", + "name": "Create reaction for an issue comment", + "description": "Create a reaction to an [issue comment](https://developer.github.com/enterprise/2.20/v3/issues/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.\n\nhttps://developer.github.com/enterprise/2.20/v3/reactions/#create-reaction-for-an-issue-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2408__", + "_type": "request", + "name": "List events for a repository", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/events/#list-events-for-a-repository", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2409__", + "_type": "request", + "name": "Get a single event", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/events/#get-a-single-event", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/events/{{ event_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2410__", + "_type": "request", + "name": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://developer.github.com/enterprise/2.20/v3/#http-redirects) if the issue was [transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If the issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API returns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read access, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe to the [`issues`](https://developer.github.com/enterprise/2.20/v3/activity/events/types/#issuesevent) webhook.\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.20/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/#get-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2411__", + "_type": "request", + "name": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/#update-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2412__", + "_type": "request", + "name": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.\n\nThis example adds two assignees to the existing `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/assignees/#add-assignees-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2413__", + "_type": "request", + "name": "Remove assignees from an issue", + "description": "Removes one or more assignees from an issue.\n\nThis example removes two of three assignees, leaving the `octocat` assignee.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/assignees/#remove-assignees-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/assignees", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2414__", + "_type": "request", + "name": "List comments on an issue", + "description": "Issue Comments are ordered by ascending ID.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/comments/#list-comments-on-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2415__", + "_type": "request", + "name": "Create a comment", + "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/comments/#create-a-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2416__", + "_type": "request", + "name": "List events for an issue", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/events/#list-events-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.starfox-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2417__", + "_type": "request", + "name": "List labels on an issue", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/labels/#list-labels-on-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2418__", + "_type": "request", + "name": "Add labels to an issue", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/labels/#add-labels-to-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2419__", + "_type": "request", + "name": "Replace all labels for an issue", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/labels/#replace-all-labels-for-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2420__", + "_type": "request", + "name": "Remove all labels from an issue", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/labels/#remove-all-labels-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2421__", + "_type": "request", + "name": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/labels/#remove-a-label-from-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2422__", + "_type": "request", + "name": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.20/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/#lock-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2423__", + "_type": "request", + "name": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/#unlock-an-issue", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/lock", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2424__", + "_type": "request", + "name": "List reactions for an issue", + "description": "List the reactions to an [issue](https://developer.github.com/enterprise/2.20/v3/issues/).\n\nhttps://developer.github.com/enterprise/2.20/v3/reactions/#list-reactions-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2425__", + "_type": "request", + "name": "Create reaction for an issue", + "description": "Create a reaction to an [issue](https://developer.github.com/enterprise/2.20/v3/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.\n\nhttps://developer.github.com/enterprise/2.20/v3/reactions/#create-reaction-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2426__", + "_type": "request", + "name": "List events for an issue", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/timeline/#list-events-for-an-issue", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mockingbird-preview+json,application/vnd.github.starfox-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/issues/{{ issue_number }}/timeline", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2427__", + "_type": "request", + "name": "List deploy keys", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/keys/#list-deploy-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2428__", + "_type": "request", + "name": "Add a new deploy key", + "description": "Here's how you can create a read-only deploy key:\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/keys/#add-a-new-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2429__", + "_type": "request", + "name": "Get a deploy key", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/keys/#get-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2430__", + "_type": "request", + "name": "Remove a deploy key", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/keys/#remove-a-deploy-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2431__", + "_type": "request", + "name": "List all labels for this repository", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/labels/#list-all-labels-for-this-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2432__", + "_type": "request", + "name": "Create a label", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/labels/#create-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2433__", + "_type": "request", + "name": "Get a single label", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/labels/#get-a-single-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2434__", + "_type": "request", + "name": "Update a label", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/labels/#update-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2435__", + "_type": "request", + "name": "Delete a label", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/labels/#delete-a-label", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/labels/{{ name }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2436__", + "_type": "request", + "name": "List languages", + "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#list-languages", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/languages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_111__", + "_id": "__REQ_2437__", + "_type": "request", + "name": "Get the contents of a repository's license", + "description": "This method returns the contents of the repository's license file, if one is detected.\n\nSimilar to [the repository contents API](https://developer.github.com/enterprise/2.20/v3/repos/contents/#get-contents), this method also supports [custom media types](https://developer.github.com/enterprise/2.20/v3/repos/contents/#custom-media-types) for retrieving the raw license content or rendered license HTML.\n\nhttps://developer.github.com/enterprise/2.20/v3/licenses/#get-the-contents-of-a-repositorys-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/license", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2438__", + "_type": "request", + "name": "Perform a merge", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/merging/#perform-a-merge", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/merges", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2439__", + "_type": "request", + "name": "List milestones for a repository", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/milestones/#list-milestones-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "sort", + "value": "due_on", + "disabled": false + }, + { + "name": "direction", + "value": "asc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2440__", + "_type": "request", + "name": "Create a milestone", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/milestones/#create-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2441__", + "_type": "request", + "name": "Get a single milestone", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/milestones/#get-a-single-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2442__", + "_type": "request", + "name": "Update a milestone", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/milestones/#update-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2443__", + "_type": "request", + "name": "Delete a milestone", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/milestones/#delete-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2444__", + "_type": "request", + "name": "Get labels for every issue in a milestone", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/labels/#get-labels-for-every-issue-in-a-milestone", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/milestones/{{ milestone_number }}/labels", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2445__", + "_type": "request", + "name": "List your notifications in a repository", + "description": "List all notifications for the current user.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/notifications/#list-your-notifications-in-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [ + { + "name": "all", + "value": false, + "disabled": false + }, + { + "name": "participating", + "value": false, + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "before", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2446__", + "_type": "request", + "name": "Mark notifications as read in a repository", + "description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub Enterprise](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List your notifications in a repository](https://developer.github.com/enterprise/2.20/v3/activity/notifications/#list-your-notifications-in-a-repository) endpoint and pass the query parameter `all=false`.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/notifications/#mark-notifications-as-read-in-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/notifications", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2447__", + "_type": "request", + "name": "Get information about a Pages site", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/pages/#get-information-about-a-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2448__", + "_type": "request", + "name": "Enable a Pages site", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/pages/#enable-a-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2449__", + "_type": "request", + "name": "Disable a Pages site", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/pages/#disable-a-pages-site", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.switcheroo-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2450__", + "_type": "request", + "name": "Update information about a Pages site", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/pages/#update-information-about-a-pages-site", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2451__", + "_type": "request", + "name": "Request a page build", + "description": "You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.\n\nBuild requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/pages/#request-a-page-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2452__", + "_type": "request", + "name": "List Pages builds", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/pages/#list-pages-builds", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2453__", + "_type": "request", + "name": "Get latest Pages build", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/pages/#get-latest-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2454__", + "_type": "request", + "name": "Get a specific Pages build", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/pages/#get-a-specific-pages-build", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pages/builds/{{ build_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2455__", + "_type": "request", + "name": "List pre-receive hooks for repository", + "description": "List all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/repo_pre_receive_hooks/#list-pre-receive-hooks", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2456__", + "_type": "request", + "name": "Get a single pre-receive hook for repository", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/repo_pre_receive_hooks/#get-a-single-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2457__", + "_type": "request", + "name": "Update pre-receive hook enforcement for repository", + "description": "For pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement`\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/repo_pre_receive_hooks/#update-pre-receive-hook-enforcement", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2458__", + "_type": "request", + "name": "Remove enforcement overrides for a pre-receive hook for repository", + "description": "Deletes any overridden enforcement on this repository for the specified hook.\n\nResponds with effective values inherited from owner and/or global level.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/repo_pre_receive_hooks/#remove-enforcement-overrides-for-a-pre-receive-hook", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pre-receive-hooks/{{ pre_receive_hook_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2459__", + "_type": "request", + "name": "List repository projects", + "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/#list-repository-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2460__", + "_type": "request", + "name": "Create a repository project", + "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/#create-a-repository-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2461__", + "_type": "request", + "name": "List pull requests", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/#list-pull-requests", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "head", + "disabled": false + }, + { + "name": "base", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2462__", + "_type": "request", + "name": "Create a pull request", + "description": "You can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/#create-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2463__", + "_type": "request", + "name": "List comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/enterprise/2.20/v3/pulls/comments/#parameters-2) table.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/comments/#list-comments-in-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2464__", + "_type": "request", + "name": "Get a single comment", + "description": "Provides details for a review comment.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/enterprise/2.20/v3/pulls/comments/#parameters-2) table.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/comments/#get-a-single-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2465__", + "_type": "request", + "name": "Edit a comment", + "description": "Enables you to edit a review comment.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/enterprise/2.20/v3/pulls/comments/#parameters-2) table.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/comments/#edit-a-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2466__", + "_type": "request", + "name": "Delete a comment", + "description": "Deletes a review comment.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/comments/#delete-a-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2467__", + "_type": "request", + "name": "List reactions for a pull request review comment", + "description": "List the reactions to a [pull request review comment](https://developer.github.com/enterprise/2.20/v3/pulls/comments/).\n\nhttps://developer.github.com/enterprise/2.20/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2468__", + "_type": "request", + "name": "Create reaction for a pull request review comment", + "description": "Create a reaction to a [pull request review comment](https://developer.github.com/enterprise/2.20/v3/pulls/comments/). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.\n\nhttps://developer.github.com/enterprise/2.20/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/comments/{{ comment_id }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2469__", + "_type": "request", + "name": "Get a single pull request", + "description": "Lists details of a pull request by providing its number.\n\nWhen you get, [create](https://developer.github.com/enterprise/2.20/v3/pulls/#create-a-pull-request), or [edit](https://developer.github.com/enterprise/2.20/v3/pulls/#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://developer.github.com/enterprise/2.20/v3/git/#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://developer.github.com/enterprise/2.20/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/#get-a-single-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2470__", + "_type": "request", + "name": "Update a pull request", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/#update-a-pull-request", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.shadow-cat-preview+json,application/vnd.github.sailor-v-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2471__", + "_type": "request", + "name": "List comments on a pull request", + "description": "Lists review comments for a pull request. By default, review comments are in ascending order by ID.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/enterprise/2.20/v3/pulls/comments/#parameters-2) table.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/comments/#list-comments-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2472__", + "_type": "request", + "name": "Create a comment", + "description": "Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see \"[Comments](https://developer.github.com/enterprise/2.20/v3/issues/comments/#create-a-comment).\" We recommend creating a review comment using `line`, `side`, and optionally `start_line` and `start_side` if your comment applies to more than one line in the pull request diff.\n\nYou can still create a review comment using the `position` parameter. When you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required. For more information, see [Multi-line comment summary](https://developer.github.com/enterprise/2.20/v3/pulls/comments/#multi-line-comment-summary-3).\n\n**Note:** The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.\n\n**Multi-line comment summary**\n\n**Note:** New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for full details.\n\nUse the `comfort-fade` preview header and the `line` parameter to show multi-line comment-supported fields in the response.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute. For more information, see `position` in the [input parameters](https://developer.github.com/enterprise/2.20/v3/pulls/comments/#parameters-2) table.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/comments/#create-a-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2473__", + "_type": "request", + "name": "Create a review comment reply", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/comments/#create-a-review-comment-reply", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/comments/{{ comment_id }}/replies", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2474__", + "_type": "request", + "name": "List commits on a pull request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [Commit List API](https://developer.github.com/enterprise/2.20/v3/repos/commits/#list-commits-on-a-repository).\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/#list-commits-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/commits", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2475__", + "_type": "request", + "name": "List pull requests files", + "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/#list-pull-requests-files", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/files", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2476__", + "_type": "request", + "name": "Get if a pull request has been merged", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/#get-if-a-pull-request-has-been-merged", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2477__", + "_type": "request", + "name": "Merge a pull request (Merge Button)", + "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/#merge-a-pull-request-merge-button", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/merge", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2478__", + "_type": "request", + "name": "List review requests", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/review_requests/#list-review-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2479__", + "_type": "request", + "name": "Create a review request", + "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/review_requests/#create-a-review-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2480__", + "_type": "request", + "name": "Delete a review request", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/review_requests/#delete-a-review-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/requested_reviewers", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2481__", + "_type": "request", + "name": "List reviews on a pull request", + "description": "The list of reviews returns in chronological order.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/reviews/#list-reviews-on-a-pull-request", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2482__", + "_type": "request", + "name": "Create a pull request review", + "description": "This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.\n\n**Note:** To comment on a specific line in a file, you need to first determine the _position_ of that line in the diff. The GitHub REST API v3 offers the `application/vnd.github.v3.diff` [media type](https://developer.github.com/enterprise/2.20/v3/media/#commits-commit-comparison-and-pull-requests). To see a pull request diff, add this media type to the `Accept` header of a call to the [single pull request](https://developer.github.com/enterprise/2.20/v3/pulls/#get-a-single-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/reviews/#create-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2483__", + "_type": "request", + "name": "Get a single review", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/reviews/#get-a-single-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2484__", + "_type": "request", + "name": "Delete a pending review", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/reviews/#delete-a-pending-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2485__", + "_type": "request", + "name": "Update a pull request review", + "description": "Update the review summary comment with new text.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/reviews/#update-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2486__", + "_type": "request", + "name": "Get comments for a single review", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/reviews/#get-comments-for-a-single-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/comments", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2487__", + "_type": "request", + "name": "Dismiss a pull request review", + "description": "**Note:** To dismiss a pull request review on a [protected branch](https://developer.github.com/enterprise/2.20/v3/repos/branches/), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/reviews/#dismiss-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/dismissals", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2488__", + "_type": "request", + "name": "Submit a pull request review", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/reviews/#submit-a-pull-request-review", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/reviews/{{ review_id }}/events", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_117__", + "_id": "__REQ_2489__", + "_type": "request", + "name": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.\n\nhttps://developer.github.com/enterprise/2.20/v3/pulls/#update-a-pull-request-branch", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.lydian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/pulls/{{ pull_number }}/update-branch", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2490__", + "_type": "request", + "name": "Get the README", + "description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://developer.github.com/enterprise/2.20/v3/repos/contents/#custom-media-types) for retrieving the raw content or rendered HTML.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/contents/#get-the-readme", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/readme", + "body": {}, + "parameters": [ + { + "name": "ref", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2491__", + "_type": "request", + "name": "List releases for a repository", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://developer.github.com/enterprise/2.20/v3/repos/#list-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/releases/#list-releases-for-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2492__", + "_type": "request", + "name": "Create a release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/releases/#create-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2493__", + "_type": "request", + "name": "Get a single release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://developer.github.com/enterprise/2.20/v3/media/#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/releases/#get-a-single-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2494__", + "_type": "request", + "name": "Edit a release asset", + "description": "Users with push access to the repository can edit a release asset.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/releases/#edit-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2495__", + "_type": "request", + "name": "Delete a release asset", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/releases/#delete-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/assets/{{ asset_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2496__", + "_type": "request", + "name": "Get the latest release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/releases/#get-the-latest-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/latest", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2497__", + "_type": "request", + "name": "Get a release by tag name", + "description": "Get a published release with the specified tag.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/releases/#get-a-release-by-tag-name", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/tags/{{ tag }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2498__", + "_type": "request", + "name": "Get a single release", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://developer.github.com/enterprise/2.20/v3/#hypermedia).\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/releases/#get-a-single-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2499__", + "_type": "request", + "name": "Edit a release", + "description": "Users with push access to the repository can edit a release.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/releases/#edit-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2500__", + "_type": "request", + "name": "Delete a release", + "description": "Users with push access to the repository can delete a release.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/releases/#delete-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2501__", + "_type": "request", + "name": "List assets for a release", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/releases/#list-assets-for-a-release", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2502__", + "_type": "request", + "name": "Upload a release asset", + "description": "This endpoint makes use of [a Hypermedia relation](https://developer.github.com/v3/#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in the response of the [Create a release endpoint](https://developer.github.com/v3/repos/releases/#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example:\n\n`application/zip`\n\nGitHub expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example, you'll still need to pass your authentication to be able to upload an asset.\n\n**Notes:**\n\n* GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List assets for a release](https://developer.github.com/v3/repos/releases/#list-assets-for-a-release)\" endpoint lists the renamed filenames. For more information and help, contact [GitHub Support](https://github.com/contact).\n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.\n\nThis may leave an empty asset with a state of `starter`. It can be safely deleted.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/releases/#upload-a-release-asset", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/releases/{{ release_id }}/assets", + "body": {}, + "parameters": [ + { + "name": "name", + "disabled": false + }, + { + "name": "label", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2503__", + "_type": "request", + "name": "List Stargazers", + "description": "You can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.20/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/starring/#list-stargazers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stargazers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2504__", + "_type": "request", + "name": "Get the number of additions and deletions per week", + "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/code_frequency", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2505__", + "_type": "request", + "name": "Get the last year of commit activity data", + "description": "Returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`.\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/statistics/#get-the-last-year-of-commit-activity-data", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/commit_activity", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2506__", + "_type": "request", + "name": "Get contributors list with additions, deletions, and commit counts", + "description": "* `total` - The Total number of commits authored by the contributor.\n\nWeekly Hash (`weeks` array):\n\n* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/contributors", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2507__", + "_type": "request", + "name": "Get the weekly commit count for the repository owner and everyone else", + "description": "Returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.\n\nThe array order is oldest week (index 0) to most recent week.\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/participation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2508__", + "_type": "request", + "name": "Get the number of commits per hour in each day", + "description": "Each array contains the day number, hour number, and number of commits:\n\n* `0-6`: Sunday - Saturday\n* `0-23`: Hour of day\n* Number of commits\n\nFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/stats/punch_card", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2509__", + "_type": "request", + "name": "Create a status", + "description": "Users with push access in a repository can create commit statuses for a given SHA.\n\nNote: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/statuses/#create-a-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/statuses/{{ sha }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2510__", + "_type": "request", + "name": "List watchers", + "description": "Lists the people watching the specified repository.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/watching/#list-watchers", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscribers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2511__", + "_type": "request", + "name": "Get a repository subscription", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/watching/#get-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2512__", + "_type": "request", + "name": "Set a repository subscription", + "description": "If you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://developer.github.com/enterprise/2.20/v3/activity/watching/#delete-a-repository-subscription) completely.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/watching/#set-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2513__", + "_type": "request", + "name": "Delete a repository subscription", + "description": "This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://developer.github.com/enterprise/2.20/v3/activity/watching/#set-a-repository-subscription).\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/watching/#delete-a-repository-subscription", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/subscription", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2514__", + "_type": "request", + "name": "List tags", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#list-tags", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/tags", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2515__", + "_type": "request", + "name": "List teams", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#list-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2516__", + "_type": "request", + "name": "Get all repository topics", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#get-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2517__", + "_type": "request", + "name": "Replace all repository topics", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#replace-all-repository-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/topics", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2518__", + "_type": "request", + "name": "Transfer a repository", + "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#transfer-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/transfer", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2519__", + "_type": "request", + "name": "Enable vulnerability alerts", + "description": "Enables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#enable-vulnerability-alerts", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.dorian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2520__", + "_type": "request", + "name": "Disable vulnerability alerts", + "description": "Disables vulnerability alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\" in the GitHub Help documentation.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#disable-vulnerability-alerts", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.dorian-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/vulnerability-alerts", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2521__", + "_type": "request", + "name": "Get archive link", + "description": "Gets a redirect URL to download an archive for a repository. The `:archive_format` can be either `tarball` or `zipball`. The `:ref` must be a valid Git reference. If you omit `:ref`, the repository’s default branch (usually `master`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the `Location` header to make a second `GET` request.\n\n_Note_: For private repositories, these links are temporary and expire after five minutes.\n\nTo follow redirects with curl, use the `-L` switch:\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/contents/#get-archive-link", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repos/{{ owner }}/{{ repo }}/{{ archive_format }}/{{ ref }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2522__", + "_type": "request", + "name": "Create a repository using a template", + "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://developer.github.com/enterprise/2.20/v3/repos/#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\n\\`\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#create-a-repository-using-a-template", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/repos/{{ template_owner }}/{{ template_repo }}/generate", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2523__", + "_type": "request", + "name": "List public repositories", + "description": "Lists all public repositories in the order that they were created.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.20/v3/#link-header) to get the URL for the next page of repositories.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise appliance, you will be able to list all repositories including private repositories.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#list-public-repositories", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/repositories", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "visibility", + "value": "public", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2524__", + "_type": "request", + "name": "Search code", + "description": "Find file contents via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.20/v3/#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.20/v3/search/#text-match-metadata).\n\n**Considerations for code search**\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 10 MB are searchable.\n\nSuppose you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery). Your query would look something like this:\n\nHere, we're searching for the keyword `addClass` within a file's contents. We're making sure that we're only looking in files where the language is JavaScript. And we're scoping the search to the `repo:jquery/jquery` repository.\n\nhttps://developer.github.com/enterprise/2.20/v3/search/#search-code", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/code", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2525__", + "_type": "request", + "name": "Search commits", + "description": "Find commits via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.20/v3/#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.20/v3/search/#text-match-metadata).\n\n**Considerations for commit search**\n\nOnly the _default branch_ is considered. In most cases, this will be the `master` branch.\n\nSuppose you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\nhttps://developer.github.com/enterprise/2.20/v3/search/#search-commits", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.cloak-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/commits", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2526__", + "_type": "request", + "name": "Search issues and pull requests", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.20/v3/#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.20/v3/search/#text-match-metadata).\n\nLet's say you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\nIn this query, we're searching for the keyword `windows`, within any open issue that's labeled as `bug`. The search runs across repositories whose primary language is Python. We’re sorting by creation date in ascending order, so that the oldest issues appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.20/v3/search/#search-issues-and-pull-requests", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/issues", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2527__", + "_type": "request", + "name": "Search labels", + "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://developer.github.com/enterprise/2.20/v3/#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.20/v3/search/#text-match-metadata).\n\nSuppose you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\nThe labels that best match for the query appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.20/v3/search/#search-labels", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/labels", + "body": {}, + "parameters": [ + { + "name": "repository_id", + "disabled": false + }, + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2528__", + "_type": "request", + "name": "Search repositories", + "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.20/v3/#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.20/v3/search/#text-match-metadata).\n\nSuppose you want to search for popular Tetris repositories written in Assembly. Your query might look like this.\n\nYou can search for multiple topics by adding more `topic:` instances, and including the `mercy-preview` header. For example:\n\nIn this request, we're searching for repositories with the word `tetris` in the name, the description, or the README. We're limiting the results to only find repositories where the primary language is Assembly. We're sorting by stars in descending order, so that the most popular repositories appear first in the search results.\n\nhttps://developer.github.com/enterprise/2.20/v3/search/#search-repositories", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/repositories", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2529__", + "_type": "request", + "name": "Search topics", + "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.20/v3/#pagination).\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.20/v3/search/#text-match-metadata).\n\nSee \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nSuppose you want to search for topics related to Ruby that are featured on [https://github.com/topics](https://github.com/topics). Your query might look like this:\n\nIn this request, we're searching for topics with the keyword `ruby`, and we're limiting the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.\n\n**Note:** A search for featured Ruby topics only has 6 total results, so a [Link header](https://developer.github.com/enterprise/2.20/v3/#link-header) indicating pagination is not included in the response.\n\nhttps://developer.github.com/enterprise/2.20/v3/search/#search-topics", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/topics", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_121__", + "_id": "__REQ_2530__", + "_type": "request", + "name": "Search users", + "description": "Find users via various criteria. This method returns up to 100 results [per page](https://developer.github.com/enterprise/2.20/v3/#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://developer.github.com/enterprise/2.20/v3/search/#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://developer.github.com/enterprise/2.20/v3/search/#text-match-metadata).\n\nImagine you're looking for a list of popular users. You might try out this query:\n\nHere, we're looking at users with the name Tom. We're only interested in those with more than 42 repositories, and only if they have over 1,000 followers.\n\nhttps://developer.github.com/enterprise/2.20/v3/search/#search-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/search/users", + "body": {}, + "parameters": [ + { + "name": "q", + "disabled": false + }, + { + "name": "sort", + "disabled": false + }, + { + "name": "order", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2531__", + "_type": "request", + "name": "Check configuration status", + "description": "This endpoint allows you to check the status of the most recent configuration process:\n\nNote that you may need to wait several seconds after you start a process before you can check its status.\n\nThe different statuses are:\n\n| Status | Description |\n| ------------- | --------------------------------- |\n| `PENDING` | The job has not started yet |\n| `CONFIGURING` | The job is running |\n| `DONE` | The job has finished correctly |\n| `FAILED` | The job has finished unexpectedly |\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#check-configuration-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/configcheck", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2532__", + "_type": "request", + "name": "Start a configuration process", + "description": "This endpoint allows you to start a configuration process at any time for your updated settings to take effect:\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#start-a-configuration-process", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/configure", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2533__", + "_type": "request", + "name": "Check maintenance status", + "description": "Check your installation's maintenance status:\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#check-maintenance-status", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2534__", + "_type": "request", + "name": "Enable or disable maintenance mode", + "description": "The possible values for `enabled` are `true` and `false`. When it's `false`, the attribute `when` is ignored and the maintenance mode is turned off. `when` defines the time period when the maintenance was enabled.\n\nThe possible values for `when` are `now` or any date parseable by [mojombo/chronic](https://github.com/mojombo/chronic).\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#enable-or-disable-maintenance-mode", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/maintenance", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2535__", + "_type": "request", + "name": "Retrieve settings", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#retrieve-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2536__", + "_type": "request", + "name": "Modify settings", + "description": "For a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#modify-settings", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/setup/api/settings", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2537__", + "_type": "request", + "name": "Retrieve authorized SSH keys", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#retrieve-authorized-ssh-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2538__", + "_type": "request", + "name": "Add a new authorized SSH key", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#add-a-new-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2539__", + "_type": "request", + "name": "Remove an authorized SSH key", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#remove-an-authorized-ssh-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/setup/api/settings/authorized-keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2540__", + "_type": "request", + "name": "Upload a license for the first time", + "description": "When you boot a GitHub Enterprise Server instance for the first time, you can use the following endpoint to upload a license:\n\nNote that you need to POST to [`/setup/api/configure`](https://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#start-a-configuration-process) to start the actual configuration process.\n\nWhen using this endpoint, your GitHub Enterprise Server instance must have a password set. This can be accomplished two ways:\n\n1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.\n2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.\n\nFor a list of the available settings, see the [Retrieve settings endpoint](https://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#retrieve-settings).\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#upload-a-license-for-the-first-time", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/start", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2541__", + "_type": "request", + "name": "Upgrade a license", + "description": "This API upgrades your license and also triggers the configuration process:\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/management_console/#upgrade-a-license", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/setup/api/upgrade", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2542__", + "_type": "request", + "name": "Queue an indexing job", + "description": "You can index the following targets (replace `:owner` with the name of a user or organization account and `:repository` with the name of a repository):\n\n| Target | Description |\n| --------------------------- | -------------------------------------------------------------------- |\n| `:owner` | A user or organization account. |\n| `:owner/:repository` | A repository. |\n| `:owner/*` | All of a user or organization's repositories. |\n| `:owner/:repository/issues` | All the issues in a repository. |\n| `:owner/*/issues` | All the issues in all of a user or organization's repositories. |\n| `:owner/:repository/code` | All the source code in a repository. |\n| `:owner/*/code` | All the source code in all of a user or organization's repositories. |\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/search_indexing/#queue-an-indexing-job", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/staff/indexing_jobs", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2543__", + "_type": "request", + "name": "Get team", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#get-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2544__", + "_type": "request", + "name": "Edit team", + "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#edit-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2545__", + "_type": "request", + "name": "Delete team", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#delete-team", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2546__", + "_type": "request", + "name": "List discussions", + "description": "List all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/discussions/#list-discussions", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2547__", + "_type": "request", + "name": "Create a discussion", + "description": "Creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/discussions/#create-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2548__", + "_type": "request", + "name": "Get a single discussion", + "description": "Get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/discussions/#get-a-single-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2549__", + "_type": "request", + "name": "Edit a discussion", + "description": "Edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/discussions/#edit-a-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2550__", + "_type": "request", + "name": "Delete a discussion", + "description": "Delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/discussions/#delete-a-discussion", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2551__", + "_type": "request", + "name": "List comments", + "description": "List all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#list-comments", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [ + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2552__", + "_type": "request", + "name": "Create a comment", + "description": "Creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#create-a-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2553__", + "_type": "request", + "name": "Get a single comment", + "description": "Get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#get-a-single-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2554__", + "_type": "request", + "name": "Edit a comment", + "description": "Edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#edit-a-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2555__", + "_type": "request", + "name": "Delete a comment", + "description": "Deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#delete-a-comment", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2556__", + "_type": "request", + "name": "List reactions for a team discussion comment", + "description": "List the reactions to a [team discussion comment](https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/reactions/#list-reactions-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2557__", + "_type": "request", + "name": "Create reaction for a team discussion comment", + "description": "Create a reaction to a [team discussion comment](https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\nhttps://developer.github.com/enterprise/2.20/v3/reactions/#create-reaction-for-a-team-discussion-comment", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/comments/{{ comment_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2558__", + "_type": "request", + "name": "List reactions for a team discussion", + "description": "List the reactions to a [team discussion](https://developer.github.com/enterprise/2.20/v3/teams/discussions/). OAuth access tokens require the `read:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/reactions/#list-reactions-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [ + { + "name": "content", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_119__", + "_id": "__REQ_2559__", + "_type": "request", + "name": "Create reaction for a team discussion", + "description": "Create a reaction to a [team discussion](https://developer.github.com/enterprise/2.20/v3/teams/discussions/). OAuth access tokens require the `write:discussion` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\nhttps://developer.github.com/enterprise/2.20/v3/reactions/#create-reaction-for-a-team-discussion", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.squirrel-girl-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/teams/{{ team_id }}/discussions/{{ discussion_number }}/reactions", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2560__", + "_type": "request", + "name": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/members/#list-team-members", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members", + "body": {}, + "parameters": [ + { + "name": "role", + "value": "all", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2561__", + "_type": "request", + "name": "Get team member (Legacy)", + "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership](https://developer.github.com/enterprise/2.20/v3/teams/members/#get-team-membership) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/members/#get-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2562__", + "_type": "request", + "name": "Add team member (Legacy)", + "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add team membership](https://developer.github.com/enterprise/2.20/v3/teams/members/#add-or-update-team-membership) endpoint instead. It allows you to invite new organization members to your teams.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.20/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/members/#add-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2563__", + "_type": "request", + "name": "Remove team member (Legacy)", + "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership](https://developer.github.com/enterprise/2.20/v3/teams/members/#remove-team-membership) endpoint instead. It allows you to remove both active and pending memberships.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/members/#remove-team-member-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/members/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2564__", + "_type": "request", + "name": "Get team membership", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create team](https://developer.github.com/enterprise/2.20/v3/teams#create-team).\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/members/#get-team-membership", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2565__", + "_type": "request", + "name": "Add or update team membership", + "description": "If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user 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. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf 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.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/members/#add-or-update-team-membership", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2566__", + "_type": "request", + "name": "Remove team membership", + "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.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/members/#remove-team-membership", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/memberships/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2567__", + "_type": "request", + "name": "List team projects", + "description": "Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#list-team-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2568__", + "_type": "request", + "name": "Review a team 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.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#review-a-team-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2569__", + "_type": "request", + "name": "Add or update team project", + "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.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#add-or-update-team-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2570__", + "_type": "request", + "name": "Remove team project", + "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. **Note:** This endpoint removes the project from the team, but does not delete it.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#remove-team-project", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/projects/{{ project_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2571__", + "_type": "request", + "name": "List team repos", + "description": "If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#list-team-repos", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2572__", + "_type": "request", + "name": "Check if a team manages a repository", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.20/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#check-if-a-team-manages-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2573__", + "_type": "request", + "name": "Add or update team repository", + "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.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.20/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#add-or-update-team-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2574__", + "_type": "request", + "name": "Remove team repository", + "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. NOTE: This does not delete the repository, it just removes it from the team.\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#remove-team-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/teams/{{ team_id }}/repos/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2575__", + "_type": "request", + "name": "List child teams", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#list-child-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/teams/{{ team_id }}/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2576__", + "_type": "request", + "name": "Get the authenticated user", + "description": "Lists public and private profile information when authenticated through basic auth or OAuth with the `user` scope.\n\nLists public profile information when authenticated through OAuth without the `user` scope.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/#get-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2577__", + "_type": "request", + "name": "Update the authenticated user", + "description": "**Note:** If your email is set to private and you send an `email` parameter as part of this request to update your profile, your privacy settings are still enforced: the email address will not be displayed on your public profile or via the API.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/#update-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2578__", + "_type": "request", + "name": "List email addresses for a user", + "description": "Lists all of your email addresses, and specifies which one is visible to the public. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/emails/#list-email-addresses-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2579__", + "_type": "request", + "name": "Add email address(es)", + "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/emails/#add-email-addresses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2580__", + "_type": "request", + "name": "Delete email address(es)", + "description": "If your GitHub Enterprise Server instance has [LDAP Sync enabled and the option to synchronize emails enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync), this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add or delete an email address via the API with these options enabled.\n\nThis endpoint is accessible with the `user` scope.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/emails/#delete-email-addresses", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/emails", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2581__", + "_type": "request", + "name": "List followers of the authenticated user", + "description": "Lists the people following the authenticated user.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/followers/#list-followers-of-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2582__", + "_type": "request", + "name": "List users followed by the authenticated user", + "description": "Lists the people who the authenticated user follows.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/followers/#list-users-followed-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2583__", + "_type": "request", + "name": "Check if you are following a user", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/users/followers/#check-if-you-are-following-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2584__", + "_type": "request", + "name": "Follow a user", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.20/v3/#http-verbs).\"\n\nFollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/followers/#follow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2585__", + "_type": "request", + "name": "Unfollow a user", + "description": "Unfollowing a user requires the user to be logged in and authenticated with basic auth or OAuth with the `user:follow` scope.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/followers/#unfollow-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/following/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2586__", + "_type": "request", + "name": "List your GPG keys", + "description": "Lists the current user's GPG keys. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/users/gpg_keys/#list-your-gpg-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2587__", + "_type": "request", + "name": "Create a GPG key", + "description": "Adds a GPG key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:gpg_key` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/users/gpg_keys/#create-a-gpg-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/gpg_keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2588__", + "_type": "request", + "name": "Get a single GPG key", + "description": "View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:gpg_key` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/users/gpg_keys/#get-a-single-gpg-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2589__", + "_type": "request", + "name": "Delete a GPG key", + "description": "Removes a GPG key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:gpg_key` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/users/gpg_keys/#delete-a-gpg-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/gpg_keys/{{ gpg_key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2590__", + "_type": "request", + "name": "List installations for a user", + "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.20/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/installations/#list-installations-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2591__", + "_type": "request", + "name": "List repositories accessible to the user for an installation", + "description": "List repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access for an installation.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou must use a [user-to-server OAuth access token](https://developer.github.com/enterprise/2.20/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe access the user has to each repository is included in the hash under the `permissions` key.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/installations/#list-repositories-accessible-to-the-user-for-an-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json,application/vnd.github.mercy-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2592__", + "_type": "request", + "name": "Add repository to installation", + "description": "Add a single repository to an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.20/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/installations/#add-repository-to-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2593__", + "_type": "request", + "name": "Remove repository from installation", + "description": "Remove a single repository from an installation. The authenticated user must have admin access to the repository.\n\nYou must use a personal access token (which you can create via the [command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) or the [OAuth Authorizations API](https://developer.github.com/enterprise/2.20/v3/oauth_authorizations/#create-a-new-authorization)) or [Basic Authentication](https://developer.github.com/enterprise/2.20/v3/auth/#basic-authentication) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/installations/#remove-repository-from-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/installations/{{ installation_id }}/repositories/{{ repository_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_110__", + "_id": "__REQ_2594__", + "_type": "request", + "name": "List user account issues assigned to the authenticated user", + "description": "List issues across owned and member repositories assigned to the authenticated user:\n\n**Note**: GitHub's REST API v3 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.\n\nBe 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://developer.github.com/enterprise/2.20/v3/pulls/#list-pull-requests)\" endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/issues", + "body": {}, + "parameters": [ + { + "name": "filter", + "value": "assigned", + "disabled": false + }, + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "labels", + "disabled": false + }, + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2595__", + "_type": "request", + "name": "List your public keys", + "description": "Lists the public SSH keys for the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/users/keys/#list-your-public-keys", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2596__", + "_type": "request", + "name": "Create a public key", + "description": "Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least `write:public_key` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to add an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/keys/#create-a-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/keys", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2597__", + "_type": "request", + "name": "Get a single public key", + "description": "View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least `read:public_key` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/users/keys/#get-a-single-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2598__", + "_type": "request", + "name": "Delete a public key", + "description": "Removes a public SSH key from the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least `admin:public_key` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\nIf your GitHub Enterprise Server appliance has [LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize SSH keys enabled, this API is disabled and will return a `403` response. Users managed in LDAP won't be able to remove an SSH key address via the API with these options enabled.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/keys/#delete-a-public-key", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/keys/{{ key_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2599__", + "_type": "request", + "name": "List your organization memberships", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/members/#list-your-organization-memberships", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs", + "body": {}, + "parameters": [ + { + "name": "state", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2600__", + "_type": "request", + "name": "Get your organization membership", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/members/#get-your-organization-membership", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2601__", + "_type": "request", + "name": "Edit your organization membership", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/members/#edit-your-organization-membership", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/memberships/orgs/{{ org }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2602__", + "_type": "request", + "name": "List your organizations", + "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/#list-your-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2603__", + "_type": "request", + "name": "Create a user project", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/#create-a-user-project", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/projects", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2604__", + "_type": "request", + "name": "List public email addresses for a user", + "description": "Lists your publicly visible email address. This endpoint is accessible with the `user:email` scope.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/emails/#list-public-email-addresses-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/public_emails", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2605__", + "_type": "request", + "name": "List repositories for the authenticated user", + "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#list-repositories-for-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [ + { + "name": "visibility", + "value": "all", + "disabled": false + }, + { + "name": "affiliation", + "value": "owner,collaborator,organization_member", + "disabled": false + }, + { + "name": "type", + "value": "all", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2606__", + "_type": "request", + "name": "Create a repository for the authenticated user", + "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository\n* `repo` scope to create a private repository\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#create-a-repository-for-the-authenticated-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json,application/vnd.github.baptiste-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "POST", + "url": "{{ github_api_root }}/user/repos", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2607__", + "_type": "request", + "name": "List a user's repository invitations", + "description": "When authenticating as a user, this endpoint will list all currently open repository invitations for that user.\n\n\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/invitations/#list-a-users-repository-invitations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/repository_invitations", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2608__", + "_type": "request", + "name": "Accept a repository invitation", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/invitations/#accept-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PATCH", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2609__", + "_type": "request", + "name": "Decline a repository invitation", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/invitations/#decline-a-repository-invitation", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/repository_invitations/{{ invitation_id }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2610__", + "_type": "request", + "name": "List repositories starred by the authenticated user", + "description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.20/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/starring/#list-repositories-starred-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2611__", + "_type": "request", + "name": "Check if you are starring a repository", + "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/starring/#check-if-you-are-starring-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2612__", + "_type": "request", + "name": "Star a repository", + "description": "Requires for the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.20/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/starring/#star-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2613__", + "_type": "request", + "name": "Unstar a repository", + "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/starring/#unstar-a-repository", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/starred/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2614__", + "_type": "request", + "name": "List repositories watched by the authenticated user", + "description": "Lists repositories the authenticated user is watching.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/watching/#list-repositories-watched-by-the-authenticated-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2615__", + "_type": "request", + "name": "Check if you are watching a repository (LEGACY)", + "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/watching/#check-if-you-are-watching-a-repository-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2616__", + "_type": "request", + "name": "Watch a repository (LEGACY)", + "description": "Requires the user to be authenticated.\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.20/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/watching/#watch-a-repository-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2617__", + "_type": "request", + "name": "Stop watching a repository (LEGACY)", + "description": "Requires for the user to be authenticated.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/watching/#stop-watching-a-repository-legacy", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/user/subscriptions/{{ owner }}/{{ repo }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_122__", + "_id": "__REQ_2618__", + "_type": "request", + "name": "List user teams", + "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://developer.github.com/enterprise/2.20/apps/building-oauth-apps/).\n\nhttps://developer.github.com/enterprise/2.20/v3/teams/#list-user-teams", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/user/teams", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2619__", + "_type": "request", + "name": "Get all users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://developer.github.com/enterprise/2.20/v3/#link-header) to get the URL for the next page of users.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/#get-all-users", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2620__", + "_type": "request", + "name": "Get a single user", + "description": "Provides publicly available information about someone with a GitHub Enterprise account.\n\nThe `email` key in the following response is the publicly visible email address from your GitHub Enterprise [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub Enterprise. For more information, see [Authentication](https://developer.github.com/enterprise/2.20/v3/#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://developer.github.com/enterprise/2.20/v3/users/emails/)\".\n\nhttps://developer.github.com/enterprise/2.20/v3/users/#get-a-single-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2621__", + "_type": "request", + "name": "List events performed by a user", + "description": "If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/events/#list-events-performed-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2622__", + "_type": "request", + "name": "List events for an organization", + "description": "This is the user's organization dashboard. You must be authenticated as the user to view this.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/events/#list-events-for-an-organization", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/orgs/{{ org }}", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2623__", + "_type": "request", + "name": "List public events performed by a user", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/events/#list-public-events-performed-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2624__", + "_type": "request", + "name": "List followers of a user", + "description": "Lists the people following the specified user.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/followers/#list-followers-of-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/followers", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2625__", + "_type": "request", + "name": "List users followed by another user", + "description": "Lists the people who the specified user follows.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/followers/#list-users-followed-by-another-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2626__", + "_type": "request", + "name": "Check if one user follows another", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/users/followers/#check-if-one-user-follows-another", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/following/{{ target_user }}", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_107__", + "_id": "__REQ_2627__", + "_type": "request", + "name": "List gists for a user", + "description": "Lists public gists for the specified user:\n\nhttps://developer.github.com/enterprise/2.20/v3/gists/#list-gists-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gists", + "body": {}, + "parameters": [ + { + "name": "since", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2628__", + "_type": "request", + "name": "List GPG keys for a user", + "description": "Lists the GPG keys for a user. This information is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/gpg_keys/#list-gpg-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/gpg_keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2629__", + "_type": "request", + "name": "Get contextual information about a user", + "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\nhttps://developer.github.com/enterprise/2.20/v3/users/#get-contextual-information-about-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/hovercard", + "body": {}, + "parameters": [ + { + "name": "subject_type", + "disabled": false + }, + { + "name": "subject_id", + "disabled": false + } + ] + }, + { + "parentId": "__FLD_102__", + "_id": "__REQ_2630__", + "_type": "request", + "name": "Get a user installation", + "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nhttps://developer.github.com/enterprise/2.20/v3/apps/#get-a-user-installation", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.machine-man-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/installation", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_123__", + "_id": "__REQ_2631__", + "_type": "request", + "name": "List public keys for a user", + "description": "Lists the _verified_ public SSH keys for a user. This is accessible by anyone.\n\nhttps://developer.github.com/enterprise/2.20/v3/users/keys/#list-public-keys-for-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/keys", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_115__", + "_id": "__REQ_2632__", + "_type": "request", + "name": "List user organizations", + "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List your organizations](https://developer.github.com/enterprise/2.20/v3/orgs/#list-your-organizations) API instead.\n\nhttps://developer.github.com/enterprise/2.20/v3/orgs/#list-user-organizations", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/orgs", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_116__", + "_id": "__REQ_2633__", + "_type": "request", + "name": "List user projects", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/projects/#list-user-projects", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.inertia-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/projects", + "body": {}, + "parameters": [ + { + "name": "state", + "value": "open", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2634__", + "_type": "request", + "name": "List events that a user has received", + "description": "These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/events/#list-events-that-a-user-has-received", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2635__", + "_type": "request", + "name": "List public events that a user has received", + "description": "\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/events/#list-public-events-that-a-user-has-received", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/received_events/public", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_120__", + "_id": "__REQ_2636__", + "_type": "request", + "name": "List repositories for a user", + "description": "Lists public repositories for the specified user.\n\nhttps://developer.github.com/enterprise/2.20/v3/repos/#list-repositories-for-a-user", + "headers": [ + { + "name": "Accept", + "value": "application/vnd.github.nebula-preview+json" + } + ], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/repos", + "body": {}, + "parameters": [ + { + "name": "type", + "value": "owner", + "disabled": false + }, + { + "name": "sort", + "value": "full_name", + "disabled": false + }, + { + "name": "direction", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2637__", + "_type": "request", + "name": "Promote an ordinary user to a site administrator", + "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/enterprise/2.20/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/users/#promote-an-ordinary-user-to-a-site-administrator", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2638__", + "_type": "request", + "name": "Demote a site administrator to an ordinary user", + "description": "You can demote any user account except your own.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/users/#demote-a-site-administrator-to-an-ordinary-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/site_admin", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2639__", + "_type": "request", + "name": "List repositories starred by a user", + "description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://developer.github.com/enterprise/2.20/v3/media/) via the `Accept` header:\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/starring/#list-repositories-starred-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/starred", + "body": {}, + "parameters": [ + { + "name": "sort", + "value": "created", + "disabled": false + }, + { + "name": "direction", + "value": "desc", + "disabled": false + }, + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_101__", + "_id": "__REQ_2640__", + "_type": "request", + "name": "List repositories watched by a user", + "description": "Lists repositories a user is watching.\n\nhttps://developer.github.com/enterprise/2.20/v3/activity/watching/#list-repositories-watched-by-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "GET", + "url": "{{ github_api_root }}/users/{{ username }}/subscriptions", + "body": {}, + "parameters": [ + { + "name": "per_page", + "value": 30, + "disabled": false + }, + { + "name": "page", + "value": 1, + "disabled": false + } + ] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2641__", + "_type": "request", + "name": "Suspend a user", + "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a `403` response.\n\nYou can suspend any user account except your own.\n\nNote 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 verbs](https://developer.github.com/enterprise/2.20/v3/#http-verbs).\"\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/users/#suspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "PUT", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + }, + { + "parentId": "__FLD_106__", + "_id": "__REQ_2642__", + "_type": "request", + "name": "Unsuspend a user", + "description": "If your GitHub Enterprise Server instance uses [LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a `403` response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.\n\nhttps://developer.github.com/enterprise/2.20/v3/enterprise-admin/users/#unsuspend-a-user", + "headers": [], + "authentication": { + "token": "{{ github_token }}", + "type": "bearer" + }, + "method": "DELETE", + "url": "{{ github_api_root }}/users/{{ username }}/suspended", + "body": {}, + "parameters": [] + } + ] +} \ No newline at end of file