Pull Request Labels
Pull Request labels provide extensibility to the pull request experience. Third party services or users with read permission in the repository can create, get, and delete labels associated with a pull request via this REST API. Labels are used to provide quick insights into a pull request, an example can be labelling a Pull request as "WIP", "Feature", or "Bug" to let others know the state and purpose of the Pull Request.
Labels are posted to the pull request and will be displayed in both the details and list views for pull requests.
Operations
Create |
Create a label for a specified pull request. The only required field is the name of the new label. |
Delete |
Removes a label from the set of those assigned to the pull request. |
Get |
Retrieves a single label that has been assigned to a pull request. |
List |
Get all the labels assigned to a pull request. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for