Commit Graph

21 Commits

Author SHA1 Message Date
Vishal Banthia
96fbba4f0a Use capital letter in Bearer as per rfc spec 2016-01-04 12:58:23 +09:00
Vishal Banthia
75d6d52d58 refactor security handler 2016-01-04 12:58:23 +09:00
Vishal Banthia
a8a8daa2b9 update generated json 2016-01-04 12:58:22 +09:00
Vishal Banthia
cc8c6e4062 Modify APIs from Aysnc -> Sync using timeout 2016-01-04 12:58:22 +09:00
Vishal Banthia
feb0b7e53e add generated swagger json file for swagger ui 2016-01-04 12:58:22 +09:00
Vishal Banthia
d8a60404fe refactoring swagger 2016-01-04 12:58:22 +09:00
Vishal Banthia
a8e89ff737 add comment for going against REST 2016-01-04 12:58:22 +09:00
Vishal Banthia
34c5a1ad38 Fix express warning for deprecated res.json(stat) message 2016-01-04 12:58:22 +09:00
Vishal Banthia
daa00d8fd0 add remoteConnect endpoint for device 2016-01-04 12:58:22 +09:00
Vishal Banthia
0cc1a0d4bd User path parameter for Delete /user/devices/:device endpoint 2016-01-04 12:58:22 +09:00
Vishal Banthia
8b1eb8dddf refactor reserve and release endpoints in HTTP POST and DELETE methods 2016-01-04 12:58:22 +09:00
Vishal Banthia
14672a89b3 add new device-reserve and device-release endpoints 2016-01-04 12:58:21 +09:00
Vishal Banthia
38e4860e52 remove unnecessary options from api unit. Improve error messages... etc etc 2016-01-04 12:58:21 +09:00
Vishal Banthia
d33aa54bce use security handler instead of express middleware for access token validation. 2016-01-04 12:58:21 +09:00
Vishal Banthia
8343ddabdb add swagger.json endpoint 2016-01-04 12:58:21 +09:00
Vishal Banthia
a33120aacf move accessTokens endpoint from app unit to api unit 2016-01-04 12:58:21 +09:00
Vishal Banthia
168d06096d move group endpoint from app unit to api unit 2016-01-04 12:58:21 +09:00
Vishal Banthia
dbeebec141 move devices endpoint from app unit to api unit 2016-01-04 12:58:21 +09:00
Vishal Banthia
cebca90371 change /app/api/v1/user -> /api/v1/me 2016-01-04 12:58:21 +09:00
Vishal Banthia
dc67bc1bb2 Add auth middleware in api unit. Now only authorized user can access api unit 2016-01-04 12:58:21 +09:00
Vishal Banthia
e3c70bb025 Add basic api unit. This unit will be responsible for providing all stf restful apis. 2016-01-04 12:58:21 +09:00