Skip to content

Add metric🔗

Study the “General Information” and the “Signature Verification” sections first.

Sending game event to the MRGS server.

Parameters🔗

Parameter Method Value Mandatory Type Description
action GET add_metric yes string Command
app_version GET 2.4.5 yes string Application version
app_build GET 3946 yes string Application build
openUDID GET 7a094faa06675...be064730c4 yes string Device ID
userId GET 123456 yes string Character ID
metric_id GET 143 metric_id or metric_code number Metric ID
metric_code GET superMetricCode metric_id or metric_code string Metric code
value GET 10 yes number Value
level GET 7 no number Character level
object_id GET 654 no number Object ID
language GET ru no string User language
country GET RU no string User region

Error codes🔗

Code Description
-61 Device ID is not set!
-62 Application version is not set!
-63 Application build is not set!
-64 Metric is not set!
-65 Value is not set!
-66 There is no such metric!

Request example🔗

https://mrgs.astrum.team/pub/s2s.php?action=add_metric&appId=38&app_build=903&app_version=3.4&format=json&metric_id=160&openUDID=DEAD342F-FB99-4463-BA40-C00EA5720597&value=10&hash=ae44b5c947b731f4cc3dc41389de6ff8

Response example🔗

{
    "status":0,
    "error":"",
    "result":[]
}

Last update: 2025-01-21
Created: 2020-02-17