diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 383f4a8580..97ae8a2904 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -4060,7 +4060,7 @@ }, "parameters": [ { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/public-events-per-page" }, { "$ref": "#/components/parameters/page" @@ -64314,7 +64314,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).\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\nsearch results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n> [!NOTE]\n> For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"", "tags": [ "search" ], @@ -64420,11 +64420,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -288050,24 +288047,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-07T07:50:26Z" @@ -289317,24 +289301,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -289347,7 +289318,7 @@ "login": "octocat", "display_login": "octocat", "gravatar_id": "", - "url": "https://api.github.com/users/rrubenich", + "url": "https://api.github.com/users/octocat", "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" }, "repo": { @@ -292383,7 +292354,14 @@ "action": "started" }, "public": true, - "created_at": "2022-06-08T23:29:25Z" + "created_at": "2022-06-08T23:29:25Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22249084964", @@ -292399,30 +292377,24 @@ "repo": { "id": 1296269, "name": "octo-org/octo-repo", - "url": "https://api.github.com/repos/octo-org/oct-repo" + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } } ] }, @@ -301311,7 +301283,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -305048,24 +305020,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -314736,24 +314695,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, "created_at": "2022-06-07T07:50:26Z" @@ -314775,31 +314721,25 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22196946742", @@ -314814,12 +314754,13 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" @@ -314828,9 +314769,9 @@ "created_at": "2022-06-07T07:50:26Z", "org": { "id": 9919, - "login": "github", + "login": "octo-org", "gravatar_id": "", - "url": "https://api.github.com/orgs/github", + "url": "https://api.github.com/orgs/octo-org", "avatar_url": "https://avatars.githubusercontent.com/u/9919?" } } @@ -314877,24 +314818,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-08T23:29:25Z" @@ -315037,24 +314965,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -315076,21 +314991,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] }, @@ -315113,24 +315022,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -315152,21 +315048,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] }, @@ -317202,6 +317092,15 @@ "type": "string" } }, + "public-events-per-page": { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 15 + } + }, "gist-id": { "name": "gist_id", "description": "The unique identifier of the gist.", diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 4249cd2160..f47dbc86f2 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -2852,7 +2852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events parameters: - - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/public-events-per-page" - "$ref": "#/components/parameters/page" responses: '200': @@ -46530,9 +46530,19 @@ paths: get: summary: Search issues and pull requests description: |- - > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. - > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). + Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api). + + When 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://docs.github.com/rest/search/search#text-match-metadata). + + For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this. + + `q=windows+label:bug+language:python+state:open&sort=created&order=asc` + + This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. + + > [!NOTE] + > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." tags: - search operationId: search/issues-and-pull-requests @@ -46613,9 +46623,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -212133,20 +212140,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-07T07:50:26Z' feed: @@ -213263,20 +213261,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -213286,7 +213275,7 @@ components: login: octocat display_login: octocat gravatar_id: '' - url: https://api.github.com/users/rrubenich + url: https://api.github.com/users/octocat avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 @@ -215831,6 +215820,12 @@ components: action: started public: true created_at: '2022-06-08T23:29:25Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22249084964' type: PushEvent actor: @@ -215843,24 +215838,21 @@ components: repo: id: 1296269 name: octo-org/octo-repo - url: https://api.github.com/repos/octo-org/oct-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? organization-invitation-items: value: - id: 1 @@ -223528,7 +223520,7 @@ components: created_at: '2022-09-12T12:14:32Z' updated_at: '2022-09-12T12:14:32Z' completed_at: '2022-09-12T13:15:33Z' - status: completed + status: succeeded actions_workflow_run_id: 3453588 scanned_repositories: - repository: @@ -226638,20 +226630,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -235118,20 +235101,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-07T07:50:26Z' user-org-events-items: @@ -235147,25 +235121,22 @@ components: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22196946742' type: CreateEvent actor: @@ -235177,11 +235148,12 @@ components: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user @@ -235189,9 +235161,9 @@ components: created_at: '2022-06-07T07:50:26Z' org: id: 9919 - login: github + login: octo-org gravatar_id: '' - url: https://api.github.com/orgs/github + url: https://api.github.com/orgs/octo-org avatar_url: https://avatars.githubusercontent.com/u/9919? user-public-events-items: value: @@ -235226,20 +235198,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-08T23:29:25Z' hovercard: @@ -235347,20 +235310,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -235377,19 +235331,14 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? user-received-public-events-items: value: - id: '22249084964' @@ -235406,20 +235355,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -235436,19 +235376,14 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? billing-premium-request-usage-report-user: value: timePeriod: @@ -237285,6 +237220,14 @@ components: required: true schema: type: string + public-events-per-page: + name: per_page + description: The number of results per page (max 100). For more information, + see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." + in: query + schema: + type: integer + default: 15 gist-id: name: gist_id description: The unique identifier of the gist. diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 383f4a8580..97ae8a2904 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -4060,7 +4060,7 @@ }, "parameters": [ { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/public-events-per-page" }, { "$ref": "#/components/parameters/page" @@ -64314,7 +64314,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).\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\nsearch results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n> [!NOTE]\n> For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"", "tags": [ "search" ], @@ -64420,11 +64420,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -288050,24 +288047,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-07T07:50:26Z" @@ -289317,24 +289301,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -289347,7 +289318,7 @@ "login": "octocat", "display_login": "octocat", "gravatar_id": "", - "url": "https://api.github.com/users/rrubenich", + "url": "https://api.github.com/users/octocat", "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" }, "repo": { @@ -292383,7 +292354,14 @@ "action": "started" }, "public": true, - "created_at": "2022-06-08T23:29:25Z" + "created_at": "2022-06-08T23:29:25Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22249084964", @@ -292399,30 +292377,24 @@ "repo": { "id": 1296269, "name": "octo-org/octo-repo", - "url": "https://api.github.com/repos/octo-org/oct-repo" + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } } ] }, @@ -301311,7 +301283,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -305048,24 +305020,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -314736,24 +314695,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, "created_at": "2022-06-07T07:50:26Z" @@ -314775,31 +314721,25 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22196946742", @@ -314814,12 +314754,13 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" @@ -314828,9 +314769,9 @@ "created_at": "2022-06-07T07:50:26Z", "org": { "id": 9919, - "login": "github", + "login": "octo-org", "gravatar_id": "", - "url": "https://api.github.com/orgs/github", + "url": "https://api.github.com/orgs/octo-org", "avatar_url": "https://avatars.githubusercontent.com/u/9919?" } } @@ -314877,24 +314818,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-08T23:29:25Z" @@ -315037,24 +314965,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -315076,21 +314991,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] }, @@ -315113,24 +315022,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -315152,21 +315048,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] }, @@ -317202,6 +317092,15 @@ "type": "string" } }, + "public-events-per-page": { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 15 + } + }, "gist-id": { "name": "gist_id", "description": "The unique identifier of the gist.", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 4249cd2160..f47dbc86f2 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -2852,7 +2852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events parameters: - - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/public-events-per-page" - "$ref": "#/components/parameters/page" responses: '200': @@ -46530,9 +46530,19 @@ paths: get: summary: Search issues and pull requests description: |- - > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. - > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). + Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api). + + When 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://docs.github.com/rest/search/search#text-match-metadata). + + For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this. + + `q=windows+label:bug+language:python+state:open&sort=created&order=asc` + + This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. + + > [!NOTE] + > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." tags: - search operationId: search/issues-and-pull-requests @@ -46613,9 +46623,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -212133,20 +212140,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-07T07:50:26Z' feed: @@ -213263,20 +213261,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -213286,7 +213275,7 @@ components: login: octocat display_login: octocat gravatar_id: '' - url: https://api.github.com/users/rrubenich + url: https://api.github.com/users/octocat avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 @@ -215831,6 +215820,12 @@ components: action: started public: true created_at: '2022-06-08T23:29:25Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22249084964' type: PushEvent actor: @@ -215843,24 +215838,21 @@ components: repo: id: 1296269 name: octo-org/octo-repo - url: https://api.github.com/repos/octo-org/oct-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? organization-invitation-items: value: - id: 1 @@ -223528,7 +223520,7 @@ components: created_at: '2022-09-12T12:14:32Z' updated_at: '2022-09-12T12:14:32Z' completed_at: '2022-09-12T13:15:33Z' - status: completed + status: succeeded actions_workflow_run_id: 3453588 scanned_repositories: - repository: @@ -226638,20 +226630,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -235118,20 +235101,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-07T07:50:26Z' user-org-events-items: @@ -235147,25 +235121,22 @@ components: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22196946742' type: CreateEvent actor: @@ -235177,11 +235148,12 @@ components: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user @@ -235189,9 +235161,9 @@ components: created_at: '2022-06-07T07:50:26Z' org: id: 9919 - login: github + login: octo-org gravatar_id: '' - url: https://api.github.com/orgs/github + url: https://api.github.com/orgs/octo-org avatar_url: https://avatars.githubusercontent.com/u/9919? user-public-events-items: value: @@ -235226,20 +235198,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-08T23:29:25Z' hovercard: @@ -235347,20 +235310,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -235377,19 +235331,14 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? user-received-public-events-items: value: - id: '22249084964' @@ -235406,20 +235355,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -235436,19 +235376,14 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? billing-premium-request-usage-report-user: value: timePeriod: @@ -237285,6 +237220,14 @@ components: required: true schema: type: string + public-events-per-page: + name: per_page + description: The number of results per page (max 100). For more information, + see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." + in: query + schema: + type: integer + default: 15 gist-id: name: gist_id description: The unique identifier of the gist. diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index d352d001a0..6fedb724ee 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -28933,7 +28933,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30 + "default": 15 } }, { @@ -32801,24 +32801,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-07T07:50:26Z" @@ -57974,24 +57961,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -58004,7 +57978,7 @@ "login": "octocat", "display_login": "octocat", "gravatar_id": "", - "url": "https://api.github.com/users/rrubenich", + "url": "https://api.github.com/users/octocat", "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" }, "repo": { @@ -109990,7 +109964,14 @@ "action": "started" }, "public": true, - "created_at": "2022-06-08T23:29:25Z" + "created_at": "2022-06-08T23:29:25Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22249084964", @@ -110006,30 +109987,24 @@ "repo": { "id": 1296269, "name": "octo-org/octo-repo", - "url": "https://api.github.com/repos/octo-org/oct-repo" + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } } ] } @@ -296745,7 +296720,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -296928,7 +296903,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -297111,7 +297086,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -298578,7 +298553,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -352009,24 +351984,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -582110,7 +582072,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).\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\nsearch results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n> [!NOTE]\n> For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"", "tags": [ "search" ], @@ -585185,11 +585147,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -671912,24 +671871,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, "created_at": "2022-06-07T07:50:26Z" @@ -675828,31 +675774,25 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22196946742", @@ -675867,12 +675807,13 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" @@ -675881,9 +675822,9 @@ "created_at": "2022-06-07T07:50:26Z", "org": { "id": 9919, - "login": "github", + "login": "octo-org", "gravatar_id": "", - "url": "https://api.github.com/orgs/github", + "url": "https://api.github.com/orgs/octo-org", "avatar_url": "https://avatars.githubusercontent.com/u/9919?" } } @@ -679798,24 +679739,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-08T23:29:25Z" @@ -708550,24 +708478,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -708589,21 +708504,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] } @@ -712494,24 +712403,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -712533,21 +712429,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] } diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index d54f2dbb61..4d7a93cbe0 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -11031,7 +11031,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events parameters: - - *17 + - name: per_page + description: The number of results per page (max 100). For more information, + see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." + in: query + schema: + type: integer + default: 15 - *19 responses: '200': @@ -11769,20 +11775,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-07T07:50:26Z' '304': *35 @@ -15610,20 +15607,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -15633,7 +15621,7 @@ paths: login: octocat display_login: octocat gravatar_id: '' - url: https://api.github.com/users/rrubenich + url: https://api.github.com/users/octocat avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 @@ -29274,6 +29262,12 @@ paths: action: started public: true created_at: '2022-06-08T23:29:25Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22249084964' type: PushEvent actor: @@ -29286,24 +29280,21 @@ paths: repo: id: 1296269 name: octo-org/octo-repo - url: https://api.github.com/repos/octo-org/oct-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62759,7 +62750,7 @@ paths: created_at: '2022-09-12T12:14:32Z' updated_at: '2022-09-12T12:14:32Z' completed_at: '2022-09-12T13:15:33Z' - status: completed + status: succeeded actions_workflow_run_id: 3453588 scanned_repositories: - repository: @@ -73045,20 +73036,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -94899,9 +94881,19 @@ paths: get: summary: Search issues and pull requests description: |- - > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. - > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). + Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api). + + When 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://docs.github.com/rest/search/search#text-match-metadata). + + For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this. + + `q=windows+label:bug+language:python+state:open&sort=created&order=asc` + + This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. + + > [!NOTE] + > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." tags: - search operationId: search/issues-and-pull-requests @@ -95250,9 +95242,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -105600,20 +105589,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-07T07:50:26Z' x-github: @@ -105662,25 +105642,22 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22196946742' type: CreateEvent actor: @@ -105692,11 +105669,12 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user @@ -105704,9 +105682,9 @@ paths: created_at: '2022-06-07T07:50:26Z' org: id: 9919 - login: github + login: octo-org gravatar_id: '' - url: https://api.github.com/orgs/github + url: https://api.github.com/orgs/octo-org avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false @@ -105771,20 +105749,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-08T23:29:25Z' x-github: @@ -107014,20 +106983,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -107044,19 +107004,14 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107103,20 +107058,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -107133,19 +107079,14 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false enabledForGitHubApps: true diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index d352d001a0..6fedb724ee 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -28933,7 +28933,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30 + "default": 15 } }, { @@ -32801,24 +32801,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-07T07:50:26Z" @@ -57974,24 +57961,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -58004,7 +57978,7 @@ "login": "octocat", "display_login": "octocat", "gravatar_id": "", - "url": "https://api.github.com/users/rrubenich", + "url": "https://api.github.com/users/octocat", "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" }, "repo": { @@ -109990,7 +109964,14 @@ "action": "started" }, "public": true, - "created_at": "2022-06-08T23:29:25Z" + "created_at": "2022-06-08T23:29:25Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22249084964", @@ -110006,30 +109987,24 @@ "repo": { "id": 1296269, "name": "octo-org/octo-repo", - "url": "https://api.github.com/repos/octo-org/oct-repo" + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } } ] } @@ -296745,7 +296720,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -296928,7 +296903,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -297111,7 +297086,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -298578,7 +298553,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -352009,24 +351984,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -582110,7 +582072,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api).\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\nsearch results, see [Text match metadata](https://docs.github.com/rest/search/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n> [!NOTE]\n> For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"", "tags": [ "search" ], @@ -585185,11 +585147,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -671912,24 +671871,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, "created_at": "2022-06-07T07:50:26Z" @@ -675828,31 +675774,25 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22196946742", @@ -675867,12 +675807,13 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" @@ -675881,9 +675822,9 @@ "created_at": "2022-06-07T07:50:26Z", "org": { "id": 9919, - "login": "github", + "login": "octo-org", "gravatar_id": "", - "url": "https://api.github.com/orgs/github", + "url": "https://api.github.com/orgs/octo-org", "avatar_url": "https://avatars.githubusercontent.com/u/9919?" } } @@ -679798,24 +679739,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-08T23:29:25Z" @@ -708550,24 +708478,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -708589,21 +708504,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] } @@ -712494,24 +712403,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -712533,21 +712429,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] } diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index d54f2dbb61..4d7a93cbe0 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -11031,7 +11031,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events parameters: - - *17 + - name: per_page + description: The number of results per page (max 100). For more information, + see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." + in: query + schema: + type: integer + default: 15 - *19 responses: '200': @@ -11769,20 +11775,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-07T07:50:26Z' '304': *35 @@ -15610,20 +15607,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -15633,7 +15621,7 @@ paths: login: octocat display_login: octocat gravatar_id: '' - url: https://api.github.com/users/rrubenich + url: https://api.github.com/users/octocat avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 @@ -29274,6 +29262,12 @@ paths: action: started public: true created_at: '2022-06-08T23:29:25Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22249084964' type: PushEvent actor: @@ -29286,24 +29280,21 @@ paths: repo: id: 1296269 name: octo-org/octo-repo - url: https://api.github.com/repos/octo-org/oct-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62759,7 +62750,7 @@ paths: created_at: '2022-09-12T12:14:32Z' updated_at: '2022-09-12T12:14:32Z' completed_at: '2022-09-12T13:15:33Z' - status: completed + status: succeeded actions_workflow_run_id: 3453588 scanned_repositories: - repository: @@ -73045,20 +73036,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -94899,9 +94881,19 @@ paths: get: summary: Search issues and pull requests description: |- - > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. - > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). + Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api). + + When 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://docs.github.com/rest/search/search#text-match-metadata). + + For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this. + + `q=windows+label:bug+language:python+state:open&sort=created&order=asc` + + This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. + + > [!NOTE] + > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." tags: - search operationId: search/issues-and-pull-requests @@ -95250,9 +95242,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -105600,20 +105589,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-07T07:50:26Z' x-github: @@ -105662,25 +105642,22 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22196946742' type: CreateEvent actor: @@ -105692,11 +105669,12 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user @@ -105704,9 +105682,9 @@ paths: created_at: '2022-06-07T07:50:26Z' org: id: 9919 - login: github + login: octo-org gravatar_id: '' - url: https://api.github.com/orgs/github + url: https://api.github.com/orgs/octo-org avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false @@ -105771,20 +105749,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-08T23:29:25Z' x-github: @@ -107014,20 +106983,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -107044,19 +107004,14 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107103,20 +107058,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -107133,19 +107079,14 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false enabledForGitHubApps: true diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index fb9355b705..0006ba34c5 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -66774,7 +66774,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30 + "default": 15 } }, { @@ -70642,24 +70642,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-07T07:50:26Z" @@ -95815,24 +95802,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -95845,7 +95819,7 @@ "login": "octocat", "display_login": "octocat", "gravatar_id": "", - "url": "https://api.github.com/users/rrubenich", + "url": "https://api.github.com/users/octocat", "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" }, "repo": { @@ -154050,7 +154024,14 @@ "action": "started" }, "public": true, - "created_at": "2022-06-08T23:29:25Z" + "created_at": "2022-06-08T23:29:25Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22249084964", @@ -154066,30 +154047,24 @@ "repo": { "id": 1296269, "name": "octo-org/octo-repo", - "url": "https://api.github.com/repos/octo-org/oct-repo" + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } } ] } @@ -348548,7 +348523,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -348731,7 +348706,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -348914,7 +348889,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -350381,7 +350356,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -406110,24 +406085,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -647941,7 +647903,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api).\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\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n> [!NOTE]\n> For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/enterprise-cloud@latest//github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"", "tags": [ "search" ], @@ -651016,11 +650978,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -738464,24 +738423,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, "created_at": "2022-06-07T07:50:26Z" @@ -742380,31 +742326,25 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22196946742", @@ -742419,12 +742359,13 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" @@ -742433,9 +742374,9 @@ "created_at": "2022-06-07T07:50:26Z", "org": { "id": 9919, - "login": "github", + "login": "octo-org", "gravatar_id": "", - "url": "https://api.github.com/orgs/github", + "url": "https://api.github.com/orgs/octo-org", "avatar_url": "https://avatars.githubusercontent.com/u/9919?" } } @@ -746350,24 +746291,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-08T23:29:25Z" @@ -775142,24 +775070,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -775181,21 +775096,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] } @@ -779086,24 +778995,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -779125,21 +779021,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] } diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index ad5c33e3f9..0e3528a102 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -22630,7 +22630,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events parameters: - - *17 + - name: per_page + description: The number of results per page (max 100). For more information, + see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." + in: query + schema: + type: integer + default: 15 - *19 responses: '200': @@ -23368,20 +23374,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-07T07:50:26Z' '304': *35 @@ -27209,20 +27206,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -27232,7 +27220,7 @@ paths: login: octocat display_login: octocat gravatar_id: '' - url: https://api.github.com/users/rrubenich + url: https://api.github.com/users/octocat avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 @@ -40266,6 +40254,12 @@ paths: action: started public: true created_at: '2022-06-08T23:29:25Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22249084964' type: PushEvent actor: @@ -40278,24 +40272,21 @@ paths: repo: id: 1296269 name: octo-org/octo-repo - url: https://api.github.com/repos/octo-org/oct-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74026,7 +74017,7 @@ paths: created_at: '2022-09-12T12:14:32Z' updated_at: '2022-09-12T12:14:32Z' completed_at: '2022-09-12T13:15:33Z' - status: completed + status: succeeded actions_workflow_run_id: 3453588 scanned_repositories: - repository: @@ -84667,20 +84658,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -108654,9 +108636,19 @@ paths: get: summary: Search issues and pull requests description: |- - > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. - > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). + Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api). + + When 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://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata). + + For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this. + + `q=windows+label:bug+language:python+state:open&sort=created&order=asc` + + This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. + + > [!NOTE] + > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/enterprise-cloud@latest//github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." tags: - search operationId: search/issues-and-pull-requests @@ -109006,9 +108998,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -119491,20 +119480,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-07T07:50:26Z' x-github: @@ -119553,25 +119533,22 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22196946742' type: CreateEvent actor: @@ -119583,11 +119560,12 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user @@ -119595,9 +119573,9 @@ paths: created_at: '2022-06-07T07:50:26Z' org: id: 9919 - login: github + login: octo-org gravatar_id: '' - url: https://api.github.com/orgs/github + url: https://api.github.com/orgs/octo-org avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false @@ -119662,20 +119640,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-08T23:29:25Z' x-github: @@ -120905,20 +120874,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -120935,19 +120895,14 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120994,20 +120949,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -121024,19 +120970,14 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false enabledForGitHubApps: true diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index fb9355b705..0006ba34c5 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -66774,7 +66774,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30 + "default": 15 } }, { @@ -70642,24 +70642,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-07T07:50:26Z" @@ -95815,24 +95802,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -95845,7 +95819,7 @@ "login": "octocat", "display_login": "octocat", "gravatar_id": "", - "url": "https://api.github.com/users/rrubenich", + "url": "https://api.github.com/users/octocat", "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" }, "repo": { @@ -154050,7 +154024,14 @@ "action": "started" }, "public": true, - "created_at": "2022-06-08T23:29:25Z" + "created_at": "2022-06-08T23:29:25Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22249084964", @@ -154066,30 +154047,24 @@ "repo": { "id": 1296269, "name": "octo-org/octo-repo", - "url": "https://api.github.com/repos/octo-org/oct-repo" + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } } ] } @@ -348548,7 +348523,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -348731,7 +348706,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -348914,7 +348889,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -350381,7 +350356,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -406110,24 +406085,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -647941,7 +647903,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api).\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\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n> [!NOTE]\n> For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/enterprise-cloud@latest//github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"", "tags": [ "search" ], @@ -651016,11 +650978,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -738464,24 +738423,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, "created_at": "2022-06-07T07:50:26Z" @@ -742380,31 +742326,25 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22196946742", @@ -742419,12 +742359,13 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" @@ -742433,9 +742374,9 @@ "created_at": "2022-06-07T07:50:26Z", "org": { "id": 9919, - "login": "github", + "login": "octo-org", "gravatar_id": "", - "url": "https://api.github.com/orgs/github", + "url": "https://api.github.com/orgs/octo-org", "avatar_url": "https://avatars.githubusercontent.com/u/9919?" } } @@ -746350,24 +746291,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-08T23:29:25Z" @@ -775142,24 +775070,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -775181,21 +775096,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] } @@ -779086,24 +778995,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -779125,21 +779021,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] } diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index ad5c33e3f9..0e3528a102 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -22630,7 +22630,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events parameters: - - *17 + - name: per_page + description: The number of results per page (max 100). For more information, + see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." + in: query + schema: + type: integer + default: 15 - *19 responses: '200': @@ -23368,20 +23374,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-07T07:50:26Z' '304': *35 @@ -27209,20 +27206,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -27232,7 +27220,7 @@ paths: login: octocat display_login: octocat gravatar_id: '' - url: https://api.github.com/users/rrubenich + url: https://api.github.com/users/octocat avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 @@ -40266,6 +40254,12 @@ paths: action: started public: true created_at: '2022-06-08T23:29:25Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22249084964' type: PushEvent actor: @@ -40278,24 +40272,21 @@ paths: repo: id: 1296269 name: octo-org/octo-repo - url: https://api.github.com/repos/octo-org/oct-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74026,7 +74017,7 @@ paths: created_at: '2022-09-12T12:14:32Z' updated_at: '2022-09-12T12:14:32Z' completed_at: '2022-09-12T13:15:33Z' - status: completed + status: succeeded actions_workflow_run_id: 3453588 scanned_repositories: - repository: @@ -84667,20 +84658,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -108654,9 +108636,19 @@ paths: get: summary: Search issues and pull requests description: |- - > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. - > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). + Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api). + + When 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://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata). + + For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this. + + `q=windows+label:bug+language:python+state:open&sort=created&order=asc` + + This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. + + > [!NOTE] + > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/enterprise-cloud@latest//github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." tags: - search operationId: search/issues-and-pull-requests @@ -109006,9 +108998,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -119491,20 +119480,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-07T07:50:26Z' x-github: @@ -119553,25 +119533,22 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22196946742' type: CreateEvent actor: @@ -119583,11 +119560,12 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user @@ -119595,9 +119573,9 @@ paths: created_at: '2022-06-07T07:50:26Z' org: id: 9919 - login: github + login: octo-org gravatar_id: '' - url: https://api.github.com/orgs/github + url: https://api.github.com/orgs/octo-org avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false @@ -119662,20 +119640,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-08T23:29:25Z' x-github: @@ -120905,20 +120874,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -120935,19 +120895,14 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120994,20 +120949,11 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -121024,19 +120970,14 @@ paths: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? x-github: githubCloudOnly: false enabledForGitHubApps: true diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 0e072f9694..708640d7cd 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -12150,7 +12150,7 @@ }, "parameters": [ { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/public-events-per-page" }, { "$ref": "#/components/parameters/page" @@ -77821,7 +77821,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api).\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\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n> [!NOTE]\n> For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/enterprise-cloud@latest//github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"", "tags": [ "search" ], @@ -77927,11 +77927,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -310210,24 +310207,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-07T07:50:26Z" @@ -311477,24 +311461,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -311507,7 +311478,7 @@ "login": "octocat", "display_login": "octocat", "gravatar_id": "", - "url": "https://api.github.com/users/rrubenich", + "url": "https://api.github.com/users/octocat", "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" }, "repo": { @@ -313980,7 +313951,14 @@ "action": "started" }, "public": true, - "created_at": "2022-06-08T23:29:25Z" + "created_at": "2022-06-08T23:29:25Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22249084964", @@ -313996,30 +313974,24 @@ "repo": { "id": 1296269, "name": "octo-org/octo-repo", - "url": "https://api.github.com/repos/octo-org/oct-repo" + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } } ] }, @@ -322999,7 +322971,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -326825,24 +326797,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -336869,24 +336828,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, "created_at": "2022-06-07T07:50:26Z" @@ -336908,31 +336854,25 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22196946742", @@ -336947,12 +336887,13 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" @@ -336961,9 +336902,9 @@ "created_at": "2022-06-07T07:50:26Z", "org": { "id": 9919, - "login": "github", + "login": "octo-org", "gravatar_id": "", - "url": "https://api.github.com/orgs/github", + "url": "https://api.github.com/orgs/octo-org", "avatar_url": "https://avatars.githubusercontent.com/u/9919?" } } @@ -337010,24 +336951,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-08T23:29:25Z" @@ -337170,24 +337098,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -337209,21 +337124,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] }, @@ -337246,24 +337155,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -337285,21 +337181,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:26Z" } ] }, @@ -339719,6 +339609,15 @@ ] } }, + "public-events-per-page": { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 15 + } + }, "gist-id": { "name": "gist_id", "description": "The unique identifier of the gist.", diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 15ee634646..70dd906a2c 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -8555,7 +8555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events parameters: - - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/public-events-per-page" - "$ref": "#/components/parameters/page" responses: '200': @@ -56072,9 +56072,19 @@ paths: get: summary: Search issues and pull requests description: |- - > [!WARNING] - > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. - > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). + Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api). + + When 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://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata). + + For example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this. + + `q=windows+label:bug+language:python+state:open&sort=created&order=asc` + + This query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results. + + > [!NOTE] + > For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see "[Searching only issues or pull requests](https://docs.github.com/enterprise-cloud@latest//github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests)." tags: - search operationId: search/issues-and-pull-requests @@ -56156,9 +56166,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -227998,20 +228005,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-07T07:50:26Z' feed: @@ -229128,20 +229126,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -229151,7 +229140,7 @@ components: login: octocat display_login: octocat gravatar_id: '' - url: https://api.github.com/users/rrubenich + url: https://api.github.com/users/octocat avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 @@ -231274,6 +231263,12 @@ components: action: started public: true created_at: '2022-06-08T23:29:25Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22249084964' type: PushEvent actor: @@ -231286,24 +231281,21 @@ components: repo: id: 1296269 name: octo-org/octo-repo - url: https://api.github.com/repos/octo-org/oct-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? external-group: value: group_id: '123' @@ -239035,7 +239027,7 @@ components: created_at: '2022-09-12T12:14:32Z' updated_at: '2022-09-12T12:14:32Z' completed_at: '2022-09-12T13:15:33Z' - status: completed + status: succeeded actions_workflow_run_id: 3453588 scanned_repositories: - repository: @@ -242210,20 +242202,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22237752260' @@ -250932,20 +250915,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-07T07:50:26Z' user-org-events-items: @@ -250961,25 +250935,22 @@ components: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: false created_at: '2022-06-09T12:47:28Z' + org: + id: 9919 + login: octo-org + gravatar_id: '' + url: https://api.github.com/orgs/octo-org + avatar_url: https://avatars.githubusercontent.com/u/9919? - id: '22196946742' type: CreateEvent actor: @@ -250991,11 +250962,12 @@ components: avatar_url: https://avatars.githubusercontent.com/u/583231?v=4 repo: id: 1296269 - name: octocat/Hello-World - url: https://api.github.com/repos/octocat/Hello-World + name: octo-org/octo-repo + url: https://api.github.com/repos/octo-org/octo-repo payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user @@ -251003,9 +250975,9 @@ components: created_at: '2022-06-07T07:50:26Z' org: id: 9919 - login: github + login: octo-org gravatar_id: '' - url: https://api.github.com/orgs/github + url: https://api.github.com/orgs/octo-org avatar_url: https://avatars.githubusercontent.com/u/9919? user-public-events-items: value: @@ -251040,20 +251012,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-08T23:29:25Z' hovercard: @@ -251161,20 +251124,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -251191,19 +251145,14 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? user-received-public-events-items: value: - id: '22249084964' @@ -251220,20 +251169,11 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: + repository_id: 1296269 push_id: 10115855396 - size: 1 - distinct_size: 1 ref: refs/heads/master head: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 before: 883efe034920928c47fe18598c01249d1a9fdabd - commits: - - sha: 7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 - author: - email: octocat@github.com - name: Monalisa Octocat - message: commit - distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 public: true created_at: '2022-06-09T12:47:28Z' - id: '22196946742' @@ -251250,19 +251190,14 @@ components: name: octocat/Hello-World url: https://api.github.com/repos/octocat/Hello-World payload: - ref: + ref: master ref_type: repository + full_ref: refs/heads/master master_branch: master description: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - org: - id: 9919 - login: github - gravatar_id: '' - url: https://api.github.com/orgs/github - avatar_url: https://avatars.githubusercontent.com/u/9919? billing-premium-request-usage-report-user: value: timePeriod: @@ -253442,6 +253377,14 @@ components: enum: - enable_all - disable_all + public-events-per-page: + name: per_page + description: The number of results per page (max 100). For more information, + see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." + in: query + schema: + type: integer + default: 15 gist-id: name: gist_id description: The unique identifier of the gist. diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 0e072f9694..708640d7cd 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -12150,7 +12150,7 @@ }, "parameters": [ { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/public-events-per-page" }, { "$ref": "#/components/parameters/page" @@ -77821,7 +77821,7 @@ "/search/issues": { "get": { "summary": "Search issues and pull requests", - "description": "> [!WARNING]\n> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025.\n> You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/).", + "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api).\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\nsearch results, see [Text match metadata](https://docs.github.com/enterprise-cloud@latest//rest/search/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n> [!NOTE]\n> For requests made by GitHub Apps with a user access token, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/enterprise-cloud@latest//github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"", "tags": [ "search" ], @@ -77927,11 +77927,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -310210,24 +310207,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-07T07:50:26Z" @@ -311477,24 +311461,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -311507,7 +311478,7 @@ "login": "octocat", "display_login": "octocat", "gravatar_id": "", - "url": "https://api.github.com/users/rrubenich", + "url": "https://api.github.com/users/octocat", "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" }, "repo": { @@ -313980,7 +313951,14 @@ "action": "started" }, "public": true, - "created_at": "2022-06-08T23:29:25Z" + "created_at": "2022-06-08T23:29:25Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22249084964", @@ -313996,30 +313974,24 @@ "repo": { "id": 1296269, "name": "octo-org/octo-repo", - "url": "https://api.github.com/repos/octo-org/oct-repo" + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } } ] }, @@ -322999,7 +322971,7 @@ "created_at": "2022-09-12T12:14:32Z", "updated_at": "2022-09-12T12:14:32Z", "completed_at": "2022-09-12T13:15:33Z", - "status": "completed", + "status": "succeeded", "actions_workflow_run_id": 3453588, "scanned_repositories": [ { @@ -326825,24 +326797,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -336869,24 +336828,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, "created_at": "2022-06-07T07:50:26Z" @@ -336908,31 +336854,25 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": false, - "created_at": "2022-06-09T12:47:28Z" + "created_at": "2022-06-09T12:47:28Z", + "org": { + "id": 9919, + "login": "octo-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/octo-org", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?" + } }, { "id": "22196946742", @@ -336947,12 +336887,13 @@ }, "repo": { "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" + "name": "octo-org/octo-repo", + "url": "https://api.github.com/repos/octo-org/octo-repo" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" @@ -336961,9 +336902,9 @@ "created_at": "2022-06-07T07:50:26Z", "org": { "id": 9919, - "login": "github", + "login": "octo-org", "gravatar_id": "", - "url": "https://api.github.com/orgs/github", + "url": "https://api.github.com/orgs/octo-org", "avatar_url": "https://avatars.githubusercontent.com/u/9919?" } } @@ -337010,24 +336951,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-08T23:29:25Z" @@ -337170,24 +337098,11 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { + "repository_id": 1296269, "push_id": 10115855396, - "size": 1, - "distinct_size": 1, "ref": "refs/heads/master", "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] + "before": "883efe034920928c47fe18598c01249d1a9fdabd" }, "public": true, "created_at": "2022-06-09T12:47:28Z" @@ -337209,21 +337124,15 @@ "url": "https://api.github.com/repos/octocat/Hello-World" }, "payload": { - "ref": null, + "ref": "master", "ref_type": "repository", + "full_ref": "refs/heads/master", "master_branch": "master", "description": null, "pusher_type": "user" }, "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } + "created_at": "2022-06-07T07:50:2{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}