Aller au contenu

Reference API

L’API Betterfield suit les conventions REST et est disponible a https://api.betterfield.pt/api/v1.

Tous les endpoints (sauf /health et /auth) necessitent un token JWT dans le header Authorization:

Authorization: Bearer <token>
GET /api/v1/health

Retourne l’etat des services d’infrastructure. Ne necessite pas d’authentification.