collect Analytic

@PutMapping(path = ""/" + PERFORMANCE_ANALYTICS_KEY", params = [], headers = [] )
open fun collectAnalytic(@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 = "performance_analytic_type") type: PerformanceAnalytic.PerformanceAnalyticType, @RequestParam(value = "is_debug_mode", defaultValue = "false", required = false) isDebugMode: Boolean, @RequestBody(required = false) payload: Map<String, String>): String

Method to collect an analytics 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

The request payload with the different analytic stats to store