Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/rest/search/search?apiVersion=2022-11-28#search-code
What part(s) of the article would you like to see updated?
In the page, there is a sentence:
This endpoint can be used without authentication if only public resources are requested.
I believe this is a piece of text forgotten to be deleted, and the sample request is also wrong. If you try it out, it always gives you status 401, meaning that a token is truly mandatory for this endpoint.
Additional information
No response
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/rest/search/search?apiVersion=2022-11-28#search-code
What part(s) of the article would you like to see updated?
In the page, there is a sentence:
I believe this is a piece of text forgotten to be deleted, and the sample request is also wrong. If you try it out, it always gives you status 401, meaning that a token is truly mandatory for this endpoint.
Additional information
No response