Get QR Code
Generate and download a QR code image for a marker.
GET /api/v1/markers/{id}/qr
Parameters
| Parameter | Type | Location | Description |
|---|---|---|---|
id | uuid | path | Marker ID |
Headers
Authorization: Bearer {access_token}
Response
- 200: OK
- 400: Bad Request
- 401: Unauthorized
- 404: Not Found
Returns a PNG image file.
| Header | Value |
|---|---|
| Content-Type | image/png |
| Content-Disposition | inline; filename="{shortCode}.png" |
note
- QR code encodes a deep link URL:
{DEEP_LINK_BASE_URL}/marker/{shortCode} - Generated on-the-fly (not stored)
- PNG format
{
"meta": {
"success": false,
"message": "Invalid marker ID format"
},
"data": null
}
{
"meta": {
"success": false,
"message": "Missing or invalid token"
},
"data": null
}
{
"meta": {
"success": false,
"message": "Marker not found"
},
"data": null
}