POST Users/Statistics
Get statistics for user
Request Information
URI Parameters
None.
Body Parameters
RequestUserStats| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | 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:
<RequestUserStats 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> </RequestUserStats>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UserStats| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| WatchedVideos | integer |
None. |
|
| WatchedChallenges | integer |
None. |
|
| WatchedMinutes | integer |
None. |
|
| NiceHourMin | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"WatchedVideos": 2,
"WatchedChallenges": 3,
"WatchedMinutes": 4,
"NiceHourMin": "sample string 5"
}
text/html
Sample:
{"Name":"sample string 1","WatchedVideos":2,"WatchedChallenges":3,"WatchedMinutes":4,"NiceHourMin":"sample string 5"}
application/xml, text/xml
Sample:
<UserStats xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2"> <Name>sample string 1</Name> <NiceHourMin>sample string 5</NiceHourMin> <WatchedChallenges>3</WatchedChallenges> <WatchedMinutes>4</WatchedMinutes> <WatchedVideos>2</WatchedVideos> </UserStats>