Add button to delete 3rd party API lookup info

This commit is contained in:
JonnyWong16 2018-02-12 09:31:44 -08:00
commit 3380e39de2
5 changed files with 171 additions and 7 deletions

31
API.md
View file

@ -113,6 +113,20 @@ Delete and recreate the image cache directory.
### delete_imgur_poster
Delete the Imgur poster.
```
Required parameters:
rating_key (int): 1234
(Note: Must be the movie, show, season, artist, or album rating key)
Optional parameters:
None
Returns:
json:
{"result": "success",
"message": "Deleted Imgur poster."}
```
### delete_library
@ -145,6 +159,23 @@ Returns:
```
### delete_lookup_info
Delete the 3rd party API lookup info.
```
Required parameters:
rating_key (int): 1234
(Note: Must be the movie, show, or artist rating key)
Optional parameters:
None
Returns:
json:
{"result": "success",
"message": "Deleted lookup info."}
```
### delete_mobile_device
Remove a mobile device from the database.