summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/notes/show.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/endpoints/notes/show.ts')
-rw-r--r--src/server/api/endpoints/notes/show.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/api/endpoints/notes/show.ts b/src/server/api/endpoints/notes/show.ts
index f4fd06c03d..6d8dc73ff2 100644
--- a/src/server/api/endpoints/notes/show.ts
+++ b/src/server/api/endpoints/notes/show.ts
@@ -13,6 +13,8 @@ export const meta = {
'en-US': 'Get a note.'
},
+ tags: ['notes'],
+
requireCredential: false,
params: {
@@ -26,6 +28,10 @@ export const meta = {
}
},
+ res: {
+ type: 'Note',
+ },
+
errors: {
noSuchNote: {
message: 'No such note.',