Get All Agenda
To get the data in the specified collection. If no parameters are passed, it lists all of them. Otherwise, it lists the documents in the collection matching the specified parameters:
Method : GET
URL : /agenda
Response : 200 OK
{ "data": [ { "slug": "quo-rerum-minus-cupiditate-eius", "title": "Ad aut reprehenderit minima praesentium quos illum nihil.", "cover": "http://localhost:8000/media/agenda.png", "description": "Cum omnis neque at rerum nostrum. Et rerum adipisci magnam quibusdam architecto enim. Sint repellat...", "created_at": "04-03-2022", "kategori": [ { "id": 2, "kategori": "Kesehatan" }, { "id": 5, "kategori": "Agama" } ] } ], "limit": 5, "offset": 0, "pagination": [ { "page": 1, "url": "http://127.0.0.1:8000/agenda?limit=5&offset=0" } ]}
Response : 404 NOT FOUND
Not Found
Response : 500 ERROR
Internal Server Error