getItemsCounts
Requires authentication as user
getItemsCounts
Request
get /Items/Counts
Parameters
| Name | In | Type | Default | Notes |
|---|---|---|---|---|
| UserId | query | Optional. Get counts from a specific user's library. |
||
| IsFavorite | query | Optional. Get counts of favorite items |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 | ItemCounts | Operation successful. Returning a ItemCounts object. |
|
| 400 | Bad Request. Server cannot process request. |
||
| 401 | Unauthorized. Client needs to authenticate. |
||
| 403 | Forbidden. No permission for the reqested operation. |
||
| 404 | Resource not found or unavailable. |
||
| 500 | Server error. |
Definitions
ItemCounts
see also MediaBrowser.Model.Dto.ItemCounts
| Name | Type | Notes |
|---|---|---|
| MovieCount | integer (int32) | The movie count. |
| SeriesCount | integer (int32) | The series count. |
| EpisodeCount | integer (int32) | The episode count. |
| GameCount | integer (int32) | The game count. |
| ArtistCount | integer (int32) | |
| ProgramCount | integer (int32) | |
| GameSystemCount | integer (int32) | The game system count. |
| TrailerCount | integer (int32) | The trailer count. |
| SongCount | integer (int32) | The song count. |
| AlbumCount | integer (int32) | The album count. |
| MusicVideoCount | integer (int32) | The music video count. |
| BoxSetCount | integer (int32) | The box set count. |
| BookCount | integer (int32) | The book count. |
| ItemCount | integer (int32) |