aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/api/v1/index.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2015-11-06 17:34:15 +0100
committerChocobozzz <florian.bigard@gmail.com>2015-11-06 17:34:31 +0100
commitf5a60a5138135a3412dfbcfd6e564f7aa47a55c2 (patch)
tree2516f410a33792f9112b4b4253929e5292908a3f /routes/api/v1/index.js
parenta6fa7ac141637a5026388157084c439f920c5ff1 (diff)
downloadPeerTube-f5a60a5138135a3412dfbcfd6e564f7aa47a55c2.tar.gz
PeerTube-f5a60a5138135a3412dfbcfd6e564f7aa47a55c2.tar.zst
PeerTube-f5a60a5138135a3412dfbcfd6e564f7aa47a55c2.zip
Add API versionning
Diffstat (limited to 'routes/api/v1/index.js')
-rw-r--r--routes/api/v1/index.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/routes/api/v1/index.js b/routes/api/v1/index.js
new file mode 100644
index 000000000..9a4ec8438
--- /dev/null
+++ b/routes/api/v1/index.js
@@ -0,0 +1,10 @@
1;(function () {
2 'use strict'
3
4 var api = {}
5 api.videos = require('./videos')
6 api.remoteVideos = require('./remoteVideos')
7 api.pods = require('./pods')
8
9 module.exports = api
10})()