The following REST API allows you to create and activate CRX packages.
Create and activate package
A POST method that creates and activates CRX package.
Request URL:
http://<aem-guides-server>: <port-number>/bin/fmdita/activate
Parameters:
The request query consists of the JSON rules string. The content type of the POST request must be set to application/json; charset=UTF-8.
Example:
The following example shows the API call using the curl command:
Optional parameter
activationTarget
Valid values
preview or publish for Cloud Service and publish for On-premise Software
If you do nto define the optional parameter, activationTarget, it activates using the default publish agent for both Cloud Service and On-premise Software.
The following example shows the API call using the curl command with optional parameter: