Get public locations for synthetics
This endpoint is used to retrieve public locations for the synthetics.
URL
GET https://{api-url}/api/v2/synthetics/publicLocations
Sample URLs
https://localhost/api/v2/synthetics/publicLocations
Header | Value |
---|
Authorization | Bearer {accessToken} |
Content-type | application/json |
Accept | application/json |
Status code
200 OK
Parameters
Parameter | Description |
---|
zone | (Optional) Zone. Values: North America, HYDERABAD, On-premises |
locationName | (Optional) Location name. Example: Public |
Sample response
{
"id": 1,
"name": "Public",
"uuid": "9ede8f37-531c-463e-97d5-846d67d4ff58",
"visibility": "PUBLIC",
"visibleCustomerId": 0,
"zone": "HYDERABAD"
},
{
"id": 5,
"name":
"vg-syntheticMonitoring",
"uuid": "315ebb44-c80a-45bf-89ea-30b3ccea6b24",
"visibility": "PUBLIC", "visibleCustomerId": 0,
"zone": "On-premises"
},
{
"id": 6,
"name": "Frankfurt,DE",
"uuid": "77718b21-0107-438b-8c16-9438685ed87c",
"visibility": "PUBLIC",
"visibleCustomerId": 0,
"zone": "On-premises"
}