Get Detail Bumdes

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 : /bumdes/(ID)

Response : 200 OK

{
"id": 23,
"nama_produk": "Produk Bumdes Foto 4",
"deskripsi": "Produk Bumdes Foto 4",
"harga": "40000",
"created_at": "2022-06-07T05:54:00.000000Z",
"updated_at": "2022-06-07T05:54:00.000000Z",
"deleted_at": null,
"photo": [
{
"id": 42,
"bumdes_produk_id": 23,
"photo": "https://qaryaco.sgp1.digitaloceanspaces.com/desadigital/ID_DESA_DEV/media/Produk-XlDEXob.jpeg",
"created_at": "2022-06-07T05:54:00.000000Z",
"updated_at": "2022-06-07T05:54:00.000000Z",
"deleted_at": null
},
{
"id": 43,
"bumdes_produk_id": 23,
"photo": "https://qaryaco.sgp1.digitaloceanspaces.com/desadigital/ID_DESA_DEV/media/Produk-XlDEXob.jpeg",
"created_at": "2022-06-07T05:54:00.000000Z",
"updated_at": "2022-06-07T05:54:00.000000Z",
"deleted_at": null
},
{
"id": 44,
"bumdes_produk_id": 23,
"photo": "https://qaryaco.sgp1.digitaloceanspaces.com/desadigital/ID_DESA_DEV/media/Produk-XlDEXob.jpeg",
"created_at": "2022-06-07T05:54:01.000000Z",
"updated_at": "2022-06-07T05:54:01.000000Z",
"deleted_at": null
},
{
"id": 45,
"bumdes_produk_id": 23,
"photo": "https://qaryaco.sgp1.digitaloceanspaces.com/desadigital/ID_DESA_DEV/media/Produk-YzqEXKl.jpeg",
"created_at": "2022-06-07T05:54:01.000000Z",
"updated_at": "2022-06-07T05:54:01.000000Z",
"deleted_at": null
}
]
}

Response : 404 NOT FOUND

Not Found

Response : 500 ERROR

Internal Server Error