get_class_participants
Lists participants booked into a specific AimHarder class session by date, class name, and start time, including occupancy, capacity, coach, and participant details; optionally filter to friends.
Instructions
List who is booked into one exact class session (gym-local date, exact class name and HH:mm start time), as the AimHarder app shows it. Returns the session occupancy, capacity and coach, and each participant's user ID, name, public photoUrl and, for the account holder's friends, friendName (the name they know them by; prefer it). Optional filter: all, or friends (only the account holder's friends; the default comes from configuration). The result reports the filter and totalParticipants. Names are other members' personal data: use them only to answer the account holder. The list can change until the class starts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| filter | No | all: every participant; friends: only the account holder's friends. Defaults to AIMHARDER_PARTICIPANTS_FILTER, else all. | |
| className | Yes | ||
| startTime | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gym | Yes | ||
| filter | No | ||
| status | Yes | ||
| target | Yes | ||
| notices | Yes | ||
| session | Yes | ||
| participants | Yes | ||
| totalParticipants | No |