{% extends "admin/base_site.html" %} {% load i18n %} {% block extrastyle %}{{ block.super }} {% endblock %} {% block coltype %}colMS{% endblock %} {% block bodyclass %}dashboard{% endblock %} {% block breadcrumbs %}{% endblock %} {% block content %}
Besides the web-interface Automagically is controllable by an API. This is composed of a couple of URL:s that it is possible to do HTTP GET or POST to retrive information and update information respectivly.
This returns the current devices and which commands that it can handle
Return all global variables and their current value. Replace all in the URL with a global variable id to just fetch one variable.
Return all known device states. Replace all in the URL with a device id to just fetch status for one device.
Resturn a list of all device events that will occur.
This is used to modify or execute commands. The following is possible to do. Return value is a JSON object. Always with a result entry but sometimes also with other information.
Parameters to the POST request
Parameters to the POST request
Parameters to the POST request
Parameters to the POST request
Parameters to the POST request