diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-06 23:23:54 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-06 23:23:54 +0900 |
| commit | f7e9725e59dd241b11fda729cc5c96a64d7e2545 (patch) | |
| tree | ca09dd961685d789efa53dad8b6eba240b643eac /src/server/api/endpoints/antennas/notes.ts | |
| parent | Merge branch 'develop' (diff) | |
| parent | 12.74.0 (diff) | |
| download | misskey-f7e9725e59dd241b11fda729cc5c96a64d7e2545.tar.gz misskey-f7e9725e59dd241b11fda729cc5c96a64d7e2545.tar.bz2 misskey-f7e9725e59dd241b11fda729cc5c96a64d7e2545.zip | |
Merge branch 'develop'
Diffstat (limited to 'src/server/api/endpoints/antennas/notes.ts')
| -rw-r--r-- | src/server/api/endpoints/antennas/notes.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/server/api/endpoints/antennas/notes.ts b/src/server/api/endpoints/antennas/notes.ts index 402a2758bb..750fc080cf 100644 --- a/src/server/api/endpoints/antennas/notes.ts +++ b/src/server/api/endpoints/antennas/notes.ts @@ -8,6 +8,11 @@ import { generateMutedUserQuery } from '../../common/generate-muted-user-query'; import { ApiError } from '../../error'; export const meta = { + desc: { + 'ja-JP': '指定したアンテナのノート一覧を表示します。', + 'en-US': 'Displays a list of notes for the specified antenna.' + }, + tags: ['antennas', 'account', 'notes'], requireCredential: true as const, @@ -39,6 +44,16 @@ export const meta = { code: 'NO_SUCH_ANTENNA', id: '850926e0-fd3b-49b6-b69a-b28a5dbd82fe' } + }, + + res: { + type: 'array' as const, + optional: false as const, nullable: false as const, + items: { + type: 'object' as const, + optional: false as const, nullable: false as const, + ref: 'Note' + } } }; |