v1

latestOpenAPI 3.1.02026-08-067019120.8 KB
Playground

Pull a package into the Playground

Pulls a package from GitHub or PyPI into the Playground. Returns 200 with task_id if a server restart is needed, or 204 if not. Requires admin, developer, or the playground_control permission.

post/api/playground_pull

Request body

github_urlstring

GitHub URL of the package to pull.

branchstring

Branch to pull from.

pipstring

PyPI package name to pull.

projectstring
user_idinteger
restart0 | 1

Response

Pull completed; server restart initiated.

task_idstring required

Opaque identifier that can be passed to a status endpoint.