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

BlueCat Server Update Services Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
23.1

Description

Upload a customization package to BSUS.

Parameters

Name Description
file Location: formData

Type: file

Parameter
  • file—file data of the customization file.
name Location: Path

Type: string

Parameter
  • name—the name of the customization file.

Responses

Status Description
Successful

Code: 201

The customization script was successfully uploaded.

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.

Code: 409

Duplicate name.

{
  "error": "The customization with name <name> already exists"
}