Update fields
This commit is contained in:
parent
c7894df3d7
commit
66b25d5135
2 changed files with 6 additions and 3 deletions
|
|
@ -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"
|
||||
}
|
||||
```
|
||||
|
|
|
|||
|
|
@ -7,7 +7,8 @@ Returns a community with id = {id}
|
|||
```json
|
||||
{
|
||||
"id": "string",
|
||||
"name": "string"
|
||||
"name": "string",
|
||||
"description": "string"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue