class

PlaceOS::Client::APIWrapper::Assets

Inherits PlaceOS::Client::APIWrapper::Endpoint::Destroy < PlaceOS::Client::APIWrapper::Endpoint::Fetch < PlaceOS::Client::APIWrapper::Endpoint < Reference < Object

Instance methods

asset_instances(id : String)
Source
base

The base route for the endpoint

Source
create(name : String, purchase_date : Time, identifier : String | Nil = nil, purchase_price : Int32 | Nil = nil)

Creates a new asset.

Source
search(q : String | Nil = nil, limit : Int = 20, offset : Int = 0, parent : String | Nil = nil)
Source
update(id : String, name : String | Nil = nil, purchase_date : Time | Nil = nil, identifier : String | Nil = nil, purchase_price : Int32 | Nil = nil)

Updates asset attributes or configuration.

Source