How to search resources with a specific duration?

In some case, you may want learning objects with a specific range of duration. For example, you may not want a 40h+ marathon video about Introduction to Python but more a 5 to 10 min video. You can do so using three parameters as follows:

  • duration_unit: this is the duration unit. Depending the type of learning object you want, the duration can go from a second for video up to years for a training. To give you the most flexibility, you can set the unit of your choice among: s(second), min(minute), h(hour), d(day), w(week), m(month), y(year).

  • duration_value_min: this is the value of the minimum duration of the LO in the duration_unit you have chosen.

  • duration_value_max: this is the value of the maximum duration of the LO in the duration_unit you have chosen.

You can set only duration_value_min without duration_value_max if you only want to filter out learning object below a minimum duration.

You can set only duration_value_max without duration_value_min if you only want to filter out learning object above a maximum duration.

The duration_unit parameter is required when you use either duration_value_min or duration_value_max or both (in which case both values must share the same duration unit).