Check for Updates
Plex Media Server is regularly updated and it is important to keep a Plex server as up-to-date as possible. This API command will check for the latest update and download the update if specified.
URL
PUT http://{ip_address}:32400/updater/check?download={download}&X-Plex-Token={plex_token}
Parameters
Name | Description |
---|---|
ip_address | The IP address of the Plex Media server. |
plex_token | The Plex token. |
download | (Optional) This parameter is an integer value that indicates whether the update should be downloaded. Setting the parameter to 1 will download the update, or 0 won't download the update. |
Return Status
HTTP Code | Description |
---|---|
200 | Success - The request was successful. |
400 | Bad Request - A parameter was not specified or the value was not valid. |
401 | Unauthorized - The Plex token provided was not valid. |
Response
There is no response except for the status code of 200. If the download
parameter was set to 1, then the latest update will be downloaded.
Remarks
When an update is downloaded, it is saved in the Updates
folder in the Plex data directory.
Examples
curl -X PUT http://{ip_address}:32400/updater/check?download={download}&X-Plex-Token={plex_token}
import requests plex_url = http://{ip_address}:32400/updater/check?download={download}&X-Plex-Token={plex_token} response = requests.put(plex_url) print(response.text)
$response = Invoke-RestMethod 'http://{ip_address}:32400/updater/check?download={download}&X-Plex-Token={plex_token}' -Method 'PUT' Write-Output $response