Obtaining the Details of an Application (V2)
Function
This API is used to obtain the details of an application.
URI
GET /v2/cmdb/apps/{application_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
application_id |
Yes |
String |
Application ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
Long |
User token obtained from IAM. |
|
x-business-id |
Yes |
String |
Application ID. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
create_time |
String |
Creation time. |
|
create_time_timestamp |
Long |
Creation timestamp. |
|
modify_time_timestamp |
Long |
Modification timestamp. |
|
modify_time |
String |
Modification time. |
|
creator_name |
String |
Creator. |
|
descp |
String |
Description. |
|
uuid |
String |
Unique identifier. |
|
creator_id |
String |
Creator ID. |
|
display_name |
String |
Display name. |
|
data_source |
String |
Data source. |
|
name |
String |
Name. |
|
business_id |
Long |
Application ID. |
|
sub_business_id |
Long |
Sub-application ID. |
|
inner_domain_id |
Integer |
Internal tenant ID. |
Example Requests
Obtain the details of an application based on the application ID.
/v2/cmdb/apps/139771
Example Responses
Status code: 200
OK: The request is successful.
{
"id" : 139771,
"name" : "config-web",
"business_id" : 108903,
"sub_business_id" : 279170,
"inner_domain_id" : 2,
"uuid" : "42d02800be904ebaac2df47388c4b131",
"display_name" : "config-web",
"create_time" : "2023-04-25 20:35:55",
"create_time_timestamp" : 1682426155000,
"modify_time_timestamp" : 1682426155000,
"modify_time" : "2023-04-25 20:35:55",
"creator_name" : "API"
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK: The request is successful. |
|
400 |
Bad Request: Semantic or parameter error. |
|
401 |
Unauthorized: No permissions. |
|
403 |
Forbidden: Access forbidden. |
|
404 |
Not Found: The requested resource is not found. |
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