abstract class
PlaceOS::Client::APIWrapper::AuthBase(Model)
- PlaceOS::Client::APIWrapper::AuthBase(Model)
- PlaceOS::Client::APIWrapper::Endpoint
- Reference
- Object
Included Modules
- PlaceOS::Client::APIWrapper::Endpoint::Destroy
- PlaceOS::Client::APIWrapper::Endpoint::Fetch(Model)
Direct Known Subclasses
- PlaceOS::Client::APIWrapper::Ldap
- PlaceOS::Client::APIWrapper::OAuth
- PlaceOS::Client::APIWrapper::Saml
Defined in:
placeos/api_wrapper/auths/base.crConstructors
Instance Method Summary
- #create(**args) : Model
-
#search(q : String | Nil = nil, limit : Int = 20, offset : Int = 0, authority_id : String | Nil = nil)
List or search.
- #update(**args)
Instance methods inherited from module PlaceOS::Client::APIWrapper::Endpoint::Destroy
destroy(id : String)
destroy
Instance methods inherited from module PlaceOS::Client::APIWrapper::Endpoint::Fetch(Model)
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
Constructor Detail
Instance Method Detail
def 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:
Operator | Action
-------- | ------
+ | Matches both terms
| | Matches either 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.