{"message":"Bienvenue sur l'API Backend Rasso","endpoints":{"auth":{"signup":"POST /auth/signup","login":"POST /auth/login","logout":"POST /auth/logout","user":"GET /auth/user"},"userInfo":{"create":"POST /userinfo - Créer son profil (nécessite authentification)","getMe":"GET /userinfo/me - Voir son profil (nécessite authentification)","updateMe":"PUT /userinfo/me - Modifier son profil (nécessite authentification)","deleteMe":"DELETE /userinfo/me - Supprimer son profil (nécessite authentification)","adminGetAll":"GET /userinfo/admin/all - Lister tous les utilisateurs (réservé aux admins)"},"rassoEvent":{"create":"POST /rassoEvent - Créer un événement rasso (nécessite authentification)","getAll":"GET /rassoEvent - Récupérer tous les événements rasso (query param: valide=true)","getById":"GET /rassoEvent/:id - Récupérer un événement par ID","update":"PUT /rassoEvent/:id - Modifier un événement (nécessite authentification)","delete":"DELETE /rassoEvent/:id - Supprimer un événement (nécessite authentification)"},"event":{"getEventParticipants":"GET /event/:rassoEventId - Récupérer tous les participants d'un événement","addParticipant":"POST /event/rasso-event-participant - Rejoindre un événement (nécessite authentification)","getUserParticipations":"GET /event/rasso-event-participant/user/me - Récupérer les événements auxquels on participe (nécessite authentification)","validateParticipant":"PUT /event/rasso-event-participant/:id - Valider/rejeter un participant (nécessite authentification, organisateur uniquement)","removeParticipation":"DELETE /event/rasso-event-participant/:id - Quitter un événement (nécessite authentification)"},"upload":{"uploadProfilePicture":"POST /upload/profile-picture - Upload une image de profil (nécessite authentification, max 5MB)","deleteProfilePicture":"DELETE /upload/profile-picture - Supprimer une image de profil (nécessite authentification)","uploadEventPicture":"POST /upload/event-picture - Upload une image d'événement (nécessite authentification, max 10MB)","deleteEventPicture":"DELETE /upload/event-picture - Supprimer une image d'événement (nécessite authentification)"},"pushToken":{"register":"POST /push-token - Enregistrer un push token Expo (nécessite authentification)","getMyTokens":"GET /push-token/me - Récupérer mes push tokens (nécessite authentification)","deleteById":"DELETE /push-token/:id - Supprimer un push token par ID (nécessite authentification)","deleteByToken":"DELETE /push-token/by-token/:token - Supprimer un push token par sa valeur (nécessite authentification)"},"notification":{"sendToAll":"POST /notification/send-to-all - Envoyer une notification à tous (nécessite authentification)","sendToUser":"POST /notification/send-to-user/:userId - Envoyer une notification à un utilisateur (nécessite authentification)","send":"POST /notification/send - Envoyer une notification à des tokens spécifiques (nécessite authentification)","test":"POST /notification/test - Envoyer une notification de test (nécessite authentification)"},"post":{"create":"POST /post - Créer un post (nécessite authentification)","getAll":"GET /post - Récupérer tous les posts avec les commentaires","getById":"GET /post/:id - Récupérer un post par ID avec ses commentaires","update":"PUT /post/:id - Modifier un post (nécessite authentification, créateur uniquement)","delete":"DELETE /post/:id - Supprimer un post (nécessite authentification, créateur uniquement)"},"comment":{"create":"POST /comment - Créer un commentaire sur un post (nécessite authentification)","getByPost":"GET /comment/post/:postId - Récupérer tous les commentaires d'un post","getById":"GET /comment/:id - Récupérer un commentaire par ID","update":"PUT /comment/:id - Modifier un commentaire (nécessite authentification, créateur uniquement)","delete":"DELETE /comment/:id - Supprimer un commentaire (nécessite authentification, créateur uniquement)"},"like":{"toggle":"POST /like/:postId - Like/unlike un post (nécessite authentification)","getStatus":"GET /like/:postId - Récupérer le statut du like (nécessite authentification)","getCount":"GET /like/:postId/count - Récupérer le nombre de likes"},"adminEvent":{"create":"POST /admin-event - Créer un événement admin (réservé aux admins)","getAll":"GET /admin-event - Récupérer tous les événements admin","getById":"GET /admin-event/:id - Récupérer un événement admin par ID","update":"PUT /admin-event/:id - Modifier un événement admin (réservé aux admins)","delete":"DELETE /admin-event/:id - Supprimer un événement admin (réservé aux admins)"},"subscription":{"getStatus":"GET /subscription/status - Récupérer le statut premium (nécessite authentification)","updateStatus":"POST /subscription/update-status - Mettre à jour le statut premium (nécessite authentification)","webhook":"POST /subscription/webhook - Webhook RevenueCat","adminGrant":"POST /subscription/admin/grant - Accorder le premium (réservé aux admins)","adminRevoke":"POST /subscription/admin/revoke - Révoquer le premium (réservé aux admins)"},"collaboration":{"send":"POST /collaboration/send - Envoyer une demande de collaboration par email"},"protected":{"profile":"GET /protected/profile (nécessite authentification)"}}}