mittwald icon

mittwald

Interact with mittwald mStudio API

Actions100

Overview

This node interacts with the "App Link Database" operation of an external API, allowing users to link a specific database to an app installation. It is useful in scenarios where you need to associate or configure databases within an app environment programmatically. For example, this node can be used to automate linking a new database to an app after deployment or to update database associations dynamically based on user input or other workflow conditions.

Properties

Name Meaning
App Installation Id The unique identifier of the app installation to which the database will be linked.
Database Id The unique identifier of the database that should be linked to the app installation.
Database User Ids A JSON object representing user IDs associated with the database, allowing for custom user mappings or permissions.
Purpose The purpose of the database link; options include: Primary, Cache, or Custom.

Output

The node outputs JSON data reflecting the result of the "App Link Database" operation. This typically includes confirmation of the database being linked to the app installation and any relevant metadata returned by the API. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authentication with the mittwald mStudio API.
  • The node uses the base URL https://api.mittwald.de and expects JSON content-type headers.
  • No additional external dependencies are indicated beyond the API access.

Troubleshooting

  • Missing Required Fields: Ensure that all required properties (App Installation Id, Database Id, and Purpose) are provided; missing these will likely cause errors.
  • Invalid JSON in Database User Ids: The Database User Ids property expects valid JSON. Malformed JSON will cause parsing errors.
  • API Authentication Errors: Verify that the API key credential is correctly configured and has sufficient permissions.
  • Network Issues: Connectivity problems to https://api.mittwald.de will prevent successful execution.
  • Purpose Value Errors: Only the specified options ("primary", "cache", "custom") are accepted; using other values may cause validation errors.

Links and References

Discussion