mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node operation allows you to recreate a specific service within a container stack by specifying the stack and service IDs. It is useful in scenarios where a containerized service needs to be restarted or refreshed without affecting the entire stack, such as applying configuration changes, recovering from errors, or updating the service state.

Practical examples include:

  • Restarting a microservice after deploying new environment variables.
  • Refreshing a service that has become unresponsive.
  • Triggering a rebuild of a service container to apply updates.

Properties

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

Output

The output JSON will typically contain the response from the API indicating the result of the recreate operation on the specified service. This may include status information, confirmation of the action, or error details if the operation failed.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential for authentication with the mittwald mStudio API.
  • The node uses the mittwald mStudio API base URL: https://api.mittwald.de.
  • Proper network access to the mittwald API endpoint is necessary.

Troubleshooting

  • Invalid Stack Id or Service Id: Ensure that the provided IDs are correct and correspond to existing resources in your mittwald account.
  • Authentication Errors: Verify that the API key credential is valid and has sufficient permissions.
  • Network Issues: Check connectivity to the mittwald API endpoint.
  • API Rate Limits: If requests fail due to rate limiting, consider implementing retries with backoff.

Common error messages might include unauthorized access, resource not found, or bad request errors, which usually indicate issues with credentials, IDs, or request formatting.

Links and References

Discussion