| Code | Description |
|---|---|
| 404 | Not Found |
| 500 | Internal Server error |
Request
{
per_page: 10,
page: 1
}
Response
{
"data": [
{
"id": 1,
"name": "John Doe vs Jack Doe",
"method": "TKO",
"round": 1,
"duration": "04:04",
"draw": false,
"winner": {
"id": 1,
"tag": "fighter",
"name": "John Doe",
"nickname": "Doe",
"small_avatar": "https://api.lfa.com/rails/active_storage/representations/small_avatar.jpg"
},
"loser": {
"id": 2,
"tag": "fighter",
"name": "Jack Doe",
"nickname": "Doe",
"small_avatar": "https://api.lfa.com/rails/active_storage/representations/small_avatar.jpg"
}
}
],
"pagination": {
"per_page": 100,
"page": 1,
"total_pages": 1,
"total": 1
}
}
| Param name | Description |
|---|---|
|
per_page optional |
Number of records per page Validations:
|
|
page optional |
Page number Validations:
|