• Mahmoud Aglan's avatar
    Mobile API Phase 3: Academy explore + shop endpoints · 40734561
    Mahmoud Aglan authored
    - Create AcademyController (public, no auth required):
      - GET academy/news — paginated news articles with images
      - GET academy/news/{uuid} — full article body
      - GET academy/programs — active training programs with activity info
      - GET academy/events — upcoming published events with registration status
      - GET academy/gallery — paginated media gallery
    - Create ShopController (auth required):
      - GET products — essential products with purchase history check
        (includes already_purchased_at per participant per year)
    - Total: 26 API endpoints
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    40734561
ShopController.php 2.71 KB