Open
Description
Schema Inaccuracy
The GitHub REST API documentation for listing deliveries for an organization webhook indicates that redelivery is a valid boolean query parameter. However, using this parameter results in an HTTP 422 response with the message: "Invalid request. 'redelivery' is not a permitted key."
Expected
Specifying the redelivery query parameter should return a filtered list of webhook deliveries based on the redelivery status.
Reproduction Steps
curl -H "Authorization: token ACCESS_TOKEN"
"https://api.github.com/orgs/[org]/hooks/[hookId]/deliveries?redelivery=true"