projects
Creates a new hook in a given repository.
post/v1/{+parent}/hooks
Path parameters
parentstring required
Required. The repository in which to create the hook. Values are of the form projects/{project_number}/locations/{location_id}/repositories/{repository_id}
Query parameters
hookIdstring
Required. The ID to use for the hook, which will become the final component of the hook's resource name. This value restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
Request body
Response
Successful response