diff options
| author | こぴなたみぽ <Syuilotan@yahoo.co.jp> | 2017-11-01 04:18:32 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-01 04:18:32 +0900 |
| commit | 2a00930150207c983a2f6e111d03f2db33b897b9 (patch) | |
| tree | f41dc9bcc5498ac89839057e07910b9c2d81fed3 /src/api/endpoints.ts | |
| parent | v2752 (diff) | |
| parent | v2769 (diff) | |
| download | sharkey-2a00930150207c983a2f6e111d03f2db33b897b9.tar.gz sharkey-2a00930150207c983a2f6e111d03f2db33b897b9.tar.bz2 sharkey-2a00930150207c983a2f6e111d03f2db33b897b9.zip | |
Merge pull request #854 from syuilo/bbs
Bbs
Diffstat (limited to 'src/api/endpoints.ts')
| -rw-r--r-- | src/api/endpoints.ts | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/src/api/endpoints.ts b/src/api/endpoints.ts index 29a97bcb8a..c4dacad857 100644 --- a/src/api/endpoints.ts +++ b/src/api/endpoints.ts @@ -474,8 +474,25 @@ const endpoints: Endpoint[] = [ name: 'messaging/messages/create', withCredential: true, kind: 'messaging-write' - } - + }, + { + name: 'channels/create', + withCredential: true, + limit: { + duration: ms('1hour'), + max: 3, + minInterval: ms('10seconds') + } + }, + { + name: 'channels/show' + }, + { + name: 'channels/posts' + }, + { + name: 'channels' + }, ]; export default endpoints; |