1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-05 01:55:36 +02:00
This commit is contained in:
tamaina
2023-05-29 16:01:04 +00:00
parent 9135d2757e
commit bc15dde742
5 changed files with 240 additions and 275 deletions

View File

@@ -1,3 +1,4 @@
import { JSONSchema7 } from 'schema-type';
import { IEndpointMeta } from './endpoints.types';
import { localUsernameSchema, passwordSchema } from './schemas/user';
@@ -1535,6 +1536,19 @@ export const endpoints = {
},
}],
},
'admin/meta': {
tags: ['meta'],
requireCredential: true,
requireAdmin: true,
defines: [{
req: undefined,
res: {
$ref: 'https://misskey-hub.net/api/schemas/InstanceMetaAdmin',
},
}],
}
} as const satisfies { [x: string]: IEndpointMeta; };
/**