mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node operation allows restarting a specific service within a container stack managed by the mittwald mStudio API. It is useful in scenarios where a particular service inside a containerized environment needs to be refreshed or restarted without affecting the entire stack or other services. For example, if a microservice experiences issues or requires configuration reload, this operation can trigger its restart programmatically.

Properties

Name Meaning
Stack Id ID of the Stack to restart a Service for.
Service Id ID of the Service to restart.

Output

The node outputs JSON data representing the response from the mittwald mStudio API after attempting to restart the specified service. This typically includes status information about the restart request, such as success confirmation or error details. The node does not output binary data.

Dependencies

  • Requires an API key credential for authentication with the mittwald mStudio API.
  • The node communicates with the mittwald API endpoint at https://api.mittwald.de.
  • Proper configuration of the API credentials in n8n is necessary for successful requests.

Troubleshooting

  • Common Issues:

    • Invalid or missing Stack Id or Service Id will cause the API call to fail.
    • Authentication errors due to incorrect or expired API credentials.
    • Network connectivity issues preventing access to the mittwald API endpoint.
  • Error Messages and Resolutions:

    • Unauthorized / 401 Error: Check that the API key credential is correctly configured and has sufficient permissions.
    • Not Found / 404 Error: Verify that the provided Stack Id and Service Id exist and are correct.
    • Timeouts or Network Errors: Ensure network connectivity and that the API endpoint is reachable from the n8n instance.

Links and References

Discussion