Add get_server_info API command

This commit is contained in:
JonnyWong16 2020-08-02 10:18:57 -07:00
commit 91a18e1a92
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
3 changed files with 68 additions and 3 deletions

27
API.md
View file

@ -1989,6 +1989,33 @@ Returns:
```
### get_server_info
Get the PMS server information.
```
Required parameters:
None
Optional parameters:
None
Returns:
json:
{"pms_identifier": "08u2phnlkdshf890bhdlksghnljsahgleikjfg9t",
"pms_ip": "10.10.10.1",
"pms_is_remote": 0,
"pms_name": "Winterfell-Server",
"pms_platform": "Windows",
"pms_plexpass": 1,
"pms_port": 32400,
"pms_ssl": 0,
"pms_url": "http://10.10.10.1:32400",
"pms_url_manual": 0,
"pms_version": "1.20.0.3133-fede5bdc7"
}
```
### get_server_list
Get all your servers that are published to Plex.tv.