diff options
Diffstat (limited to 'src/api/endpoints')
| -rw-r--r-- | src/api/endpoints/meta.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/api/endpoints/meta.js b/src/api/endpoints/meta.js index 7938cb91b4..58ed3824cc 100644 --- a/src/api/endpoints/meta.js +++ b/src/api/endpoints/meta.js @@ -6,6 +6,33 @@ import Git from 'nodegit'; /** + * @swagger + * /meta: + * post: + * summary: Show the misskey's information + * responses: + * 200: + * description: Success + * schema: + * type: object + * properties: + * maintainer: + * description: maintainer's name + * type: string + * commit: + * description: latest commit's hash + * type: string + * secure: + * description: whether the server supports secure protcols + * type: boolean + * + * default: + * description: Failed + * schema: + * $ref: "#/definitions/Error" + */ + +/** * Show core info * * @param {Object} params |