class

PlaceOS::Client::APIWrapper::OAuthApplications

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

Instance methods

base

The base route for the endpoint

Source
create(name : String, uid : String | Nil = nil, secret : String | Nil = nil, scopes : String | Nil = nil, owner_id : String | Nil = nil, redirect_uri : String | Nil = nil, skip_authorization : Bool | Nil = nil, confidential : Bool | Nil = nil, revoked_at : Time | Nil = nil)
Source
search(q : String | Nil = nil, limit : Int = 20, offset : Int = 0, authority : String | Nil = nil)

List or search for applications.

Results maybe filtered by specifying a query - q - to search across application 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 application will be returned, with a paging based on offset.

Source
update(id : String, name : String | Nil = nil, uid : String | Nil = nil, secret : String | Nil = nil, scopes : String | Nil = nil, owner_id : String | Nil = nil, redirect_uri : String | Nil = nil, skip_authorization : Bool | Nil = nil, confidential : Bool | Nil = nil, revoked_at : Time | Nil = nil)
Source