POST Videos/VideosStats
Get videos from achievements
Request Information
URI Parameters
None.
Body Parameters
RequestVideosStats| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID |
Use 0 for not logged in. |
integer |
None. |
| YearMonth |
Format yyyymm - ie. 202010 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"YearMonth": "sample string 2"
}
text/html
Sample:
{"UserID":1,"YearMonth":"sample string 2"}
application/xml, text/xml
Sample:
<RequestVideosStats xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2"> <UserID>1</UserID> <YearMonth>sample string 2</YearMonth> </RequestVideosStats>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
VideoDataHolder| Name | Description | Type | Additional information |
|---|---|---|---|
| NumberOfVideos | integer |
None. |
|
| Course_ID | integer |
None. |
|
| Course_Name | string |
None. |
|
| Course_Description | string |
None. |
|
| Course_Challenge | boolean |
None. |
|
| Videos | Collection of VideoData |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
text/html
Sample:
application/xml
Sample:
text/xml
Sample: