Files
discoursejs/USAGE.md

358 B

import { SDK } from "@lukehagar/discoursejs";

async function run() {
    const sdk = new SDK();

    const res = await sdk.backups.createBackup({
        withUploads: false,
    });

    if (res.statusCode == 200) {
        // handle response
    }
}

run();