Code | Description |
---|---|
404 | Not Found |
500 | Internal Server error |
Request { per_page: 10, page: 1 } Response { "data": [ { "id": 1, "title": "LFA 1: John vs Doe", "author": "John Doe", "excerpt": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", "link": "https://www.youtube.com/watch?v=abcd1234" }, { "id": 2, "title": "LFA 2: Jane vs. Doe", "author": "Jane Doe", "excerpt": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", "link": "https://www.youtube.com/watch?v=abcd1234" } ], "pagination": { "per_page": 10, "page": 1, "total_pages": 1, "total": 2 } }
Param name | Description |
---|---|
per_page optional |
Number of records per page Validations:
|
page optional |
Page number Validations:
|
Code | Description |
---|---|
404 | Not Found |
500 | Internal Server error |
Success Request { id: 1 } Response { "id": 1, "title": "LFA 1: John vs Doe", "author": "John Doe", "excerpt": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", "link": "https://www.youtube.com/watch?v=abcd1234" }
Param name | Description |
---|---|
id required |
ID of the video news Validations:
|