GET /api/report
Requires Bearer token.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
lat | float | ✓ | Latitude. | |
lng | float | ✓ | Longitude. | |
name | string | Location Report | Report title / location name. | |
profile | string | general | Scoring profile. | |
client | string | Client | Client name for the report header. |
GET /api/places-photo
Proxy for business photos. Supports both Places API (New) resource names and legacy photo references returned by /api/location-data.
Query parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
ref | string | ✓ | Photo reference string from POI data. Must match either a Places API (New) resource name (places/{place_id}/photos/{photo_id}) or a legacy photo reference (8–2048 characters, A–Z, a–z, 0–9, _, or -). Other formats return 400 Invalid ref format. | |
w | int | 100 | Image width in pixels. Values are clamped to the range 1–1600; non-numeric values fall back to the default. |