add endpoint whoami

This commit is contained in:
2021-06-26 11:08:10 +02:00
parent aaa9a1ec7b
commit abe012de60
2 changed files with 25 additions and 0 deletions

View File

@@ -448,6 +448,14 @@ paths:
responses:
200:
description: "ok"
/1.0/main/whoami.json:
get:
tags:
- user
summary: Return the currently authenticated user
responses:
200:
description: "ok"
/1.0/main/user/{id}.json:
get:
tags: