Appwrite icon

Appwrite

Interact with Appwrite API

Actions181

Storage → List Buckets

AI-generated

Overview

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

  1. A user wants to list all storage buckets in their Appwrite project to display them in a UI for selection.
  2. 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

Discussion