mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node interacts with the mittwald mStudio API to manage container services within a stack. Specifically, the "Container Stop Service" operation allows users to stop a running service inside a specified container stack. This is useful in scenarios where you need to halt a particular service for maintenance, updates, or resource management without affecting the entire stack.

Practical examples include:

  • Temporarily stopping a web service during deployment of new code.
  • Halting background worker services to troubleshoot issues.
  • Managing resource usage by stopping non-critical services during peak times.

Properties

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

Output

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

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authentication with the mittwald mStudio API.
  • The node sends requests to the base URL: https://api.mittwald.de.
  • Proper configuration of the API key credential in n8n is necessary for successful operation.

Troubleshooting

  • Common Issues:

    • Invalid or missing Stack Id or Service Id will cause the API call to fail.
    • Authentication errors if the API key credential is not set up correctly.
    • Network connectivity issues preventing access to the mittwald API endpoint.
  • Error Messages:

    • Authorization errors indicating invalid credentials: Verify and update the API key credential.
    • Not found errors when the Stack Id or Service Id does not exist: Confirm the IDs are correct.
    • Timeout or network errors: Check internet connection and API availability.

Links and References

Discussion