---
title: "Update plugin"
method: GET
path: "/api/plugin/{RepoName}/upgrade"
tags: ["plugin"]
---

# Update plugin

`GET /api/plugin/{RepoName}/upgrade`

Pull in git updates for plugin `{RepoName}`. Supports an optional `?stream=true` query parameter for streaming output. Refused when the block the upgrade would land differs materially from the accepted one (or nothing is accepted for this plugin): the reply is then `{Status: "Error", Code: "PrivacyMismatch", privacyChanged: true, plugin, pending}` -- the same shape as `POST /api/plugin`'s refusal -- and nothing is changed; POST `privacyAccepted` (below) to proceed. Also refused, without `Code`, when `git fetch` fails (offline).

## Response `200`

Plugin upgraded, or refused

- object
  - `Status` 'OK' | 'Error'
  - `Message` string
  - `Code` 'PrivacyMismatch' — Present only on a privacy refusal, so a script can tell it from any other error without parsing `Message`. The same field on `POST /api/plugin` and `POST /api/plugin/{RepoName}/upgrade`.
  - `privacyChanged` boolean — true on a privacy refusal.
  - `plugin` string — On a privacy refusal: the plugin (for an install, possibly a dependency plugin) whose block must be reviewed.
  - `pending` object, nullable — On a privacy refusal: the block to review (null = no disclosure); post it back as `privacyAccepted` to proceed.

## Changes

- **2026-09-14** `b6816e82545e` — 6 info
  - added the optional property `Code` to the response with the `200` status
  - added the optional property `Message` to the response with the `200` status
  - added the optional property `Status` to the response with the `200` status
  - added the optional property `pending` to the response with the `200` status
  - …2 more

[Change history](https://skmtc.dev/falconchristmas/apis/fpp-api/changes/api/plugin/:RepoName/upgrade/get.md)

---

[API](https://skmtc.dev/falconchristmas/apis/fpp-api.md) · [All operations](https://skmtc.dev/falconchristmas/apis/fpp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/falconchristmas/apis/fpp-api/revisions/b6816e82545e?raw)
