GET
    /workspaces/{workspaceId}/spaces
  
  curl \
 --request GET 'https://api.reelables.com/v1/workspaces/{workspaceId}/spaces' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "request-id: string"
    
        Response examples (200)
  
  {
  "total": 42,
  "nextToken": "string",
  "items": [
    {
      "numberAssetsInSpace": 42,
      "name": "string",
      "locations": {
        "nextToken": "string",
        "items": [
          {
            "lastSeenTimestamp": "2025-05-04T09:42:00Z",
            "coordinate": {
              "latitude": 42.0,
              "accuracy": 42,
              "longitude": 42.0
            },
            "address": {
              "country": "string",
              "road": "string",
              "city": "string",
              "district": "string",
              "postalCode": "string",
              "county": "string",
              "state": "string"
            },
            "error": 42,
            "timestamp": "2025-05-04T09:42:00Z"
          }
        ]
      },
      "id": "string",
      "createdOn": "2025-05-04T09:42:00Z",
      "gateway": {
        "shortId": "string",
        "isStatic": true,
        "latitude": 42.0,
        "hasPendingCommands": true,
        "rssiFilter": "FAR",
        "deviceId": "string",
        "gatewayId": "string",
        "productName": "string",
        "addedOn": "2025-05-04T09:42:00Z",
        "manufacturer": "string",
        "longitude": 42.0
      },
      "workspaceId": "string"
    }
  ]
}
        Response examples (401)
  
  {
  "errors": [
    {
      "code": "string",
      "id": "string",
      "detail": "string",
      "title": "string",
      "status": "string"
    }
  ]
}
        Response examples (403)
  
  {
  "errors": [
    {
      "code": "string",
      "id": "string",
      "detail": "string",
      "title": "string",
      "status": "string"
    }
  ]
}
        Response examples (429)
  
  {
  "errors": [
    {
      "code": "string",
      "id": "string",
      "detail": "string",
      "title": "string",
      "status": "string"
    }
  ]
}