pre_receive_hook_id parameter
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
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
Get the maintenance status
Check your installation’s maintenance status:
Response
200 application/json
Response
Response
maintenance-status
Show Child Parameters
Enable or disable maintenance mode
Note: The request body for this operation must be submitted as application/x-www-form-urlencoded
data. You can submit a parameter value as a string, or you can use a tool such as curl
to submit a parameter value as the contents of a text file. For more information, see the curl
documentation.
Body
application/x-www-form-urlencoded
Body
A JSON string with the attributes enabled
and when
.
The possible values for enabled
are true
and false
. When it’s false
, the attribute when
is ignored and the maintenance mode is turned off. when
defines the time period when the maintenance was enabled.
The possible values for when
are now
or any date parseable by mojombo/chronic.
Response
200 application/json
Response
Response