pre_receive_hook_id parameter
Get a pre-receive hook for a repository
Path Parameters
Response
200 application/json
Response
Response
repository-pre-receive-hook
Path Parameters
Update pre-receive hook enforcement for a repository
For pre-receive hooks which are allowed to be configured at the repo level, you can set enforcement
Path Parameters
pre_receive_hook_id parameter
Body
application/json
Body
The state of enforcement for the hook on this repository.
Allowed values:enableddisabledtesting
Response
200 application/json
Response
Response
repository-pre-receive-hook
Path Parameters
Body
Remove pre-receive hook enforcement for a repository
Deletes any overridden enforcement on this repository for the specified hook.
Responds with effective values inherited from owner and/or global level.
Path Parameters
pre_receive_hook_id parameter
Response
200 application/json
Response
Responds with effective values inherited from owner and/or global level.
repository-pre-receive-hook
Path Parameters
Get the configuration status
This endpoint allows you to check the status of the most recent configuration process:
Note that you may need to wait several seconds after you start a process before you can check its status.
The different statuses are:
Status | Description |
---|---|
PENDING |
The job has not started yet |
CONFIGURING |
The job is running |
DONE |
The job has finished correctly |
FAILED |
The job has finished unexpectedly |
Response
200 application/json
Response
Response
configuration-status
Show Child Parameters
Start a configuration process
This endpoint allows you to start a configuration process at any time for your updated settings to take effect:
Response
202
Response
Response