Module api

Source
Expand description

This module defines the API query, request body and response body schema for this crate and its server by means of serde serializable and deserializable rust structs.

Structs§

InfoResponse
The json-response schema for GET /api/info.
RunRequest
The json-body schema for POST /api/run.
RunResponse
The json response format for /api/run and /api/runscript.
RunScriptQuery
The query schema for POST /api/runscript.

Enums§

OsType
The OS type as given by #[cfg(windows)] and #[cfg(unix)].
RunStatus
The outcome of a command.
ScriptInterpreter
The interpreter that the script will be called with.

Constants§

VERSION