Update endpoints.ts

This commit is contained in:
syuilo 2023-05-26 17:11:22 +09:00
parent b4cfa412b0
commit 54b6b79559

View file

@ -66,7 +66,7 @@ export const endpoints = {
required: ['url', 'memo', 'place', 'priority', 'ratio', 'expiresAt', 'startsAt', 'imageUrl'],
},
res: undefined,
}]
}],
},
'admin/ad/delete': {
tags: ['admin'],
@ -362,7 +362,7 @@ export const endpoints = {
oneOf: [
{ $ref: 'https://misskey-hub.net/api/schemas/Id' },
{ type: 'null' },
]
],
},
userHost: { type: ['string', 'null'] },
md5: { type: 'string', format: 'md5', examples: '1bc29b36f623ba82aaf6724fd3b16718' },
@ -400,7 +400,7 @@ export const endpoints = {
oneOf: [
{ $ref: 'https://misskey-hub.net/api/schemas/Id' },
{ type: 'null' },
]
],
},
isSensitive: { type: 'boolean' },
isLink: { type: 'boolean' },
@ -413,7 +413,7 @@ export const endpoints = {
}, {
type: 'null',
}],
}
},
},
required: [
'id',
@ -540,7 +540,7 @@ export const endpoints = {
id: { $ref: 'https://misskey-hub.net/api/schemas/Id' },
},
required: ['id'],
}
},
}],
},
'admin/emoji/delete-bulk': {
@ -655,7 +655,7 @@ export const endpoints = {
items: {
$ref: 'https://misskey-hub.net/api/schemas/EmojiDetailed',
},
}
},
}],
},
'admin/emoji/remove-aliases-bulk': {