Customize the order of resources returned by using the
orderBy
query
parameter. By default, the order direction will be in ascending order. The order
direction can be set using the asc()
and desc()
operators. The following request fetches all IPv4/IPv6 blocks and sub blocks, and orders
the result by block name in descending order.
GET http://{Address_Manager_IP}/api/v2/blocks?orderBy=desc(name)
Name |
Purpose |
Syntax |
Operators |
Examples |
orderBy | Results ordering | orderBy=<field> |
|
|