Skip to main content

API Overview

Welcome to the DAGGH API documentation. This comprehensive guide covers all endpoints available in the DAGGH movie recommendation platform.

About the API

The DAGGH API is a REST API that provides access to:

  • Movie Discovery: Browse and discover movies with advanced filtering
  • Recommendation Engine: ML-powered personalized movie recommendations
  • User Interactions: Track swipes, likes, and user preferences
  • Community Features: Comments, ratings, and social interactions
  • Data Synchronization: TMDB integration and data management

Authentication

Most endpoints require authentication using Supabase JWT tokens. Include your token in the Authorization header:

Authorization: Bearer <your-jwt-token>

Base URLs

  • Production: https://daggh.mikega.xyz/api
  • Development: http://localhost:3000/api

Rate Limiting

API calls are rate-limited to ensure fair usage. Please refer to individual endpoint documentation for specific limits.

Getting Started

  1. Browse Movies: Start with the Random Movies endpoint
  2. User Interactions: Use the Swipes API to track user preferences
  3. Recommendations: Generate personalized recommendations with the ML Training endpoint
  4. Community: Add comments and ratings using the Comments API

Support

If you encounter any issues or have questions about the API, please:

  • Check the endpoint-specific documentation below
  • Review the schema definitions
  • Contact our development team

Explore the full API documentation using the navigation menu on the left.