This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook is not subscribed to push events, the server will respond with 204 but no test POST will be generated.Note: Previously /repos/:owner/:repo/hooks/:hook_id/test
Request
Path Params
Responses
🟢204Response
application/json
Bodyapplication/json
🟠404404
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST '/repos///hooks//tests'