diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-03-20 04:24:19 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-03-20 04:24:19 +0900 |
| commit | b05bee58d28c3209d7f86a909f877c1e121c12ed (patch) | |
| tree | 96efc12c89479b63dbc339ab18bcf9dde9dd6bcc /src/api/endpoints.ts | |
| parent | [Client] :art: (diff) | |
| download | sharkey-b05bee58d28c3209d7f86a909f877c1e121c12ed.tar.gz sharkey-b05bee58d28c3209d7f86a909f877c1e121c12ed.tar.bz2 sharkey-b05bee58d28c3209d7f86a909f877c1e121c12ed.zip | |
#298
Diffstat (limited to 'src/api/endpoints.ts')
| -rw-r--r-- | src/api/endpoints.ts | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/api/endpoints.ts b/src/api/endpoints.ts index 17cd8ff56f..2d3716bb85 100644 --- a/src/api/endpoints.ts +++ b/src/api/endpoints.ts @@ -116,21 +116,12 @@ const endpoints: Endpoint[] = [ name: 'aggregation/users/post', }, { - name: 'aggregation/users/like' - }, - { name: 'aggregation/users/followers' }, { name: 'aggregation/users/following' }, { - name: 'aggregation/posts/like' - }, - { - name: 'aggregation/posts/likes' - }, - { name: 'aggregation/posts/repost' }, { @@ -370,26 +361,26 @@ const endpoints: Endpoint[] = [ } }, { - name: 'posts/likes', + name: 'posts/reactions', withCredential: true }, { - name: 'posts/likes/create', + name: 'posts/reactions/create', withCredential: true, limit: { duration: ms('1hour'), max: 100 }, - kind: 'like-write' + kind: 'reaction-write' }, { - name: 'posts/likes/delete', + name: 'posts/reactions/delete', withCredential: true, limit: { duration: ms('1hour'), max: 100 }, - kind: 'like-write' + kind: 'reaction-write' }, { name: 'posts/favorites/create', |