NLB API
Tibi consumes the NLB API for book metadata and enrollment-related form submissions.
Last modified: July 10, 2026
API Bases
| Environment | Base URL |
|---|---|
| Production | https://api.nlb.no |
| Non-production | https://api.dev.nlb.no |
The theme exposes the selected base URL as window.tibiApiData.apiBaseUrl.
Consumers
| Feature | Endpoint |
|---|---|
| Adult signup | /v1/enrollments/adult |
| Youth/child signup | /v1/enrollments/child |
| Student signup | /v1/enrollments/student |
| Institution signup | /v1/enrollments/institution |
| Loan-right confirmation | /v1/enrollments/verify |
| Book metadata | /v1/creative-works/edition:{book_id} and related search endpoints |
Source
packages/wordpress/themes/tibi/inc/assets.phppackages/wordpress/themes/tibi/src/signup.tsxpackages/wordpress/themes/tibi/src/confirm.tsxpackages/wordpress/plugins/tibi-core/inc/rest-api.php
QA
- Confirm API base by environment.
- Test successful submission.
- Test validation/error state.
- Test file upload for loan-right confirmation.
- Confirm book metadata endpoints handle unavailable data gracefully.