mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-24 09:49:06 +01:00
81 lines
1.2 KiB
Plaintext
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: '',
|
|
},
|
|
},
|
|
}
|