POST

Approve App Generation


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Approves a saved plan and starts generating the app.

Call this only after the user approved the exact plan returned by Submit App Plan. Specify its revision and digest; if the plan changed since, the call fails with PLAN_REVISION_CHANGED.

Generation creates a new, unpublished app. It never changes an existing app. Approving the same plan again returns the same generation, so a call that timed out can be repeated safely. If the returned generation has resumeRequired: true, repeat this call to continue it.

Permission Scopes
Manage AppSmith Projects
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/containers/projects/v1/app-plans/{proposalId}/approve

Errors
403Permission Denied

There is 1 error with this status code.

404Not Found

There is 1 error with this status code.

428Failed Precondition

There are 4 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?