--- swagger: "2.0" x-collection-name: GitHub x-complete: 0 info: title: Github Add Repos Owner Repo Hooks Hook Tests description: |- Test a push hook. 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/:id/tes termsOfService: https://help.github.com/articles/github-terms-of-service/#b-api-terms version: 1.0.0 host: api.github.com basePath: / schemes: - http produces: - application/json consumes: - application/json paths: /repos/{owner}/{repo}/hooks/{hookId}/tests: post: summary: Add Repos Owner Repo Hooks Hook Tests description: |- Test a push hook. 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/:id/tes operationId: test-a-push-hookthis-will-trigger-the-hook-with-the-latest-push-to-the-current-repositoryif-the-hook x-api-path-slug: reposownerrepohookshookidtests-post parameters: - in: header name: Accept description: Is used to set specified media type - in: query name: access_token description: Your Github OAuth token - in: path name: hookId description: Id of hook - in: path name: owner description: Name of repository owner - in: path name: repo description: Name of repository responses: 200: description: OK tags: - Repos - Owner - Repo - Hooks - Hook - Tests x-streamrank: polling_total_time_average: 0 polling_size_download_average: 0 streaming_total_time_average: 0 streaming_size_download_average: 0 change_yes: 0 change_no: 0 time_percentage: 0 size_percentage: 0 change_percentage: 0 last_run: "" days_run: 0 minute_run: 0 ---