Documentation

Stats

Get basic meditation stats

ProductionStagingUAT
GEThttps://ankiren.com/api/meditations/stats

Responses

200 · User's meditation statistics

  • totalSessionsinteger
  • completedSessionsinteger
  • totalMinutesinteger
  • streakinteger

    Consecutive days with completed sessions

  • weeklySessionsinteger
  • weeklyGoalinteger
application/json
{
  "totalSessions": 0,
  "completedSessions": 0,
  "totalMinutes": 0,
  "streak": 0,
  "weeklySessions": 0,
  "weeklyGoal": 0
}

Sample Code

Đổi ngôn ngữ ở ô Language trên thanh Documentation.

cURL
curl -X GET 'https://ankiren.com/api/meditations/stats' \
  -H 'Authorization: Bearer <token>' \
  -H 'Accept: application/json'