Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

The node provides integration with the Dataiku DSS API, enabling users to perform a wide range of operations on various Dataiku DSS resources. Specifically for the Security resource and the Update Jupyter Integration operation, it allows updating the integration settings of Jupyter within a DSS code environment.

This node is beneficial in scenarios where automation or programmatic control over Dataiku DSS security configurations is required, such as managing user access, groups, code environments, and Jupyter integrations. For example, an organization might automate the update of Jupyter integration settings across multiple DSS environments as part of their deployment pipeline.

Properties

Name Meaning
Query Parameters A collection of key-value pairs to add as query parameters to the API request.

The Query Parameters property supports many options (booleans, strings, numbers) that can be used depending on the specific API call context. For the Update Jupyter Integration operation under the Security resource, these parameters customize the update request. Some relevant options include:

  • active: boolean - Whether the integration is active.
  • codeEnvName: string - The name of the code environment to update.
  • forceRebuildEnv: boolean - Whether to force rebuild the environment.
  • wait: boolean - Whether to wait for the operation to complete.
  • Other parameters related to environment configuration and integration details.

These options allow fine-tuning the Jupyter integration update behavior.

Output

The node outputs the response from the Dataiku DSS API call in the json field of the output data. The structure depends on the API endpoint called but generally includes the updated integration status or confirmation of the update.

If the operation involves downloading files or binary content (not typical for this operation), the node would output binary data accordingly, but for the Update Jupyter Integration operation, the output is JSON.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key credential) for authentication.
  • The node uses HTTP requests to communicate with the DSS REST API.
  • No additional external services are needed beyond the Dataiku DSS API.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Dataiku DSS API Credentials," ensure that the API key credential is configured correctly in n8n.
  • Required Parameter Errors: The node validates required parameters like project key, environment language, and environment name. Missing these will cause errors. Provide all mandatory fields.
  • API Request Failures: Network issues, incorrect URLs, or insufficient permissions may cause API errors. Check the DSS server URL, API key permissions, and network connectivity.
  • Unexpected Response Format: If the API returns unexpected data, verify the API version compatibility and the correctness of parameters.
  • Timeouts or Long Waits: Operations with wait parameter set to true may take time; consider setting it to false if immediate response is preferred.

Links and References


This summary focuses on the Security resource and the Update Jupyter Integration operation, describing how the node constructs the API request, handles input properties, and processes the output.

Discussion