screeps-api
    Preparing search index...

    Interface ScreepsResponse

    Body of a HTTP API success response.

    Almost all ScreepsHttpClient endpoint methods will return a response that extends this type. Any non-conforming responses will be of type ScreepsErrorResponse.

    ScreepsApiError for the error type thrown by endpoint methods

    interface ScreepsResponse {
        ok: 1;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    ok: 1

    An API success response always contains { ok: 1 }