POST
Authenticate User
/api/v1/auth/login
Returns session cookie and role profile after validating credentials.
curl -X POST /api/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"admin@unilag.edu.ng","password":"********"}'Integration references for authentication, search, repository, and billing workflows.
POST
/api/v1/auth/login
Returns session cookie and role profile after validating credentials.
curl -X POST /api/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"admin@unilag.edu.ng","password":"********"}'GET
/api/v1/search?q=machine+learning
Performs tenant-scoped hybrid retrieval with ranking fusion.
fetch('/api/v1/search?q=machine+learning&page=1')
.then((r) => r.json())
.then(console.log);GET
/api/v1/entitlements/check?resource_id=<id>
Checks whether current authenticated user can access a resource.
const res = await fetch('/api/v1/entitlements/check?resource_id=<uuid>');
const body = await res.json();
// { entitled: boolean }{
"items": [{ "id": "uuid", "title": "Resource title" }],
"total": 120,
"page": 1,
"per_page": 20
}