API 2.1 Changes
Explore breaking changes, features, and migration guidance for the new API version.
⚠️ View ChangesBreaking Changes in API 2.1
Major Endpoint Removal
These legacy endpoints have been deprecated and removed:
- /v1/legacy-auth
- /v1/resource-export
Use their 2.1 equivalents instead.
New API Features
Added enhanced analytics and performance metrics in the /api/v2/analytics endpoint.
OAuth2 Mandatory
Classic authentication is now deprecated. Use the new OAuth2 workflow for all clients.
Upgrade Instructions
Step-by-Step Guide
- 1. Update SDK to version 2.1.0+
- 2. Replace legacy auth calls with OAuth2
- 3. Run ./migrate 2.1 script
Code Migration Examples
Legacy Auth
// deprecated method GET /v1/auth/login
Modern Auth
// use OAuth2 instead POST /v2/oauth/token Authorization: Basic base64encode(client_id:client_secret)