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 Indexes
AI-generatedOverview
This node interacts with the Appwrite API to perform operations on collections within a database. Specifically, the 'List Indexes' operation retrieves all indexes associated with a specified collection in a given database. This is useful for developers managing database schemas and optimizing query performance by understanding the indexing structure of their collections.
Use Case Examples
- A developer wants to list all indexes on a collection to audit or optimize database queries.
- An automation workflow needs to fetch index details to dynamically adjust queries or data processing logic.
Properties
| Name | Meaning |
|---|---|
| Database ID | The ID of the database containing the collection for which indexes are to be listed. |
| Collection ID | The ID of the collection whose indexes are to be listed. |
Output
JSON
indexes- An array of index objects representing the indexes defined on the specified collection.
Dependencies
- Requires an Appwrite API key credential for authentication to the Appwrite server endpoint.
Troubleshooting
- Common issues include invalid or missing database or collection IDs, which will cause the API call to fail.
- Authentication errors may occur if the API key or project ID is incorrect or missing.
- Network connectivity issues can prevent communication with the Appwrite server.
- Error messages from the node will include details from the Appwrite API; ensure credentials and parameters are correct to resolve them.
Links
- Appwrite Database Indexes Documentation - Official documentation on managing and listing indexes in Appwrite databases.