manageHook
This function allows you to create/modify the Hook Object.
This function allows you to create/modify the Hook Object.
This function lists all Hook Objects.
This function prints the objects data given its Hook Object ID.
This function allows you to delete the object given its Hook Object ID.
Parameter name | Type | Description | Possible Values | Example |
---|---|---|---|---|
_id | String | The Hook ID. | 5f8a21545108792bb859b1a3 | |
name | String | The name assigned to Hook by the user. | Post Backup Job Hook | |
owner | String | ID of the owner of the Hook. | 606dbe8b90f1b17d0569b833 | |
owner_name | String | Name of the owner matching the owner ID. | root | |
position_type | Integer | When the hook should be executed. |
|
1 |
position | Integer | The type of Hook that will be executed. |
|
1 |
data_list | List [] | List of data to pass to hook depending on position_type. |
|
|
script | String | Path the to script file. | /Path/to/script.sh | |
disabled | Integer | Boolean for is the Hook is disabled. |
|
1 |
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.