jointrashposs/content/ja/.docs-legacy/api/endpoints/pages/show.json5
2023-07-11 23:48:17 +09:00

56 lines
1.0 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
summary: 'ページを取得します。',
description: 'ページを取得します。',
tags: [
'pages',
],
requireCredential: false,
req: {
type: 'object',
anyOf: [
{
properties: {
pageId: {
type: 'string',
format: 'misskey:id',
description: 'ページのid。',
},
},
required: [
'pageId',
],
},
{
properties: {
name: {
type: 'string',
description: 'ページを参照するときのパスURLの末尾の文字列。',
},
username: {
type: 'string',
description: 'ページを作成したユーザーのユーザー名。',
},
},
required: [
'name',
'username',
],
},
],
},
res: {
type: 'object',
optional: false,
nullable: false,
ref: 'Page',
$ref: 'misskey://Page',
},
errors: {
'222120c0-3ead-4528-811b-b96f233388d7': {
id: '222120c0-3ead-4528-811b-b96f233388d7',
code: 'NO_SUCH_PAGE',
description: 'ページが存在しません。',
},
},
}