diff --git a/docs/api/auth.md b/docs/api/auth.md index 3cfbbb7..8800947 100644 --- a/docs/api/auth.md +++ b/docs/api/auth.md @@ -13,6 +13,7 @@ Registers a new user ### Response (success): ```json { + "id": "string", "username": "string", "registerDate": 0 } @@ -41,7 +42,8 @@ Logs in a user and returns a new session ### Response (success): ```json { - "owner": "string", + "id": "string", + "ownerId": "string", "token": "string" } ``` @@ -49,7 +51,7 @@ Logs in a user and returns a new session ### Response (incorrect credentials): ```json { - "owner": "string", + "ownerId": "string", "error": "incorrect credentials" } ``` diff --git a/docs/api/community.md b/docs/api/community.md index 98edb9d..d437810 100644 --- a/docs/api/community.md +++ b/docs/api/community.md @@ -7,7 +7,8 @@ Returns a community with id = {id} ```json { "id": "string", - "name": "string" + "name": "string", + "description": "string" } ```