You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(api): Update API endpoints for Astro.js headless frontend
- Property images: Use absolute URLs (rails_blob_url) with variants
- Added small/medium/large image variants for responsive images
- Added meta_title and meta_description fields for SEO
- Configured resolve_asset_host for ASSET_HOST/APP_HOST env vars
- Site details: Expanded as_json with frontend-required fields
- Added logo_url, favicon_url, css_variables, dark_mode_setting
- Added contact_info helper (phone, email, address from agency)
- Added social_links helper (structured social media links)
- Added top_nav_links and footer_links using as_api_json format
- Links: Standardized JSON format for API consumption
- Added as_api_json method with consistent field names
- Added resolved_url helper for URL generation
- Updated LinksController to accept both placement and position params
- Theme endpoint: New GET /api_public/v1/theme
- Returns CSS variables, colors, fonts, palette info
- Enables frontend CSS variable injection for theming
0 commit comments