List¶
List all Geo Zones.
Request¶
GET https://ttv.microworkers.com/api/v2/geo-zones
Response¶
Response HTTP Codes¶
Http Code |
Response Type |
Description |
---|---|---|
200 |
OK |
|
401 |
Unauthorized |
Response Body¶
{
"items": [
{
"id": string,
"countries": [
{
"code": string,
"name": string
}
],
"name": string
}
]
}
GeoZoneListResponse¶
Property |
Type |
Description |
---|---|---|
items |
array[GeoZoneItemResponse] |
List of Geo-Zones. |
GeoZoneItemResponse¶
Property |
Type |
Description |
---|---|---|
id |
string |
The ID of Geo Zone. |
name |
string |
Geo Zone name. |
countries |
array[CountryItemResponse] |
The list of countries. |
CountryItemResponse¶
Property |
Type |
Description |
---|---|---|
code |
string |
Country code. |
name |
string |
Country name. |