Skip to main content
2 pages combined into one document. Tip: enable Background graphics in the print dialog so note and warning boxes keep their shading.
All printable guides
Dronetag
Developers

Migration Guides

Document
Developers — Migration Guides
Chapters
2
Source
help.dronetag.cz/print/developers/migration-guides
Dronetag s.r.o. · The online version of this document is always the authoritative one.

Migration Guide: Transition to Region-Based Telemetry Retrieval

Until February 2025

As part of our improvements, Dronetag is transitioning to region-based and timeline-based telemetry retrieval. This change requires you to update how you query telemetry and real-time data by specifying a geographical region or time range for telemetry retrieval. Follow this guide to ensure a smooth transition to the new system.

Affected Areas​

  • All HTTP requests querying post-flight telemetry from api.dronetag.app
    • Endpoints:
      • https://api.dronetag.app/v1/flights/*/telemetry*
      • https://api.dronetag.app/v1/devices/*/status-history
  • All HTTP requests querying live telemetry from live.dronetag.app
    • Endpoints:
      • https://live.dronetag.app/api/v2/airspace/overview
      • https://live.dronetag.app/api/v2/devices/*/telemetry
      • https://live.dronetag.app/api/v2/devices/*/status_history
      • https://live.dronetag.app/api/v2/flights/*/telemetry
  • All Socket.IO connections for real-time flight telemetry from live.dronetag.app

Key Changes​

  • Geographical bounds or UAS ID (device serial number) are now required for all telemetry retrievals.
  • The service has switched from UAS ID to Operation ID for identifying flying objects.
  • Our telemetry endpoints now use a new data format called DUMP, which will be consistently used across our services.
  • Several endpoints, including https://live.dronetag.app/api/v2/airspace/overview, will be deprecated by February 2025.

Migration Timeline​

  • February 2025: All deprecated API and Socket.IO endpoints on live.dronetag.app will be removed. Complete your migration by this date.

Step-by-Step Migration​

1. Migrate to api.dronetag.app/v2/airspace for Telemetry Retrieval​

To retrieve telemetry, replace live.dronetag.app queries with api.dronetag.app/v2/airspace.

Replace GET https://live.dronetag.app/api/v2/airspace/overview​

  • Use GET https://api.dronetag.app/v2/airspace/telemetry/ua.
  • Specify a time range, geographical bounds, or UAS ID.
  • Note: Flying objects are now identified by Operation ID. Retrieve the UAS ID using /operations/{operation_id}.

Replace GET https://live.dronetag.app/api/v2/devices/*/telemetry​

  • Use GET https://api.dronetag.app/v2/airspace/telemetry/ua?uas_id=xxx with a UAS ID filter.
  • You may need /operations/{operation_id} to retrieve the UAS ID.

Replace GET https://live.dronetag.app/api/v2/devices/*/status_history​

  • Device status history is now part of system telemetry.
  • Use GET https://api.dronetag.app/v2/airspace/telemetry/system?uas_id=xxx with a UAS ID filter.

Replace GET https://live.dronetag.app/api/v2/flights/*/telemetry​

  • Flight telemetry is now linked to Operation ID.
  • Use GET https://api.dronetag.app/v2/airspace/telemetry/ua?operation_id=xxx.

2. Migrate to api.dronetag.app/v2/airspace for Socket.IO Connections​

  • Socket.IO services on live.dronetag.app will be deprecated. Use api.dronetag.app/v2/airspace for real-time telemetry.
  • After connecting, send a viewport message to define the geographical region you are monitoring. Regular updates are required during the session.
  • Refer to the Getting Started with Socket.io page for details.

3. Migrate to api.dronetag.app/v2/airspace for Post-Flight Data​

Post-flight telemetry is now retrieved through the same API as real-time data. Use your flight_id as operation_id in new requests.

Replace GET https://api.dronetag.app/v1/flights/*/telemetry*​

  • Use GET https://api.dronetag.app/v2/airspace/telemetry/ua?operation_id=xxx with Operation ID and flight start/end times.

Replace GET https://api.dronetag.app/v1/flights/*/status-history*​

  • Use GET https://api.dronetag.app/v2/airspace/telemetry/system?operation_id=xxx with Operation ID and flight start/end times.

Migration Guide: Updating Your Authentication Method

Until February 2025

As we roll out updates to improve our cloud platform, it's essential to migrate your authentication method to our new system. This guide will help you update to the reworked authentication layer, which includes enhanced security, better compatibility, and the introduction of OpenID Connect (OIDC) support. Please follow the steps below to ensure a smooth transition.

Affected Areas​

  • All API requests – both authorized and non-authorized.
  • All authentication requests – we have changed the service responsible for issuing access tokens.

Key Changes​

  • Deprecated Endpoints: The current authorization API endpoints (https://api.dronetag.app/v1/auth/*) are now deprecated. You must migrate to the new service (https://auth.dronetag.app).
  • OAuth 2.0 Credentials: Sign-in will now require OAuth 2.0 application credentials. Until automated OAuth 2.0 management is available, credentials will be issued manually.

Migration Timeline​

  • By the End of February 2025: Legacy authorization endpoints will be fully removed. All authorization requests must be migrated to the new service.

Step-by-Step Migration​

To simplify the transition, we recommend using an existing OIDC library for OAuth 2.0. These libraries manage the OAuth 2.0 flow, handling access tokens, refresh tokens, and other OIDC-related tasks.

You can find a list of certified OIDC implementations here: OpenID Connect Certified Libraries.

2. Migrate Authorization Requests to the New Auth Service​

All authorization requests must be migrated to the new endpoint:

  • Old Endpoint: POST https://api.dronetag.app/v1/auth/jwt/token
  • New Endpoint: POST https://auth.dronetag.app/realms/master/protocol/openid-connect/token

Ensure you update your request logic to point to the new URL and expect a different JSON response structure. The new response includes access_token and refresh_token fields, in addition to other fields.

Source pages

Every chapter of this document is a page of the Dronetag help site. Use these addresses to reach the latest version.

  1. 1Transition to Region-Based Telemetry Retrievalhelp.dronetag.cz/developers/migration-guides/transition-to-region-based
  2. 2Updating Your Authentication Methodhelp.dronetag.cz/developers/migration-guides/updating-authentication