You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When fetching issues for the rails project using the GitHub API, the html_url provided in the API response incorrectly redirects to a pull request URL rather than the expected issue URL.
Expected
For an issue fetched from the GitHub API, the expected html_url format should directly link to the issue page on GitHub, following the pattern:
Note: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key. Be aware that the id of a pull request returned from "Issues" endpoints will be an issue id. To find out the pull request id, use the "List pull requests" endpoint.
Due to compatibility reasons we've had to keep this behaviour around, but there's extra context in there about how to identify these PRs.
Schema Inaccuracy
When fetching issues for the rails project using the GitHub API, the
html_url
provided in the API response incorrectly redirects to a pull request URL rather than the expected issue URL.Expected
For an issue fetched from the GitHub API, the expected html_url format should directly link to the issue page on GitHub, following the pattern:
The actual URL format in the API response is:
Reproduction Steps
html_url
field in the API response for any issue.The text was updated successfully, but these errors were encountered: