UpdateRepoWebhook
Description
call UpdateRepoWebhook update mirror repository trigger.
Request Method
POST
Request Path
/apsara/route/cr/UpdateRepoWebhook
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
WebhookId | BODY | string | Yes | No sample value for this parameter. | trigger ID |
RepoNamespace | BODY | string | Yes | No sample value for this parameter. | namespace name |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
RepoName | BODY | string | Yes | No sample value for this parameter. | warehouse name |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
WebhookUrl | string | Yes | warehouse trigger URL. The length limit is 1 to 1024. It supports lowercase letters, numbers, dashes (-), and underscores (_) (which cannot start with a dash or underscore). |
WebhookName | string | Yes | warehouse trigger name. The length is limited to 2 to 30. You can use lowercase letters, digits, and underscores (_) (which cannot start with an underscore). |
Example
Successful Response example
{
"WebhookUrl":"Yes",
"WebhookName":"Yes"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}