discord-api-spec icon indicating copy to clipboard operation
discord-api-spec copied to clipboard

Missing parameter for audit log header

Open danny-may opened this issue 1 year ago • 0 comments

A number of endpoints support the X-Audit-Log-Reason header, but this isnt included in the spec anywhere. I think that adding it to the parameters of all operations which support it would be helpful

{
    "name": "X-Audit-Log-Reason",
    "in": "header",
    "required": false,
    "schema": {
        "type": "string"
    }
}

danny-may avatar Aug 12 '23 09:08 danny-may