Vikunja icon

Vikunja

Get data from Vikunja's API

Overview

The node integrates with the Vikunja API to retrieve various data related to task management. Specifically, for the "Task" resource and the "Get All Comments" operation, it fetches all comments associated with a given task. This is useful in scenarios where users want to aggregate or analyze all discussions or notes made on a particular task within Vikunja.

Practical examples include:

  • Displaying all comments on a task in a dashboard.
  • Exporting task comments for reporting or auditing purposes.
  • Triggering workflows based on the content or presence of comments on tasks.

Properties

Name Meaning
Task ID The unique identifier (number) of the task for which all comments should be retrieved.

Output

The node outputs JSON data containing all comments related to the specified task. Each comment typically includes details such as the comment text, author information, timestamps, and possibly other metadata defined by the Vikunja API.

If the node supports binary data output (not evident from the provided code), it would represent attachments or media linked to comments, but this is not indicated here.

Dependencies

  • Requires an active connection to the Vikunja API.
  • Needs an API authentication token or key configured in the node credentials to authorize requests.
  • The base URL for the Vikunja API must be set correctly in the node's credential configuration.

Troubleshooting

  • Common Issues:

    • Invalid or missing Task ID: Ensure the Task ID is provided and corresponds to an existing task.
    • Authentication errors: Verify that the API key/token is valid and has sufficient permissions.
    • Network or connectivity problems: Check the API URL and network access.
  • Error Messages:

    • Unauthorized or 401 errors indicate issues with API credentials.
    • 404 errors may mean the task does not exist or the Task ID is incorrect.
    • Timeout or connection errors suggest network issues or incorrect API endpoint configuration.

Resolving these usually involves verifying input parameters, checking credentials, and ensuring network connectivity.

Links and References

Discussion