This API collection defines the methods defined in the evaluator interface of the exposed API. This API is used to evalute a passed in "lisp"-ish snippets and respond the results back.

Example API call

curl -X POST \
     -H "Content-Type: text/plain" \
     --data '(set response (json::stringify (#:: "data" request)))' \
     'http://oxide.bitshft.dev/v0/evaluate'

Snippet Reference

KeywordDescription
responseThe response body which needs to be responded back to the request. This value needs to be set to get the response back.
requestThis contains the request details like headers and method.