Obtaining the Token of an Application for Tracing
Function
This API is used to obtain the token of an application for tracing.
URI
GET /v1/apm2/openapi/tracing/business/token/{business_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
business_id |
Yes |
String |
Application ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
x-business-id |
Yes |
Integer |
Application ID. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
token |
String |
Application token. |
Example Requests
v1/apm2/openapi/tracing/business/token/404549
Example Responses
Status code: 200
OK: The request is successful.
{ "token" : "demo token" }
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