Softlayer API:无法在数据中心 API 上应用 objectFilter

Softlayer API: Unable to apply objectFilter on Datacenters API

我正在尝试过滤 API: https://api.softlayer.com/rest/v3.1/SoftLayer_Location/getDatacenters?objectFilter={"datacenters":{"name":{"operation":"ams01"}}}

我正在尝试过滤 DC 的记录:ams01。

即使在应用上述过滤器之后,所有记录都会被返回。

试试这个

https://api.softlayer.com/rest/v3.1/SoftLayer_Location/getDatacenters?objectFilter={"name":{"operation" : "ams01" }}

有时在过滤主要数据类型时不需要输入类型。

如果您有任何 problems/doubts.

,请告诉我