diff options
Diffstat (limited to 'src/server/api/endpoints/charts/user/notes.ts')
| -rw-r--r-- | src/server/api/endpoints/charts/user/notes.ts | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/server/api/endpoints/charts/user/notes.ts b/src/server/api/endpoints/charts/user/notes.ts index da642fc761..6a95911b11 100644 --- a/src/server/api/endpoints/charts/user/notes.ts +++ b/src/server/api/endpoints/charts/user/notes.ts @@ -10,6 +10,8 @@ export const meta = { 'ja-JP': 'ユーザーごとの投稿のチャートを取得します。' }, + tags: ['charts', 'users', 'notes'], + params: { span: { validator: $.str.or(['day', 'hour']), @@ -34,7 +36,14 @@ export const meta = { 'en-US': 'Target user ID' } } - } + }, + + res: { + type: 'array', + items: { + type: 'object', + }, + }, }; export default define(meta, async (ps) => { |