0
votes

I am using the following Softlayer API to list all the images:

https://id:[email protected]/rest/v3/SoftLayer_Virtual_Guest_Block_Device_Template_Group/getPublicImages.json

Is there a way to return all the images sorted by image name ascend?

Thanks!

Q.Z.

1

1 Answers

0
votes

Try this please:

https://$user:[email protected]/rest/v3/SoftLayer_Virtual_Guest_Block_Device_Template_Group/getPublicImages?objectFilter={"name":{"operation":"orderBy","options":[{"name":"sort","value":["ASC"]}]}}

Method: Get

Replace: $user and $apiKey with your own information