Docs
Get

Get

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 : /url

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": "News"
        }
      ]
    }
  ],
  "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 - Server Error

Internal Server Error