collect Issue

@PutMapping(path = ""/" + ISSUES_KEY", params = [], headers = [] )
open fun collectIssue(@PathVariable(value = "application_id") applicationId: String, @RequestHeader(value = "server_secret") serverSecret: String, @RequestParam(value = "app_version") appVersion: String, @RequestParam(value = "platform") platform: Platform, @RequestParam(value = "is_debug_mode", defaultValue = "false", required = false) isDebugMode: Boolean, @RequestBody payload: Map<String, Any>): String

Method to collect a new issue for the application

Return

result of the request as String.

Parameters

applicationId

Identifier of the application

serverSecret

User token for authentication

appVersion

Version of the application where the issue occurred

platform

Platform to connect

isDebugMode

Specifies whether analytics sent by the Ametista-Engine should be counted

payload

Request payload containing the device, browser, and issue details:

                     {                        "device": {                            "device_id": " the device identifier -> [String]",                            "brand": "the device brand -> [String]",                            "model": "the device model -> [String]",                            "os": "the operating system of the device -> [String]",                            "os_version": "the version of the operating system of the device -> [String]"                        },                        "browser": "(WEB) the browser where the issue occurred -> [String]",                        "browser_version": "(WEB) the version of the browser where the issue occurred -> [String]",                        "issue": "the issue cause message -> [String]"                     }