GET api/Genres/{affiliateId}
Returns the list of valid Genres for a particular affiliate, including a count of movies in the list.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
affiliateId |
The affiliate Id |
integer |
Required |
v |
The requested API version |
string |
Required Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
Returns the list of valid Genres for a particular affiliate, including a count of movies in the list.
Collection of FilmFlex.Platform.Common.API.Contracts.V1.GenreCountDTOName | Description | Type | Additional information |
---|---|---|---|
Name |
The friendly name of the Genre |
string |
None. |
MediaItemsCount |
The count of active available movies in this Genre |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "MediaItemsCount": 2 }, { "Name": "sample string 1", "MediaItemsCount": 2 } ]