diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-06 22:34:51 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-06 22:34:51 +0900 |
| commit | deda2b2782e37c925c67f730e4dd8770d4ef3034 (patch) | |
| tree | b6cfb688d446f85078cfaa819f463ac10488aec1 /src/server/api/endpoints/antennas/update.ts | |
| parent | fix bug (diff) | |
| parent | APIドキュメントの改善 (#6757) (diff) | |
| download | misskey-deda2b2782e37c925c67f730e4dd8770d4ef3034.tar.gz misskey-deda2b2782e37c925c67f730e4dd8770d4ef3034.tar.bz2 misskey-deda2b2782e37c925c67f730e4dd8770d4ef3034.zip | |
Merge branch 'develop' of https://github.com/syuilo/misskey into develop
Diffstat (limited to 'src/server/api/endpoints/antennas/update.ts')
| -rw-r--r-- | src/server/api/endpoints/antennas/update.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/server/api/endpoints/antennas/update.ts b/src/server/api/endpoints/antennas/update.ts index b329e86ade..58f4e68c89 100644 --- a/src/server/api/endpoints/antennas/update.ts +++ b/src/server/api/endpoints/antennas/update.ts @@ -5,6 +5,11 @@ import { ApiError } from '../../error'; import { Antennas, UserLists, UserGroupJoinings } from '../../../../models'; export const meta = { + desc: { + 'ja-JP': 'アンテナの情報を更新します。', + 'en-US': 'Updates the information of the specified antenna.' + }, + tags: ['antennas'], requireCredential: true as const, @@ -79,6 +84,12 @@ export const meta = { code: 'NO_SUCH_USER_GROUP', id: '109ed789-b6eb-456e-b8a9-6059d567d385' } + }, + + res: { + type: 'object' as const, + optional: false as const, nullable: false as const, + ref: 'Antenna' } }; |