ListAppNames

更新时间:
复制 MD 格式

Returns a list of application names.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ClusterId

string

Yes

The cluster ID.

xxljob-b6ec1xxxx

AppName

string

No

The application name.

test-app

Response elements

Element

Type

Description

Example

object

The response object.

Code

integer

The response code.

200

Message

string

The error message.

Parameter error: content is null.

RequestId

string

The unique request ID. Use this ID for troubleshooting.

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

Success

boolean

Indicates if the request succeeded.

  • true: The request was successful.

  • false: The request failed.

true

Data

array<object>

object

Id

integer

The unique identifier.

15

AppName

string

The application name.

test-app

Title

string

The application title.

测试应用

AppGroupId

string

The ID of the application group.

test-app

AppType

integer

The app type.

1

WorkerRegistry

string

The registry type for manually registered workers.

k8s_service

Examples

Success response

JSON format

{
  "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",
      "AppType": 1,
      "WorkerRegistry": "k8s_service"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter Parameter error: %s. Parameter error: %s
401 IllegalRequest IllegalRequest: %s. Illegal request:%s
500 InternalError InternalError: %s. System Internal Error: %s
403 NoPermission No permission to perform this operation: %s. No permission to perform this operation: %s
404 NotFound Not found: %s. The resource does not exist: %s

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.