POST /bsus/api/v1/deployment/stage-updates - Adaptive Applications - BlueCat Gateway - 23.1

BlueCat Server Update Services Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
23.1

Description

Stages (uploads) one or more patch files to a Server Batch so that it can be applied later.

Parameters

Name Description
body Location: body

Type: application/json

Indicates the Server Batch and patch files to deploy. The JSON body is as follows:
{
  "batches": [
    {
      "id": "string",
    }
  ],
  "patches": [
    {
      "id": "string"
    }
  ],
}
Parameters
  • batches—an array of Server Batch IDs.
  • patches—an array of Patch IDs to apply to the Server Batch with the following information:

Responses

Status Description
Successful

Code: 200

Body:
{
  "status": "Send stage message successfully"
} 
Error

Code: 400

Bad request.

Body:
{
  "error": "string"
}

If available, additional details are passed in the return parameter error.

Code: 404

Resource not found

Body:
{
  "error": "Some resource ids not found"
}

If available, additional details are passed in the return parameter error.

Code: 500

Body:
{
  "error": <details>
}

If available, additional details are passed in the return parameter error.