Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ Content-Type: application/json
}
```

The endpoint accepts M2M tokens with `refresh:member_stats`, `update:user_profiles`,
or `all:user_profiles`. Autopilot uses the stats refresh scope when synchronizing
completed challenge results. User tokens require the `administrator` or `admin` role.

`GET /v6/members/{handle}` includes a public `challengePoints` object by default:

```json
Expand Down
3 changes: 2 additions & 1 deletion docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ paths:
Replace the stored point awards for one challenge. This endpoint mirrors point-based challenge prize payouts into member-api so member profiles can return challenge point totals and per-challenge details.

Authorization:
- M2M scopes: `update:user_profiles` or `all:user_profiles`.
- M2M scopes: `update:user_profiles`, `refresh:member_stats`, or `all:user_profiles`.
- User roles: `administrator` or `admin`.
security:
- bearer: []
parameters:
Expand Down
Loading
Loading