Querying the Details About an Application
Function
This API is used to query the details about an application.
URI
GET /v1/apm2/openapi/cmdb/business/get-business-detail/{business_id}
Parameter | Mandatory | Type | Description |
---|---|---|---|
business_id | Yes | Long | Application ID. |
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
x-business-id | Yes | Long | Application ID. |
X-Auth-Token | Yes | String | User token obtained from IAM. |
Response Parameters
Status code: 200
Parameter | Type | Description |
---|---|---|
id | Long | Application ID. |
gmt_create | String | Creation time. |
gmt_modify | String | Update time. |
default | Boolean | Whether an application is the default application. |
display_name | String | Application name. |
name | String | Display name of an application. |
is_default | Boolean | Whether an application is the default application. |
inner_domain_id | Integer | Internal tenant ID. |
eps_id | String | Enterprise project ID. |
creator_id | Long | ID of the creator. |
descp | String | Application description. |
create_time | String | Creation time. |
modify_time | String | Update time. |
creator_name | String | Name of the creator. |
Example Requests
Query details about application 1.
/v1/apm2/openapi/cmdb/business/get-business-detail/1
Example Responses
Status code: 200
OK: The request is successful.
{"default" : false,"id" : 1,"gmt_create" : null,"gmt_modify" : null,"name" : "LubanApm","display_name" : "LubanApm","is_default" : false,"inner_domain_id" : 3,"eps_id" : "","creator_id" : null,"uuid" : "9496a43*************7f4da0c1926","descp" : "","create_time" : "2021-07-14 21:40:32","create_time_timestamp" : 1626270032000,"modify_time" : "2021-07-14 21:40:47","modify_time_timestamp" : 1626270047000,"creator_name" : "test"}
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.
- Function
- URI
- Request Parameters
- Response Parameters
- Example Requests
- Example Responses
- Status Codes
- Error Codes