Release

Update a release

Changed on

Update information for a release.

patch/release/{id}

Request

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

Path parameters

idinteger required

The ID of the release.

Request body

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

The status of the release.

Example request

{
  "status": "active",
  "asset": {
    "id": 123,
    "buildId": 456,
    "type": "docker-image",
    "url": "https://example.com/assets/456"
  }
}

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