POST /bsus/api/v1/patches - Adaptive Applications - BlueCat Gateway - 21.1.1

BlueCat Server Update Services Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
21.1.1

Description

Adds patches to BlueCat Server Update Services.

Parameters

Name Description
body Location: body

Type: application/json

The body of the patches to be added to the Server Batch. The JSON body is as follows:
{
  "name": "string",
  "type": "string",
  "md5": "string",
  "release_date": "date string(yyyy/mm/dd)",
  "file": "string",
}
Parameters
  • name—the name of the patch.
  • type—the type of patch, such as bind_hotfix.
  • md5—the MD5 value of the patch.
  • release_date—the release date of the patch.
  • file—the file path in which the patch is to be uploaded.

Responses

Status Description
Successful

Code: 201

Body:
{
    "data": {
        "id": "string"
    }
}

The ID of the Server Batch.

Error

Code: 400

Body:
{
    "errors": "Patch name <patch_name> and File name <file_name> is not matched"
}
{
  "errors": "error message"
}

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.