Versions

Downloads a version as a zip archive

The archive holds the files as the lambda names them, so it can be changed locally and saved again as a new version with POST …/versions/zip. With ?layout=project it holds them where a clone of the lambda's git repository has them instead, so a .NET tool set up in a clone finds them where it looks. Unlike the export, it holds no project around them and no data.

get/lambdas/{privateKey}/versions/{version}/zip

Request

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

Path parameters

privateKeystring required

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

versioninteger required

The number of the version, counting from 1

Query parameters

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 files, as a zip archive

Changes

No recorded changes to this operation across all 1 revision of this API.