Keitaro icon

Keitaro

Работа с API Keitaro

Overview

This node interacts with the Keitaro API to perform operations on various resources, including logs. Specifically, for the 'log' resource and 'get' operation, it retrieves information about a specific log entry by its ID. This is useful for users who want to fetch detailed log data from Keitaro for monitoring or analysis purposes.

Use Case Examples

  1. Retrieve a specific log entry by its ID to analyze campaign performance or troubleshoot issues.
  2. Fetch log details to audit traffic or conversion events recorded by Keitaro.

Properties

Name Meaning
ID Лога The unique identifier of the log entry to retrieve. Required for 'get', 'update', and 'delete' operations on the 'log' resource.

Output

JSON

  • request
    • url - The URL of the API request made to Keitaro.
    • method - The HTTP method used for the API request.
    • headers - Headers sent with the API request, with sensitive data like API keys masked.
  • resource - The resource type involved in the operation, e.g., 'log'.
  • operation - The operation performed, e.g., 'get'.
  • data - The data returned from the Keitaro API for the requested log entry.
  • success - Indicates if the operation was successful (present for operations other than 'get' and 'getAll').

Dependencies

  • Keitaro API key credential
  • Keitaro domain credential

Troubleshooting

  • Ensure the 'logId' parameter is provided and valid for 'get' operation; missing or invalid ID will cause errors.
  • Verify that the Keitaro API key and domain are correctly configured in the node credentials; missing credentials will prevent API access.
  • Check API response status codes; non-2xx responses indicate API errors which are surfaced as error messages.
  • For 'getAll' operations on other resources, ensure required parameters like date ranges or limits are set to avoid errors.

Links

Discussion