Ordering - BlueCat Integrity - 9.5.0

Address Manager RESTful v2 API Guide

Locale
English
Product name
BlueCat Integrity
Version
9.5.0
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>
  • asc

  • desc

  • orderBy=desc(id)
  • orderBy=asc(name)