budibase/packages/server/api/routes/neo/instance.js

10 lines
287 B
JavaScript
Raw Normal View History

const Router = require("@koa/router");
const controller = require("../../controllers/instance");
const router = Router();
router
.post("/api/:clientId/:applicationId/instances", controller.create)
.delete("/api/instances/:instanceId", controller.destroy);
module.exports = router;