V0
v0 Overview (Deprecated)
Legacy API v0 — deprecated, use v1 instead.
API Version: Deprecated
API v0 (Deprecated)
v0 is deprecated. Please use API v1 for all new integrations.
The v0 API returns pre-rendered, locale-specific element data at:
GET /api/dtpr/v0/{locale}
Where {locale} is a language code (e.g., en, fr, es).
Differences from v1
| Feature | v0 | v1 |
|---|---|---|
| Locale handling | Separate endpoint per locale | Single endpoint with ?locales= filter |
| Schema metadata | Not included | Included on every object |
| Categories | Not available | Full category endpoint |
| Datachain type filtering | Not available | Filter by device or ai |
| Variable definitions | Not included | Full variable schema with labels |
Migration
Replace v0 calls with the equivalent v1 endpoint:
- GET /api/dtpr/v0/en
+ GET /api/dtpr/v1/elements?locales=en