تخطَّ إلى المحتوى
توثيق المطورين

Public Style

GET /v1/style.json · X-API-Key

Public Style

GET /v1/style.json · X-API-Key

GET/v1/style.json

Public Style

MapLibre style configured for Bardiya tiles. Accepts ?api_key=.

Credential
X-API-Key
Plane
https://api.bardiyamap.com
Billing
0 credits
Operation id
getStyle

The style document is a MapLibre style. Rewrite its sources to point at your own tile proxy if you do not want to embed a key.

Parameters

Header parameters

NameTypeRequiredDescription
Idempotency-Keystring | nullnoOpaque key that makes a retried POST safe. Reuse the same value for every retry of the same intent; a new value is a new chargeable operation.

Request example

shell
curl "https://api.bardiyamap.com/v1/style.json" \
  -H "X-API-Key: $BARDIYA_API_KEY"

Response 200 · MapStyle

Errors

StatusMeaning
400Request is malformed or a parameter is out of range
401Missing or invalid credential
403Credential is valid but lacks the required scope, or the request origin is not allowed
404Resource not found or not visible to this credential's organization
422Validation Error
429Rate limit or quota exceeded; honour `Retry-After`
503The upstream provider is temporarily unavailable

Error bodies use the shared envelope documented in Errors: { "error": { "code", "message", "details", "request_id" } }.

GET /v1/style.json is part of the Maps group. Values on this page are generated from contract version 1.1.0.