StyleBook configuration

Use APIs to download custom StyleBooks

Use the following StyleBooks REST API to download a custom StyleBook:

POST https://<ADM-endpoint-name>/stylebook/nitro/v2/config/stylebooks/<NAMESPACE>/<VERSION>/<NAME>/actions/download

You can run the API in any tool such as the cURL command line tool. You can also use the Postman chrome browser extension after modifying the IP address, name, version, and namespace fields.

When you run this API, the custom StyleBook downloads to your local computer as a zipped file.

Use APIs to download dependent StyleBooks and specify compression type

Use the following API to download the full tree of dependent StyleBooks and to specify a compression format (here, .tgz):

POST https://<ADM-endpoint-name>/stylebook/nitro/v2/config/stylebooks/<NAMESPACE>/<VERSION>/<NAME>/actions/download?dependencies=true&compress_type=tgz

The response displays the StyleBook and its dependencies (if any) in a tarball.


200 OK
Content-disposition: attachment; filename=samples_1.0_demo-helper-object.tgz
Content-Type: application/x-zip
....zipped content...

<!--NeedCopy-->
Use APIs to download custom StyleBooks