updates on the md files

This commit is contained in:
2026-09-07 16:52:44 +05:30
parent 1b2690b21a
commit f531b42456
3 changed files with 87 additions and 2 deletions

View File

@@ -48,13 +48,14 @@ Credential endpoints share a **10/min** rate limit.
---
## Profile & device
## Profile, device & uploads
| Method | Path | Body |
|---|---|---|
| GET | `/miler/profile` | |
| GET | `/miler/profile` | Exposes `tenantname`, profile details, vehicle info |
| PUT | `/miler/profile` | `{ displayname, profilephotourl, defaultvehicletype, phone }` |
| PUT | `/miler/device-token` | `{ "device_token": "..." }` — snake_case |
| POST | `/miler/uploads/sign` | `{ "content_type": "image/jpeg", "kind": "pod" }` → `{ "upload_url": "...", "key": "..." }` |
## Location & availability