Which features this app install should use (the Android Auto map renderer)
const url = 'https://api.tareky.com/v1/client-config';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.tareky.com/v1/client-config \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Legacy key id (until its sunset)
Responses
Section titled “Responses”object
Shape of this answer; a client ignores fields it does not know
object
The renderer to use. maplibre is the safe default
Why: kill-switch (the 3D renderer is off for everybody), allowlist (this install or account is listed), rollout (this install is inside the percentage), off (not selected)
When the app may fetch the 3D renderer module: any network, unmetered only, or never
CPU ABIs the renderer is built for
Lowest Android SDK level that may try it
Least device RAM, in MB, that may try it
Device model globs (* wildcard) that always use MapLibre
GPU name globs (* wildcard) that always use MapLibre
The per-device circuit breaker
object
Failures inside the window that switch the 3D renderer off on this device
Length of that window
Raise it to clear every device’s failure count and let them try again
Frame-rate limits
object
Frame rate to aim for
Median frame rate under which the renderer is failing
How long it may stay under the floor before the app falls back
object
Whether the app may send POST /v1/telemetry/car-renderer
Camera presets: none yet, reserved
object
Example
{ "carRenderer": { "renderer": "godot", "reason": "kill-switch", "download": "auto" }}Rate limit or monthly quota exceeded; see Retry-After
object
object
Stable machine-readable code, e.g. quota_exceeded, no_route
For invalid_request: the validation issues
Examplegenerated
{ "error": { "code": "example", "message": "example", "status": 1, "details": "example", "docsUrl": "example" }, "requestId": "example"}default
Section titled “default”Any other error, in the /v1 error envelope
object
object
Stable machine-readable code, e.g. quota_exceeded, no_route
For invalid_request: the validation issues
Examplegenerated
{ "error": { "code": "example", "message": "example", "status": 1, "details": "example", "docsUrl": "example" }, "requestId": "example"}