summaryrefslogtreecommitdiff
path: root/src/api/endpoints.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-05 03:59:29 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-05 03:59:29 +0900
commitdbd3cdb308d2edf600b20a8b632045c6163ae326 (patch)
treede3630065fcddeb1916668ef3b0b43a219340e2e /src/api/endpoints.ts
parentFix (diff)
parentMerge pull request #1097 from syuilo/refactor (diff)
downloadmisskey-dbd3cdb308d2edf600b20a8b632045c6163ae326.tar.gz
misskey-dbd3cdb308d2edf600b20a8b632045c6163ae326.tar.bz2
misskey-dbd3cdb308d2edf600b20a8b632045c6163ae326.zip
Merge remote-tracking branch 'refs/remotes/origin/master' into vue-#972
Diffstat (limited to 'src/api/endpoints.ts')
-rw-r--r--src/api/endpoints.ts38
1 files changed, 36 insertions, 2 deletions
diff --git a/src/api/endpoints.ts b/src/api/endpoints.ts
index 06fb9a64ae..e846381578 100644
--- a/src/api/endpoints.ts
+++ b/src/api/endpoints.ts
@@ -156,6 +156,21 @@ const endpoints: Endpoint[] = [
withCredential: true
},
{
+ name: 'i/2fa/register',
+ withCredential: true,
+ secure: true
+ },
+ {
+ name: 'i/2fa/unregister',
+ withCredential: true,
+ secure: true
+ },
+ {
+ name: 'i/2fa/done',
+ withCredential: true,
+ secure: true
+ },
+ {
name: 'i/update',
withCredential: true,
limit: {
@@ -171,11 +186,13 @@ const endpoints: Endpoint[] = [
},
{
name: 'i/change_password',
- withCredential: true
+ withCredential: true,
+ secure: true
},
{
name: 'i/regenerate_token',
- withCredential: true
+ withCredential: true,
+ secure: true
},
{
name: 'i/pin',
@@ -205,6 +222,23 @@ const endpoints: Endpoint[] = [
withCredential: true,
kind: 'notification-read'
},
+
+ {
+ name: 'mute/create',
+ withCredential: true,
+ kind: 'account/write'
+ },
+ {
+ name: 'mute/delete',
+ withCredential: true,
+ kind: 'account/write'
+ },
+ {
+ name: 'mute/list',
+ withCredential: true,
+ kind: 'account/read'
+ },
+
{
name: 'notifications/get_unread_count',
withCredential: true,