class

PlaceOS::Client::APIWrapper::AuthBase(Model)

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

Constructors

new(client : APIWrapper)
Source

Instance methods

create
Source
search(q : String | Nil = nil, limit : Int = 20, offset : Int = 0, authority_id : String | Nil = nil)

List or search.

Results maybe filtered by specifying a query - q - to search across attributes. A small query language is supported within this:

OperatorAction
+Matches both terms
``
-Negates a single token
"Wraps tokens to form a phrase
( )Provides precedence
~NSpecifies edit distance (fuzziness) after a word
~NSpecifies slop amount (deviation) after a phrase

Up to limit documents will be returned, with a paging based on offset.

Source
update
Source