mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-24 17:59:07 +01:00
155 lines
2.7 KiB
Plaintext
155 lines
2.7 KiB
Plaintext
{
|
|
summary: '',
|
|
description: '',
|
|
tags: [
|
|
'users',
|
|
],
|
|
requireCredential: true,
|
|
req: {
|
|
type: 'object',
|
|
properties: {
|
|
userId: {
|
|
anyOf: [
|
|
{
|
|
type: 'string',
|
|
format: 'misskey:id',
|
|
},
|
|
{
|
|
type: 'array',
|
|
items: {
|
|
type: 'string',
|
|
format: 'misskey:id',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
},
|
|
required: [
|
|
'userId',
|
|
],
|
|
},
|
|
res: {
|
|
optional: false,
|
|
nullable: false,
|
|
oneOf: [
|
|
{
|
|
type: 'object',
|
|
properties: {
|
|
id: {
|
|
type: 'string',
|
|
optional: false,
|
|
nullable: false,
|
|
format: 'id',
|
|
},
|
|
isFollowing: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
hasPendingFollowRequestFromYou: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
hasPendingFollowRequestToYou: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
isFollowed: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
isBlocking: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
isBlocked: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
isMuted: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
},
|
|
required: [
|
|
'id',
|
|
'isFollowing',
|
|
'hasPendingFollowRequestFromYou',
|
|
'hasPendingFollowRequestToYou',
|
|
'isFollowed',
|
|
'isBlocking',
|
|
'isBlocked',
|
|
'isMuted',
|
|
],
|
|
},
|
|
{
|
|
type: 'array',
|
|
items: {
|
|
type: 'object',
|
|
optional: false,
|
|
nullable: false,
|
|
properties: {
|
|
id: {
|
|
type: 'string',
|
|
optional: false,
|
|
nullable: false,
|
|
format: 'id',
|
|
},
|
|
isFollowing: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
hasPendingFollowRequestFromYou: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
hasPendingFollowRequestToYou: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
isFollowed: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
isBlocking: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
isBlocked: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
isMuted: {
|
|
type: 'boolean',
|
|
optional: false,
|
|
nullable: false,
|
|
},
|
|
},
|
|
required: [
|
|
'id',
|
|
'isFollowing',
|
|
'hasPendingFollowRequestFromYou',
|
|
'hasPendingFollowRequestToYou',
|
|
'isFollowed',
|
|
'isBlocking',
|
|
'isBlocked',
|
|
'isMuted',
|
|
],
|
|
},
|
|
},
|
|
],
|
|
},
|
|
errors: {},
|
|
} |