feat: Adding loads and load-attachments endpoints
This commit is contained in:
11
sections/load-attachments/routes.js
Normal file
11
sections/load-attachments/routes.js
Normal file
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
const router = require('express').Router();
|
||||
const services= require('./services.js');
|
||||
|
||||
router.post('/loading/:id', services.postLoadingAttachment );
|
||||
router.post('/downloading/:id', services.postDownloadingAttachment );
|
||||
router.get('/load/:id', services.getLoadAttachmentList );
|
||||
router.get('/:id', services.getAttachment );
|
||||
router.get('/', services.getAttachmentList );
|
||||
|
||||
module.exports = router;
|
||||
Reference in New Issue
Block a user