2016-06-23 7 views

答えて

0

objectMaskを使用すると、使用しているメソッドから必要な属性を取得できます。このように:

https://$username:[email protected]/rest/v3/SoftLayer_Account/getVirtualGuests.json?objectMask=mask[id,hostname,status[name]] 

方法:あなたが望むだけの一致を得るためにobjectFilterを使用することができ、さらに

をGET。たとえば:

https://$username:[email protected]/rest/v3/SoftLayer_Account/getVirtualGuests.json?objectMask=mask[id,hostname,status[name]]&objectFilter={"virtualGuests":{"status":{"name":{"operation":"Active"}}}} 

方法:

http://sldn.softlayer.com/article/object-masks

http://sldn.softlayer.com/article/object-filters

関連ドキュメントをGET

関連する問題