Get All Admin

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

Response : 200 OK

[
{
"id": 1,
"username": "admin",
"name": "Admin",
"nip": "94859",
"jabatan": "ADMIN"
},
{
"id": 2,
"username": "adminnew",
"name": "Admin New",
"nip": "23402",
"jabatan": "ADMIN NEW"
}
]

Response : 404 NOT FOUND

Not Found

Response : 500 ERROR

Internal Server Error