Add get_pms_update to the API

This commit is contained in:
JonnyWong16 2016-10-09 10:19:50 -07:00 committed by JonnyWong16
commit 61507c03a0
2 changed files with 58 additions and 3 deletions

28
API.md
View file

@ -1176,6 +1176,34 @@ Returns:
```
### get_pms_update
Check for updates to the Plex Media Server.
```
Required parameters:
None
Optional parameters:
None
Returns:
json:
{"update_available": true,
"platform": "Windows",
"release_date": "1473721409",
"version": "1.1.4.2757-24ffd60",
"requirements": "...",
"extra_info": "...",
"changelog_added": "...",
"changelog_fixed": "...",
"label": "Download",
"distro": "english",
"distro_build": "windows-i386",
"download_url": "https://downloads.plex.tv/...",
}
```
### get_recently_added
Get all items that where recelty added to plex.