List Official Nodes¶
GET /api/v1/dialing_task/default_region_list
Overview¶
Reads the online default synthetic test nodes available to the current workspace.
Before Calling and Usage Steps¶
This endpoint has no business parameters. It queries the node service for live nodes with owner=default, then filters them by workspace version: free/trial workspaces do not return overseas default nodes; certain workspace versions may retain only overseas default nodes. Use the actual response as the source of truth; do not hard-code a fixed city list. The response is not paginated. Node names are displayed in the request language. An empty array means there are no selectable default nodes for this request; it does not prove that all self-hosted nodes are also absent.
Write the uuid into regions for standard tasks; mobile tasks use the node/group ID and nodeSelection of the separate Mobile Resources, and the two must not be mixed. For self-hosted nodes, see Self-hosted Node List. Node reachability changes over time; a successful retrieval does not mean the synthetic test against the target API succeeds.
Request Headers¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| DF-API-KEY | string | Y | OpenAPI authentication credential for the workspace. Example: <DF-API-KEY>How to obtain or enter: Obtain an OpenAPI Key with the required operation permission from API Key Management in the target workspace. |
Request Example¶
curl --get 'https://openapi.guance.com/api/v1/dialing_task/default_region_list' \
-H 'DF-API-KEY: <DF-API-KEY>'
Response¶
HTTP 200, application/json. The example below shows the main fields that can be read directly.
| Field | Type | Description |
|---|---|---|
| content | array<object> | Array of currently selectable default nodes; may be []. |
| content[].uuid | string | regn_ node UUID; use this value in regions when creating standard tasks. |
| content[].keycode | string | Node deployment/identifier code; not used as the regions UUID. |
| content[].owner | string | Default node owner for this endpoint: default. |
| content[].name | string | Name selected according to the current request language. |
| content[].nameEn | string | English-compatible display name. |
| content[].name_en | string | Legacy English name from upstream, retained conditionally. |
| content[].nameI18n | object | Canonical language name mapping. |
| content[].nameI18n.language code | string | Display name in that language. |
| content[].internal | boolean | true for domestic, false for overseas; not an indication of network privacy. |
| content[].country | string | Country. |
| content[].province | string | Province. |
| content[].city | string | City. |
| content[].isp | string | Carrier/provider. |
| content[].status | string | Node service status, such as OK/disabled; not the task execution status. |
| content[].heartbeat | integer | Most recent node heartbeat in Unix seconds, as defined upstream. |
| content[].region | string | Upstream region identifier. |
| content[].company | string | Company information. |
| content[].external_id | string | Upstream field such as self-hosted ownership; usually empty for default nodes. |
| content[].parent_ak | string | Upstream compatibility ownership field; may be empty. Clients do not treat it as an OpenAPI Key. |
| content[].extend_info | string | Upstream extension JSON string or an empty string; not an object by default. |
| content[].create_at | integer | Upstream creation time field; may be -1 for historical records. Distinct from the task createAt. |
| content[].declaration | object or null | Workspace public declaration attached to non-empty response business objects; may be null or an empty object when not configured; empty objects are not added. |
{
"code": 200,
"content": [
{
"uuid": "regn_example",
"keycode": "example-region",
"owner": "default",
"name": "示例节点",
"nameEn": "Example region",
"nameI18n": {
"zh": "示例节点",
"en": "Example region"
},
"internal": true,
"country": "China",
"province": "Zhejiang",
"city": "Hangzhou",
"isp": "example",
"status": "OK",
"heartbeat": 1785427200,
"region": "example-region",
"company": "",
"external_id": "",
"parent_ak": "",
"extend_info": "",
"create_at": -1,
"declaration": {}
}
],
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-EXAMPLE"
}
Error Responses¶
For authentication, rate limiting, and common request errors, see Common Error Definitions.
A standard downstream dialtesting.invalidRegion maps to ft.DialingRegionError and preserves HTTP; other 4xx responses preserve the actual HTTP status and error_code; other unlisted error codes may also be returned; responses >=500 are uniformly wrapped as 500.
| HTTP Status | errorCode | Trigger Condition | Message or Response Description | Handling |
|---|---|---|---|---|
| 406 | ft.DialingBrandNoSetError | The workspace has no corresponding synthetic testing service configuration | Synthetic testing configuration for brand {} is not configured. |
The administrator verifies synthetic testing service availability. |
| 400 | ft.DialingAKNoSetError | Signature information for synthetic testing service queries is not configured | Synthetic testing AK information is not configured. Check the Launcher activation configuration. | The administrator verifies the activation information. |
| 400 | ft.DialingServerError | The standard node service returns a 400 business failure | The synthetic testing service API call failed. | Check the service status and retain traceId. |
| 500 | ft.InternalServerError | Standard downstream 5xx/connection exception, node field shape mismatch, or version/name processing exception | Internal error | Retain traceId; do not assume empty data or automatically use old nodes. |