diff --git a/content/rest/reference/permissions-required-for-github-apps.md b/content/rest/reference/permissions-required-for-github-apps.md index 517f7a35c4..eae0107db7 100644 --- a/content/rest/reference/permissions-required-for-github-apps.md +++ b/content/rest/reference/permissions-required-for-github-apps.md @@ -704,7 +704,7 @@ _Teams_ ### Permission on "pull requests" -Pull requests and issues are closely related.. If your GitHub App has permissions on pull requests but not on issues, these endpoints will be limited to pull requests. Endpoints that return both pull requests and issues will be filtered. Endpoints that allow operations on both pull requests and issues will be restricted to pull requests. +Pull requests and issues are closely related. If your GitHub App has permissions on pull requests but not on issues, these endpoints will be limited to pull requests. Endpoints that return both pull requests and issues will be filtered. Endpoints that allow operations on both pull requests and issues will be restricted to pull requests. - [`PATCH /repos/:owner/:repo/issues/:issue_number`](/rest/reference/issues#update-an-issue) (:write) - [`GET /repos/:owner/:repo/issues/:issue_number/comments`](/rest/reference/issues#list-issue-comments) (:read) diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index 55e1d167f1..3f499b29b5 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -73495,14 +73495,14 @@ "descriptionHTML": "

Set to open or resolved to only list secret scanning alerts in a specific state.

" }, { - "name": "secret_types", + "name": "secret_type", "in": "query", - "description": "Set to a comma separated list of `secret_type` in order to only list secret scanning alerts for those types. Set to `all` to list all the secret scanning alerts. Default is `all`.", + "description": "A comma separated list of secret types to return. By default all secret types are returned.", "required": false, "schema": { "type": "string" }, - "descriptionHTML": "

Set to a comma separated list of secret_type in order to only list secret scanning alerts for those types. Set to all to list all the secret scanning alerts. Default is all.

" + "descriptionHTML": "

A comma separated list of secret types to return. By default all secret types are returned.

" }, { "name": "page", diff --git a/lib/rest/static/decorated/ghes-3.1.json b/lib/rest/static/decorated/ghes-3.1.json index 0331f14703..bbc01fe62b 100644 --- a/lib/rest/static/decorated/ghes-3.1.json +++ b/lib/rest/static/decorated/ghes-3.1.json @@ -71286,14 +71286,14 @@ "descriptionHTML": "

Set to open or resolved to only list secret scanning alerts in a specific state.

" }, { - "name": "secret_types", + "name": "secret_type", "in": "query", - "description": "Set to a comma separated list of `secret_type` in order to only list secret scanning alerts for those types. Set to `all` to list all the secret scanning alerts. Default is `all`.", + "description": "A comma separated list of secret types to return. By default all secret types are returned.", "required": false, "schema": { "type": "string" }, - "descriptionHTML": "

Set to a comma separated list of secret_type in order to only list secret scanning alerts for those types. Set to all to list all the secret scanning alerts. Default is all.

" + "descriptionHTML": "

A comma separated list of secret types to return. By default all secret types are returned.

" }, { "name": "page", diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index abb94a8099..53e3faf3b2 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -323444,9 +323444,9 @@ } }, { - "name": "secret_types", + "name": "secret_type", "in": "query", - "description": "Set to a comma separated list of `secret_type` in order to only list secret scanning alerts for those types. Set to `all` to list all the secret scanning alerts. Default is `all`.", + "description": "A comma separated list of secret types to return. By default all secret types are returned.", "required": false, "schema": { "type": "string" diff --git a/lib/rest/static/dereferenced/ghes-3.1.deref.json b/lib/rest/static/dereferenced/ghes-3.1.deref.json index 20264f16b6..dac849a165 100644 --- a/lib/rest/static/dereferenced/ghes-3.1.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.1.deref.json @@ -307188,9 +307188,9 @@ } }, { - "name": "secret_types", + "name": "secret_type", "in": "query", - "description": "Set to a comma separated list of `secret_type` in order to only list secret scanning alerts for those types. Set to `all` to list all the secret scanning alerts. Default is `all`.", + "description": "A comma separated list of secret types to return. By default all secret types are returned.", "required": false, "schema": { "type": "string"