Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations across multiple resources, including login management. Specifically, for the 'Login' resource and 'Unblock Brute Force IPs' operation, it unblocks IP addresses that were previously blocked due to brute force attack attempts. This is useful for administrators who want to restore access for legitimate users mistakenly blocked by security measures.

Use Case Examples

  1. Unblock IPs that were blocked due to multiple failed login attempts to restore user access.
  2. Manage login security by programmatically unblocking IPs after verifying their legitimacy.

Properties

Name Meaning
Query Parameters Additional query parameters to customize the API request, such as filters or flags relevant to the operation.
Request Body JSON payload sent with the request, used for POST operations to provide necessary data for the API call.

Output

JSON

  • Status Code - HTTP status code or message indicating the result of the API call
  • json - Parsed JSON response from the Matomo API containing the operation result
  • text - Raw text response if JSON parsing fails

Dependencies

  • Matomo API credentials including domain URL and authentication token

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause the node to throw an error.
  • Verify that the 'resource' and 'operation' parameters are correctly set to 'Login' and 'Unblock Brute Force IPs' respectively to avoid unknown resource errors.
  • Check the format of query parameters and request body JSON to ensure they conform to the expected API specifications.
  • If the API response is empty or not JSON, the node returns a '204 No Content' status; verify the API endpoint and parameters for correctness.

Discussion