jointrashposs/content/ja/.docs-legacy/api/endpoints/app/create.json5

44 lines
572 B
Plaintext
Raw Normal View History

2023-07-08 10:36:02 +02:00
{
summary: '',
description: '',
tags: [
'app',
],
requireCredential: false,
req: {
type: 'object',
properties: {
name: {
type: 'string',
},
description: {
type: 'string',
},
permission: {
type: 'array',
uniqueItems: true,
items: {
type: 'string',
},
},
callbackUrl: {
type: 'string',
nullable: true,
},
},
required: [
'name',
'description',
'permission',
],
},
res: {
type: 'object',
optional: false,
nullable: false,
ref: 'App',
$ref: 'misskey://App',
},
errors: {},
}