AWorld APIs are in a pre-alpha stage and are being updated frequently. For integration inquiries or technical information, please contact us at server@aworld.org.
curl --location --request GET 'https://api.eu-west-1.aworld.cloud/app/v1/streaks?periodType' \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"userId": "string",
"streakRuleId": "string",
"periodId": "string",
"status": "ACTIVE",
"kind": "REGULAR",
"cadence": "DAY",
"metric": "DAYS",
"count": 0,
"periodType": "DAY",
"iterationId": 1,
"goalId": 1,
"target": 1,
"perfectWeek": true,
"perfectMonth": true,
"perfectYear": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
],
"nextToken": "string"
}