mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-24 01:39:07 +01:00
61 lines
876 B
Plaintext
61 lines
876 B
Plaintext
{
|
|
summary: '',
|
|
description: '',
|
|
tags: [
|
|
'admin',
|
|
],
|
|
requireCredential: true,
|
|
req: {
|
|
type: 'object',
|
|
properties: {
|
|
inbox: {
|
|
type: 'string',
|
|
},
|
|
},
|
|
required: [
|
|
'inbox',
|
|
],
|
|
},
|
|
res: {
|
|
type: 'object',
|
|
optional: false,
|
|
nullable: false,
|
|
properties: {
|
|
id: {
|
|
type: 'string',
|
|
optional: false,
|
|
nullable: false,
|
|
format: 'id',
|
|
},
|
|
inbox: {
|
|
type: 'string',
|
|
optional: false,
|
|
nullable: false,
|
|
format: 'url',
|
|
},
|
|
status: {
|
|
type: 'string',
|
|
optional: false,
|
|
nullable: false,
|
|
default: 'requesting',
|
|
enum: [
|
|
'requesting',
|
|
'accepted',
|
|
'rejected',
|
|
],
|
|
},
|
|
},
|
|
required: [
|
|
'id',
|
|
'inbox',
|
|
'status',
|
|
],
|
|
},
|
|
errors: {
|
|
'fb8c92d3-d4e5-44e7-b3d4-800d5cef8b2c': {
|
|
id: 'fb8c92d3-d4e5-44e7-b3d4-800d5cef8b2c',
|
|
code: 'INVALID_URL',
|
|
description: '',
|
|
},
|
|
},
|
|
} |