Crypto API
    Preparing search index...

    Interface MethodLike

    A Postman-style method entry with request/response metadata.

    const method: MethodLike = { name: "Get Users", request: { method: "GET" } };
    
    interface MethodLike {
        name: string;
        request?: JsonRequest & {
            method?: string;
            description?: string;
            url?: string | UrlWithQuery;
            body?: BodyShape;
            auth?: AuthorizationInfo;
        };
        response?: ResponseType[];
    }
    Index
    name: string

    Display name of the API method.

    request?: JsonRequest & {
        method?: string;
        description?: string;
        url?: string | UrlWithQuery;
        body?: BodyShape;
        auth?: AuthorizationInfo;
    }

    Request details including HTTP method, URL, body, and auth.

    Type Declaration

    • Optionalmethod?: string

      HTTP verb (GET, POST, etc.).

    • Optionaldescription?: string

      Human-readable description of the endpoint.

    • Optionalurl?: string | UrlWithQuery

      Request URL, either a string or an object with query params.

    • Optionalbody?: BodyShape

      Request body definition.

    • Optionalauth?: AuthorizationInfo

      Authorization configuration.

    response?: ResponseType[]

    Array of example responses.