Sort Parameter

The Sort query parameter is used to sort items of a resource collection in a response. Some resource properties of Veeam Backup for AWS REST API schemas can be used as parameter values for the Sort query parameter.

The Veeam Backup for AWS REST API accepts the following direction specifiers:

Direction Specifier

Description

ASC

Defines the ascending order of the resource collection representation.

DESC

Defines the descending order of the resource collection representation.

For example, to sort items of the /repositories resource collection by the Amazon S3 bucket where the S3 repository is located in the ascending order, send the following request:

GET https://127.0.0.1:11005/api/v1/repositories?Sort=amazonBucketAsc

To learn more about properties of a specific resource that can be used as Sort query parameter values, see the REST API Reference.