Appwrite icon

Appwrite

Interact with Appwrite API

Actions181

Collection → List

AI-generated

Overview

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

  1. Fetching all collections from a specific database to display in a user interface.
  2. 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

Discussion