Improve Issue API documentation #35718
Labels
content
This issue or pull request belongs to the Docs Content team
rest
Content related to rest - overview.
waiting for review
Issue/PR is waiting for a writer's review
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/rest/issues/labels?apiVersion=2022-11-28#add-labels-to-an-issue
What part(s) of the article would you like to see updated?
This API endpoint not only assigns existing labels but also creates a new label if it does not already exist. The newly created label will have a
null
description and a default color ofededed
. This is a convenient feature, and I believe it should be clearly documented to ensure users are aware and can take full advantage of it.Additional information
I believe this should be resolved in the internal repository. Could we use this issue as a tracking issue and keep it open until the internal issue is addressed?
The text was updated successfully, but these errors were encountered: