class
PlaceOS::Client::APIWrapper::Settings
- PlaceOS::Client::APIWrapper::Settings
- PlaceOS::Client::APIWrapper::Endpoint
- Reference
- Object
Included Modules
- PlaceOS::Client::APIWrapper::Endpoint::Destroy
- PlaceOS::Client::APIWrapper::Endpoint::Fetch(PlaceOS::Client::API::Models::Settings)
Defined in:
placeos/api_wrapper/settings.crInstance Method Summary
-
#base : String
The base route for the endpoint
-
#create(parent_id : String, settings_string : String, encryption_level : Encryption::Level = Encryption::Level::Support)
Create new settings.
- #search(parent_ids : Array(String))
-
#search(q : String | Nil = nil, limit : Int = 1000, offset : Int = 0, parent_id : String | Nil = nil)
List or search for systems.
-
#update(id : String, settings_string : String)
Update settings.
Instance methods inherited from module PlaceOS::Client::APIWrapper::Endpoint::Destroy
destroy(id : String)
destroy
Instance methods inherited from module PlaceOS::Client::APIWrapper::Endpoint::Fetch(PlaceOS::Client::API::Models::Settings)
fetch(id : String)
fetch
Instance methods inherited from class PlaceOS::Client::APIWrapper::Endpoint
base : String
base
Constructor methods inherited from class PlaceOS::Client::APIWrapper::Endpoint
new(client : APIWrapper)
new
Macros inherited from class PlaceOS::Client::APIWrapper::Endpoint
delete(path, params = nil, headers = nil, body = nil, as model = nil)
delete,
get(path, params = nil, headers = nil, body = nil, as model = nil)
get,
head(path, params = nil, headers = nil, body = nil, as model = nil)
head,
options(path, params = nil, headers = nil, body = nil, as model = nil)
options,
patch(path, params = nil, headers = nil, body = nil, as model = nil)
patch,
post(path, params = nil, headers = nil, body = nil, as model = nil)
post,
put(path, params = nil, headers = nil, body = nil, as model = nil)
put
Instance Method Detail
def base : String
#
Description copied from class PlaceOS::Client::APIWrapper::Endpoint
The base route for the endpoint
def create(parent_id : String, settings_string : String, encryption_level : Encryption::Level = Encryption::Level::Support)
#
Create new settings.
def search(q : String | Nil = nil, limit : Int = 1000, offset : Int = 0, parent_id : String | Nil = nil)
#
List or search for systems.