MFML Rest API
{id}
{id}
/related{id}
/stats{id}
/download/{quality}
/completed{id}
/download/{quality}
/removedGet latest videos. User can filter this list.
Request parameters
teacher id
array of filter ids
keyword search (only valid if filters and teacher are NOT present)
Request headers
Responses
Array of videos, newest on top. video count included.
Body
Request parameters
Request headers
{id}
/relatedPath variables
Request parameters
Request headers
{id}
/statsPath variables
Request parameters
timestamp
percent of total duration played
Whether the video is played offline (i.e. downloaded) or not
Request headers
{id}
{id}
{id}
{id}
{movelistid}
/video/{id}
{id}
Request parameters
verysecuredpassword
0
gM5lXAyS5vfj6PgRLcHAhNMgSvI= Optional value. If present and login type is facebook - then login user via facebook.
Request headers
facebook id
Responses
Body
Unique identifier
Unique token
User`s first name
User`s last name
User`s email
User`s subscription end date. If no date present - return 0.
User’s level preference (if set)
User’s benefits preferences (if set)
User’s styles preferences (if set)
Only use this call for recommendation questions
Notes
Method to get available levels.
Request headers
Responses
Returns an array of objects.
Body
Only use this call for recommendation questions
Request headers
Responses
Returns an array of objects.
Body
Unique identifier
Name of benefit
Request headers
Request body
Unique identifier of level
Array of benefit ids
Array of style ids
Only use this call for recommendation questions
Request headers
Responses
Returns an array of objects.
Body
Unique identifier
Name of benefit
Request parameters
Request headers
Request parameters
Request headers
{id}
Path variables
Request parameters
Request headers
Responses
Body
Videos Array
to fetch starred (gold or silver) + scheduled classes
Request parameters
start timestamp
end timestamp
scheduled event id (start and end are ignored if this parameter is passed)
Request headers
Responses
Returns an array of objects.
Body
{id}
Request headers
Responses
Body
Unique identifier
Name of filter
Subfilters. If empty - return empty array, not null.
Unique identifier
Name of filter
Subfilters. If empty - return empty array, not null.
User get this token after login. Client will send this token in header
Bypass number of items
Limit max number of items.
Timestamp. Use to filter items that were updated_at since this time.
Timestamp. Use to filter items that were updated_at before this time.
API key
Array of movelists, oldest on top.
Body
Body
Unique identifier
URL of thumbnail picture
Title of video
Description of video
Duration of video, in seconds
Teacher`s model
Unique identifier
URL of teacher`s thumbnail picture
Flag, that shows if this video is in favorites of user who sent request. If user is not logged in - return false
List of movelists this video appears in for user who sent request. If user is not logged in - return false
Timestamp (time interval from 1970) in seconds
closest scheduled event id
array of video files from vimeo
Result of operation.
Body
Result of request. Might be “success” or “unsuccess”.
Optional message
Return filters for classes
Body
filter id
name