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):
|
### Response (success):
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
"id": "string",
|
||||||
"username": "string",
|
"username": "string",
|
||||||
"registerDate": 0
|
"registerDate": 0
|
||||||
}
|
}
|
||||||
|
|
@ -41,7 +42,8 @@ Logs in a user and returns a new session
|
||||||
### Response (success):
|
### Response (success):
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"owner": "string",
|
"id": "string",
|
||||||
|
"ownerId": "string",
|
||||||
"token": "string"
|
"token": "string"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
@ -49,7 +51,7 @@ Logs in a user and returns a new session
|
||||||
### Response (incorrect credentials):
|
### Response (incorrect credentials):
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"owner": "string",
|
"ownerId": "string",
|
||||||
"error": "incorrect credentials"
|
"error": "incorrect credentials"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,8 @@ Returns a community with id = {id}
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"id": "string",
|
"id": "string",
|
||||||
"name": "string"
|
"name": "string",
|
||||||
|
"description": "string"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue