screeps-api
    Preparing search index...

    Interface UserCodeGetResponse

    GET /api/user/code response

    interface UserCodeGetResponse {
        branch: string;
        modules: UserCodeModules;
        ok: 1;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    branch: string

    The name of the branch

    ScreepsHttpClient.userBranches to list available branches

    JavaScript code and WASM binaries keyed by module name

    ok: 1

    An API success response always contains { ok: 1 }