postLivetvListingproviders
Adds a listing provider
Requires authentication as administrator
postLivetvListingproviders
Request
post /LiveTv/ListingProviders
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*body | body | ListingsProviderInfo | ListingsProviderInfo: |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | ListingsProviderInfo | Operation successful. Returning a ListingsProviderInfo 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
ListingsProviderInfo
Name | Type | Notes |
---|---|---|
Name | string | |
SetupUrl | string | |
Id | string | |
Type | string | |
Username | string | |
Password | string | |
ListingsId | string | |
ZipCode | string | |
Country | string | |
Path | string | |
EnabledTuners | array | |
EnableAllTuners | boolean | |
NewsCategories | array | |
SportsCategories | array | |
KidsCategories | array | |
MovieCategories | array | |
ChannelMappings | NameValuePair[] | |
MoviePrefix | string | |
PreferredLanguage | string | |
UserAgent | string | |
DataVersion | string |
NameValuePair
see also MediaBrowser.Model.Dto.NameValuePair
Name | Type | Notes |
---|---|---|
Name | string | The name. |
Value | string | The value. |