Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Schema Inaccuracy] Invalid query parameter for Listing orgs hook deliveries #4108

Open
MauriRohling opened this issue Oct 25, 2024 · 0 comments

Comments

@MauriRohling
Copy link

MauriRohling commented Oct 25, 2024

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants