API Core - v2.4.1
    Preparing search index...

    Class APICallLogDataAbstract

    Abstract base for API call logging data, serializable to JSON with a fixed set of log keys. Serialization redacts through the injected Redaction — the same vocabulary the HttpError snapshot uses, so a secret cannot reach a log through either route.

    Hierarchy (View Summary)

    Index
    dataType: string
    method?: string
    params: unknown
    url?: string
    • Serializes the log data to JSON in the fixed key order, redacting every value through the injected vocabulary. ONE record is ONE line: the host that reads these lines back (a Homey diagnostic report) keeps about the last hundred lines of an app's stdout, and an indented Classic /User/ListDevices body alone ran past that window, so a report carried the tail of one dump and no other line at all. A body above MAX_LOGGED_BODY_BYTES is omitted whole and counted, so a hundred records also fit the report's upload.

      Returns string

      The redacted, single-line JSON record.