HTTP Service interface for Package Management
Is it possible to manage content packages on a command-line basis?
Starting with CRX 1.4.1, an HTTP Service interface is available which allows for managing packages using the command-line, e.g.
Following operations are currently supported:
- help overview
- package upload (via POST)
- listing of packages on remote repository
To trigger the above operations, simply send requests using curl/wget to following URLs. Response is always XML:
// help overview $ curl http://<host>:<port>/crx/packmgr/service.jsp // package listing $ curl -u <uid>:<pwd> http://<host>:<port>/crx/packmgr/service.jsp?cmd=ls // package upload $ curl -u <uid>:<pwd> -F name=mycontent -F email@example.com \ http://<host>:<port>/crx/packmgr/service.jsp // package install $ curl -u admin:admin http://<host>:<port>/crx/packmgr/service.jsp?cmd=inst&name=mycontent.zip
Please have a look at the help screen which provides some more details on the available commands. For documentation on the HTTP Service interface for CRX 2.0, please refer to our official documentation  on docs.day.com.