aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/index.ts
diff options
context:
space:
mode:
authorKimsible <kimsible@users.noreply.github.com>2021-04-28 17:33:55 +0200
committerKimsible <kimsible@users.noreply.github.com>2021-05-05 11:47:03 +0200
commit1e37d32f4bdc51045cd85d01ea1035fd53e0d32c (patch)
tree2e7bcf053989fc5be9e3ef29558cf1fcf32f8453 /server/controllers/api/index.ts
parentff8c5ccf09cfe6a469777d4789625f8fdb004408 (diff)
downloadPeerTube-1e37d32f4bdc51045cd85d01ea1035fd53e0d32c.tar.gz
PeerTube-1e37d32f4bdc51045cd85d01ea1035fd53e0d32c.tar.zst
PeerTube-1e37d32f4bdc51045cd85d01ea1035fd53e0d32c.zip
Add server API actors route
Diffstat (limited to 'server/controllers/api/index.ts')
-rw-r--r--server/controllers/api/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/index.ts b/server/controllers/api/index.ts
index 7ade1df3a..4f4561ffd 100644
--- a/server/controllers/api/index.ts
+++ b/server/controllers/api/index.ts
@@ -15,6 +15,7 @@ import { pluginRouter } from './plugins'
15import { searchRouter } from './search' 15import { searchRouter } from './search'
16import { serverRouter } from './server' 16import { serverRouter } from './server'
17import { usersRouter } from './users' 17import { usersRouter } from './users'
18import { actorRouter } from './actor'
18import { videoChannelRouter } from './video-channel' 19import { videoChannelRouter } from './video-channel'
19import { videoPlaylistRouter } from './video-playlist' 20import { videoPlaylistRouter } from './video-playlist'
20import { videosRouter } from './videos' 21import { videosRouter } from './videos'
@@ -39,6 +40,7 @@ apiRouter.use('/bulk', bulkRouter)
39apiRouter.use('/oauth-clients', oauthClientsRouter) 40apiRouter.use('/oauth-clients', oauthClientsRouter)
40apiRouter.use('/config', configRouter) 41apiRouter.use('/config', configRouter)
41apiRouter.use('/users', usersRouter) 42apiRouter.use('/users', usersRouter)
43apiRouter.use('/actors', actorRouter)
42apiRouter.use('/accounts', accountsRouter) 44apiRouter.use('/accounts', accountsRouter)
43apiRouter.use('/video-channels', videoChannelRouter) 45apiRouter.use('/video-channels', videoChannelRouter)
44apiRouter.use('/video-playlists', videoPlaylistRouter) 46apiRouter.use('/video-playlists', videoPlaylistRouter)