| ... | ... | @@ -308,3 +308,43 @@ true |
|
|
|
</details>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### Send
|
|
|
|
|
|
|
|
> User can rejoin existing game with valid and existing `JWT TOKEN`.<br>`JWT TOKEN` is received when using [Joining the challenge room](/wimma-lab-2022/iotitude/source-backend/-/wikis/API/REST/Join%20Challenge) or [Create new Challenge](/wimma-lab-2022/iotitude/source-backend/-/wikis/API/REST/New%20Challenge) REST API routes
|
|
|
|
|
|
|
|
| Method | Route | Content type | Authentication |
|
|
|
|
|--------|-------|--------------|----------------|
|
|
|
|
| POST | /feedback/send | - | No |
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary><b>Required Body</b></summary>
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"text": "string (10-256 characters)",
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<details><summary><b>Example Responses</b></summary>
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
statusCode: 200,
|
|
|
|
text: "string (email text)"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"statusCode": 500,
|
|
|
|
"error": "Server error",
|
|
|
|
"message": "Error when sending feedback"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
--- |
|
|
\ No newline at end of file |