Plugin version (ping)
Use this method to tell if the plugin is running, it serves as a ping and as a way to get plugin version
Method: GET
Relative URL: /version
Example response:
{
"version": "3.5.0",
"plataforma": "Desktop",
"sistemaOperativo": "windows"
}
version
:string
indicating the plugin versionplataforma
:string
current platform to tell if it's the desktop plugin or the Android pluginsistemaOperativo
:string
Operating system
Example (JavaScript client side)
try {
const httpResponse = await fetch("http://localhost:8000/version");
const pluginDetails = await httpResponse.json();
console.log(pluginDetails);
} catch (e) {
// The plugin did not answer
console.log(e)
}