curl --request POST \ --url https://backend.testeswaffle.org/streaks/share \ --header 'Content-Type: application/json' \ --data '{ "email": "leitor@exemplo.com", "platform": "twitter" }'
{ "success": true, "message": "Compartilhamento registrado com sucesso", "data": { "shareId": "share_123456", "email": "leitor@exemplo.com", "platform": "twitter", "sharedAt": "2024-01-20T15:30:00Z", "currentStreak": 30 } }
Registra quando um usuário compartilha seu streak
Documentation IndexFetch the complete documentation index at: https://docs.thenewscc.com.br/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.thenewscc.com.br/llms.txt
Use this file to discover all available pages before exploring further.
Show properties
Email do usuário
Plataforma de compartilhamento
twitter
facebook
instagram
whatsapp
linkedin
Compartilhamento registrado com sucesso
Show child attributes