Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, enabling users to perform a wide range of operations on Dataiku DSS resources programmatically within n8n workflows. Specifically for the Plugin resource and the Move File or Folder in Plugin operation, it allows moving files or folders inside a specified plugin.

Common scenarios include:

  • Automating plugin file management tasks such as reorganizing plugin contents.
  • Integrating plugin development workflows by programmatically moving files/folders without manual intervention.
  • Managing plugin structure dynamically based on external triggers or conditions.

Example use case:

  • A developer wants to move a configuration file from one folder to another inside a plugin whenever a new version is deployed, automating the update process.

Properties

Name Meaning
Plugin ID The unique identifier of the plugin where the file or folder will be moved.
Request Body JSON object containing details about the source and destination paths for the move operation.

The Request Body property expects a JSON structure specifying what file or folder to move and where to move it within the plugin.

Output

The node outputs the response from the Dataiku DSS API call in the json field. This typically contains the result of the move operation, such as confirmation or details of the moved item.

If the operation involves downloading files (not applicable here), binary data would be output accordingly, but for this move operation, only JSON responses are expected.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Needs valid API credentials (an API key) for authentication with the Dataiku DSS API.
  • The node uses HTTP requests to interact with the Dataiku DSS REST API endpoints.

Troubleshooting

  • Missing Credentials Error: If the API credentials are not set or invalid, the node will throw an error indicating missing credentials. Ensure that the API key credential is configured correctly in n8n.
  • Required Parameter Missing: The node validates required parameters like Plugin ID. If these are missing, it throws descriptive errors. Make sure all required fields are filled.
  • API Errors: If the Dataiku DSS API returns an error (e.g., invalid paths, permission issues), the node will throw an error with the message from the API. Check the plugin ID and paths in the request body for correctness.
  • Malformed JSON in Request Body: The Request Body must be valid JSON. Invalid JSON will cause parsing errors.

Links and References


This summary focuses on the "Plugin" resource and specifically the "Move File or Folder in Plugin" operation as requested.

Discussion