/media/list

GET /media/list

Purpose

Retrieves the full video listings.

Response Object

[
  {
    mediaId : "ABCDEFG1234567890",
    creationTime: 1625601180694,
    catagories: [ "cardio" ],
    title: "Cardio: 20min Low Impact",
    description: "All that HIIT training without the impact. This cardio workout involves simple yet effective moves that invigorate you.",
    difficulties: [ "beginner", "intermediate"],
    durationCategory: "20m",
    equipments: false,
    instructors: [ "Tris Kong" ],
    mainDifficulty: "beginner",
    thumbnailUrl : "https://assets.haus.live/media/ABCDEFG1234567890/thumb.gif"
  }
  
  ...
]

Response Field Information

Field
Notes

mediaId

The unique ID of the workout. This is required as a parameter to retrieve the stream URL in the /stream/{media_id} API call

creationTime

The time the workout was added to the platform. Format: Value is in epoch milliseconds

categories

The categories the workout is assigned. A workout can have more that one category. See Categories for the full list of data vales

title

A short description good for displaying in search results

description

A longer description aimed to provide more information after a user has selected a workout to find out more information

difficulties

The difficulty level the workout is assigned. A workout can have more that one difficulty. See Difficulties for the full list of data vales

durationCategory

The duration category the workout is assigned. Only one can be assigned. See Durations for the full list of data vales

equipments

Indicates if a workout uses equipment e.g. dumbbells. Type: Boolean - true : equipment required - false : equipment not required

instructors

A list of instructor names in the workout.

mainDifficulty

Some workouts can cater for multiple levels. This difficulty represents the main difficulty group it was designed for.

thumbnailURL

A thumbnail image to be used as a preview. This will be a full URL with host information.

Last updated