Create packager
POST/v1/packagers
Create a packager that runs a packager config. The deployment adapter is optional and must be manual or hosted when given. Without an adapter, or with a manual one, the response carries the registration token once; it cannot be retrieved again. It also carries command, which starts the packager with that token; to start it another way, pass the token to the packager yourself. A hosted adapter has Vindral run the packager and returns neither token nor command. It is refused, and nothing is created, with 400 when no eligible node in the adapter's datacenters can run the packager, 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
- 200
- 400
- 401
- 403
- 500
Successful response
Invalid input data
Authorization not provided
Insufficient access
Internal server error