GET /bsus/api/v1/batches - Adaptive Applications - BlueCat Gateway - 21.1.1

BlueCat Server Update Services Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
21.1.1

Description

Retrieves a list of server batches on a particular page.

Parameters

Name Description
limit Location: query

Type: integer

The size of the page to return. The value must be between 0 and 1000.

page Location: query

Type: integer

The page number to return. The value must be greater than 0.

Responses

Status Description
Successful

Code: 200

Body:
[
  {
    "id": "string",
    "name": "string",
    "timestamp": "date string(%Y-%m-%dT%H:%M:%SZ)",
    "servers": [
      {
        "name": "string",
        "order": int,
        "management_ip": "string",
        "service_ip": "string",
        "appliance_type": "string",
        "role_enable": "string",
        "software_version": "string",
        "patches_installed": "string",
        "services_health": int,
        "configuration": "string",
        "bam_id": "string"
      }
    ]
  }
]
Error

Code: 400

Body:
{
  "error": "The parameter "limit" must be in between 0 and 1000"
}
{
 "error": "The parameter "page" must be greater than 0"
}

Code: 500

Body:
{
  "error": <>
}

This can be caused when an unknown application error is encountered on the Server side. The API attempts to return additional details within the error parameter.