Saves every file of the lambda as a new version
files is the whole lambda, lambda.cs first: a file the newest version has and this request does not is not in the new version. To change a few files, POST …/versions/changes sends only those.
A file name may be refused - a C# file has to be named as C# names its files, a resource needs an extension, and no name may hold spaces or be one Windows reserves; the message says what is wrong with which. The files together may not come to more than the tier of the lambda allows a version (see the limits). Whether the code compiles is not checked unless it is deployed: POST …/code/check compiles it without saving.
Request
- Base URL: https://genhttp.dev/api/v1
- URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/versions
- Auth: none declared
Path parameters
The editor key of the lambda. Holding it is what allows the call.
Query parameters
Whether to put the new version online as well. The version is saved either way; whether it went online is in deployment.
Request body
Response
The version was saved. If it was to be deployed as well, deployment says whether that worked.
Changes
No recorded changes to this operation across all 1 revision of this API.