POST
/
bmp
/
ios
/
sensor
Generate sensor data
curl --request POST \
  --url https://api.runeverse.tools/bmp/ios/sensor \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "bmpVersion": "3.3.9",
  "appPackage": "com.xyz.ios",
  "appVersion": "1.0.0",
  "language": "en-US",
  "session": {},
  "dciScriptBase64": "YmFzZTY0IG9mIGRjaSBzY3JpcHQ=",
  "paramsBase64": "RXhhbXBsZSAvX2JtL2dldF9wYXJhbXMgcmVzcG9uc2U="
}
'
{
  "sensor": "4,i,xyz$53,43,12$$$",
  "device": {
    "name": "<string>",
    "model": "<string>",
    "iosVersion": "<string>"
  },
  "session": {},
  "reportData": "ZW5jcnlwdGVkIGFwcGxpY2F0aW9uIHN0YXRl"
}

Authorizations

X-Api-Key
string
header
required

Body

application/json
bmpVersion
string
required

Version of BMP to use

Example:

"3.3.9"

appPackage
string
required

Package of target app.

Example:

"com.xyz.ios"

appVersion
string
required

App's version.

Example:

"1.0.0"

language
string
required

Language used for generation (eg. en-US)

Example:

"en-US"

session
object
required

Object containing session state. Reuse it for a single session

dciScriptBase64
string

DCI Script encoded to base64. Some targets might not need real DCI values, instead use "mock" for better response times, but keep in mind it might not work. (3.3.5+)

Example:

"YmFzZTY0IG9mIGRjaSBzY3JpcHQ="

paramsBase64
string

Base64 encoded response of /_bm/get_params request. Used for DCI and PoW solving

Example:

"RXhhbXBsZSAvX2JtL2dldF9wYXJhbXMgcmVzcG9uc2U="

Response

Successful operation

sensor
string
Example:

"4,i,xyz$53,43,12$$$"

device
object

Object containing device information

session
object

Object containing session state. Reuse it for a single session

reportData
string

Encrypted telemetry data

Example:

"ZW5jcnlwdGVkIGFwcGxpY2F0aW9uIHN0YXRl"