node-switchbot
    Preparing search index...

    Interface APIResponse<T>

    OpenAPI Response base

    interface APIResponse<T = any> {
        body: T;
        message: string;
        statusCode: number;
    }

    Type Parameters

    • T = any
    Index

    Properties

    body: T
    message: string
    statusCode: number