latestSwagger 2.0BSD License2026-08-107753105.4 KB

52b0eb5e8b96

profile

This docstring is used by Django Rest Framework

get/profile/{public_id}/challenges/

Response

OK

urlstring uri
public_idstring uuid
titlestring required
sloganstring
descriptionstring
startstring date-time required
endstring date-time nullable
type'INDIVIDUAL' | 'GROUP' | 'TEAM' required
goal'DAILY' | 'TOTAL' | 'WEEKLY' | 'MONTHLY' required
goal_valueinteger nullable
goal_type'POINTS' | 'DISTANCE' | 'CALORIES' | 'DURATION' | 'STEPS' required
visibility'PUBLIC' | 'PRIVATE' required
num_membersstring
leaderboard_rankinteger

Current or final rank among the participants of the challenge as determined by the relevant score.

leaderboard_scorenumber

The profile's current or final score.

is_participatingboolean

Does the current profile participate in this challenge?