托管 Prometheus
参数 | 类型 | 是否必选 | 示例值 | 描述 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | TestWebhook | 接口名称。当前 API 的名称为 TestWebhook。 |
Version | String | 是 | 2021-03-03 | 接口版本。当前 API 的版本为 2021-03-03。 |
Address | String | 是 | https://bytedance.com/v2/hook/f19ce*** | Webhook 地址。 |
Token | String | 否 | zs0T**** | Webhook Token,不能单独配置。 当配置 Webhook 地址,且启用了签名校验功能时,需同步配置。 |
参数 | 类型 | 示例值 | 描述 |
参数 | 类型 | 示例值 | 描述 |
StatusCode | Integer | 200 | HTTP 状态码。 |
Body | String | successfully | HTTP response body。 |
ErrorMessage | String | timeout | HTTP 请求返回的错误信息。 |
HTTP 状态码 | 错误码 | 错误信息 | 说明 |
HTTP 状态码 | 错误码 | 错误信息 | 说明 |
400 | InvalidParameter.{{parameter}} | The specified parameter {{parameter}} is invalid. | 输入不合法,如工作区名称不合法等。 |
400 | MissingParameter.{{parameter}} | The required parameter {{parameter}} is missing. | 缺少必要的参数。 |
403 | ProductUnsubscribed | You are not subscribed to VMP. Please go to the VMP console web page to subscribe to the service | 当前账号未订阅 VMP 服务。 |