CamScripter App 1.x API Documentation

CamScripter App is an application running inside the camera on an Axis Camera Application Platform (ACAP).

CamScripter functionality can be controlled using API once the application is installed and licensed.


Install package

Basic cURL usage.

curl --user USER:PASS -F file=PACKAGE_NAME http://IPADDR[:PORT]/local/camscripter/package/install.cgi

where

USER is an user name. E.g. root
PASS is a password . E.g. pass
IPADDR[:PORT] is an IP address/port of the camera. E.g. 192.168.1.5
PACKAGE_NAME is name of package on your computer. E.g. clock.zip

Example:

    curl --user root:pass -F file=@clock.zip http://127.0.0.1:52520/local/camscripter/package/install.cgi

Remove package

http://IPADDR[:PORT]/local/camscripter/package/remove.cgi?package_name=PACKAGE_NAME

where

IPADDR[:PORT] is an IP address/port of the camera. E.g. 192.168.1.5
PACKAGE_NAME is name of package that you want to remove. E.g. clock

Example:

    http://127.0.0.1:52520/local/camscripter/package/remove.cgi?package_name=clock


List all installed packages

http://IPADDR[:PORT]/local/camscripter/package/list.cgi

where

IPADDR[:PORT] is an IP address/port of the camera. E.g. 192.168.1.5

Response example of list action in JSON format.

Example:
    [{
        "package_name": "clock",
        "package_menu_name": "Clock",
        "package_version": "1.0.0",
        "vendor": "Camstreamer s.r.o.",
        "required_camscripter_version": "1.0.0",
        "ui_link": "/local/camscripter/package/clock/index.html"
    }]
            


Feel free to contact our support in case of any problem.