Upload a .tmxplug to install from a file
POST/plugins/upload
Developer mode only. The body is the raw .tmxplug (at most 50 MB). The release's .sig may come base64 encoded in the X-Termix-Plugin-Signature header; an official one makes the file install as an official plugin, and it may then fill in a plugin whose download failed. The file is checked (archive, manifest, plugin API) and held for 30 minutes, but nothing is loaded. The answer lists what it asks for so the admin can agree, then POST /plugins/upload/{token}/install installs it. A file can replace an earlier upload with the same id, never a bundled or registry plugin.
Request
Responses
- 200
- 400
- 403
- 409
- 413
A token plus the plugin's id, name, version and capabilities.
Not a valid .tmxplug or manifest.
Developer mode is off, signed plugins are required, or the caller lacks admin.plugins.manage.
The id belongs to a bundled or registry plugin, the plugin API does not match, or managed by a linked server.
The file is larger than 50 MB.