Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, allowing users to perform a wide range of operations on various Dataiku DSS resources. Specifically for the Library resource and the Move File or Folder operation, it enables moving files or folders within a project's library in Dataiku DSS.

Common scenarios where this node is beneficial include:

  • Organizing project libraries by moving files or folders to different locations.
  • Automating library content management as part of larger workflows.
  • Managing code, scripts, or data files stored in the Dataiku DSS project library programmatically.

Example use case:

  • You have uploaded several scripts into a default folder in your project library and want to move them into a specific subfolder to maintain a clean structure. This node can automate that move operation.

Properties

Name Meaning
Project Key The unique key identifying the Dataiku DSS project where the library file/folder exists.
Request Body JSON object containing details of the move operation, such as source and destination paths.

Note: For the "Move File or Folder" operation under the Library resource, the Project Key is required to specify the target project, and the Request Body should contain the necessary parameters describing what file or folder to move and where.

Output

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

  • If the move operation returns JSON data, it will be output as JSON.
  • If the operation involves downloading binary data (not typical for move), it would be output as binary data, but for move operation, the output is expected to be JSON confirming success or providing details.
  • In case of no content returned, it outputs a status message indicating "204 No Content".

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 expects the Dataiku DSS server URL and user API key to be configured in the credentials.

Troubleshooting

  • Missing Credentials Error: If the API credentials are not provided or invalid, the node will throw an error indicating missing credentials.
  • Required Parameter Missing: The node validates required parameters like Project Key and request body fields. Omitting these will cause errors specifying which parameter is missing.
  • API Errors: Any HTTP or API errors from Dataiku DSS will be caught and reported with the error message and stack trace if available.
  • Invalid JSON in Request Body: Ensure the Request Body property contains valid JSON; otherwise, parsing errors may occur.
  • Network Issues: Connectivity problems to the Dataiku DSS server will result in request failures.

Links and References


This summary focuses on the Library resource and the Move File or Folder operation as requested, based on static analysis of the provided source code and input properties.

Discussion