diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-25 19:53:16 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-25 19:53:16 +0900 |
| commit | c2e053a208609d59188dce9e328c1ab9706aa35c (patch) | |
| tree | 88e6b66523d246b0b4ab11ed6961e09f6fe0d23b /src/server/api/endpoints.ts | |
| parent | wip (diff) | |
| download | sharkey-c2e053a208609d59188dce9e328c1ab9706aa35c.tar.gz sharkey-c2e053a208609d59188dce9e328c1ab9706aa35c.tar.bz2 sharkey-c2e053a208609d59188dce9e328c1ab9706aa35c.zip | |
wip
Diffstat (limited to 'src/server/api/endpoints.ts')
| -rw-r--r-- | src/server/api/endpoints.ts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/server/api/endpoints.ts b/src/server/api/endpoints.ts index 3686918147..734b8273f1 100644 --- a/src/server/api/endpoints.ts +++ b/src/server/api/endpoints.ts @@ -415,6 +415,27 @@ const endpoints: Endpoint[] = [ }, { + name: 'users/lists/show', + withCredential: true, + kind: 'account-read' + }, + { + name: 'users/lists/create', + withCredential: true, + kind: 'account-write' + }, + { + name: 'users/lists/push', + withCredential: true, + kind: 'account-write' + }, + { + name: 'users/lists/list', + withCredential: true, + kind: 'account-read' + }, + + { name: 'following/create', withCredential: true, limit: { @@ -504,6 +525,14 @@ const endpoints: Endpoint[] = [ } }, { + name: 'notes/user-list-timeline', + withCredential: true, + limit: { + duration: ms('10minutes'), + max: 100 + } + }, + { name: 'notes/mentions', withCredential: true, limit: { |