Renamed editMetadata to match V1 naming. Added Operations controller
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
import express, { Request, Response } from 'express';
|
||||
import fileUpload from 'express-fileupload';
|
||||
|
||||
import workflow from './workflow-controller';
|
||||
import operations from './operations-controller';
|
||||
|
||||
const router = express.Router();
|
||||
router.use(fileUpload());
|
||||
|
||||
router.get("/", (req: Request, res: Response) => {
|
||||
// TODO: Implement root api endpoint
|
||||
res.status(501).json({"Error": "Unfinished Endpoint. This sould probably send some api docs?"});
|
||||
});
|
||||
|
||||
router.use("/operations", operations);
|
||||
router.use("/workflow", workflow);
|
||||
|
||||
export default router;
|
||||
Reference in New Issue
Block a user