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 → Get
AI-generatedOverview
This node integrates with the Appwrite API to perform various operations on different resources, including Functions. Specifically, the 'Get' operation under the 'Functions' resource retrieves details about a specific function by its ID. This is useful for scenarios where you need to fetch metadata or configuration details of a function deployed in Appwrite, such as for monitoring, debugging, or automation workflows.
Use Case Examples
- Retrieve details of a specific function by providing its Function ID to monitor its status or configuration.
- Use the node to fetch function information before triggering or updating it in an automated deployment pipeline.
Properties
| Name | Meaning |
|---|---|
| Function ID | The unique identifier of the function to retrieve details for. This is a required input when performing the 'Get' operation on the 'Functions' resource. |
Output
JSON
id- The unique identifier of the function.name- The name of the function.runtime- The runtime environment the function uses.entrypoint- The entry point file or method of the function.status- The current status of the function (e.g., active, inactive).deploymentId- The ID of the current deployment of the function.createdAt- Timestamp when the function was created.updatedAt- Timestamp when the function was last updated.
Dependencies
- Appwrite API endpoint, project ID, and API key credentials are required to authenticate and interact with the Appwrite service.
Troubleshooting
- Ensure the Function ID provided is correct and exists in the Appwrite project to avoid 'function not found' errors.
- Verify that the API credentials (endpoint, project ID, API key) are valid and have sufficient permissions to access function details.
- If the node throws an 'Unknown resource' error, confirm that the resource parameter is set to 'Functions' and the operation to 'Get'.
- Network connectivity issues can cause timeouts or failures; ensure the node can reach the Appwrite API endpoint.
Links
- Appwrite Functions Documentation - Official documentation for managing functions in Appwrite, including retrieving function details.