PlaceOS::Core::Client
Inherits Responsible < Reference < Object
Constants
BASE_PATH = "/api/core"
Core base
CORE_VERSION = "v1"
Constructors
Class methods
Instance methods
Trigger error cleanup for edges
close
Sourcecore_version
SourceGrab the STDOUT of a module process
Sets up a websocket connection with core, and forwards messages to captured block
driver(driver_id : String, repository : String, branch : String, count : Int32 | Nil = nil) : Array(DriverCommit)
Returns the commits for a particular driver
driver_details(file_name : String, commit : String, repository : String, branch : String = "master") : String
Returns the metadata for a particular driver
edge_errors(edge_id : String, limit : Int32 | Nil = nil, type : String | Nil = nil) : Array(EdgeError)
Get errors for a specific edge
Get errors from all edges
execute(module_id : String, method : String | Symbol, arguments = [] of JSON::Any, user_id : String | Nil = nil)
Returns the JSON response of executing a method on module
host
Sourcemonitor_jobs(state : State = State::Pending)
Sourceport
Sourceversion
SourceNested types
- PlaceOS::Core::Client::ConnectionMetrics
- PlaceOS::Core::Client::CoreStatus
- PlaceOS::Core::Client::DriverCommit
- PlaceOS::Core::Client::DriverStatus
- PlaceOS::Core::Client::EdgeError
- PlaceOS::Core::Client::EdgeHealth
- PlaceOS::Core::Client::EdgeModuleStatus
- PlaceOS::Core::Client::EdgeStatistics
- PlaceOS::Core::Client::Load
- PlaceOS::Core::Client::Loaded
- PlaceOS::Core::Client::State
- PlaceOS::Core::Client::SystemLoad