用于检查包状态的 AEM-curl 脚本

AEM-curl script to check the status of the bundle

我们需要编写一个包装器 shell 脚本,用于安装捆绑包,启动已安装的捆绑包。我们已经编写了 cURL 脚本来安装 bundles.Can 任何人请帮助我 cURL 命令来检查包的状态。

此致, 斯瓦西

这对我有用:

curl -u admin:admin http://localhost:4502/system/console/bundles/<bundleSymbolicName>.json

检查 response.data.state

也可以使用 bundle id 代替符号名称。