From a0e640b1189a55c28aafe7d586d531731ad450a4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 17 Apr 2018 14:52:28 +0900 Subject: ローカルタイムラインとグローバルタイムラインを実装 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/api/endpoints.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/server/api/endpoints.ts') diff --git a/src/server/api/endpoints.ts b/src/server/api/endpoints.ts index 67f3217faf..e0223c23e0 100644 --- a/src/server/api/endpoints.ts +++ b/src/server/api/endpoints.ts @@ -463,6 +463,22 @@ const endpoints: Endpoint[] = [ max: 100 } }, + { + name: 'notes/local-timeline', + withCredential: true, + limit: { + duration: ms('10minutes'), + max: 100 + } + }, + { + name: 'notes/global-timeline', + withCredential: true, + limit: { + duration: ms('10minutes'), + max: 100 + } + }, { name: 'notes/mentions', withCredential: true, -- cgit v1.2.3-freya