使用 API 下载自定义样本

您可以通过提供以下样书 REST API 来下载自定义样书:

POST
http://<MAS_IP>/stylebook/nitro/v2/config/stylebooks/<NAMESPACE>/<VERSION>/<NAME>/actions/actions/download?dependencies=true

有效载荷

依赖项=true

<!--NeedCopy-->

修改 IP 地址、名称、版本和命名空间字段后,您可以在任何工具(例如 curl 命令行工具或 Postman chrome 浏览器扩展)中运行该 API。

POST

http://10.102.201.246/stylebook/nitro/v2/config/stylebooks/com.samples.adc.stylebooks/1.2/lb-mon/actions/download?dependencies=true

有效载荷
依赖项=true
<!--NeedCopy-->

.yaml 格式的 StyleBook 已下载。

局部图像