Users

User-related operations

Get zones for a user

get
Path parameters
idstringRequired
Responses
200

List of user zones

application/json
get
/users/{id}/zones
GET /api/users/{id}/zones HTTP/1.1
Host: 
Accept: */*
[
  {
    "id": 1,
    "title": "text",
    "description": "text",
    "geojson": {},
    "userId": "text",
    "isGlobal": true,
    "map3dType": "text",
    "map3dUrl": "text",
    "map3dConfig": {},
    "categories": [
      {
        "category": {
          "id": 1,
          "name": "text",
          "description": "text",
          "color": "text",
          "createdAt": "2025-10-30T17:34:16.240Z"
        }
      }
    ],
    "pins": [
      {
        "id": 1,
        "title": "text",
        "latitude": 1,
        "longitude": 1,
        "geoPose": {},
        "contentType": "APK",
        "contentUrl": "text",
        "localizationData": {
          "trackingMode": "WORLD",
          "worldmapURL": "https://example.com"
        },
        "zoneId": 1,
        "gcpId": 1,
        "createdAt": "2025-10-30T17:34:16.240Z",
        "updatedAt": "2025-10-30T17:34:16.240Z"
      }
    ],
    "_count": {
      "pins": 1
    },
    "createdAt": "2025-10-30T17:34:16.240Z",
    "updatedAt": "2025-10-30T17:34:16.240Z"
  }
]