OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node interacts with a file link management system to create a new storage entry. It is particularly useful when you want to programmatically add storage locations for managing files, such as linking external storage services or defining internal storage spaces within a project management or file sharing environment.

A practical example would be automating the setup of storage configurations in a collaborative platform where multiple projects require dedicated storage areas. By using this node, users can streamline the creation of these storages without manual intervention.

Properties

Name Meaning
Name The name of the storage to create. If left empty, a default name will be used.
Application Password The application password for Nextcloud storage integration. If provided as a string, it sets the password and enables automatic management. If null, it disables automatic management and unsets the password. Ignored if the storage provider is not Nextcloud.
Links A JSON object defining API endpoint details for the storage creation request, including HTTP method and URL path. Typically preconfigured and rarely changed by users.

Output

The node outputs JSON data representing the newly created storage resource. This JSON typically includes metadata about the storage such as its identifier, name, configuration details, and possibly status information. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key or authentication token credential to connect securely to the target service.
  • The base URL for the API must be configured in the node credentials.
  • The node depends on the external API supporting storage creation via a POST request to the /api/v3/work_packages endpoint or similar, as indicated in the _links property.

Troubleshooting

  • Common issues:
    • Missing or invalid API credentials will cause authentication failures.
    • Providing an incorrect or malformed JSON in the Links property may result in request errors.
    • If the Application Password is set incorrectly for Nextcloud storage, the storage creation might fail or behave unexpectedly.
  • Error messages:
    • Authentication errors usually indicate invalid or missing API keys; verify credentials.
    • Validation errors may occur if required properties like Name are missing or invalid; ensure all mandatory fields are correctly filled.
    • Network or endpoint errors suggest connectivity issues or incorrect API URLs; check the base URL and network access.

Links and References

Discussion