Open jwadolowski opened 5 years ago
At the time of writing all commands use old, XML-based Package Manager API located at /crx/packmgr/service.jsp.
/crx/packmgr/service.jsp
Most recent AEM versions still support that API, but it's no longer documented.
In most cases it works just fine, but I recently encountered a few issues, which boil down to limitations of that API:
cqbld
cqrun
cqdel
The list is definitely not complete, but those issue affect my work most frequently.
Each Package Manager operation has JSON-based API equivalent:
cqls
/crx/packmgr/list.jsp
/crx/packmgr/service/script.html/etc/packages/<GROUP>/<NAME>-<VERSION>.zip
Official documentation on the endpoints to call https://helpx.adobe.com/experience-manager/kb/common-AEM-Curl-commands.html#PACKAGES
At the time of writing all commands use old, XML-based Package Manager API located at
/crx/packmgr/service.jsp
.Most recent AEM versions still support that API, but it's no longer documented.
In most cases it works just fine, but I recently encountered a few issues, which boil down to limitations of that API:
cqbld
doesn't seem to work well if more than 1 version of given package existscqrun
doesn't accept package version (in most cases the most recent will be installed)cqdel
removes the oldest package if more than 1 version existsThe list is definitely not complete, but those issue affect my work most frequently.
Each Package Manager operation has JSON-based API equivalent:
cqls
- use/crx/packmgr/list.jsp
insteadcqbld
- POST/crx/packmgr/service/script.html/etc/packages/<GROUP>/<NAME>-<VERSION>.zip
does the trick these days