🦜 Pukeko API Documentation

Pressure Monitor API v1.0.0

🔷 Swagger UI

Interactive API documentation with a "try it out" feature. Best for testing endpoints directly in the browser.

Open in Swagger Editor

📖 ReDoc

Beautiful, responsive API documentation. Great for reading and understanding the API structure.

Load ReDoc Below

📮 Postman

Import the ready-made collection with all endpoints pre-configured. Perfect for API testing.

Download Collection

🚀 Quick Start

  1. Get Firebase Token: Sign in to your app and run:
    const token = await auth.currentUser.getIdToken();
  2. Test an Endpoint: Use curl or Postman:
    curl http://localhost:8000/api/sensors \
      -H "Authorization: Bearer YOUR_TOKEN"
  3. Explore: Check the API documentation using any viewer above

📊 Available Endpoints