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
Sites → List Sites
AI-generatedOverview
This node interacts with the Appwrite API to perform various operations on different resources. Specifically, for the 'Sites' resource with the 'List Sites' operation, it retrieves a list of sites managed within the Appwrite platform. This is useful for scenarios where you need to programmatically access and manage site information, such as in automated workflows for site monitoring, reporting, or integration with other services.
Use Case Examples
- Automatically retrieve and list all sites in your Appwrite project to monitor their status.
- Integrate site listing into a dashboard that aggregates data from multiple Appwrite resources.
Output
JSON
sites- Array of site objects returned from the Appwrite API representing the listed sites
Dependencies
- Appwrite API key credential for authentication
Troubleshooting
- Common issues include authentication errors due to invalid or missing API keys. Ensure the API key and project ID are correctly configured in the node credentials.
- Network or endpoint errors can occur if the Appwrite server endpoint is incorrect or unreachable. Verify the endpoint URL in the credentials.
- If the node throws an 'Unknown resource' error, confirm that the resource parameter is set to 'Sites' and the operation to 'List Sites'.
Links
- Appwrite Sites API - List Sites - Official documentation for the Appwrite Sites API listing operation