1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00
Commit graph

29 commits

Author SHA1 Message Date
Vishal Banthia
707482fa3b Update generated swagger.json 2017-07-31 17:25:42 +09:00
kris
9f3f0b9692 cleaned up per vbanthia's comments. fixed docs to align with implementation 2017-06-14 21:38:09 -05:00
kris
eb069bbdf3 updating generated JSON 2017-05-31 09:11:35 -05:00
kris
378edc7d92 allowing default content type for POST/DELETEs
fixes https://github.com/openstf/stf/issues/594
2017-05-31 09:08:09 -05:00
Vishal Banthia
445cfcf0bc Merge pull request #481 from openstf/add-automation-label
Use automation label in device list for devices accessed using API
2016-11-25 03:59:20 +05:30
Marc Bachmann
bac74538c9
chore(package): update uuid to version 3.0.0 2016-11-23 03:21:32 +01:00
Vishal Banthia
a62a6094e4 Use automation state for devices used by api 2016-11-23 06:45:36 +05:30
Vishal Banthia
b60cb6ef6a Fix eslint errors 2016-07-22 19:40:27 +05:30
Vishal Banthia
484e56be12 Use capital letter in Bearer as per rfc spec 2016-07-22 19:34:22 +05:30
Vishal Banthia
87fcf19406 refactor security handler 2016-07-22 19:34:22 +05:30
Vishal Banthia
fa9ee605f3 update generated json 2016-07-22 19:34:22 +05:30
Vishal Banthia
a6266931ad Modify APIs from Aysnc -> Sync using timeout 2016-07-22 19:34:22 +05:30
Vishal Banthia
723094347c add generated swagger json file for swagger ui 2016-07-22 19:34:22 +05:30
Vishal Banthia
9de5ba5fae refactoring swagger 2016-07-22 19:34:22 +05:30
Vishal Banthia
26ad95a36e add comment for going against REST 2016-07-22 19:34:22 +05:30
Vishal Banthia
25cee263b2 Fix express warning for deprecated res.json(stat) message 2016-07-22 19:34:22 +05:30
Vishal Banthia
96494247bb add remoteConnect endpoint for device 2016-07-22 19:34:22 +05:30
Vishal Banthia
c9a9d3cb06 User path parameter for Delete /user/devices/:device endpoint 2016-07-22 19:34:22 +05:30
Vishal Banthia
bca180d284 refactor reserve and release endpoints in HTTP POST and DELETE methods 2016-07-22 19:34:22 +05:30
Vishal Banthia
dccacea43f add new device-reserve and device-release endpoints 2016-07-22 19:34:22 +05:30
Vishal Banthia
536e469e6f remove unnecessary options from api unit. Improve error messages... etc etc 2016-07-22 19:34:22 +05:30
Vishal Banthia
221bc78e49 use security handler instead of express middleware for access token validation. 2016-07-22 19:34:22 +05:30
Vishal Banthia
f10ae51b53 add swagger.json endpoint 2016-07-22 19:34:22 +05:30
Vishal Banthia
0ec03aa2c0 move accessTokens endpoint from app unit to api unit 2016-07-22 19:34:22 +05:30
Vishal Banthia
5729095acb move group endpoint from app unit to api unit 2016-07-22 19:34:22 +05:30
Vishal Banthia
d6f37681ce move devices endpoint from app unit to api unit 2016-07-22 19:34:22 +05:30
Vishal Banthia
0e8b308b6c change /app/api/v1/user -> /api/v1/me 2016-07-22 19:34:22 +05:30
Vishal Banthia
e0a45391ab Add auth middleware in api unit. Now only authorized user can access api unit 2016-07-22 19:34:22 +05:30
Vishal Banthia
41f306a7f0 Add basic api unit. This unit will be responsible for providing all stf restful apis. 2016-07-22 19:34:22 +05:30