mirror of
https://github.com/mmumshad/ansible-playable.git
synced 2025-03-09 23:38:54 +00:00
Initial Commit
This commit is contained in:
commit
c92f737237
273 changed files with 16964 additions and 0 deletions
16
server/api/custom_module/index.js
Normal file
16
server/api/custom_module/index.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
'use strict';
|
||||
|
||||
var express = require('express');
|
||||
var controller = require('./custom_module.controller');
|
||||
|
||||
var router = express.Router();
|
||||
|
||||
router.post('/query', controller.index);
|
||||
router.post('/:custom_module/test', controller.testModule);
|
||||
router.post('/:custom_module/get', controller.show);
|
||||
router.post('/:custom_module', controller.create);
|
||||
router.put('/:id', controller.upsert);
|
||||
router.patch('/:id', controller.patch);
|
||||
router.delete('/:id', controller.destroy);
|
||||
|
||||
module.exports = router;
|
Loading…
Add table
Add a link
Reference in a new issue