Help Center/ Cloud Operations Center/ API Reference/ API/ Application Resource Management/ Application/ Querying Sub-applications, Components, and Groups of a Lower Layer
Updated on 2025-12-05 GMT+08:00

Querying Sub-applications, Components, and Groups of a Lower Layer

Function

This API is used to query sub-applications, components, and groups of a lower layer.

URI

GET /v1/application-model/next

Table 1 Query Parameters

Parameter

Mandatory

Type

Description

application_id

No

String

Definition

Application ID.

Constraints

N/A

Range

ID of the application for the component. There is a clear hierarchy between them.

Default value

N/A

component_id

No

String

Definition

Component ID.

Constraints

N/A

Range

ID of the component corresponding to the group created after the component is selected.

Default value

N/A

limit

No

Integer

Definition

Number of items displayed on each page when the pagination query is performed.

Constraints

N/A

Range

The value can be customized. The value range is 1 to 500.

Default value

N/A

marker

No

String

Definition

It is used for pagination query.

Constraints

N/A

Range

ID of the last record in the previous query.

Default value

N/A

page_no

No

Integer

Definition

Page number.

Constraints

N/A

Range

N/A

Default value

N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

data

data object

Definition

The lower layer information about the selected applications, sub-applications, components, or groups.

Range

N/A

Table 3 data

Parameter

Type

Description

sub_applications

Array of ApplicationInfo objects

Definition

List of queried application information.

Range

The list contains 0 to 500 items.

components

Array of ComponentInfo objects

Definition

List of queried component information.

Range

The list contains 0 to 500 items.

groups

Array of GroupInfo objects

Definition

List of queried group information.

Range

The list contains 0 to 500 items.

Table 4 ApplicationInfo

Parameter

Type

Description

id

String

Definition

Application ID.

Range

N/A

name

String

Definition

Application name.

Range

The value is a string. It contains 3 to 50 characters.

code

String

Definition

Application code.

Range

N/A

description

String

Definition

Application description.

Range

N/A

domain_id

String

Definition

Tenant ID.

Range

N/A

parent_id

String

Definition

Parent node ID.

Range

N/A

is_collection

Boolean

Definition

Whether to add it to favorites.

Constraints

N/A

Range

  • true: The application is added to favorites and can be viewed in my favorites.

  • false: The application is not added to favorites.

Default value

By default, it is not added to favorites.

path

String

Definition

Node path.

Range

N/A

create_time

String

Definition

Creation time. The value is in the ISO 8601 format.

Range

N/A

update_time

String

Definition

Last modification time. The value is in the ISO 8601 format.

Range

N/A

Table 5 ComponentInfo

Parameter

Type

Description

id

String

Definition

Component ID.

Range

N/A

name

String

Definition

Component name.

Range

The value is a string. It contains 3 to 50 characters.

code

String

Definition

Component code.

Range

N/A

domain_id

String

Definition

Account ID.

Range

N/A

application_id

String

Definition

Application ID.

Range

N/A

path

String

Definition

Component node path.

Range

N/A

Table 6 GroupInfo

Parameter

Type

Description

id

String

Definition

Group ID.

Range

N/A

name

String

Definition

Group name.

Range

N/A

code

String

Definition

Group code.

Range

N/A

domain_id

String

Definition

Account ID.

Range

N/A

region_id

String

Definition

Region ID.

Range

N/A

application_id

String

Definition

Application ID.

Range

N/A

component_id

String

Definition

Component ID.

Range

N/A

sync_mode

String

Definition

Resource association method.

Range

  • MANUAL: manual association

  • AUTO: intelligent association

vendor

String

Definition

Vendor.

Range

  • RMS: Huawei Cloud vendor.

  • ALI: Alibaba Cloud vendor.

  • OTHER: other vendors.

sync_rules

String

Definition

Automatic association rule.

Range

N/A

relation_configurations

Array of strings

Definition

Group configuration information.

Range

N/A

Example Requests

Query sub-applications, components, and groups of a lower layer.

GET https://{Endpoint}/v1/application-model/next

Example Responses

Status code: 200

The query is successful.

{
  "data" : {
    "sub_applications" : [ {
      "id" : "67e3b885ef614c77c8b76f4a",
      "name" : "Sub-application_1",
      "code" : "67e3b885ef614c77c8b76f4a",
      "description" : null,
      "domain_id" : "dc2d76541f754d68a4c8d150262d92c2",
      "parent_id" : "67e3b885ef614c77c8b76f49",
      "path" : "67e3b885ef614c77c8b76f49.67e3b885ef614c77c8b76f4a",
      "is_collection" : null,
      "create_time" : "2025-03-26T08:19:17.891+00:00",
      "update_time" : "2025-03-26T08:19:17.891+00:00"
    }, {
      "id" : "6854fe9161db913bfd085f91",
      "name" : "test1144",
      "code" : "6854fe9161db913bfd085f91",
      "description" : null,
      "domain_id" : "dc2d76541f754d68a4c8d150262d92c2",
      "parent_id" : "67e3b885ef614c77c8b76f49",
      "path" : "67e3b885ef614c77c8b76f49.6854fe9161db913bfd085f91",
      "is_collection" : null,
      "create_time" : "2025-06-20T06:24:17.855+00:00",
      "update_time" : "2025-06-20T06:25:28.108+00:00"
    }, {
      "id" : "6854b6eee3ffc53bc02adb7f",
      "name" : "trryyztd",
      "code" : "6854b6eee3ffc53bc02adb7f",
      "description" : null,
      "domain_id" : "dc2d76541f754d68a4c8d150262d92c2",
      "parent_id" : "67e3b885ef614c77c8b76f49",
      "path" : "67e3b885ef614c77c8b76f49.6854b6eee3ffc53bc02adb7f",
      "is_collection" : null,
      "create_time" : "2025-06-20T01:18:38.860+00:00",
      "update_time" : "2025-06-20T01:18:38.860+00:00"
    } ],
    "components" : null,
    "groups" : null
  }
}

Status Codes

Status Code

Description

200

The query is successful.

Error Codes

See Error Codes.