Recently the REST API (in my case, specifically the repository events API ) has started sending out events of type ‘PullRequestReviewEvent’, which aren’t documented in the docs . Can those events be documented?
Additionally, the payload of those events (see here for an example) seems to contain a an ‘action’ field (a string), a ‘pull_request’ field (a PullRequest object as returned by the PR API ), and a ‘review’ field (a Review object as returned by the review API ) … except the returned review object differs from the review API response by capitalization of the ‘state’ field (review API e.g. returns ‘APPROVED’, while the event returns ‘approved’). Can the events API be fixed to be consistent to the review API there?
(NB: Sorry for email-style linking and non-clickability of the links, but I wasn’t allowed to add more than 2 links to the post otherwise and I felt they’re needed for clarity)
Links all under