Merges a feature as the next version
The feature has to be based on the newest version, and its code has to compile - a version is only ever made of code that compiles. Then its files are saved as the next version, with the feature's specification and change unless the request says others, and the feature is deleted with its preview and its copy of the data. The lambda's own data is not touched, so what the preview wrote is not carried over.
With deploy, the new version is put online as well; deployment says how that went. The version is made either way. The body is optional.
Request
- Base URL: https://genhttp.dev/api/v1
- URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/features/{feature}/merge
- Auth: none declared
Path parameters
The editor key of the lambda. Holding it is what allows the call.
The key of the feature, as key in the answer that started it
Request body
Response
The feature was merged as version, and is gone.
Changes
No recorded changes to this operation across all 1 revision of this API.