Features

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.

put/lambdas/{privateKey}/features/{feature}/zip

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/features/{feature}/zip
  • Auth: none declared

Path parameters

privateKeystring required

The editor key of the lambda. Holding it is what allows the call.

featurestring required

The key of the feature, as key in the answer that started it

Query parameters

deployboolean

Whether to put its preview online with what was saved

specificationstring

What the user wants from the feature and why; left out, the one it has is kept

changestring

What it changes, in a line; left out, the one it has is kept

layoutstring

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

Changes