101 const RequiredOptions = ...;
104 const AuthPath =
"/auth/v1/login";
165 hash<auto> doRequest(
string m,
string path,
auto body, *reference<hash> info, softbool decode_errors = True, *hash<auto> hdr);
168 hash<auto> doValidatedRequest(
string m,
string path,
auto body, *reference<hash<auto>> info, softbool decode_errors = True, *hash<auto> hdr);
208 "cls": Class::forName(
"ZeyosRestConnection"),
209 "options": RestConnection::ConnectionScheme.options + {
210 "appsecret": <ConnectionOptionInfo>{
212 "desc":
"the Zeyos application secret",
215 "identifier": <ConnectionOptionInfo>{
217 "desc":
"the Zeyos identifier;if none is provided, a random identifier string is used",
219 "instance": <ConnectionOptionInfo>{
221 "desc":
"the Zeyos instance name (first segment of URI path)",
224 "required_options": foldl $1 +
"," + $2, ZeyosRestClient::RequiredOptions,
238 constructor(
string name,
string description,
string url, hash<auto> attributes = {}, hash<auto> options = {})
getToken(*reference< hash > info)
logs in an sets the token for further communication
static hash< auto > getOptions(hash< auto > options)
returns options for the RestClient::constructor()
constructor(hash< auto > options, *softbool do_not_connect)
creates the object with the given options
class for Zeyos.com REST connections; returns ZeyosRestClient::ZeyosRestClient objects
Definition: ZeyosRestClient.qm.dox.h:203
constructor(string name, string description, string url, hash< auto > attributes={}, hash< auto > options={})
creates the ZeyosRestConnection object
string getType()
returns "zeyosrest"
const ConnectionScheme
Connection entry info.
Definition: ZeyosRestClient.qm.dox.h:207
hash< auto > getConstructorOptions(hash< auto > options)
gets options for the constructor
hash< ConnectionSchemeInfo > getConnectionSchemeInfoImpl()
Returns the ConnectionSchemeInfo hash for this object.
ZeyosRestClient getImpl(bool connect=True, *hash< auto > rtopts)
returns a ZeyosRestClient::ZeyosRestClient object
the ZeyosRestClient namespace contains all the objects in the ZeyosRestClient module
Definition: ZeyosRestClient.qm.dox.h:88