Actions181
- Account Actions
- Get Account
- Create Account
- Update Email
- Update Name
- Update Password
- Update Phone
- Update Status
- Get Preferences
- Update Preferences
- List Sessions
- Delete Sessions
- Get Session
- Update Session
- Delete Session
- Create Anonymous Session
- Create Email/Password Session
- Create Magic URL Session
- Create OAuth2 Session
- Create Phone Session
- Create Session from Token
- Create JWT
- Create Magic URL
- Create Phone Token
- Create Email Verification
- Update Email Verification
- Create Phone Verification
- Update Phone Verification
- Create Password Recovery
- Update Password Recovery
- Create Recovery
- Update Recovery
- Update MFA
- Create MFA Authenticator
- Update MFA Authenticator
- Delete MFA Authenticator
- Create MFA Challenge
- Update MFA Challenge
- Attribute Actions
- Avatars Actions
- Collection Actions
- Database Actions
- Document Actions
- Functions Actions
- Index Actions
- Locale Actions
- Messaging Actions
- Sites Actions
- Storage Actions
- Teams Actions
- Users Actions
Avatars → Get QR Code
AI-generatedOverview
This node interacts with the Appwrite API to generate QR codes from plain text. It is useful for creating QR codes for URLs, text snippets, or any other data that needs to be encoded visually for scanning. For example, it can generate a QR code for a website link to be shared easily or for event tickets.
Use Case Examples
- Generate a QR code for a URL to share on social media.
- Create a QR code for a text message to be printed on flyers.
Properties
| Name | Meaning |
|---|---|
| Text | The plain text to convert into a QR code. |
| Size | The size of the QR code in pixels, ranging from 1 to 1000. |
| Margin | The margin from the edge of the QR code in units, ranging from 0 to 10. |
| Download | Whether to return the QR code with Content-Disposition attachment headers to prompt a download. |
Output
JSON
qrCodeUrl- URL or data of the generated QR code image.
Dependencies
- Requires an API key credential for Appwrite API authentication.
Troubleshooting
- Ensure the 'Text' property is not empty as it is required to generate the QR code.
- Verify that the 'Size' is within the allowed range (1-1000) to avoid errors.
- Check network connectivity and API credentials if the node fails to connect to the Appwrite service.
- If 'Download' is enabled, ensure the client supports handling Content-Disposition headers for file downloads.
Links
- Appwrite Avatars QR Code API - Official documentation for generating QR codes using Appwrite Avatars service.