Exports the lambda as a .NET project
A zip of the newest version - not necessarily the one online - as a .NET 10 project on GenHTTP: a Program.cs that hosts the snippet, stand-ins for what the platform provides in Platform/, and a Dockerfile. dotnet run or docker build it, and it serves what the lambda serves.
The database comes along as database/database.db, a copy taken while the request is answered, which the project opens as the lambda opened it here. The workspace does not come along, and neither do the values of the secrets: the project reads them from environment variables of the same names, which Program.cs lists. A published source carries its LICENSE. Exporting changes nothing about the lambda.
Request
- Base URL: https://genhttp.dev/api/v1
- URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/export
- Auth: none declared
Path parameters
The editor key of the lambda. Holding it is what allows the call.
Response
The project, as a zip archive
Changes
No recorded changes to this operation across all 1 revision of this API.