# 9 API The firmware of the WCC Lite features a built­in API which is accessible via the web interface. As of version 1.2.11, it does not implement any access restriction features apart from those provided by the firewall functionality. Individual API endpoints can be enabled or disabled via the web configuration interface at Services­>API. All endpoints are disabled by default. Available API endpoints are shown in the table below.
PathDescription
/api/versionVersion of the API
/api/actions List of available points
/api/syncVersionVersion of the sync service
/api/sync Protocolhub configuration sync (name=”file”)\*
/api/syslog Prints out the syslog
/api/systemInfoGeneral system info
/api/gsmInfo GSM modem information
/api/devices List of configured devices
/api/device/info Device information (name=”device\_alias”)\*\*
/api/device/tagsList of tags on particular device (name=”device\_alias”)\*\*
/api/device/tag/valueTag value (name=”device\_alias”, name=”signal\_alias”)\*\*
/api/tags List of configured tags
/api/sysupgrade Firmware upgrade (name=”file”)\*
\* Endpoints accepting files \*\* Endpoints accepting field data The API accepts data and files as POST requests encoded as ”multipart/form­data”.