diff options
| author | Tosuke <tasukeprg@gmail.com> | 2017-01-06 23:39:57 +0900 |
|---|---|---|
| committer | Tosuke <tasukeprg@gmail.com> | 2017-01-06 23:41:16 +0900 |
| commit | 8149723abf215a51f495fd3232e597eabc05f544 (patch) | |
| tree | fd406bc7822242c7ab34ed7fc13dc219e5c832ad /src/api | |
| parent | [Swagger]Add /app/create (diff) | |
| download | misskey-8149723abf215a51f495fd3232e597eabc05f544.tar.gz misskey-8149723abf215a51f495fd3232e597eabc05f544.tar.bz2 misskey-8149723abf215a51f495fd3232e597eabc05f544.zip | |
[Swagger]Add /meta
Diffstat (limited to 'src/api')
| -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 |