Versions

Change the version settings

Updates settings for an existing version.

patch/projects/{projectId}/versions/{versionId}

Request

Request body

namestring
versionNumberstring

Explicit version number to use for this version instead of deriving it from the version name. Send an empty string to clear it.

visibility'VISIBLE' | 'HIDDEN'

Controls version visibility in lists and pickers. Defaults to VISIBLE.

Example request

{
  "versionNumber": "1.0.7",
  "referencedVersions": [
    {
      "project": {
        "id": "KXPRJ49GQYFQ5RR9KRTPWTRTC39YZ9W"
      },
      "version": {
        "id": "KXPRJ49GQYFQ5RR9KRTPWTRTC39YZ9W"
      }
    }
  ],
  "repositorySettings": [
    {
      "url": "https://github.com/Ketryx/test-project-js",
      "releaseRefPattern": "refs/tags/v1.0"
    }
  ]
}

Response

OK

idstring

Changes

No recorded changes to this operation across all 1 revision of this API.