pygomx/libmxclient/API.md
2026-04-29 09:44:27 +02:00

32 lines
743 B
Markdown

# libmxclient api doc
C API
simple highlevel matrix api intended for bindings to script languages
`everything is a string`
this should make bindings easier.
parameters are strings, either a simple name or json strings
return values are either a strings starting with `ERR:` or a json result
some funktions might return `SUCCESS.` as equivalent for `ret 0`
returned strings must be free'ed y the caller
it's the callers task to keep passed callback pointers alive
## versions
`v0` unstable, devolopment version
all other version are stable, may get new endpoints and security fixes, no other changes
## naming scheme
endpoints beginning with `cliv…`: stand alone helpers
endpoints beginning with `apiv…`: the client api.