مرجع الواجهة البرمجية
39 عملية عامة، مولدة من عقد OpenAPI الإصدار 1.1.0.
Every operation below exists in the served application and in the published SDK contract. Parameters, bounds, request bodies, response schemas and error statuses on each page are produced from that contract; nothing is hand-written, so a documented field cannot drift from the served API.
| Base URL | Role |
|---|---|
| https://api.bardiyamap.com | Write plane: every public operation |
| https://read-api.bardiyamap.com | Read plane: GET reads of tracking sessions, state, history and webhooks |
Address Validation1
| Operation | Path | Credential | Summary |
|---|---|---|---|
| POST | /v1/validate-address | X-API-Key | Public Validate Address |
Client Tokens4
| Operation | Path | Credential | Summary |
|---|---|---|---|
| GET | /v1/tracking/client-tokens | Authorization: Bearer | List client tokens |
| POST | /v1/tracking/client-tokens | Authorization: Bearer | Mint a short-lived client-access token |
| DELETE | /v1/tracking/client-tokens/{token_id} | Authorization: Bearer | Revoke a client token |
| POST | /v1/tracking/sessions/{session_id}/ingest-token | Authorization: Bearer | Issue a session-scoped device ingest token |
Directions1
| Operation | Path | Credential | Summary |
|---|---|---|---|
| POST | /v1/directions | X-API-Key | Public Directions |
Distance Matrix1
| Operation | Path | Credential | Summary |
|---|---|---|---|
| POST | /v1/distance-matrix | X-API-Key | Public Distance Matrix |
Geocoding2
| Operation | Path | Credential | Summary |
|---|---|---|---|
| GET | /v1/geocode | X-API-Key | Public Forward Geocode |
| GET | /v1/geocode/reverse | X-API-Key | Public Reverse Geocode |
Health2
| Operation | Path | Credential | Summary |
|---|---|---|---|
| GET | /v1/health/live | None (public) | Public Health Live |
| GET | /v1/health/ready | None (public) | Public Health Ready |
Maps2
| Operation | Path | Credential | Summary |
|---|---|---|---|
| GET | /v1/style.json | X-API-Key | Public Style |
| GET | /v1/tiles/{source}/{z}/{x}/{y} | X-API-Key | Public Tile |
Places3
| Operation | Path | Credential | Summary |
|---|---|---|---|
| GET | /v1/places/autocomplete | X-API-Key | Public Place Autocomplete |
| GET | /v1/places/search | X-API-Key | Public Place Search |
| GET | /v1/places/{place_id} | X-API-Key | Public Place Details |
Subscriptions3
| Operation | Path | Credential | Summary |
|---|---|---|---|
| GET | /v1/tracking/subscriptions | Authorization: Bearer | List subscriptions |
| POST | /v1/tracking/subscriptions | Authorization: Bearer | Create a subject subscription |
| DELETE | /v1/tracking/subscriptions/{subscription_id} | Authorization: Bearer | Delete a subscription |
Tracking12
| Operation | Path | Credential | Summary |
|---|---|---|---|
| POST | /api/v1/tracking/sessions/{session_id}/locations | Authorization: Bearer (session ingest token) | Handle Ingest Location |
| POST | /api/v1/tracking/sessions/{session_id}/locations/batch | Authorization: Bearer (session ingest token) | Handle Ingest Batch |
| POST | /v1/tracking/events | Authorization: Bearer | Send one telemetry event by subject or session |
| POST | /v1/tracking/locations/batch | Authorization: Bearer | Send one bounded, tenant-scoped fleet batch |
| GET | /v1/tracking/sessions | Authorization: Bearer | List tracking sessions |
| POST | /v1/tracking/sessions | Authorization: Bearer | Create a tracking session |
| GET | /v1/tracking/sessions/{session_id} | Authorization: Bearer | Get a tracking session |
| POST | /v1/tracking/sessions/{session_id}/end | Authorization: Bearer | End a tracking session |
| GET | /v1/tracking/sessions/{session_id}/history | Authorization: Bearer | Get durable tracking history |
| POST | /v1/tracking/sessions/{session_id}/locations | Authorization: Bearer | Send one location or heartbeat |
| POST | /v1/tracking/sessions/{session_id}/locations/batch | Authorization: Bearer | Send a bounded location batch |
| GET | /v1/tracking/sessions/{session_id}/state | Authorization: Bearer | Get current tracking state |
Tracking Realtime1
| Operation | Path | Credential | Summary |
|---|---|---|---|
| GET | /v1/tracking/sessions/{session_id}/stream | Authorization: Bearer | Stream a session over authenticated SSE |
Webhooks7
| Operation | Path | Credential | Summary |
|---|---|---|---|
| GET | /v1/webhooks | Authorization: Bearer | List webhook endpoints |
| POST | /v1/webhooks | Authorization: Bearer | Create a webhook endpoint |
| DELETE | /v1/webhooks/{endpoint_id} | Authorization: Bearer | Disable a webhook endpoint |
| GET | /v1/webhooks/{endpoint_id} | Authorization: Bearer | Get a webhook endpoint |
| PATCH | /v1/webhooks/{endpoint_id} | Authorization: Bearer | Update a webhook endpoint |
| GET | /v1/webhooks/{endpoint_id}/deliveries | Authorization: Bearer | List webhook delivery attempts |
| POST | /v1/webhooks/{endpoint_id}/deliveries/{delivery_id}/retry | Authorization: Bearer | Retry a webhook delivery |
