From 66b25d5135e1e115ca34eda9c067159139021ecdc9f1e32fd20f038f73c290ac Mon Sep 17 00:00:00 2001 From: aslan Date: Tue, 23 Dec 2025 16:48:16 -0500 Subject: [PATCH] Update fields --- docs/api/auth.md | 6 ++++-- docs/api/community.md | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) 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" } ```