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 directly from n8n workflows. Specifically, for the "Plugin" resource and the "Rename File or Folder in Plugin" operation, it allows renaming files or folders within a specified plugin.

Common scenarios where this node is beneficial include automating plugin management tasks such as updating plugin contents, managing plugin files and folders, and integrating plugin lifecycle actions into broader automation workflows. For example, a user might automate the renaming of plugin files after deployment or during development cycles without manual intervention.

Properties

Name Meaning
Plugin ID The unique identifier of the plugin where the file or folder rename operation will occur.
Request Body A JSON object containing the details of the rename operation, typically specifying the current name/path and the new name/path for the file or folder.

Note: The "Request Body" property expects a JSON structure that defines the rename parameters according to the Dataiku DSS API specification for plugin content rename actions.

Output

The node outputs the response from the Dataiku DSS API call:

  • JSON output: Contains the parsed JSON response from the API if the response is JSON.
  • Binary output: Not applicable for this operation.
  • If the API returns no content (HTTP 204), the output will indicate "Status Code": "204 No Content".

The output reflects the result of the rename operation, which may include success confirmation or error details.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key) for authentication with the Dataiku DSS API.
  • The node uses HTTP requests to communicate with the Dataiku DSS server; thus, network connectivity to the server is necessary.
  • No additional external services are required beyond the Dataiku DSS API.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing credentials, ensure that the API key credential for Dataiku DSS is properly configured in n8n.
  • Required Parameter Errors: The node validates required parameters such as Plugin ID and request body fields. Missing these will cause errors. Verify all required inputs are provided.
  • API Endpoint Errors: If the plugin ID is incorrect or the file/folder paths in the request body do not exist, the API may return errors. Confirm the plugin and paths are correct.
  • Network Issues: Connectivity problems to the Dataiku DSS server will cause request failures. Check network access and server availability.
  • Unexpected Response Format: If the API returns non-JSON responses unexpectedly, the node attempts to handle them gracefully but may output raw text.

Links and References


This summary focuses on the "Plugin" resource and the "Rename File or Folder in Plugin" operation, describing how the node constructs the API request, handles inputs, and processes outputs accordingly.

Discussion