docs: 📝 descriptions for notes/children+conversation endpoints
This commit is contained in:
parent
4dc3d090dd
commit
e3b8c05e47
|
@ -10,6 +10,7 @@ export const meta = {
|
||||||
|
|
||||||
requireCredential: false,
|
requireCredential: false,
|
||||||
requireCredentialPrivateMode: true,
|
requireCredentialPrivateMode: true,
|
||||||
|
description: "Get threaded/chained replies to a note",
|
||||||
|
|
||||||
res: {
|
res: {
|
||||||
type: "array",
|
type: "array",
|
||||||
|
|
|
@ -9,6 +9,7 @@ export const meta = {
|
||||||
|
|
||||||
requireCredential: false,
|
requireCredential: false,
|
||||||
requireCredentialPrivateMode: true,
|
requireCredentialPrivateMode: true,
|
||||||
|
description: "Get conversation of a note thread/chain by a reply",
|
||||||
|
|
||||||
res: {
|
res: {
|
||||||
type: "array",
|
type: "array",
|
||||||
|
@ -34,7 +35,7 @@ export const meta = {
|
||||||
export const paramDef = {
|
export const paramDef = {
|
||||||
type: "object",
|
type: "object",
|
||||||
properties: {
|
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 },
|
limit: { type: "integer", minimum: 1, maximum: 100, default: 10 },
|
||||||
offset: { type: "integer", default: 0 },
|
offset: { type: "integer", default: 0 },
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue