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
Collection → List
AI-generatedOverview
This node interacts with the Appwrite API to perform various operations on Appwrite resources. Specifically, for the Collection resource with the List operation, it retrieves a list of collections from a specified database in Appwrite. This is useful for scenarios where you need to manage or display collections within a database, such as fetching all collections to display in a dashboard or to process them further in an automation workflow.
Use Case Examples
- Fetching all collections from a specific database to display in a user interface.
- Automating the retrieval of collections for backup or synchronization purposes.
Properties
| Name | Meaning |
|---|---|
| Database ID | The ID of the database from which to list collections. |
Output
JSON
collections- An array of collection objects retrieved from the specified database.
Dependencies
- Appwrite API key credential for authentication
Troubleshooting
- Ensure the provided Database ID is correct and exists in the Appwrite project.
- Verify that the API key has sufficient permissions to access the database and list collections.
- Common errors include authentication failures due to invalid API keys or network issues connecting to the Appwrite endpoint.
Links
- Appwrite Documentation - List Collections - Official documentation for listing collections in Appwrite databases.