summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/notes/timeline.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-06-08 14:09:32 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-06-08 14:09:32 +0900
commit6b312f755eb171df0afd95a2d4e51cfd7300fa16 (patch)
tree261024105325dd0ca8ad36d1315cc705a5ae25ef /src/server/api/endpoints/notes/timeline.ts
parent外部リンクアイコンが表示されない問題を修正 (diff)
downloadsharkey-6b312f755eb171df0afd95a2d4e51cfd7300fa16.tar.gz
sharkey-6b312f755eb171df0afd95a2d4e51cfd7300fa16.tar.bz2
sharkey-6b312f755eb171df0afd95a2d4e51cfd7300fa16.zip
Remove endpoint descriptions
#6627
Diffstat (limited to 'src/server/api/endpoints/notes/timeline.ts')
-rw-r--r--src/server/api/endpoints/notes/timeline.ts32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/server/api/endpoints/notes/timeline.ts b/src/server/api/endpoints/notes/timeline.ts
index 0871a96882..687869a63d 100644
--- a/src/server/api/endpoints/notes/timeline.ts
+++ b/src/server/api/endpoints/notes/timeline.ts
@@ -12,11 +12,6 @@ import { generateMutedNoteQuery } from '../../common/generate-muted-note-query';
import { generateChannelQuery } from '../../common/generate-channel-query';
export const meta = {
- desc: {
- 'ja-JP': 'タイムラインを取得します。',
- 'en-US': 'Get timeline of myself.'
- },
-
tags: ['notes'],
requireCredential: true as const,
@@ -25,68 +20,41 @@ export const meta = {
limit: {
validator: $.optional.num.range(1, 100),
default: 10,
- desc: {
- 'ja-JP': '最大数'
- }
},
sinceId: {
validator: $.optional.type(ID),
- desc: {
- 'ja-JP': '指定すると、その投稿を基点としてより新しい投稿を取得します'
- }
},
untilId: {
validator: $.optional.type(ID),
- desc: {
- 'ja-JP': '指定すると、その投稿を基点としてより古い投稿を取得します'
- }
},
sinceDate: {
validator: $.optional.num,
- desc: {
- 'ja-JP': '指定した時間を基点としてより新しい投稿を取得します。数値は、1970年1月1日 00:00:00 UTC から指定した日時までの経過時間をミリ秒単位で表します。'
- }
},
untilDate: {
validator: $.optional.num,
- desc: {
- 'ja-JP': '指定した時間を基点としてより古い投稿を取得します。数値は、1970年1月1日 00:00:00 UTC から指定した日時までの経過時間をミリ秒単位で表します。'
- }
},
includeMyRenotes: {
validator: $.optional.bool,
default: true,
- desc: {
- 'ja-JP': '自分の行ったRenoteを含めるかどうか'
- }
},
includeRenotedMyNotes: {
validator: $.optional.bool,
default: true,
- desc: {
- 'ja-JP': 'Renoteされた自分の投稿を含めるかどうか'
- }
},
includeLocalRenotes: {
validator: $.optional.bool,
default: true,
- desc: {
- 'ja-JP': 'Renoteされたローカルの投稿を含めるかどうか'
- }
},
withFiles: {
validator: $.optional.bool,
- desc: {
- 'ja-JP': 'true にすると、ファイルが添付された投稿だけ取得します'
- }
},
},