OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node interacts with the OpenProject API to manage queries. Specifically, the "Unstar Query" operation removes a star or favorite mark from a specified query by its ID. This is useful in scenarios where users want to organize or declutter their list of starred queries, removing those that are no longer relevant or needed as favorites.

Practical example: A project manager has several saved queries marked as favorites for quick access. After a project phase ends, they want to unstar some queries to keep only the most relevant ones starred.

Properties

Name Meaning
Id The unique identifier of the query to unstar. This is a required numeric value representing the specific query you want to remove the star from.

Output

The node outputs JSON data representing the result of the unstar operation. Typically, this will include confirmation that the query was successfully unstarred or details about the updated query state. The exact structure depends on the OpenProject API response but generally confirms the action's success.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the OpenProject API.
  • The node expects the base URL of the OpenProject instance to be configured in the credentials.
  • Network connectivity to the OpenProject server is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing query ID: Ensure the "Id" property is set correctly and corresponds to an existing query.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Network or URL misconfiguration: Confirm the OpenProject base URL is correct and accessible.
  • Error messages:

    • Unauthorized or 401 errors indicate authentication failure; check API credentials.
    • 404 Not Found may mean the query ID does not exist.
    • 400 Bad Request could indicate malformed input; verify the "Id" parameter is a valid number.

Resolving these typically involves verifying input parameters, credentials, and network settings.

Links and References

Discussion