Page: API Conventions
v.6 by Roman Uskov
2019-11-21 11:11
2019-11-21 11:11
API Conventions
The API functions are specified in the following form:
some_method({foo: <string>,bar: <timestamp>}) -> {result: <string>}
Which means:
- the callable method
some_method
(with websock unichat endpoint also available assomeMethod
) - it takes 2 named arguments,
foo
of typestring
andbar
of type timestamp which all are explained in detail later - it returns single named value,
result
, which is astring
.