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
Index → List
AI-generatedOverview
This node interacts with the Appwrite API, specifically supporting various resources and operations within the Appwrite ecosystem. For the 'Index' resource with the 'List' operation, it lists indexes within a specified database and collection. This is useful for users who want to retrieve and manage indexes in their Appwrite databases programmatically, such as for optimizing queries or understanding the database schema.
Use Case Examples
- Listing all indexes in a specific collection to audit or optimize database queries.
- Retrieving index information to dynamically adjust application behavior based on available indexes.
Properties
| Name | Meaning |
|---|---|
| Database ID | The ID of the database to list indexes from. |
| Collection ID | The ID of the collection within the database to list indexes from. |
Output
JSON
indexes- An array of index objects retrieved from the specified database and collection.
Dependencies
- Appwrite API key credential for authentication
Troubleshooting
- Ensure the provided Database ID and Collection ID are correct and exist in the Appwrite project.
- Verify that the API key has sufficient permissions to access the database and collection indexes.
- Common errors include authentication failures due to invalid API keys or permission issues, and resource not found errors if the database or collection IDs are incorrect.
Links
- Appwrite Database Indexes Documentation - Official documentation on managing indexes in Appwrite databases.