enterprise-admin

Get a pre-receive hook for a repository

get/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}

Request

  • Base URL: http://HOSTNAME/api/v3
  • URL: http://HOSTNAME/api/v3/repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}
  • Auth: none declared

Path parameters

ownerstring required

The account owner of the repository. The name is not case sensitive.

repostring required

The name of the repository without the .git extension. The name is not case sensitive.

pre_receive_hook_idinteger required

The unique identifier of the pre-receive hook.

Response

Response

idinteger
namestring
enforcementstring
configuration_urlstring

Changes

No recorded changes to this operation across all 50 revisions of this API.