Querying the List of Application, Component, and Group Names
Function
This API is used to search for applications, sub-applications, components, and groups by name.
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:list
List
application *
-
-
-
URI
GET /v1/application-view/search
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
data |
Array of data objects |
Query the list of application, component, and group names. |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
Definition: UUID allocated by CloudCMDB. Value Range: N/A |
|
name |
String |
Definition: Name of an application, group, or component. Value Range: The value is a string. It can contain 3 to 50 characters. |
|
code |
String |
Definition: Application, group, or component code. Value Range: The value is a string. It can contain 3 to 50 characters. |
|
type |
String |
Definition: Value Range: N/A |
|
parent_id |
String |
Definition: Parent node ID, that is, the parent node ID of the path where the query result is located. Value Range: The value is a string with 24 characters. |
|
component_id |
String |
Definition: Component ID. Value Range: The value is a string of 24 characters. |
|
application_id |
String |
Definition: Application ID Value Range: The value is a string with 24 characters. |
|
path |
String |
Definition: Path of the node, which consists of the application, component, and group IDs. Value Range: N/A |
|
vendor |
String |
Definition: Cloud vendor information. Value Range: |
|
related_domain_id |
String |
Definition: ID of the domain to which the cross-account resource belongs. Value Range: N/A |
Example Requests
This API is used to query the list of applications, components, and group names.
GET https://{Endpoint}/v1/application-view/search?limit=120&name_like=6690f166b78301337589c28c&is_collection=true
Example Responses
Status code: 200
The application, component, and group names are queried.
{
"data" : [ {
"id" : "6863870e521f2d5e06e41deb",
"name" : "test component_test55",
"code" : "6863870e521f2d5e06e41deb",
"type" : "component",
"parent_id" : "686386a9521f2d5e06e41de8",
"path" : "686386a9521f2d5e06e41de8.6863870e521f2d5e06e41deb",
"component_id" : null,
"application_id" : "686386a9521f2d5e06e41de8",
"vendor" : null,
"related_domain_id" : null
} ]
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
The application, component, and group names are queried. |
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