diff --git a/Changelog b/Changelog index e598a6392..1713bb6c1 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-05-21 DariusIII + * Chg: Update api description template to include apikey in links * Fix: Prevent duplicated 'All' on browse all releases * Chg: Add .editorconfig file * Fix: Fix errors in full series view diff --git a/resources/views/themes/shared/apidesc.tpl b/resources/views/themes/shared/apidesc.tpl index 0f35b0011..c300849d0 100755 --- a/resources/views/themes/shared/apidesc.tpl +++ b/resources/views/themes/shared/apidesc.tpl @@ -19,23 +19,23 @@ credentials in order to be ran.
-
Search ?t=search&q=linux +
Search ?t=search&q=linux
Returns a list of nzbs matching a query. You can also filter by site category by including a comma separated list of categories as follows ?t=search&cat={$catClass::GAME_ROOT} + href="{$smarty.const.WWW_TOP}/api?t=search&cat={$catClass::GAME_ROOT},{$catClass::MOVIE_ROOT}&apikey={$userdata.rsstoken}">?t=search&cat={$catClass::GAME_ROOT} ,{$catClass::MOVIE_ROOT}. Include &extended=1 to return extended information in the search results.

TV ?t=tvsearch&q=law and order&season=7&ep=12 + href="{$smarty.const.WWW_TOP}/api/v1/api?t=tvsearch&q=law%20and%20order&season=7&ep=12&apikey={$userdata.rsstoken}">?t=tvsearch&q=law and order&season=7&ep=12
Returns a list of nzbs matching a query, category, tvrageid, season or episode. You can also filter by site category by including a comma separated list of categories as follows: ?t=tvsearch&cat={$catClass::GAME_ROOT} + href="{$smarty.const.WWW_TOP}/api/v1/api?t=tvsearch&rid=2204&cat={$catClass::GAME_ROOT},{$catClass::MOVIE_ROOT}&apikey={$userdata.rsstoken}">?t=tvsearch&cat={$catClass::GAME_ROOT} ,{$catClass::MOVIE_ROOT}. Include &extended=1 to return extended information in the search results. @@ -47,28 +47,28 @@

Movies ?t=movie&imdbid=1418646 + href="{$smarty.const.WWW_TOP}/api/v1/api?t=movie&imdbid=1418646&apikey={$userdata.rsstoken}">?t=movie&imdbid=1418646
Returns a list of nzbs matching a query, an imdbid and optionally a category. Filter by site category by including a comma separated list of categories as follows ?t=movie&imdbid=1418646&cat={$catClass::MOVIE_SD} + href="{$smarty.const.WWW_TOP}/api/v1/api?t=movie&imdbid=1418646&cat={$catClass::MOVIE_SD},{$catClass::MOVIE_HD}&apikey={$userdata.rsstoken}">?t=movie&imdbid=1418646&cat={$catClass::MOVIE_SD} ,{$catClass::MOVIE_HD}. Include &extended=1 to return extended information in the search results.

Details ?t=details&id=9ca52909ba9b9e5e6758d815fef4ecda + href="{$smarty.const.WWW_TOP}/api/v1/api?t=details&id=9ca52909ba9b9e5e6758d815fef4ecda&apikey={$userdata.rsstoken}">?t=details&id=9ca52909ba9b9e5e6758d815fef4ecda
Returns detailed information about an nzb.

Info ?t=info&id=9ca52909ba9b9e5e6758d815fef4ecda + href="{$smarty.const.WWW_TOP}/api/v1/api?t=info&id=9ca52909ba9b9e5e6758d815fef4ecda&apikey={$userdata.rsstoken}">?t=info&id=9ca52909ba9b9e5e6758d815fef4ecda
Returns NFO contents for an NZB. Retrieve the NFO as file by specifying o=file in the request URI.

Get ?t=get&id=9ca52909ba9b9e5e6758d815fef4ecda + href="{$smarty.const.WWW_TOP}/api/v1/api?t=get&id=9ca52909ba9b9e5e6758d815fef4ecda&apikey={$userdata.rsstoken}">?t=get&id=9ca52909ba9b9e5e6758d815fef4ecda
Downloads the nzb file associated with an Id.