diff --git a/docs/api/community.md b/docs/api/community.md index 5f260ae..9836f83 100644 --- a/docs/api/community.md +++ b/docs/api/community.md @@ -36,7 +36,8 @@ Creates a new community and returns it "id": "string", "name": "string", "description": "string", - "ownerId": "string" + "ownerId": "string", + "creationDate": "number" } ``` @@ -61,7 +62,9 @@ Updates a community with id = {id} { "id": "string", "name": "string", - "description": "string" + "description": "string", + "ownerId": "string", + "creationDate": "number" } ``` diff --git a/docs/api/user.md b/docs/api/user.md index 3c4b8fe..2b07130 100644 --- a/docs/api/user.md +++ b/docs/api/user.md @@ -58,7 +58,9 @@ Creates a new user and returns it "username": "string", "email": "string", "description": "string", - "admin": "boolean" + "admin": "boolean", + "registerDate": "number", + "lastLogin": "number" } ``` @@ -82,8 +84,12 @@ Updates a user with id = {id} ```json { "id": "string", + "username": "string", "email": "string", - "description": "string" + "description": "string", + "admin": "boolean", + "registerDate": "number", + "lastLogin": "number" } ``` @@ -135,8 +141,7 @@ Returns all communities for a user with id = {id} "communities": [ { "id": "string", - "name": "string", - "description": "string" + "name": "string" } ] }