docs: 📝 descriptions for notes/children+conversation endpoints

This commit is contained in:
ThatOneCalculator 2023-07-14 23:16:50 -07:00
parent 4dc3d090dd
commit e3b8c05e47
No known key found for this signature in database
GPG key ID: 8703CACD01000000
2 changed files with 3 additions and 1 deletions

View file

@ -10,6 +10,7 @@ export const meta = {
requireCredential: false,
requireCredentialPrivateMode: true,
description: "Get threaded/chained replies to a note",
res: {
type: "array",

View file

@ -9,6 +9,7 @@ export const meta = {
requireCredential: false,
requireCredentialPrivateMode: true,
description: "Get conversation of a note thread/chain by a reply",
res: {
type: "array",
@ -34,7 +35,7 @@ export const meta = {
export const paramDef = {
type: "object",
properties: {
noteId: { type: "string", format: "misskey:id" },
noteId: { type: "string", format: "misskey:id", description: "Should be a reply" },
limit: { type: "integer", minimum: 1, maximum: 100, default: 10 },
offset: { type: "integer", default: 0 },
},