addRelease

@PostMapping(headers = [])
open fun addRelease(@PathVariable(value = "id") id: String, @PathVariable(value = "project_id") projectId: String, @RequestHeader(value = "token") token: String, @RequestBody payload: Map<String, String>): String

Method to add 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

token

: the token of the user

payload

: payload of the request


             {
                 "release_version": "the version for the release", -> [String]
                 "release_notes": "the notes attached to the release" -> [String]
             }