jointrashposs/content/ja/.docs-legacy/api/endpoints/ap/show.json5

81 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-07-08 10:36:02 +02:00
{
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: '',
},
},
}