Skip to content

Reconcile contradictory Search code rate limit on the search REST page#44540

Open
viraatdas wants to merge 1 commit into
github:mainfrom
viraatdas:fix/search-code-rate-limit-consistency
Open

Reconcile contradictory Search code rate limit on the search REST page#44540
viraatdas wants to merge 1 commit into
github:mainfrom
viraatdas:fix/search-code-rate-limit-consistency

Conversation

@viraatdas
Copy link
Copy Markdown

Fixes #43865.

The REST search docs page stated two different rate limits for GET /search/code on the same page. In the hand-written "About search" prose, the Search code endpoint was described as limited to 9 requests per minute, while the auto-generated "Search code" endpoint section (generated from the OpenAPI description) lists 10 requests per minute.

This aligns the hand-written prose to the auto-generated endpoint value (10 requests per minute), which is the source of truth, so the page is internally consistent. Only the prose above the autogeneration marker is changed; no generated content is touched, and no other numbers are altered.

Prepared with AI assistance.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
rest/search/search.md fpt
ghec
ghes@ 3.21 3.20 3.19 3.18 3.17 3.16
fpt
ghec
ghes@ 3.21 3.20 3.19 3.18 3.17 3.16

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

REST API docs inconsistency: "About search" says 9 requests/min, "Search code" endpoint section says 10 requests/min — same page, contradictory values

1 participant