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 |