POST /bsus/api/v1/deployment/validate-disk-space - Adaptive Applications - BlueCat Gateway - 22.1

BlueCat Server Update Services Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
22.1

Description

Determines whether there is sufficient disk space to apply a patch on a set of servers in a Server Batch.

Parameters

Name Description
payload

(body)

Location: body

Type: application/json

The body of the patches to be applied to the specified Server Batch. The JSON body is as follows:
{
  "batches": [
    {
      "id": "string",
      "name": "string",
      "servers": [
        {
          "management_ip": "string"
        }
      ]
    }
  ],
  "patches": [
    {
      "id": "string"
    }
  ]
}
Parameters
  • id—the ID of the Server Batch.
  • name—the name of the Server Batch.
  • servers—an array of IP addresses of the servers with the following information:
    • management_ip—the IP address of the server within the Server Batch.
  • patches—an array of patches to apply to the Server Batch with the following information:
    • id—the ID of the patch to be applied.

Responses

Status Description
Successful

Code: 200

Body:
{
  "servers": []
}

A list of servers that have sufficient disk space to apply the patch.

Error

Code: 400

Bad request. This often means the format for one of the parameters was invalid.

Code: 500

Internal server error.

{
  "error": "string"
}

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.