diff options
author | Yohan Boniface <yohanboniface@free.fr> | 2019-04-09 11:02:02 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-04-09 11:02:02 +0200 |
commit | c100a6142e6571312db9f6407698a21a08b593fb (patch) | |
tree | c80ac9c7754b8f5b133255e003557937e415ee23 /shared/utils/index.ts | |
parent | 8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac (diff) | |
download | PeerTube-c100a6142e6571312db9f6407698a21a08b593fb.tar.gz PeerTube-c100a6142e6571312db9f6407698a21a08b593fb.tar.zst PeerTube-c100a6142e6571312db9f6407698a21a08b593fb.zip |
Add /accounts/:username/ratings endpoint (#1756)
* Add /users/me/videos/ratings endpoint
* Move ratings endpoint from users to accounts
* /accounts/:name/ratings: add support for rating= and sort=
* Restrict ratings list to owner
* Wording and better way to ensure current account
Diffstat (limited to 'shared/utils/index.ts')
-rw-r--r-- | shared/utils/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/utils/index.ts b/shared/utils/index.ts index c09565d95..469546872 100644 --- a/shared/utils/index.ts +++ b/shared/utils/index.ts | |||
@@ -15,6 +15,7 @@ export * from './server/servers' | |||
15 | export * from './videos/services' | 15 | export * from './videos/services' |
16 | export * from './videos/video-playlists' | 16 | export * from './videos/video-playlists' |
17 | export * from './users/users' | 17 | export * from './users/users' |
18 | export * from './users/accounts' | ||
18 | export * from './videos/video-abuses' | 19 | export * from './videos/video-abuses' |
19 | export * from './videos/video-blacklist' | 20 | export * from './videos/video-blacklist' |
20 | export * from './videos/video-channels' | 21 | export * from './videos/video-channels' |