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/dashboard/v1/mobility/milestones' \
--header 'Authorization: Bearer <token>'
{
"items": {
"mobilityMilestoneId": "string",
"date": "2019-08-24",
"userId": "string",
"userTimezone": "string",
"metric": "minutes",
"target": "target0",
"transportTypes": [
"walk"
],
"goal": 0,
"userAmount": 0,
"reached": true,
"reachedAt": "2019-08-24T14:15:22Z",
"reachedAtT": 0,
"redeemed": true,
"redeemedAt": "2019-08-24T14:15:22Z",
"redeemedAtT": 0,
"accountId": "stringstri",
"workspaceId": "stringstri",
"sourceRegion": "us-east-1",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
},
"nextToken": "eyJwayI6IndvcmtzcGFjZUlkI3pPR0JndVctQWoiLCJxdWl6SWQiOiItRktBdDZfbXM4M3RvSUZaLWVjeFQifQ=="
}