- Converted 15 API endpoints from define-page to define-api - Added JSON API format configuration for proper JSON responses - Updated all frontend JavaScript files to use new API URLs - Maintained define-page for HTML pages and static file serving - Added comprehensive documentation of changes Benefits: - Framework compliance with Radiance best practices - Automatic routing at /api/asteroid/<name> - Clean lambda-list parameter handling - Built-in browser/API dual usage support - Proper HTTP status codes for errors All API endpoints tested and working correctly. |
||
|---|---|---|
| .. | ||
| js | ||
| asteroid.css | ||
| asteroid.lass | ||