@@ -27,6 +27,10 @@ class MovieBase(MovieTypeBase):
|
|||||||
|
|
||||||
addApiView('movie.add', self.addView, docs = {
|
addApiView('movie.add', self.addView, docs = {
|
||||||
'desc': 'Add new movie to the wanted list',
|
'desc': 'Add new movie to the wanted list',
|
||||||
|
'return': {'type': 'object', 'example': """{
|
||||||
|
'success': True,
|
||||||
|
'movie': object
|
||||||
|
}"""},
|
||||||
'params': {
|
'params': {
|
||||||
'identifier': {'desc': 'IMDB id of the movie your want to add.'},
|
'identifier': {'desc': 'IMDB id of the movie your want to add.'},
|
||||||
'profile_id': {'desc': 'ID of quality profile you want the add the movie in. If empty will use the default profile.'},
|
'profile_id': {'desc': 'ID of quality profile you want the add the movie in. If empty will use the default profile.'},
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ class CategoryPlugin(Plugin):
|
|||||||
'desc': 'List all available categories',
|
'desc': 'List all available categories',
|
||||||
'return': {'type': 'object', 'example': """{
|
'return': {'type': 'object', 'example': """{
|
||||||
'success': True,
|
'success': True,
|
||||||
'list': array, categories
|
'categories': array, categories
|
||||||
}"""}
|
}"""}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user