Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions common/utils/telemetry_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def get_location_history(
Raises:
RequestException: If the API call fails
"""
endpoint = f"{self.base_url}/telemetry/v1/location/history"
endpoint = f"{self.base_url}/api/telemetry/v1/location/history"
params = {"device_id": device_id, "space_slug": space_slug, "limit": limit}

if start:
Expand Down Expand Up @@ -166,7 +166,7 @@ def get_widget_data(
"""
Fetch widget data for a specific entity from the telemetry service
"""
endpoint = f"{self.base_url}/telemetry/v1/widget/data/{entity_id}"
endpoint = f"{self.base_url}/api/telemetry/v1/widget/data/{entity_id}"
params = {"display_type": display_type}

if start_time:
Expand Down Expand Up @@ -217,7 +217,7 @@ def get_device_properties(
Fetch all device properties (all entities data) from telemetry service

"""
endpoint = f"{self.base_url}/telemetry/v1/data/latest"
endpoint = f"{self.base_url}/api/telemetry/v1/data/latest"

params = {
"device_id": device_id,
Expand Down