Creating an Application for Tracing
Function
This API is used to create an application for tracing.
URI
POST /v1/apm2/openapi/tracing/business/create
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
name |
Yes |
String |
Application name. |
eps_id |
No |
String |
Enterprise project ID. 0: ID of the default project. |
display_name |
Yes |
String |
Name displayed in the CMDB tree. |
descp |
Yes |
String |
Description. |
cmdb_datasource_type |
No |
String |
Agent type. Default: SKYWALKING. Options: OTEL SKYWALKING Enumeration values:
|
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
id |
Integer |
Application ID. |
ok |
String |
Example Requests
/v1/apm2/openapi/tracing/business/create { "cmdb_datasource_type" : "SKYWALKING", "name" : "test-sky", "eps_id" : "0", "display_name" : "SkyWalking application", "descp" : "SkyWalking application" }
Example Responses
Status code: 200
OK: The request is successful.
{ "id" : 404547, "ok" : "ok" }
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