diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 54c89baeba..dbf361d0f4 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -4038,7 +4038,7 @@ }, "parameters": [ { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/public-events-per-page" }, { "$ref": "#/components/parameters/page" @@ -64011,7 +64011,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" ], @@ -64117,11 +64117,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -279181,24 +279178,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" @@ -280448,24 +280432,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" @@ -280478,7 +280449,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": { @@ -283514,7 +283485,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", @@ -283530,30 +283508,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?" + } } ] }, @@ -292442,7 +292414,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": [ { @@ -296179,24 +296151,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" @@ -305867,24 +305826,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" @@ -305906,31 +305852,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", @@ -305945,12 +305885,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" @@ -305959,9 +305900,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?" } } @@ -306008,24 +305949,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" @@ -306168,24 +306096,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" @@ -306207,21 +306122,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" } ] }, @@ -306244,24 +306153,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" @@ -306283,21 +306179,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" } ] }, @@ -308333,6 +308223,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index cee0952d5b..b8f148106b 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -2841,7 +2841,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': @@ -46377,9 +46377,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 @@ -46460,9 +46470,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -208905,20 +208912,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: @@ -210035,20 +210033,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' @@ -210058,7 +210047,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 @@ -212603,6 +212592,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: @@ -212615,24 +212610,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 @@ -220300,7 +220292,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: @@ -223410,20 +223402,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' @@ -231890,20 +231873,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: @@ -231919,25 +231893,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: @@ -231949,11 +231920,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 @@ -231961,9 +231933,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: @@ -231998,20 +231970,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: @@ -232119,20 +232082,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' @@ -232149,19 +232103,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' @@ -232178,20 +232127,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' @@ -232208,19 +232148,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: @@ -234057,6 +233992,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 54c89baeba..dbf361d0f4 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -4038,7 +4038,7 @@ }, "parameters": [ { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/public-events-per-page" }, { "$ref": "#/components/parameters/page" @@ -64011,7 +64011,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" ], @@ -64117,11 +64117,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -279181,24 +279178,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" @@ -280448,24 +280432,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" @@ -280478,7 +280449,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": { @@ -283514,7 +283485,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", @@ -283530,30 +283508,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?" + } } ] }, @@ -292442,7 +292414,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": [ { @@ -296179,24 +296151,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" @@ -305867,24 +305826,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" @@ -305906,31 +305852,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", @@ -305945,12 +305885,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" @@ -305959,9 +305900,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?" } } @@ -306008,24 +305949,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" @@ -306168,24 +306096,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" @@ -306207,21 +306122,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" } ] }, @@ -306244,24 +306153,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" @@ -306283,21 +306179,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" } ] }, @@ -308333,6 +308223,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index cee0952d5b..b8f148106b 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -2841,7 +2841,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': @@ -46377,9 +46377,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 @@ -46460,9 +46470,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -208905,20 +208912,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: @@ -210035,20 +210033,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' @@ -210058,7 +210047,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 @@ -212603,6 +212592,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: @@ -212615,24 +212610,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 @@ -220300,7 +220292,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: @@ -223410,20 +223402,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' @@ -231890,20 +231873,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: @@ -231919,25 +231893,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: @@ -231949,11 +231920,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 @@ -231961,9 +231933,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: @@ -231998,20 +231970,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: @@ -232119,20 +232082,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' @@ -232149,19 +232103,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' @@ -232178,20 +232127,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' @@ -232208,19 +232148,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: @@ -234057,6 +233992,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index e283349a7b..edb90069cd 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -25881,7 +25881,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30 + "default": 15 } }, { @@ -28900,24 +28900,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" @@ -50018,24 +50005,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" @@ -50048,7 +50022,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": { @@ -96035,7 +96009,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", @@ -96051,30 +96032,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?" + } } ] } @@ -256808,7 +256783,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": [ { @@ -256991,7 +256966,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": [ { @@ -257174,7 +257149,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": [ { @@ -258407,7 +258382,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": [ { @@ -303795,24 +303770,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" @@ -493899,7 +493861,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" ], @@ -496357,11 +496319,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -569333,24 +569292,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" @@ -572400,31 +572346,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", @@ -572439,12 +572379,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" @@ -572453,9 +572394,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?" } } @@ -575521,24 +575462,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" @@ -600011,24 +599939,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" @@ -600050,21 +599965,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" } ] } @@ -603106,24 +603015,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" @@ -603145,21 +603041,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 91a19fb3ce..a7a4d190dc 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -10616,7 +10616,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': @@ -11315,20 +11321,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': *37 @@ -15093,20 +15090,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' @@ -15116,7 +15104,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 @@ -28426,6 +28414,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: @@ -28438,24 +28432,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 @@ -61096,7 +61087,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: @@ -71183,20 +71174,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' @@ -92794,9 +92776,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 @@ -93151,9 +93143,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -103318,20 +103307,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: @@ -103380,25 +103360,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: @@ -103410,11 +103387,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 @@ -103422,9 +103400,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 @@ -103489,20 +103467,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: @@ -104726,20 +104695,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' @@ -104756,19 +104716,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 @@ -104815,20 +104770,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' @@ -104845,19 +104791,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/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index e283349a7b..edb90069cd 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -25881,7 +25881,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30 + "default": 15 } }, { @@ -28900,24 +28900,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" @@ -50018,24 +50005,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" @@ -50048,7 +50022,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": { @@ -96035,7 +96009,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", @@ -96051,30 +96032,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?" + } } ] } @@ -256808,7 +256783,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": [ { @@ -256991,7 +256966,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": [ { @@ -257174,7 +257149,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": [ { @@ -258407,7 +258382,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": [ { @@ -303795,24 +303770,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" @@ -493899,7 +493861,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" ], @@ -496357,11 +496319,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -569333,24 +569292,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" @@ -572400,31 +572346,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", @@ -572439,12 +572379,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" @@ -572453,9 +572394,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?" } } @@ -575521,24 +575462,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" @@ -600011,24 +599939,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" @@ -600050,21 +599965,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" } ] } @@ -603106,24 +603015,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" @@ -603145,21 +603041,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/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 91a19fb3ce..a7a4d190dc 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -10616,7 +10616,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': @@ -11315,20 +11321,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': *37 @@ -15093,20 +15090,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' @@ -15116,7 +15104,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 @@ -28426,6 +28414,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: @@ -28438,24 +28432,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 @@ -61096,7 +61087,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: @@ -71183,20 +71174,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' @@ -92794,9 +92776,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 @@ -93151,9 +93143,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -103318,20 +103307,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: @@ -103380,25 +103360,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: @@ -103410,11 +103387,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 @@ -103422,9 +103400,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 @@ -103489,20 +103467,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: @@ -104726,20 +104695,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' @@ -104756,19 +104716,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 @@ -104815,20 +104770,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' @@ -104845,19 +104791,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/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 1a732dc0f3..11a53614bc 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -61321,7 +61321,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30 + "default": 15 } }, { @@ -64340,24 +64340,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" @@ -85458,24 +85445,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" @@ -85488,7 +85462,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": { @@ -137154,7 +137128,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", @@ -137170,30 +137151,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?" + } } ] } @@ -305036,7 +305011,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": [ { @@ -305219,7 +305194,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": [ { @@ -305402,7 +305377,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": [ { @@ -306635,7 +306610,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": [ { @@ -354257,24 +354232,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" @@ -554651,7 +554613,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" ], @@ -557109,11 +557071,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -630768,24 +630727,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" @@ -633835,31 +633781,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", @@ -633874,12 +633814,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" @@ -633888,9 +633829,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?" } } @@ -636956,24 +636897,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" @@ -661486,24 +661414,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" @@ -661525,21 +661440,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" } ] } @@ -664581,24 +664490,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" @@ -664620,21 +664516,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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index e5f109181a..613b603029 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -22017,7 +22017,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': @@ -22716,20 +22722,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': *37 @@ -26494,20 +26491,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' @@ -26517,7 +26505,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 @@ -39276,6 +39264,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: @@ -39288,24 +39282,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 @@ -72222,7 +72213,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: @@ -82664,20 +82655,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' @@ -106328,9 +106310,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 @@ -106686,9 +106678,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -116984,20 +116973,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: @@ -117046,25 +117026,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: @@ -117076,11 +117053,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 @@ -117088,9 +117066,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 @@ -117155,20 +117133,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: @@ -118392,20 +118361,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' @@ -118422,19 +118382,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 @@ -118481,20 +118436,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' @@ -118511,19 +118457,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/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 1a732dc0f3..11a53614bc 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -61321,7 +61321,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30 + "default": 15 } }, { @@ -64340,24 +64340,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" @@ -85458,24 +85445,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" @@ -85488,7 +85462,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": { @@ -137154,7 +137128,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", @@ -137170,30 +137151,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?" + } } ] } @@ -305036,7 +305011,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": [ { @@ -305219,7 +305194,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": [ { @@ -305402,7 +305377,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": [ { @@ -306635,7 +306610,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": [ { @@ -354257,24 +354232,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" @@ -554651,7 +554613,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" ], @@ -557109,11 +557071,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -630768,24 +630727,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" @@ -633835,31 +633781,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", @@ -633874,12 +633814,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" @@ -633888,9 +633829,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?" } } @@ -636956,24 +636897,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" @@ -661486,24 +661414,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" @@ -661525,21 +661440,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" } ] } @@ -664581,24 +664490,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" @@ -664620,21 +664516,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/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index e5f109181a..613b603029 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -22017,7 +22017,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': @@ -22716,20 +22722,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': *37 @@ -26494,20 +26491,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' @@ -26517,7 +26505,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 @@ -39276,6 +39264,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: @@ -39288,24 +39282,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 @@ -72222,7 +72213,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: @@ -82664,20 +82655,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' @@ -106328,9 +106310,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 @@ -106686,9 +106678,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -116984,20 +116973,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: @@ -117046,25 +117026,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: @@ -117076,11 +117053,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 @@ -117088,9 +117066,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 @@ -117155,20 +117133,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: @@ -118392,20 +118361,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' @@ -118422,19 +118382,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 @@ -118481,20 +118436,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' @@ -118511,19 +118457,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/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 550180d945..fe96fcd4ef 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -12116,7 +12116,7 @@ }, "parameters": [ { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/public-events-per-page" }, { "$ref": "#/components/parameters/page" @@ -77464,7 +77464,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" ], @@ -77570,11 +77570,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -300874,24 +300871,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" @@ -302141,24 +302125,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" @@ -302171,7 +302142,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": { @@ -304644,7 +304615,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", @@ -304660,30 +304638,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?" + } } ] }, @@ -313663,7 +313635,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": [ { @@ -317489,24 +317461,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" @@ -327533,24 +327492,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" @@ -327572,31 +327518,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", @@ -327611,12 +327551,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" @@ -327625,9 +327566,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?" } } @@ -327674,24 +327615,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" @@ -327834,24 +327762,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" @@ -327873,21 +327788,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" } ] }, @@ -327910,24 +327819,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" @@ -327949,21 +327845,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" } ] }, @@ -330383,6 +330273,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 69833e716d..e03b75420d 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -8538,7 +8538,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': @@ -55892,9 +55892,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 @@ -55976,9 +55986,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -224538,20 +224545,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: @@ -225668,20 +225666,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' @@ -225691,7 +225680,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 @@ -227814,6 +227803,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: @@ -227826,24 +227821,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' @@ -235575,7 +235567,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: @@ -238750,20 +238742,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' @@ -247472,20 +247455,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: @@ -247501,25 +247475,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: @@ -247531,11 +247502,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 @@ -247543,9 +247515,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: @@ -247580,20 +247552,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: @@ -247701,20 +247664,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' @@ -247731,19 +247685,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' @@ -247760,20 +247709,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' @@ -247790,19 +247730,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: @@ -249982,6 +249917,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/ghec/ghec.json b/descriptions/ghec/ghec.json index 550180d945..fe96fcd4ef 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -12116,7 +12116,7 @@ }, "parameters": [ { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/public-events-per-page" }, { "$ref": "#/components/parameters/page" @@ -77464,7 +77464,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" ], @@ -77570,11 +77570,8 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "search", - "subcategory": "search", - "deprecationDate": "2025-03-04", - "removalDate": "2025-11-04" - }, - "deprecated": true + "subcategory": "search" + } } }, "/search/labels": { @@ -300874,24 +300871,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" @@ -302141,24 +302125,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" @@ -302171,7 +302142,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": { @@ -304644,7 +304615,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", @@ -304660,30 +304638,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?" + } } ] }, @@ -313663,7 +313635,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": [ { @@ -317489,24 +317461,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" @@ -327533,24 +327492,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" @@ -327572,31 +327518,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", @@ -327611,12 +327551,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" @@ -327625,9 +327566,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?" } } @@ -327674,24 +327615,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" @@ -327834,24 +327762,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" @@ -327873,21 +327788,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" } ] }, @@ -327910,24 +327819,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" @@ -327949,21 +327845,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" } ] }, @@ -330383,6 +330273,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/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 69833e716d..e03b75420d 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -8538,7 +8538,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': @@ -55892,9 +55892,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 @@ -55976,9 +55986,6 @@ paths: enabledForGitHubApps: true category: search subcategory: search - deprecationDate: '2025-03-04' - removalDate: '2025-11-04' - deprecated: true "/search/labels": get: summary: Search labels @@ -224538,20 +224545,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: @@ -225668,20 +225666,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' @@ -225691,7 +225680,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 @@ -227814,6 +227803,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: @@ -227826,24 +227821,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' @@ -235575,7 +235567,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: @@ -238750,20 +238742,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' @@ -247472,20 +247455,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: @@ -247501,25 +247475,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: @@ -247531,11 +247502,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 @@ -247543,9 +247515,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: @@ -247580,20 +247552,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: @@ -247701,20 +247664,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' @@ -247731,19 +247685,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' @@ -247760,20 +247709,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' @@ -247790,19 +247730,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: @@ -249982,6 +249917,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/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json index 093cbed743..d110ca2326 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json @@ -66708,7 +66708,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": { @@ -92670,7 +92670,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", @@ -92686,7 +92693,7 @@ "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": { "push_id": 10115855396, @@ -92704,12 +92711,19 @@ }, "message": "commit", "distinct": true, - "url": "https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" + "url": "https://api.github.com/repos/octo-org/octo-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" } ] }, "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?" + } } ] } @@ -459137,8 +459151,8 @@ }, "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": { "push_id": 10115855396, @@ -459156,12 +459170,19 @@ }, "message": "commit", "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" + "url": "https://api.github.com/repos/octo-org/octo-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" } ] }, "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", @@ -459176,8 +459197,8 @@ }, "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, @@ -459190,9 +459211,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?" } } @@ -471639,14 +471660,7 @@ "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" } ] } @@ -474726,14 +474740,7 @@ "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/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml index 9d1a0a9fdf..c449a4acb0 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml @@ -14533,7 +14533,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/activity/events#list-public-events parameters: - - *4 + - name: per_page + description: The number of results per page (max 100). For more information, + see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.14/rest/using-the-rest-api/using-pagination-in-the-rest-api)." + in: query + schema: + type: integer + default: 30 - *5 responses: '200': @@ -20343,7 +20349,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 @@ -26444,6 +26450,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: @@ -26456,7 +26468,7 @@ 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: push_id: 10115855396 size: 1 @@ -26471,9 +26483,15 @@ paths: name: Monalisa Octocat message: commit distinct: true - url: https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 + url: https://api.github.com/repos/octo-org/octo-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 @@ -89966,8 +89984,8 @@ 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: push_id: 10115855396 size: 1 @@ -89982,9 +90000,15 @@ paths: name: Monalisa Octocat message: commit distinct: true - url: https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300 + url: https://api.github.com/repos/octo-org/octo-repo/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: @@ -89996,8 +90020,8 @@ 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_type: repository @@ -90008,9 +90032,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 @@ -90923,12 +90947,6 @@ paths: 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 @@ -91012,12 +91030,6 @@ paths: 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/ghes-3.14/dereferenced/ghes-3.14.deref.json b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json index 093cbed743..d110ca2326 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json @@ -66708,7 +66708,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": { @@ -92670,7 +92670,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", @@ -92686,7 +92693,7 @@ "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": { "push_id": 10115855396, @@ -92704,12 +92711,19 @@ }, "message": "commit", "distinct": true, - "url": "https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" + "url": "https://api.github.com/repos/octo-org/octo-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" } ] }, "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?" + } } ] } @@ -459137,8 +459151,8 @@ }, "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": { "push_id": 10115855396, @@ -459156,12 +459170,19 @@ }, "message": "commit", "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" + "url": "https://api.github.com/repos/octo-org/octo-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" } ] }, "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", @@ -459176,8 +459197,8 @@ {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}