summaryrefslogtreecommitdiff
path: root/src/api/endpoints.ts
diff options
context:
space:
mode:
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,