Skip to content

Scheduling infrastructure for absolutely everyone.

Update api docs with /api/me (#862)

Anton Podviaznikov4474e9dd748f
diff --git a/calendso.yaml b/calendso.yaml
index e26c6799256..9d942b305bd 100644
--- a/calendso.yaml
+++ b/calendso.yaml
@@ -807,6 +807,40 @@ paths:
properties:
message:
type: string
+ /api/me:
+ get:
+ description: Gets current user's profile.
+ summary: Gets current user's profile.
+ tags:
+ - User
+ responses:
+ "200":
+ description: OK
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ message:
+ type: string
+ "401":
+ description: Unauthorized
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ message:
+ type: string
+ "500":
+ description: Internal Server Error
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ message:
+ type: string
/api/user/membership:
get:
description: Get a list of the teams the user has joined.