const config = require("../config")
const base = config.dji_cloud_base + "control/api/v1/devices/";
const waylineBase = config.dji_cloud_base + "wayline/api/v1/workspaces/";



module.exports = {
    takeoffToPoint: {
        url: base + "{sn}/jobs/takeoff-to-point",
        type: "post",
    },
    createJob: {
        url: waylineBase + "{workspaceId}/flight-tasks",
        type: "post",
    },
    save: {
        url: config.dji_cloud_base + "dict/save",
        type: "post",
    },

}
