summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/notes/renotes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/endpoints/notes/renotes.ts')
-rw-r--r--src/server/api/endpoints/notes/renotes.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/server/api/endpoints/notes/renotes.ts b/src/server/api/endpoints/notes/renotes.ts
index b4c99b1f4e..15dcf55dce 100644
--- a/src/server/api/endpoints/notes/renotes.ts
+++ b/src/server/api/endpoints/notes/renotes.ts
@@ -11,6 +11,8 @@ export const meta = {
'en-US': 'Show a renotes of a note.'
},
+ tags: ['notes'],
+
requireCredential: false,
params: {
@@ -39,6 +41,13 @@ export const meta = {
}
},
+ res: {
+ type: 'array',
+ items: {
+ type: 'Note',
+ },
+ },
+
errors: {
noSuchNote: {
message: 'No such note.',