1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-28 05:28:41 +09:00
MisskeyIO/src/server/api/endpoints/endpoints.ts

16 lines
240 B
TypeScript
Raw Normal View History

2019-04-18 21:29:19 +09:00
import define from '../define';
import endpoints from '../endpoints';
export const meta = {
requireCredential: false,
tags: ['meta'],
params: {
},
};
export default define(meta, async () => {
return endpoints.map(x => x.name);
});