Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Create Release

view on GitHub

The Create Release is an endpoint in BuildMaster's Release & Build Deployment API that will create a release, with the parameters defined in the body of the request.

Request Specification

POST/PUT /api/releases/create

To create a release, simply PUT or POST to the URL with an appropriate API Key and a request body, containing the following parameters:

Input Parameter Specification
Application Required. Either a key named applicationId with an integer value, or a key named applicationName with any value.
Release Number Required. A key named releaseNumber with any value.
Pipeline Required. A key named pipelineName with any value.
Release Name Optional. A key named releaseName with any value.
Variables Optional. Any number of parameters with a key name consisting of a valid variable name prefixed with $, and with any value.

Creating a release requires parameters defined in the request body.

POST /api/releases/create

{
  "applicationName": "TaxCalculator",
  "releaseNumber": "2.0.1",
  "pipelineName": "Release",
}

Response Specification

A successful (200) response body will contain a single ReleaseInfo object. For example, creating a new release, with the applicationName TaxCalculator returns:

{
  "id": 5,
  "number": "2.0.1",
  "name": "2.0.1",
  "sequence": 3,
  "status": "active",
  "createdBy": "API",
  "createdOn": "2024-03-05T05:06:27.6630000Z",
  "applicationId": 2,
  "applicationName": "TaxCalculator",
  "pipelineName": "Release",
  "deployables": [],
  "releaseName": "2.0.1",
  "releaseNumber": "2.0.1"
}
Response Details
200 (Success) a release will be created, the body will contain a ReleaseInfo object
400 (Invalid Input) indicates invalid or missing properties in the request; the body will provide some details as text
403 (Unauthorized API Key) indicates a missing, unknown, or unauthorized API Key; the body will be empty