获取制定执行器配置信息
接口说明
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| ClusterId | string | 是 | 集群 ID | xxljob-a1804a3226d |
| AppName | string | 是 | 应用名称。 | test-app |
返回参数
示例
正常返回示例
JSON格式
{
"RequestId": "39938688-0BAB-5AD8-BF02-F4910FAC7589",
"Code": 200,
"Message": "not support query script history, please upgrade engine version to 2.2.2+",
"Success": true,
"Data": {
"Config": [
{
"cluster": "c2c619b5129e0400fa3df263b249622aa",
"namespace": "default",
"service": "xxljob-http-demo1-svc"
}
],
"ExecutorType": "k8s_service"
}
}错误码
| HTTP status code | 错误码 | 错误信息 | 描述 |
|---|---|---|---|
| 400 | InvalidParameter | Parameter error: %s. | 参数错误: %s |
| 401 | IllegalRequest | IllegalRequest: %s. | 非法请求:%s |
| 403 | NoPermission | No permission to perform this operation: %s. | 没有权限去执行该操作:%s |
| 404 | NotFound | Not found: %s. | 资源不存在:%s |
| 500 | InternalError | InternalError: %s. | 系统内部错误:%s |
访问错误中心查看更多错误码。
变更历史
| 变更时间 | 变更内容概要 | 操作 |
|---|---|---|
| 2025-10-29 | 新增 OpenAPI | 查看变更详情 |
