asteroid/static/js
glenneth 5fcb1a06d5 Refactor API endpoints to use Radiance's define-api macro
- 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.
2025-10-08 05:09:50 +03:00
..
admin.js Refactor API endpoints to use Radiance's define-api macro 2025-10-08 05:09:50 +03:00
auth-ui.js Refactor API endpoints to use Radiance's define-api macro 2025-10-08 05:09:50 +03:00
front-page.js Refactor API endpoints to use Radiance's define-api macro 2025-10-08 05:09:50 +03:00
player.js Refactor API endpoints to use Radiance's define-api macro 2025-10-08 05:09:50 +03:00
profile.js Add user profile page with clip template styling 2025-10-07 18:39:49 -04:00
users.js feat: move users javascript code to own file 2025-10-04 16:10:50 -04:00