summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/notes
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-02-27 05:08:42 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-02-27 05:08:42 +0900
commit6f71ba376d6b9448b860083636af80c81886583d (patch)
tree6cc10b0dfbe5382924984ad02a6c297b76fdc70a /src/server/api/endpoints/notes
parentFix schema (diff)
downloadsharkey-6f71ba376d6b9448b860083636af80c81886583d.tar.gz
sharkey-6f71ba376d6b9448b860083636af80c81886583d.tar.bz2
sharkey-6f71ba376d6b9448b860083636af80c81886583d.zip
Improve doc
Diffstat (limited to 'src/server/api/endpoints/notes')
-rw-r--r--src/server/api/endpoints/notes/reactions.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/server/api/endpoints/notes/reactions.ts b/src/server/api/endpoints/notes/reactions.ts
index c67dd6d82b..b28f24249c 100644
--- a/src/server/api/endpoints/notes/reactions.ts
+++ b/src/server/api/endpoints/notes/reactions.ts
@@ -46,6 +46,13 @@ export const meta = {
},
},
+ res: {
+ type: 'array',
+ items: {
+ type: 'Reaction'
+ }
+ },
+
errors: {
noSuchNote: {
message: 'No such note.',