Create a release

Creates a new release.

POST/v3/releases
JWT
release:write

Request Body Schema

PropertyTypeDescriptionConstraints
name*stringName of the release. This can be a user friendly name to identify the release.min: 1, max: 256
version*stringThe version of the release. Only following three formats are allowed x.x, x.x.x, x.x.x.x.min: 1
channel*stringChannel of the release. The default value is 'stable'.min: 1, max: 256
platformsarrayPlatforms of the release. It will usually have the following values: windows, linux, macos, win32, win64 etc.items: string
privatebooleanPrivate releases don't appear in the customer portal.
notesstringRelease notes for the release. It also supports markdown.min: 0, max: 4096
productId*stringUnique identifier for the product.min: 1, max: 256
createdAtstringThis property should only be used for creating old releases.format: date-time

Request Example

{
  "name": "string",
  "version": "string",
  "channel": "string",
  "platforms": [
    "string"
  ],
  "private": true,
  "notes": "string",
  "productId": "string",
  "createdAt": "2019-08-24T14:15:22Z"
}
Triggers webhook: release.created
POST <your-webhook-url>
{
  "event": "release.created",
  "data": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "name": "string",
    "channel": "string",
    "version": "string",
    "platforms": [
      "string"
    ],
    "notes": "string",
    "totalFiles": 0,
    "publishedAt": "2019-08-24T14:15:22Z",
    "files": [
      {
        "id": "string",
        "createdAt": "2019-08-24T14:15:22Z",
        "updatedAt": "2019-08-24T14:15:22Z",
        "name": "string",
        "url": "string",
        "size": 0,
        "downloads": 0,
        "extension": "string",
        "checksum": "string",
        "secured": true,
        "published": true,
        "releaseId": "string",
        "releaseName": "string"
      }
    ],
    "published": true,
    "private": true,
    "archived": true,
    "productId": "string",
    "tenantId": "string"
  },
  "triggeredAt": "string"
}

Responses

201 Created
{
  "id": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "name": "string",
  "channel": "string",
  "version": "string",
  "platforms": [
    "string"
  ],
  "notes": "string",
  "totalFiles": 0,
  "publishedAt": "2019-08-24T14:15:22Z",
  "files": [
    {
      "id": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "name": "string",
      "url": "string",
      "size": 0,
      "downloads": 0,
      "extension": "string",
      "checksum": "string",
      "secured": true,
      "published": true,
      "releaseId": "string",
      "releaseName": "string"
    }
  ],
  "published": true,
  "private": true,
  "archived": true,
  "productId": "string",
  "tenantId": "string"
}