-
Notifications
You must be signed in to change notification settings - Fork 115
changeProvider
action: will change any provided values for an existing provider (name
or prov_id
).
restrictions: Optional arguments do not need to part of the call but one must be provided.
arguments (required):
-
providertype
-->newznab
ortorznab
-
name
orprov_id
(either/both may be supplied)
arguments (optional):
-
altername
--> change the name of the provider from thename
value host
prov_apikey
-
uid
--> is only required for rss utilisation on some indexers. -
categories
--> If requiring multiple categories can be separated by commas. -
enabled
--> Enable provider. Acceptable values are:true
,false
or just theenabled
field -
disabled
--> Disable provider. Acceptable values are:true
,false
or just thedisabled
field
note: if prov_id
argument is used, name
can be used in lieu of altername
if desired.
response Type: json
example calls:
(using name
control argument):
-
change newznab entries of: name of newznab, host, prov_apikey, and disable:
cmd=changeProvider&providertype=newznab&name=MySite&altername=MyCoolSite&host=https://testing.site.com&prov_apikey=something&disabled&apikey=<apikey>
-
change torznab entries of: host, categories, and enable:
cmd=changeProvider&providertype=torznab&name=MySite&host=https://testing.site.com&categories=5000,7000&enabled=true&apikey=<apikey>
(using prov_id
argument):
-
change newznab entries of: name of newznab, host, prov_apikey, and disable:
cmd=changeProvider&providertype=newznab&prov_id=5&name=MyCoolSite&host=https://testing.site.com&prov_apikey=something&disabled&apikey=<apikey>
-
change torznab entries of: host, categories, and enable:
cmd=changeProvider&providertype=torznab&prov_id=5&host=https://testing.site.com&categories=5000,7000&enabled=true&apikey=<apikey>
example response:
{
"success": true,
"data": "Successfully changed ['name', 'host', 'prov_apikey', 'enabled'] for newznab provider MySite [prov_id: 5]"
}
Getting Started
- Installation Instructions
- Usage
- FAQ
- Tips and Tricks
- Upgrading from the evilhero version
- Mylar as a service (Windows)
- Auto-Backups
Post-Processing
Helping us to help you
Troubleshooting
- Common Errors / Problems
- Where Mylar gets the metadata from
- The mismatched status
- Moving to a new filesystem
- Folder and File formats
- API Documentation
series.json
Contributing