Web Search API, gRPC: WordstatService.GetRegionsTree
Статья создана
Обновлена 15 декабря 2025 г.
Not implemented.
The method method returns a tree of Wordstat-supported regions.
gRPC request
rpc GetRegionsTree (GetRegionsTreeRequest) returns (GetRegionsTreeResponse)
GetRegionsTreeRequest
{
"folder_id": "string"
}
|
Field |
Description |
|
folder_id |
string ID of the folder. |
GetRegionsTreeResponse
{
"regions": [
{
"id": "string",
"label": "string",
"children": [
"RegionInfo"
]
}
]
}
|
Field |
Description |
|
regions[] |
Region tree |
RegionInfo
|
Field |
Description |
|
id |
string Region ID. |
|
label |
string Region name |
|
children[] |
Child regions. |