• Can you send me example of such request?

      Assuming I already have the authentication token

       

    • where can I find documentation about the file content

      (I have example - but with no explanation)

       

      Managed to run the API successfully using the following python code

       

          def updateReviewCoverage( self, reviewName, fileContent, reviewCoverageType = ReviewCoverageType.reviewer):

              url = f'{self.baseUrl}?cmd=uploadCoverage&type={reviewCoverageType.name}&name={reviewName}'

              req = HttpRequest('POST', url)

              req.addHeader('Authorization', f"Bearer {self.__GetAveksaToken()}")

              req.setBody(fileContent)

              req.setShouldVerify(False)

              req.makeRequest()

              responseBody = req.responseBody

              if("status=failure" in responseBody): # expecting "status=success\n"

                  raise ValueError(responseBody)

       

      Expand Post