Web Development
APIs
REST-style endpoints, Swagger documentation, validation, and external service integration.
Bible API
The DuckPortfolio Bible API is a small ASP.NET Core Minimal API wrapper around the YouVersion Platform API. It provides local endpoints for passage retrieval, Bible metadata, available translations, and a curated starter list for app or Unity dropdowns.
Endpoint Surface
GET /health
Reports whether the API is running.
GET /api/passages
Gets a normalized passage response from YouVersion with format, headings, and notes options.
GET /api/verses
Compatibility alias for passage retrieval.
GET /api/bibles
Returns paginated Bible versions with language range, license, page size, field selection, and page token support.
GET /api/bibles/recommended
Returns a stable curated list including BSB, NASB2020, NIV11, WEBUS, and AMP.
GET /api/bibles/{bibleId}
Returns metadata for a specific YouVersion Bible ID.
API Practices Shown
- Swagger metadata with endpoint summaries, descriptions, tags, and response types.
- Input validation for required references, valid Bible IDs, and bounded page size behavior.
- External HTTP integration through a typed client with configuration-backed base URL and app key.
- Clear error responses for missing configuration and downstream YouVersion failures.
- Docker and Azure Container Apps deployment notes for repeatable operations.