ListAppNames - 获取应用名称列表

获取应用名称列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
ClusterIdstring

集群 ID。

xxljob-b6ec1xxxx
AppNamestring

应用名称。

test-app

返回参数

名称类型描述示例值
object

Schema of Response

Codeinteger

响应码。

200
Messagestring

错误信息。

Parameter error: content is null.
RequestIdstring

本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。

3881C59F-59F1-5B2E-8110-7D689CA9B207
Successboolean

是否调用成功。

  • true:调用成功。
  • false:调用失败。
true
Dataarray<object>
dataobject
Idlong

主键。

15
AppNamestring

应用名称。

test-app
Titlestring

标题。

测试应用
AppGroupIdstring

任务分组 ID。

test-app

示例

正常返回示例

JSON格式

{
  "Code": 200,
  "Message": "Parameter error: content is null.",
  "RequestId": "3881C59F-59F1-5B2E-8110-7D689CA9B207",
  "Success": true,
  "Data": [
    {
      "Id": 15,
      "AppName": "test-app",
      "Title": "测试应用",
      "AppGroupId": "test-app\n"
    }
  ]
}

错误码

HTTP status code错误码错误信息描述
400InvalidParameterParameter error: %s.参数错误: %s
401IllegalRequestIllegalRequest: %s.非法请求:%s
403NoPermissionNo permission to perform this operation: %s.没有权限去执行该操作:%s
404NotFoundNot found: %s.资源不存在:%s
500InternalErrorInternalError: %s.系统内部错误:%s

访问错误中心查看更多错误码。