Module rusty_runner_api::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
- The query schema for
GET /api/file
. - The json-response schema for
GET /api/info
. - The json-body schema for
POST /api/run
. - The json response format for
/api/run
and/api/runscript
. - The query schema for
POST /api/runscript
.
Enums
- The OS type as given by
#[cfg(windows)]
and#[cfg(unix)]
. - The outcome of a command.
- The interpreter that the script will be called with.