jenna-mcp icon

jenna-mcp

Universal node generated from OpenAPI - satu node memuat semua endpoint

Actions60

user get api user role

AI-generated

Overview

This node interacts with a comprehensive API service, allowing users to perform various operations related to user management, complaint handling, service requests, and configuration management. It supports multiple endpoints such as fetching user roles, creating and updating users, managing complaints, uploading files, and more. The node is beneficial for automating workflows that require integration with this API, such as managing user roles, processing citizen complaints, or handling service requests in a municipal or organizational context.

Use Case Examples

  1. Retrieve the roles assigned to a user via the 'user get api user role' operation.
  2. Create a new user with specific details using the 'user post api user create' operation.
  3. Fetch a list of complaints submitted by citizens using the 'mcp get api pengaduan' operation.

Properties

Name Meaning
operation Specifies the API operation to perform, such as fetching user roles or creating a user. This determines the API endpoint and HTTP method used.

Output

JSON

  • ``
    • error - Indicates if there was an error in the API request.
    • message - Error message or response message from the API.
    • status - HTTP status code of the API response.
    • data - The data returned from the API call, varies depending on the operation.

Dependencies

  • An API key credential named 'jennaMcp' providing baseUrl and token for authentication.

Troubleshooting

  • Ensure the base URL and token are correctly configured in the credentials; missing or incorrect values will cause errors.
  • If the API returns an error, check the 'message' and 'status' fields in the output for details.
  • Unknown operation errors occur if the 'operation' parameter is set to a value not supported by the node.

Discussion