uploadAsset

@PostMapping(path = ""/{" + RELEASE_IDENTIFIER_KEY + "}" + UPLOAD_ASSETS_ENDPOINT", headers = [])
open fun uploadAsset(@PathVariable(value = "id") id: String, @PathVariable(value = "project_id") projectId: String, @PathVariable(value = "release_id") releaseId: String, @RequestHeader(value = "token") token: String, @RequestParam(value = "assets_uploaded") assets: Array<MultipartFile>, @RequestParam(name = AssetUploadingEvent.COMMENT_KEY, required = false) comment: String): String

Method to upload some assets 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 upload the asset

token

: the token of the user

assets

: the assets to upload

comment

: the comment about the assets uploaded