Querying Sub-applications, Sub-components, and Sub-groups
Function
This API is used to query sub-applications, sub-components, and sub-groups.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
coc:application:listModel
List
application *
-
-
-
URI
GET /v1/application-model/next
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
application_id |
No |
String |
Definition: Application ID. Constraints: N/A Value 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 Value 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 Value range: It is user-defined. The value ranges from 1 to 500. Default value: N/A |
|
marker |
No |
String |
Definition: It is used for pagination query. Constraints: N/A Value range: ID of the last record in the previous query. Default value: N/A |
|
page_no |
No |
Integer |
Definition: Page number. Constraints: N/A Value range: N/A Default value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
data |
data object |
Definition: Displays the lower-level information of the selected application, sub-application, component, or group. Value Range: N/A |
|
Parameter |
Type |
Description |
|---|---|---|
|
sub_applications |
Array of ApplicationInfo objects |
Definition: List of applications to be queried. Value Range: The list size ranges from 0 to 500. |
|
components |
Array of ComponentInfo objects |
Definition: List of component information to be queried. Value Range: The number of items in the list ranges from 0 to 500. |
|
groups |
Array of GroupInfo objects |
Definition: List of groups to be queried. Value Range: The list size ranges from 0 to 500. |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
Definition: Application ID Value Range: N/A |
|
name |
String |
Definition: Application name. Value Range: The value is a string with 3 to 50 characters. |
|
code |
String |
Definition: App code. Value Range: N/A |
|
description |
String |
Definition: Application description Value Range: N/A |
|
domain_id |
String |
Definition: Tenant ID. Value Range: N/A |
|
parent_id |
String |
Definition: Parent node ID. Value Range: N/A |
|
path |
String |
Definition: Node path. Value Range: N/A |
|
create_time |
String |
Definition: Creation time. The value is in the ISO 8601 format. Value Range: N/A |
|
update_time |
String |
Definition: Last modification time. The value is in the ISO 8601 format. Value Range: N/A |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
Definition: Component ID. Value range: N/A |
|
name |
String |
Definition: Component name. Value range: The value is a string. It contains 3 to 50 characters. |
|
code |
String |
Definition: Component code. Value range: N/A |
|
domain_id |
String |
Definition: Account ID. Value range: N/A |
|
application_id |
String |
Definition: Application ID. Value range: N/A |
|
path |
String |
Definition: Component node path. Value range: N/A |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
Definition: Group ID. Value range: N/A |
|
name |
String |
Definition: Group name. Value range: N/A |
|
code |
String |
Definition: Group code. Value range: N/A |
|
domain_id |
String |
Definition: Account ID. Value range: N/A |
|
region_id |
String |
Definition: Region ID. Value range: N/A |
|
application_id |
String |
Definition: Application ID. Value range: N/A |
|
component_id |
String |
Definition: Component ID. Value range: N/A |
|
sync_mode |
String |
Definition: Resource association method. Value range: |
|
vendor |
String |
Definition: Vendor. Value range: |
|
sync_rules |
String |
Definition: Automatic association rule. Value range: N/A |
|
relation_configurations |
Array of strings |
Definition: Group configuration information. Value range: N/A |
Example Requests
This API is used to query sub-applications, sub-components, and sub-groups.
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot