https://appwrite.io/v1/avatars/qrConverts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.
Plain text to be converted to QR code image.
QR code size. Pass an integer between 0 to 1000. Defaults to 400.
Margin from edge. Pass an integer between 0 to 10. Defaults to 1.
Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'https://appwrite.io/v1/avatars/qr' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}https://appwrite.io/v1/avatars/qrConverts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.
Plain text to be converted to QR code image.
QR code size. Pass an integer between 0 to 1000. Defaults to 400.
Margin from edge. Pass an integer between 0 to 10. Defaults to 1.
Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'https://appwrite.io/v1/avatars/qr' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}