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

81 lines
1.2 KiB
Plaintext

{
summary: '',
description: '',
tags: [
'federation',
],
requireCredential: true,
req: {
type: 'object',
properties: {
uri: {
type: 'string',
},
},
required: [
'uri',
],
},
res: {
optional: false,
nullable: false,
oneOf: [
{
type: 'object',
properties: {
type: {
type: 'string',
optional: false,
nullable: false,
enum: [
'User',
],
},
object: {
type: 'object',
optional: false,
nullable: false,
ref: 'UserDetailedNotMe',
$ref: 'misskey://UserDetailedNotMe',
},
},
required: [
'type',
'object',
],
},
{
type: 'object',
properties: {
type: {
type: 'string',
optional: false,
nullable: false,
enum: [
'Note',
],
},
object: {
type: 'object',
optional: false,
nullable: false,
ref: 'Note',
$ref: 'misskey://Note',
},
},
required: [
'type',
'object',
],
},
],
},
errors: {
'dc94d745-1262-4e63-a17d-fecaa57efc82': {
id: 'dc94d745-1262-4e63-a17d-fecaa57efc82',
code: 'NO_SUCH_OBJECT',
description: '',
},
},
}