Get Reports (MVT)
Get Reports (MVT)
GET
/api/v1/user-reports/tiles/{z}/{x}/{y}.mvt
Description
Returns active (non-deleted, non-expired) user reports intersecting the given map tile as a Mapbox vector tile (MVT).
This is the tile URL used by the userReports source when showUserReports=true is set on the style. Feature properties include report type, vote counts, label, optional description, and is_owner for the calling token.
Authentication
Requires a Bearer token in the Authorization header or a token query parameter.
Path Parameters
- z: Tile zoom level.
- x: Tile column.
- y: Tile row.
Error Responses
- 400 Bad Request: Invalid tile coordinates.
- 401 Unauthorized: Token is missing or invalid.
Example Request GET https://api.vectorcharts.com/api/v1/user-reports/tiles/12/1240/1515.mvt?token=<token> Example Response Status Code: 200 OK Content-Type: application/vnd.mapbox-vector-tile (binary Mapbox Vector Tile)