SHORTME
GET /api

Stato API

Verifica che l'API sia operativa.

Restituisce lo stato del servizio, la versione, la connessione al database e l'elenco degli endpoint. È utile come health check.

Autenticazione richiesta: header X-Api-Token con il tuo token.

Questo endpoint non ha parametri.

Risposte

200 Servizio operativo
{
    "success": true,
    "status": "operational",
    "version": "1.1.0",
    "api": "SHORTME API",
    "database": "connected",
    "timestamp": "2026-01-15 10:30:00"
}
curl -X GET "https://short.micheleg.me/api" \
  -H "X-Api-Token: YOUR_API_TOKEN"

Prova

invia una richiesta reale

© 2026 short.micheleg.me