summaryrefslogtreecommitdiff
path: root/src/api/endpoints.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-14 13:59:26 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-14 13:59:26 +0900
commit2b4c5ecff4e4457c49a14d3ed0095cc9f0e1f758 (patch)
tree216793638b28dd1de209561ac79544e4a27f407a /src/api/endpoints.ts
parent#133 (diff)
downloadsharkey-2b4c5ecff4e4457c49a14d3ed0095cc9f0e1f758.tar.gz
sharkey-2b4c5ecff4e4457c49a14d3ed0095cc9f0e1f758.tar.bz2
sharkey-2b4c5ecff4e4457c49a14d3ed0095cc9f0e1f758.zip
Implement the poll feature
Closes #164
Diffstat (limited to 'src/api/endpoints.ts')
-rw-r--r--src/api/endpoints.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/endpoints.ts b/src/api/endpoints.ts
index e4abc06f53..963d1df258 100644
--- a/src/api/endpoints.ts
+++ b/src/api/endpoints.ts
@@ -93,6 +93,7 @@ export default [
{ name: 'posts/likes/delete', shouldBeSignin: true, limitDuration: hour, limitMax: 100, kind: 'like-write' },
{ name: 'posts/favorites/create', shouldBeSignin: true, limitDuration: hour, limitMax: 100, kind: 'favorite-write' },
{ name: 'posts/favorites/delete', shouldBeSignin: true, limitDuration: hour, limitMax: 100, kind: 'favorite-write' },
+ { name: 'posts/polls/vote', shouldBeSignin: true, limitDuration: hour, limitMax: 100, kind: 'vote-write' },
{ name: 'messaging/history', shouldBeSignin: true, kind: 'messaging-read' },
{ name: 'messaging/unread', shouldBeSignin: true, kind: 'messaging-read' },