Get All Pembangunan
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 : /pembangunan
Response : 200 OK
{ "data": [ { "id": 11, "nama_pembangunan": "Pembangunan", "sumber_dana": "Dana Desa", "tahun": "2022", "dusun_id": 1, "rw_id": 1, "rt_id": 3, "deleted_at": null, "created_at": "2022-03-25T13:30:22.000000Z", "updated_at": "2022-03-25T13:30:22.000000Z", "dusun": { "id": 1, "nama_dusun": "Dusun A", "kepala_dusun": "Kadus A", "nik": "12345" }, "rt": { "id": 3, "dusun_id": 1, "rw_nama": "001", "rw_ketua": "RW Dusun A", "rt_nama": "001", "rt_ketua": "Dusun A RW satu RT Satu" }, "rw": { "id": 1, "dusun_id": 1, "rw_nama": "001", "rw_ketua": "Dusun A RW Satu", "rt_nama": null, "rt_ketua": null } } ], "limit": 5, "offset": 0, "pagination": [ { "page": 1, "url": "http://127.0.0.1:8000/pembangunan/item?limit=5&offset=0" } ]}
Response : 404 NOT FOUND
Not Found
Response : 500 ERROR
Internal Server Error