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
Functions → List Deployments
AI-generatedOverview
This node interacts with the Appwrite API to manage functions and their deployments. Specifically, the 'List Deployments' operation retrieves a list of deployments for a specified function within the Appwrite environment. This is useful for developers who want to monitor or manage different versions or deployments of their serverless functions hosted on Appwrite.
Use Case Examples
- A developer wants to list all deployments of a specific function to check which versions are currently active or available.
- An automation workflow needs to fetch deployment details of a function to trigger further actions based on deployment status.
Properties
| Name | Meaning |
|---|---|
| Function ID | The unique identifier of the function for which deployments are to be listed. This is a required input to specify the target function. |
| Options | Additional optional parameters to filter the list of deployments. Includes a 'Queries' field that accepts an array of query strings for filtering results, allowing refined search criteria. |
Output
JSON
deployments- An array containing the list of deployments for the specified function, including details about each deployment.
Dependencies
- Appwrite API key credential for authentication and access to the Appwrite project and endpoint.
Troubleshooting
- Ensure the Function ID is correctly specified and exists in the Appwrite project; otherwise, the API call will fail.
- Verify that the API key credential has sufficient permissions to access function deployments.
- If filtering queries are used, ensure they are correctly formatted JSON strings to avoid parsing errors.
- Common error messages may include authentication failures, invalid function ID, or malformed query parameters. Resolving these involves checking credentials, input values, and query syntax.