-
Notifications
You must be signed in to change notification settings - Fork 0
/
routes.js
21 lines (18 loc) · 1.19 KB
/
routes.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Load modules
var Attribute = require('./controllers/attribute'),
AttributeSection = require('./controllers/attributeSection'),
Classification = require('./controllers/classification'),
ClassificationGroup = require('./controllers/classificationGroup'),
Tenant = require('./controllers/tenant'),
Status = require('./controllers/status');
// API Server Endpoints
exports.endpoints = [
{ method: 'POST', path: '/createStatus', config: Status.CreateStatus },
{ method: 'POST', path: '/createAttributeSection', config: AttributeSection.CreateAttributeSection },
{ method: 'POST', path: '/createAttribute', config: Attribute.CreateAttribute },
{ method: 'POST', path: '/createTenants', config: Tenant.CreateTenantData},
{ method: 'POST', path: '/createClassification', config: Classification.CreateClassification },
{ method: 'POST', path: '/createClassificationGroup', config: ClassificationGroup.CreateClassificationGroup},
{ method: 'POST', path: '/createClassificationGroupChild', config: ClassificationGroup.CreateClassificationGroupChild},
{ method: 'POST', path: '/createClassificationGroupSubChild', config: ClassificationGroup.CreateClassificationGroupSubChild}
];