ChemPare Documentation - v0.0.0
    Preparing search index...

    Interface MacklinApiResponse<T>

    Base response wrapper for all Macklin API responses. All API endpoints return data in this format, with a status code, message, and typed data payload.

    {
    "code": 200,
    "message": "success",
    "data": { ... }
    }
    interface MacklinApiResponse<T = unknown> {
        code: number;
        message: string;
        data: T;
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    Properties

    code: number

    HTTP status code returned by the API

    message: string

    Status message or error description

    data: T

    Typed response data