Backend API
Documentation de l'API REST THE HIVE.
Base URL
- Production :
https://api.thehive.com - Staging :
https://api-staging.thehive.com - Local :
http://localhost:8080
Authentification
Toutes les routes protégées nécessitent un header Authorization :
Authorization: Bearer <access_token>
Endpoints principaux
Authentification
POST /api/auth/login— ConnexionPOST /api/auth/register— InscriptionPOST /api/auth/refresh— Rafraîchir le tokenPOST /api/auth/logout— Déconnexion
Recruteur
GET /api/recruteur/profile— Profil recruteurPUT /api/recruteur/profile— Modifier profilGET /api/recruteur/offres— Mes offres d'emploiPOST /api/recruteur/offres— Créer une offreGET /api/recruteur/candidatures— Candidatures reçues
Candidat
GET /api/candidat/profile— Profil candidatPUT /api/candidat/profile— Modifier profilGET /api/candidat/candidatures— Mes candidaturesPOST /api/candidat/candidatures— Postuler
Offres d'emploi
GET /api/offres— Liste des offres (public)GET /api/offres/{id}— Détail d'une offre
Documentation OpenAPI
La documentation interactive Swagger est disponible sur :
{BASE_URL}/swagger-ui.html
La spécification OpenAPI JSON :
{BASE_URL}/v3/api-docs
Documentation auto-générée
Les pages suivantes de cette section sont générées automatiquement depuis la spécification OpenAPI du backend.