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)
SourceInstance methods
create
Sourcesearch(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:
| Operator | Action |
|---|---|
+ | Matches both terms |
| ` | ` |
- | Negates a single token |
" | Wraps tokens to form a phrase |
( ) | Provides precedence |
~N | Specifies edit distance (fuzziness) after a word |
~N | Specifies slop amount (deviation) after a phrase |
Up to limit documents will be returned, with a paging based on offset.
update
Source