我正在尝试按名称检索配置脚本条目。我使用的网址是https://api.softlayer.com/rest/v3/SoftLayer_Account/getPostProvisioningHooks.json?objectMask=mask[hookType]&objectFilter={"provisioninghook":{"name":{"operation":"^=Windows-MEL01"}}}
我在名称规范之前尝试过使用provisioninghook,hook和postprovisioninghook。没有tehm工作,它仍然返回所有提供挂钩条目。我可以通过配置挂钩名称来指定objectFilter进行搜索吗?
答案 0 :(得分:0)
请试试这个:
https://$user:$apiKey@api.softlayer.com/rest/v3.1/SoftLayer_Account/getPostProvisioningHooks?objectMask=mask[hookType]&objectFilter={"postProvisioningHooks":{"name":{"operation":"Windows-MEL01"}}}
Method: Get
<强>参考文献:强>