This commit is contained in:
syuilo
2017-03-20 04:24:19 +09:00
parent 516d3d600a
commit b05bee58d2
23 changed files with 371 additions and 446 deletions

View File

@@ -115,21 +115,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',