Memberspot

Interact with the Memberspot API (powered by agentur-systeme.de)

Overview

This node integrates with the Memberspot API to manage user access and other resources related to online courses. Specifically, the Enable Chapter Access operation under the Chapter resource grants a user access to a particular chapter within a course. This is useful in scenarios where you want to programmatically unlock specific chapters for users based on their progress, purchases, or administrative decisions.

Practical examples include:

  • Automatically granting access to a new chapter after a user completes a prerequisite.
  • Manually enabling access to a chapter for a user who requested it.
  • Integrating with other systems to synchronize chapter access permissions.

Properties

Name Meaning
Course ID The unique identifier of the course containing the chapter to which access will be granted.
Chapter ID The unique identifier of the chapter to enable access for the specified user.
Email The email address of the user who will receive access to the chapter.

Output

The node outputs JSON data representing the response from the Memberspot API after attempting to enable chapter access. This typically includes confirmation details about the access grant or error information if the operation failed.

The output structure is:

{
  "json": {
    // API response object confirming chapter access enablement or error details
  },
  "pairedItem": {
    "item": <index_of_input_item>
  }
}

No binary data is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Memberspot API.
  • The node expects the Memberspot API base URL and API key to be configured in the credentials.
  • Network connectivity to the Memberspot API endpoint is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Incorrect Course ID or Chapter ID may result in errors indicating that the resource was not found.
    • Providing an email that does not correspond to a registered user may cause the operation to fail.
  • Error messages:

    • Errors returned from the API are passed through and included in the output JSON under an error field if "Continue On Fail" is enabled.
    • Typical errors include HTTP 401 Unauthorized (invalid API key), 404 Not Found (invalid course/chapter/user), or 400 Bad Request (missing required parameters).
  • Resolution tips:

    • Verify that the API key credential is correctly set up and has sufficient permissions.
    • Double-check the Course ID, Chapter ID, and Email values for correctness.
    • Enable "Continue On Fail" to handle errors gracefully during batch executions.

Links and References

Discussion