Skip to main content

Apply latest packager config

PUT 

/v1/packagers/:id/apply-latest

Pushes the newest revision of the packager's config to it. Packager configs are versioned; each edit produces a new revision. A connected packager also picks up the newest revision whenever it reconnects. On a hosted packager it also re-applies the adapter's image and datacenters, even when the revision is already the latest. A hosted packager is refused, and keeps its revision, with 400 when no eligible node can run it, including when the nodes that could are down, draining or unhealthy, and with 409 when it cannot be placed for now, such as when no node has room. Requires a read-write scoped API key with sufficient permissions.

Request​

Responses​

Successful response