Querying the URL Tracing Configuration List
Function
This API is used to query the URL tracing configuration list.
URI
POST /v1/apm2/openapi/transaction/transaction-config-search
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
x-business-id |
Yes |
Long |
Application ID. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
transaction_config_item_list |
Array of TransactionConfigItem objects |
URL tracing configuration list. |
total_page |
Integer |
Total number of pages. |
total_count |
Integer |
Total number of configurations. |
Parameter |
Type |
Description |
---|---|---|
id |
Long |
Configuration ID. |
business_id |
Long |
Application ID. |
env_id |
Long |
Environment ID. |
method |
String |
Request method. |
env_name |
String |
Environment name. |
region |
String |
Region name. |
type |
String |
Type. |
app_name |
String |
Application name. |
url |
String |
URL. |
Example Requests
OK: The request is successful.
/v1/apm2/openapi/transaction/transaction-config-search { "business_id" : 6, "page_no" : 1, "page_size" : 10 }
Example Responses
Status code: 200
OK: The request is successful.
{ "total_page" : 2, "total_count" : 11, "transaction_config_item_list" : [ { "id" : 36, "business_id" : 6, "env_id" : 52, "method" : "GET", "env_name" : "xx-xxx-xxx", "region" : "xx-xxx-xxx", "type" : "Url", "app_name" : "lubanops-web", "url" : "/apm2/web/cmdb/business/v1/get-business-detail/{business_id}" } ] }
Status Codes
Status Code |
Description |
---|---|
200 |
OK: The request is successful. |
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