Mindz icon

Mindz

Interact with Mindz API

Actions115

Overview

The "Course Teacher" resource with the "Create" operation allows users to add a teacher to a specific course within the Mindz platform. This node is useful in educational or training management scenarios where administrators need to assign teaching roles to users for courses they manage. For example, an admin can use this node to designate a user as a teacher for a course, specifying their permissions such as visualization rights, tutoring, grading, and access to financial or community notifications.

Properties

Name Meaning
Course ID The unique identifier of the course to which the teacher will be added.
User ID The unique identifier of the user who will be assigned as a teacher.
Teacher Visualization Whether the teacher has permission to visualize (view) the course content.
Tutor Whether the teacher acts as a tutor for the course.
Grader Whether the teacher has grading permissions for the course.
Profile Viewer Whether the teacher can view student profiles associated with the course.
News Whether the teacher can manage news related to the course.
Financial Whether the teacher can access financial information related to the course.
Community Notification Whether the teacher receives community notifications related to the course.

Output

The node outputs JSON data representing the result of the creation operation. This typically includes confirmation details about the newly created course teacher assignment, such as IDs and status. The output does not include binary data.

Dependencies

  • Requires an API authentication token credential configured in n8n to interact with the Mindz API.
  • The node depends on the Mindz platform's API endpoints for managing course teachers.
  • No additional external services are required beyond the Mindz API.

Troubleshooting

  • Missing Required Fields: If "Course ID" or "User ID" is not provided, the node will likely throw an error indicating missing required parameters. Ensure these fields are correctly set.
  • Permission Errors: If the API credentials do not have sufficient permissions to create course teachers, the node may return authorization errors. Verify that the API key or token has appropriate scopes.
  • Invalid IDs: Providing invalid or non-existent course or user IDs may cause the API to reject the request. Double-check the IDs before running the node.
  • Network Issues: Connectivity problems with the Mindz API endpoint can cause timeouts or failures. Confirm network access and API availability.

Links and References

  • Mindz API Documentation (general reference for API endpoints and permissions)
  • n8n Documentation on creating custom nodes and using API credentials

Discussion