Get QR Code
Get QR code with the current url of the shared file or folder.
Endpoint
http
GET /api/v1/share/{token}/qrParameters
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
token | string | yes | - |
Request example
sh
curl --location --request GET 'https://files.ro/api/v1/share/{token}/qr' \
--header 'Authorization: Bearer {token}'Response
json
{
"type": "success",
"message": "QR code successfully generated",
"data": {
"svg": "<svg>...</svg>"
}
}json
{
"type": "error",
"message": "You are not authorized"
}json
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is required."
]
}
}