Skip to content

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

Open
@MauriRohling

Description

@MauriRohling

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"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions