Help Center/ Application Performance Management/ API Reference(2.0)/ APIs/ TRACING/ Obtaining the Access Address of an Application for Tracing
Updated on 2025-02-13 GMT+08:00

Obtaining the Access Address of an Application for Tracing

Function

This API is used to obtain the access address of an application for tracing.

URI

POST /v1/apm2/openapi/tracing/access/get-access-point/{business_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

business_id

Yes

String

Application ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token obtained from IAM.

x-business-id

Yes

Integer

Application ID.

Table 3 Request body parameters

Parameter

Mandatory

Type

Description

region

Yes

String

Region name.

Response Parameters

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

id

Integer

  

gmt_create

String

Creation time.

gmt_modify

String

Modification time.

region

String

Current region.

accessPoint

String

Access point address.

token

String

token

hidden_token

String

Hidden token characters.

sw_business_id

Integer

Application ID.

agent_download_url

String

Agent download address.

Example Requests

v1/apm2/openapi/tracing/access/get-access-point/404548

{
  "region" : "region-demo"
}

Example Responses

Status code: 200

OK: The request is successful.

{
  "region" : "cn-north-7-first-server1",
  "accessPoint" : "100.79.29.107:11800",
  "id" : null,
  "gmt_create" : "2024-04-19T02:51:21.000+00:00",
  "gmt_modify" : "2024-04-19T02:51:21.000+00:00",
  "token" : null,
  "hidden_token" : "******",
  "sw_business_id" : 404548,
  "agent_download_url" : "https://skywalking.apache.org/downloads/"
}

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.