GET /bsus/api/v1/servergroups/{bam_id} - 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 information about a specific Server Group in Address Manager based on the ID provided.

Parameters

Name Description
bam_id Location: query

Type: string

The ID of the Server Group in Address Manager from which you would like to retrieve information.

Responses

Status Description
Successful

Code: 200

Body:
{
  "data": {
    "bam_id": "string",
    "name": "string",
    "servers": [
      {
        "bam_id": int,
        "name": "string",
        "management_ip": "string",
        "service_ip": "string",
        "appliance_type": "string",
        "role_enabled": "string",
        "configuration": "string",
        "status": "string",
        "message": "string"
      }
    ]
  }
}
Error

Code: 400

Body:
{
  "error": "Cannot import the servergroup existing in the BSUS"
}

Code: 404

Body:
{
  "error": "No server group found with provided id"
}