---
# System prepended metadata

title: Ebook Quiz Api's

---

# Ebook Quiz Api's

```
     base_url: https://api.ebook.com.bd/
```



## Public Comment List
* **<base_url>/quiz/public_comment?question=question_id**

```
request_method--GET


Status Code: 200


Example Response Body:
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "question": 1,
      "body": "hello bangladesh, first api call",
      "media": null,
      "user": 13
    }
  ]
}
```



## Create Public Comment
* **<base_url>/quiz/public_comment**

```
request_method--POST

--header
     Authorization: bearer {token}


Status Code: 200

Example Request Data:
{
	"question":2,
	"body":"hello bangladesh, first api call"
}


Example Response Body:
{
  "status": "Successfully Added"
}
```



## Public Explanation List
* **<base_url>/quiz/public_explain?question=question_id**

```
request_method--GET


Status Code: 200


Example Response Body:
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "question": 1,
      "body": "Explanation Test api",
      "vote": 0,
      "user": 13
    }
  ]
}
```



## Create Public Explanation
* **<base_url>/quiz/public_explain**

```
request_method--POST

--header
     Authorization: bearer {token}


Status Code: 200

Example Request Data:
{
	"question":1,
	"body":"Explanation Test api"
}


Example Response Body:
{
  "status": "Successfully Added"
}
```