Start a deployment app build
POST/v1/application/build
Starts building a deployment app that bundles an applet version with a Core App version for one platform. The build runs asynchronously; poll GET /v1/application/build/{requestUid} for its result.
The applet must belong to an organization of the same company as the provisioning organization. That company needs the DevSpace entitlement and the entitlement of the platform, and DevSpaceBrandedApps when the build is branded. When it licenses DevSpace per user, the account starting the build (or the account that created the organization token) needs a DevSpace seat in it, and when it has a monthly build limit, builds can start only until it is used up. Builds that fail do not count against the limit, and builds still in progress for more than a day no longer count.
Request
Responses
- 202
- 400
- 401
- 402
- 404
Accepted
Bad Request - the request can't build; every case has its own errorName. A body that doesn't match this schema, such as an unknown flavor, gets INVALID_BODY_PROPERTIES (400301) with the problems in message.
Unauthorized - the company licenses DevSpace per user and the account holds no seat, or the token is missing or invalid.
Payment Required - the company of the provisioning organization misses an entitlement the build needs (402300, named after it), or it used up its monthly builds (402400).
Not Found - the applet, its version, the provisioning organization or the Core App version doesn't exist or isn't yours.