Nest Changelog
1.35.4
7/25/2023
1.36.0 PRE
7/24/2023
4 changed endpoints Collapse changed endpoints
GET /users/{userId}/workouts/history 
Get aggregations of user workout history
Guard: admin, family
Response Body
{ data: { durations?: List<{ count?: { completed?: number, total?: number, }, name?: string, value?: number, }>, formats?: List<{ count?: { completed?: number, total?: number, },text?: string, value?: string, }>, modalities?: List<{ count?: { completed?: number, total?: number, },
text?: string, value?: string, }>, }, }
GET /users/{userId}/workouts/history 
Get aggregations of user workout history. Groups by format, modality and duration. Counts total taken and total completed. Format and Modality are further grouped by duration for that format and modality.
Guard: customerService, family
Response Body
{ data: { durations?: List<{ count?: { completed?: number, total?: number, }, name?: string, value?: number, }>, formats?: List<{ count?: { completed?: number, total?: number, }, + durations?: List<{ + count?: { + completed?: number, + total?: number, + }, + name?: string, + value?: number, + }>, text?: string, value?: string, }>, modalities?: List<{ count?: { completed?: number, total?: number, }, + durations?: List<{ + count?: { + completed?: number, + total?: number, + }, + name?: string, + value?: number, + }>, text?: string, value?: string, }>, }, }
GET /users/{userId}/collections/{collectionGuid}/progress 
Get list of users completed workouts that count towards this collections progress
Response Body
{- data: List<{ - contentGuid?: string, - date?: number, - workoutGuid?: string, - }>,}
GET /users/{userId}/collections/{collectionGuid}/progress 
Get list of users completed workouts that count towards this collections progress
Response Body
{+ data: { + collection?: { + guid?: string, + }, + dateJoined?: number, + status?: 'active' | 'completed' | 'abandoned' | 'cancelled', + userData?: { + progress?: { + completed?: number, + count?: number, + }, + workouts?: List<{ + contentGuid?: string, + date?: number, + workoutGuid?: string, + }>, + }, + }, }
POST /strength-routine/movement/items 
Producer and above only. Create a new strength routine movement
Request Body
{- description: string, - name?: string,status: 'draft' | 'published', tags: List<{ value?: string, }>,}
Response Body
{ data: { createdBy?: { id?: number, }, dateCreated?: number, dateModified?: number,- description?: string,guid?: string, images?: { default?: string, hd?: string, portrait?: string, sd?: string, square?: string, },- name?: string,status?: 'draft' | 'published', tags?: List<{ images?: { default?: string, hd?: string, portrait?: string, sd?: string, square?: string, }, modality?: 'ride' | 'row' | 'run' | 'off' | 'all', translations?: record, type?: 'format' | 'category' | 'music' | 'language' | 'closedCaptions' | 'equipment' | 'plan' | 'venue' | 'general' | 'level' | 'accessories' | 'focus' | 'muscleGroup', value?: string, }>,videoStatus?: 'uninitiated' | 'uploadStarted' | 'uploadCompleted' | 'processingStarted' | 'processingCompleted' | 'processingFailed', }, }
POST /strength-routine/movement/items 
Producer and above only. Create a new strength routine movement. Not translated.
Request Body
{status: 'draft' | 'published', tags: List<{ value?: string, }>, + translations?: record, }
Response Body
{ data: { createdBy?: { id?: number, }, dateCreated?: number, dateModified?: number,guid?: string, images?: { default?: string, hd?: string, portrait?: string, sd?: string, square?: string, },
status?: 'draft' | 'published', tags?: List<{ images?: { default?: string, hd?: string, portrait?: string, sd?: string, square?: string, }, modality?: 'ride' | 'row' | 'run' | 'off' | 'all', translations?: record, type?: 'format' | 'category' | 'music' | 'language' | 'closedCaptions' | 'equipment' | 'plan' | 'venue' | 'general' | 'level' | 'accessories' | 'focus' | 'muscleGroup', value?: string, }>, + translations?: record, videoStatus?: 'uninitiated' | 'uploadStarted' | 'uploadCompleted' | 'processingStarted' | 'processingCompleted' | 'processingFailed', }, }