commentAssets

@PostMapping(path = "/{" + RELEASE_IDENTIFIER_KEY + "}" + COMMENT_ASSET_ENDPOINT + "{" + ASSET_UPLOADING_EVENT_IDENTIFIER_KEY + "}", headers = [])
open fun commentAssets(@PathVariable(value = "id") id: String, @PathVariable(value = "project_id") projectId: String, @PathVariable(value = "release_id") releaseId: String, @PathVariable(value = "asset_uploading_event_id") eventId: String, @RequestHeader(value = "token") token: String, @RequestBody payload: String): String

Method to comment the last assets uploaded on 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 where comment the last assets uploaded

eventId

: the event identifier to comment

token

: the token of the user

payload

: payload of the request:

  • Approved ->
    
                 {
                     "status" : "Approved" -> [String] // the release has been approved by the Customer
                 }
         
  • Rejected ->
    
                 {
                     "status" : "Rejected" -> [String] // the release has been rejected by the Customer,
                     "reasons" : "reasons of the rejection", -> [String]
                     "tags": "list of tags attached to the rejection" -> [List of String]
                 }