DmitryScaletta / twitch-api-swagger

Twitch API Swagger UI
https://twitch-api-swagger.surge.sh
9 stars 2 forks source link

Ban User POST missing info for required user_id #1

Closed johnebgood closed 1 year ago

johnebgood commented 1 year ago

For https://twitch-api-swagger.surge.sh/#/Moderation/ban-user I noticed that ban user call was missing a required post parameter user_id. Can the script be modified to include required post parameters from the api documentation?

Thanks! ~John

DmitryScaletta commented 1 year ago

Looks like user_id has to be specified in the request body according the docs

image

You can click "Schema" button in the request body section to see its shape

image