Add requests parameters validations
authorChocobozzz <florian.bigard@gmail.com>
Sat, 7 Nov 2015 13:16:26 +0000 (14:16 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Sat, 7 Nov 2015 13:16:26 +0000 (14:16 +0100)
commit34ca3b5225479a5da986c86ee4c42a73ae6df5ad
tree561ba5ae1adccd5729305a8cc17d13d24a0c2ddb
parentf5a60a5138135a3412dfbcfd6e564f7aa47a55c2
Add requests parameters validations
13 files changed:
middlewares/reqValidators/index.js [new file with mode: 0644]
middlewares/reqValidators/pods.js [new file with mode: 0644]
middlewares/reqValidators/remote.js [new file with mode: 0644]
middlewares/reqValidators/utils.js [new file with mode: 0644]
middlewares/reqValidators/videos.js [new file with mode: 0644]
routes/api/v1/pods.js
routes/api/v1/remoteVideos.js
routes/api/v1/videos.js
server.js
test/api/checkParams.js [new file with mode: 0644]
test/fixtures/video_short.mp4 [new file with mode: 0644]
test/fixtures/video_short.ogv [new file with mode: 0644]
test/fixtures/video_short_fake.webm [new file with mode: 0644]