cURL
curl --request GET \ --url https://backend.testeswaffle.org/streaks/ranking/global
{ "success": true, "data": { "ranking": [ { "position": 123, "displayName": "<string>", "email": "<string>", "currentStreak": 123, "maxStreak": 123, "lastInteractionDate": "<string>" } ], "lastUpdated": "2023-11-07T05:31:56Z", "cacheInfo": { "cached": true, "ttl": 123 } } }
Obtém o ranking global dos top 100 leitores com maior streak de leitura
{ "success": boolean, "data": { "ranking": [ { "position": number, "displayName": string, "email": string, // mascarado "currentStreak": number, "maxStreak": number, "lastInteractionDate": string // formato brasileiro } ], "lastUpdated": string, // ISO timestamp "cacheInfo": { "cached": boolean, "ttl": number // segundos } } }
curl --request GET \ --url 'https://backend.testeswaffle.org/streaks/ranking/global'
{ "success": true, "data": { "ranking": [ { "position": 1, "displayName": "João Silva", "email": "jo***@gmail.com", "currentStreak": 365, "maxStreak": 365, "lastInteractionDate": "19/01/2025 08:30:15" }, { "position": 2, "displayName": "Maria Santos", "email": "ma***@hotmail.com", "currentStreak": 280, "maxStreak": 320, "lastInteractionDate": "19/01/2025 07:45:22" } ], "lastUpdated": "2025-01-19T11:30:00.000Z", "cacheInfo": { "cached": true, "ttl": 61200 } } }
Ranking global obtido com sucesso
Show child attributes