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
Storage → List Buckets
AI-generatedOverview
This node interacts with the Appwrite API to perform various operations on different resources. Specifically, for the Storage resource with the List Buckets operation, it retrieves a list of storage buckets from the Appwrite server. This is useful for managing and organizing files stored in Appwrite's cloud storage, such as listing all available buckets to select from or manage.
Use Case Examples
- A user wants to list all storage buckets in their Appwrite project to display them in a UI for selection.
- An automation workflow needs to fetch all storage buckets to perform batch operations like backups or audits.
Output
JSON
buckets- Array of storage buckets retrieved from Appwrite
Dependencies
- Appwrite API key credential with endpoint, project ID, and API key
Troubleshooting
- Common issues include invalid API credentials leading to authentication errors. Ensure the API key, project ID, and endpoint are correctly configured.
- Network connectivity problems can cause request failures; verify network access to the Appwrite server endpoint.
- If the node throws an 'Unknown resource' error, verify that the resource parameter is set to 'Storage' and the operation to 'List Buckets'.
Links
- Appwrite Storage API Documentation - Official documentation for Appwrite Storage API, including listing buckets.