Release

Create a release

Changed on

Create a new release within an existing application.

post/release

Request

  • Base URL
    https://api.nullplatform.com
  • URL
    https://api.nullplatform.com/release
  • Auth
    HTTP bearer

Request body

status'active' | 'pending' | 'deprecated' | 'failed' | 'unstable' required

The status of the release.

build_idinteger required

The ID of the build to which this release belongs.

application_idinteger required

The ID of the application to which this release belongs.

semverstring required

A version identifier following Semantic Versioning (SemVer) conventions."

Example request

{
  "status": "active",
  "build_id": 12341234,
  "application_id": 43214321,
  "semver": "1.0.1-rc1"
}

Response

The operation was successful.

idinteger required

A system-wide unique ID for the release.

semverstring required

A version identifier following Semantic Versioning (SemVer) conventions."

buildIdinteger required

The ID of the build to be released.

status'active' | 'pending' | 'deprecated' | 'failed' | 'unstable' required

The status of the release.

created_atstring date-time required

The timestamp when the entity was created.

updated_atstring date-time required

The timestamp when the entity was created.

Example response

{
  "id": 789,
  "semver": "1.0.1-rc1",
  "buildId": 456,
  "status": "active",
  "asset": {
    "id": 123,
    "buildId": 456,
    "type": "docker-image",
    "url": "https://example.com/assets/456"
  },
  "created_at": "2023-10-01T12:34:56Z",
  "updated_at": "2023-10-01T12:34:56Z"
}

Changes

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      media type application/json was changed to a more specific media type application/problem+json for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      response property message deprecated

    • info

      response property message deprecated

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status