1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-05 04:15:55 +02:00
This commit is contained in:
tamaina
2023-05-29 16:39:03 +00:00
parent dbeb1856ac
commit 68a2aa3efd
6 changed files with 66 additions and 61 deletions

View File

@@ -1626,6 +1626,30 @@ export const endpoints = {
}
}],
},
'admin/show-moderation-logs': {
tags: ['admin'],
requireCredential: true,
requireModerator: true,
defines: [{
req: {
type: 'object',
properties: {
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },
sinceId: { type: 'string', format: 'misskey:id' },
untilId: { type: 'string', format: 'misskey:id' },
},
required: [],
},
res: {
type: 'array',
items: {
$ref: 'https://misskey-hub.net/api/schemas/ModerationLog',
},
}
}],
},
} as const satisfies { [x: string]: IEndpointMeta; };
/**