Saves a zip archive as the feature's files
The archive replaces every file of the feature, and is read exactly as one saved as a version is (POST …/versions/zip): a folder around everything removed, .gitignore files followed, counted as it is sent.
Request
- Base URL: https://genhttp.dev/api/v1
- URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/features/{feature}/zip
- 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
Query parameters
Whether to put its preview online with what was saved
What the user wants from the feature and why; left out, the one it has is kept
What it changes, in a line; left out, the one it has is kept
How the files are laid out: lambda (the default) names them as the lambda does, project as a clone of its git repository has them - the snippet as Project.cs, the other C# files named the .NET way, the platform's own files left out
Response
The feature afterwards, and what came of its preview where that was asked for