Lint a procedure
Compiles a procedure with its tools and gives the diagnostics. Saves nothing and costs nothing. A procedure with errors also answers 200, with ok: false. Needs the scope machines.
Authentication
AuthorizationBearer
An API key (crk_), an exchanged token (crt_) or a JWT of a trusted issuer. The credential needs the scope of the capability. Read the description of each route.
Request
This endpoint expects an object.
procedure
Only with include=procedure.
tools
The tools of the procedure: a list, or an object with tools.
strict
True to treat each warning as an error.
include_ir
True to get the compiled program when the lint is ok.
Response headers
x-request-id
The id of the request: req_ and a ULID. Every answer has it.
server-timing
The time of the admission.
x-ratelimit-limit-requests
The size of the request bucket, per minute.
x-ratelimit-remaining-requests
The requests that remain.
x-ratelimit-reset-requests
The time until the request bucket is full.
x-ratelimit-limit-units
The size of the units bucket, per minute. Absent when no limit applies.
x-ratelimit-remaining-units
The units that remain.
x-ratelimit-reset-units
The time until the units bucket is full.
Response
The lint.
object
ok
True when the compiler gave no error.
ir_hash
diagnostics
summary
Null only when the procedure cannot be read.
ir
Only with include_ir: true and ok. Else null.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error