Represents one command-response request record returned by the backend.

interface ESPCmdRespRequestAPIRecord {
    cmd: number;
    device_status: ESPCmdRespDeviceStatus;
    expiration_timestamp: number;
    indefinite_timeout?: boolean;
    is_base64?: boolean;
    node_id: string;
    request_data: string | Record<string, unknown>;
    request_data_error?: ErrorDeserializeJson;
    request_id: string;
    request_timestamp: number;
    response_data?: null | string | Record<string, unknown>;
    response_data_error?: ErrorDeserializeJson;
    response_timestamp: number;
    status: ESPCmdRespRequestStatus;
    status_description: string;
    user_name?: string;
}

Properties

cmd: number
device_status: ESPCmdRespDeviceStatus
expiration_timestamp: number
indefinite_timeout?: boolean
is_base64?: boolean
node_id: string
request_data: string | Record<string, unknown>
request_data_error?: ErrorDeserializeJson

Present only when the stored request payload could not be deserialized. When set, request_data should be treated as absent or null. The overall response is still HTTP 200 — other items in requests are unaffected.

request_id: string
request_timestamp: number
response_data?: null | string | Record<string, unknown>
response_data_error?: ErrorDeserializeJson

Present only when the stored response payload could not be deserialized. When set, response_data should be treated as absent or null. The overall response is still HTTP 200 — other items in requests are unaffected.

response_timestamp: number
status_description: string
user_name?: string