Code analysis

Compiles code without saving it

Exactly as a deployment would compile them, including the checks of what a lambda may not do, but without running anything. Code that does not compile is not an error of the request: it is answered with 200 and success: false. The files are held to the same rules as a save.

post/lambdas/{privateKey}/code/check

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/code/check
  • Auth: none declared

Path parameters

privateKeystring required

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

Request body

Filestring nullable

The file a question about one file is about; left out, the first

Lineinteger

The line of the position, counting from zero

Columninteger

The column of the position, counting from zero

Response

Whether it compiles, and what the compiler said

Successboolean

Whether it compiles, and would go online if it were deployed

Changes

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