Habitica icon

Habitica

Habitica API

Overview

This node operation allows users to score a specific task in Habitica either up or down. It is useful for managing task priorities or tracking progress by adjusting the task's score. For example, a user can increase the score of a task to mark it as more important or decrease it to indicate lower priority or completion.

Use Case Examples

  1. Score a task up to increase its priority.
  2. Score a task down to decrease its priority.

Properties

Name Meaning
Task The specific task to be scored, identified by its ID or selected from a list.
Direction "Up" Determines whether the task score should be increased (true) or decreased (false).
Request Options Additional options for the request such as batching, SSL certificate handling, proxy settings, and timeout configuration.

Output

JSON

  • taskId - The ID of the task that was scored.
  • directionUp - Indicates if the task was scored up (true) or down (false).
  • result - The response or result of the scoring operation from the Habitica API.

Dependencies

  • Habitica API with an API key credential

Troubleshooting

  • Ensure the task ID is valid and correctly formatted as a UUID.
  • Check API credentials and permissions to access and modify tasks.
  • Verify network settings such as proxy and SSL options if requests fail.
  • Timeout errors may occur if the server is slow or unresponsive; adjust the timeout setting accordingly.

Links

Discussion