v1

latestOpenAPI 3.1.02026-08-067019120.8 KB
Packages

Install or update a package

Installs or updates a package from PyPI, GitHub, or a ZIP upload. Exactly one of update, github_url, pip, or zip must be provided. Returns a task_id for polling with /api/package_update_status. Requires admin or developer.

post/api/package

Request body

updatestring

Name of an already-installed package to update.

github_urlstring

GitHub URL of a package to install.

branchstring

Branch to install from (when github_url is provided).

pipstring

PyPI package name (optionally with version specifier).

restart0 | 1

Set to 0 to skip restarting the server after install.

Response

Package installation started.

task_idstring required

Opaque identifier that can be passed to a status endpoint.