StyleBook configuration

Use API to export a config pack

You can use the StyleBook API to export config packs from Citrix ADM. The export bundle is saved to your local computer. It includes the JSON file with all the parameters defined in a configuration pack and any associated system files.

POST https://<ADM-endpoint-name>/stylebook/nitro/v2/config/configpacks/<configpack-ID>/actions/export

Payload:

{
    "export": {
        "options": {
            "include_stylebook": true,
            "include_targets": false,
            "compress_type": "zip",
            "password_protect": false
        },
        "passphrase": ""
    }
}
<!--NeedCopy-->

You can choose to export the config pack along with the associated StyleBook and target instances.

When you export a configuration pack, a tgz or zip bundle downloads to your local computer. The bundle type depends on the given compress_type.

Use API to export a config pack

In this article