Reference API
Vue d’ensemble
Section titled “Vue d’ensemble”L’API Betterfield suit les conventions REST et est disponible a https://api.betterfield.pt/api/v1.
Authentification
Section titled “Authentification”Tous les endpoints (sauf /health et /auth) necessitent un token JWT dans le header Authorization:
Authorization: Bearer <token>Health Check
Section titled “Health Check”GET /api/v1/healthRetourne l’etat des services d’infrastructure. Ne necessite pas d’authentification.