POST /bsus/api/v1/post_upgrade_script/script/{name} - Adaptive Applications - BlueCat Gateway - 22.1

BlueCat Server Update Services Administration Guide

Locale
English (United States)
Product name
BlueCat Gateway
Version
22.1

Description

Upload a customization package to BSUS.

Parameters

Name Description
file Location: body

Type: application/json

{
  "file": formData
}
Parameter
  • batch_name—file data of the customization file.
name Location: body

Type: application/json

{
  "batch_name": "string"
}
Parameter
  • batch_name—the name of the Server Batch whose script you want to run.

Responses

Status Description
Successful

Code: 202

The customization script was successfully started on the Server Batch's servers.

Error
Note: This endpoint returns an error code only if an error occurred while attempting to call the script. If the script itself encounters and fails with an error, BSUS logs a separate event in its event list, distinct from this endpoint.

Code: 400

Invalid input.

Code: 404

Batch not found.