promoteRelease

@PatchMapping(path = ""/{" + RELEASE_IDENTIFIER_KEY + "}" + PROMOTE_RELEASE_ENDPOINT", headers = [])
open fun promoteRelease(@PathVariable(value = "id") id: String, @PathVariable(value = "project_id") projectId: String, @PathVariable(value = "release_id") releaseId: String, @RequestHeader(value = "token") token: String, @RequestBody payload: Map<String, String>): String

Method to promote a release

Return

the result of the request as String

Parameters

id

: the identifier of the user

projectId

: the project identifier where the release is attached

releaseId

: the release identifier to promote

token

: the token of the user

payload

: payload of the request:


             {
                 "release_status" : "the release status to set" -> [String] //Alpha, Beta or Latest
             }