mittwald icon

mittwald

Interact with mittwald mStudio API

Actions100

Overview

This node interacts with the mittwald mStudio API to retrieve information about the current user's membership in a specific project. Specifically, it fetches the membership details for the authenticated user within a given project identified by its Project Id.

Common scenarios where this node is useful include:

  • Checking the role or permissions of the current user in a particular project.
  • Verifying if the user is part of a project before performing further actions.
  • Displaying membership details in workflows that manage project access or notifications.

For example, a workflow could use this node to confirm the user's membership status before allowing them to update project data or trigger alerts based on their role.

Properties

Name Meaning
Project Id ID of the Project to get the membership for. This is a required string input specifying which project's membership details to retrieve for the current user.

Output

The node outputs JSON data containing the membership details of the current user for the specified project. The exact structure depends on the API response but typically includes fields such as membership roles, permissions, and possibly metadata about the membership.

No binary data output is indicated.

Dependencies

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

Troubleshooting

  • Common issues:

    • Invalid or missing Project Id will cause the request to fail.
    • Authentication errors if the API key credential is not set up correctly.
    • Network or API downtime may result in request failures.
  • Error messages:

    • Unauthorized or 401 errors indicate problems with the API key credential.
    • 404 errors may mean the specified Project Id does not exist or the user has no membership in that project.
    • Timeout or network errors suggest connectivity issues.
  • Resolutions:

    • Verify the Project Id is correct and exists.
    • Ensure the API key credential is valid and has sufficient permissions.
    • Check network connectivity and API service status.

Links and References

Discussion