### App Installation Time Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md The timestamp indicating when the application was installed on the device. ```json "installTime":1754047087 ``` -------------------------------- ### Sync Response Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备指纹.md This section provides an example of a synchronous response from the API, detailing device information and labels. ```APIDOC ## Sync Response Example ### Description Provides an example of a synchronous response from the API, detailing device information and labels. ### Response #### Success Response (200) - **code** (integer) - The status code of the response. - **message** (string) - A message indicating the status of the operation. - **profileExist** (integer) - Indicates if a profile exists (1 for true, 0 for false). - **requestId** (string) - A unique identifier for the request. - **deviceLabels** (object) - Contains various labels and information about the device. - **id** (string) - Unique identifier for the device labels. - **fake_device** (object) - Information about fake device detection. - **b_pc_emulator** (integer) - Flag indicating if a PC emulator is detected. - **b_pc_emulator_last_ts** (integer) - Timestamp of the last PC emulator detection. - **b_cloud_device** (integer) - Flag indicating if a cloud device is detected. - **b_cloud_device_last_ts** (integer) - Timestamp of the last cloud device detection. - **b_altered** (integer) - Flag indicating if the device has been altered. - **b_altered_last_ts** (integer) - Timestamp of the last alteration detection. - **b_multi_boxing** (integer) - Flag indicating multi-boxing detection. - **b_multi_boxing_last_ts** (integer) - Timestamp of the last multi-boxing detection. - **b_multi_boxing_by_os** (integer) - Flag indicating multi-boxing by OS detection. - **b_multi_boxing_by_os_last_ts** (integer) - Timestamp of the last multi-boxing by OS detection. - **b_multi_boxing_by_app** (integer) - Flag indicating multi-boxing by app detection. - **b_multi_boxing_by_app_last_ts** (integer) - Timestamp of the last multi-boxing by app detection. - **b_faker** (integer) - Flag indicating faker detection. - **b_faker_last_ts** (integer) - Timestamp of the last faker detection. - **b_farmer** (integer) - Flag indicating farmer detection. - **b_farmer_last_ts** (integer) - Timestamp of the last farmer detection. - **b_offerwall** (integer) - Flag indicating offerwall detection. - **b_offerwall_last_ts** (integer) - Timestamp of the last offerwall detection. - **b_pc_emulator_pc_id** (string) - PC emulator ID. - **other** (object) - Other fake device related information. - **b_mismatch** (integer) - Flag indicating mismatch. - **b_mismatch_last_ts** (integer) - Timestamp of the last mismatch detection. - **device_suspicious_labels** (object) - Contains suspicious device labels. - **b_root** (integer) - Flag indicating root access. - **b_root_last_ts** (integer) - Timestamp of the last root detection. - **b_sim** (integer) - Flag indicating SIM card status. - **b_sim_last_ts** (integer) - Timestamp of the last SIM status check. - **b_debuggable** (integer) - Flag indicating if the device is debuggable. - **b_debuggable_last_ts** (integer) - Timestamp of the last debuggable check. - **b_vpn** (integer) - Flag indicating VPN usage. - **b_vpn_last_ts** (integer) - Timestamp of the last VPN usage detection. - **b_monkey_apps** (integer) - Flag indicating monkey app usage. - **b_monkey_apps_last_ts** (integer) - Timestamp of the last monkey app detection. - **b_acc** (integer) - Flag indicating accessibility service usage. - **b_acc_last_ts** (integer) - Timestamp of the last accessibility service check. - **b_multi_boxing_apps** (integer) - Flag indicating multi-boxing app usage. - **b_multi_boxing_apps_last_ts** (integer) - Timestamp of the last multi-boxing app detection. - **b_hook** (integer) - Flag indicating hook usage. - **b_hook_last_ts** (integer) - Timestamp of the last hook detection. - **b_vpn_apps** (integer) - Flag indicating VPN app usage. - **b_vpn_apps_last_ts** (integer) - Timestamp of the last VPN app detection. - **b_manufacture** (integer) - Flag indicating manufacturer information. - **b_manufacture_last_ts** (integer) - Timestamp of the last manufacturer info check. - **b_icloud** (integer) - Flag indicating iCloud status. - **b_icloud_last_ts** (integer) - Timestamp of the last iCloud status check. - **b_wx_code** (integer) - Flag indicating WeChat code status. - **b_wx_code_last_ts** (integer) - Timestamp of the last WeChat code check. - **b_sms_code** (integer) - Flag indicating SMS code status. - **b_sms_code_last_ts** (integer) - Timestamp of the last SMS code check. - **b_low_osver** (integer) - Flag indicating low OS version. - **b_low_osver_last_ts** (integer) - Timestamp of the last low OS version check. - **b_remote_control_apps** (integer) - Flag indicating remote control app usage. - **b_remote_control_apps_last_ts** (integer) - Timestamp of the last remote control app detection. - **b_repackage** (integer) - Flag indicating repackaged app status. - **b_repackage_last_ts** (integer) - Timestamp of the last repackaged app check. - **b_reset** (integer) - Flag indicating device reset status. - **b_reset_last_ts** (integer) - Timestamp of the last device reset check. - **b_console** (integer) - Flag indicating console usage. - **b_console_last_ts** (integer) - Timestamp of the last console usage check. - **b_alter_apps** (integer) - Flag indicating altered app usage. - **b_alter_apps_last_ts** (integer) - Timestamp of the last altered app detection. - **b_game_cheat_apps** (integer) - Flag indicating game cheat app usage. - **b_game_cheat_apps_last_ts** (integer) - Timestamp of the last game cheat app detection. - **b_adb_enable** (integer) - Flag indicating ADB enabled status. - **b_adb_enable_last_ts** (integer) - Timestamp of the last ADB enabled check. - **device_active_info** (object) - Device active information. - **i_smid_boot_timestamp** (integer) - Boot timestamp. - **monkey_device** (object) - Information about monkey device detection. - **common** (object) - Common monkey device information. - **b_monkey_apps** (integer) - Flag indicating monkey app usage. - **b_monkey_apps_last_ts** (integer) - Timestamp of the last monkey app detection. - **b_webdriver** (integer) - Flag indicating webdriver usage. - **b_webdriver_last_ts** (integer) - Timestamp of the last webdriver detection. - **monkey_game** (object) - Monkey game specific information. - **b_monkey_game_apps** (integer) - Flag indicating monkey game app usage. - **b_monkey_game_apps_last_ts** (integer) - Timestamp of the last monkey game app detection. - **monkey_read** (object) - Monkey read specific information. - **b_monkey_read_apps** (integer) - Flag indicating monkey read app usage. - **b_monkey_read_apps_last_ts** (integer) - Timestamp of the last monkey read app detection. - **devicePrimaryInfo** (object) - Primary information about the device. - **abi** (null) - ABI (Application Binary Interface) information. - **acc** (null) - Accessibility service information. - **adbEnabled** (null) - ADB enabled status. - **adid** (null) - Advertising ID. - **appname** (string) - Application name. - **appver** (string) - Application version. - **availableSpace** (null) - Available storage space. - **band** (null) - Baseband version. - **battery** (integer) - Battery level. - **batteryState** (integer) - Battery state (e.g., charging, full). - **board** (null) - Board name. - **boot** (integer) - Boot timestamp. - **bootId** (string) - Boot ID. - **bootTime** (integer) - Boot time. - **brand** (null) - Device brand. - **brightness** (number) - Screen brightness level. - **bssid** (null) - BSSID of the Wi-Fi network. - **countryIso** (string) - ISO country code. - **cpuCount** (integer) - Number of CPU cores. - **cpuFreq** (null) - CPU frequency. - **cpuModel** (null) - CPU model. - **devicet** (integer) - Device timestamp. - **files** (null) - File information. - **fingerprint** (null) - Device fingerprint. - **freeSpace** (integer) - Free storage space. - **input** (null) - Input device information. - **installTime** (integer) - Application install time. - **manufacturer** (null) - Device manufacturer. - **memory** (integer) - Total device memory. - **mockLoc** (null) - Mock location status. - **model** (string) - Device model. - **network** (string) - Network type. - **oaid** (null) - OAID (Open Advertising ID). - **operator** (string) - Network operator name. - **os** (string) - Operating system name. - **osver** (string) - Operating system version. - **osverStr** (string) - Operating system version string. - **scaledDensity** (integer) - Scaled density. - **screen** (string) - Screen resolution. - **screenOn** (null) - Screen on status. - **sdkver** (string) - SDK version. - **signdn** (null) - Signed download name. - **simstate** (null) - SIM card state. - **ssid** (string) - SSID of the Wi-Fi network. - **targetSdk** (null) - Target SDK version. - **totalSpace** (integer) - Total storage space. ### Response Example ```json { "code": 1100, "message": "成功", "profileExist": 1, "requestId": "7a5445716f0581c2ab1d381a6af4d1b8", "deviceLabels": { "id": "2021071119130f6ed7400157056a2e38a139", "fake_device": { "b_pc_emulator": 1, "b_pc_emulator_last_ts": 1587711321232, "b_cloud_device": 1, "b_cloud_device_last_ts": 1587711321232, "b_altered": 1, "b_altered_last_ts": 1587711321232, "b_multi_boxing": 1, "b_multi_boxing_last_ts": 1587711321232, "b_multi_boxing_by_os": 1, "b_multi_boxing_by_os_last_ts": 1587711321232, "b_multi_boxing_by_app": 1, "b_multi_boxing_by_app_last_ts": 1587711321232, "b_faker": 1, "b_faker_last_ts": 1587711321232, "b_farmer": 1, "b_farmer_last_ts": 1587711321232, "b_offerwall": 1, "b_offerwall_last_ts": 1587711321232, "b_pc_emulator_pc_id": "202107111953184e8130f6ed7400157056a2e38a139", "other": { "b_mismatch": 1, "b_mismatch_last_ts": 1587711321232 } }, "device_suspicious_labels": { "b_root": 1, "b_root_last_ts": 1587711321232, "b_sim": 1, "b_sim_last_ts": 1587711321232, "b_debuggable": 1, "b_debuggable_last_ts": 1587711321232, "b_vpn": 1, "b_vpn_last_ts": 1587711321232, "b_monkey_apps": 1, "b_monkey_apps_last_ts": 1587711321232, "b_acc": 1, "b_acc_last_ts": 1587711321232, "b_multi_boxing_apps": 1, "b_multi_boxing_apps_last_ts": 1587711321232, "b_hook": 1, "b_hook_last_ts": 1587711321232, "b_vpn_apps": 1, "b_vpn_apps_last_ts": 1587711321232, "b_manufacture": 1, "b_manufacture_last_ts": 1587711321232, "b_icloud": 1, "b_icloud_last_ts": 1587711321232, "b_wx_code": 1, "b_wx_code_last_ts": 1587711321232, "b_sms_code": 1, "b_sms_code_last_ts": 1587711321232, "b_low_osver": 1, "b_low_osver_last_ts": 1587711321232, "b_remote_control_apps": 1, "b_remote_control_apps_last_ts": 1587711321232, "b_repackage": 1, "b_repackage_last_ts": 1587711321232, "b_reset": 1, "b_reset_last_ts": 1587711321232, "b_console": 1, "b_console_last_ts": 1587711321232, "b_alter_apps": 1, "b_alter_apps_last_ts": 1587711321232, "b_game_cheat_apps": 1, "b_game_cheat_apps_last_ts": 1587711321232, "b_adb_enable": 1, "b_adb_enable_last_ts": 1587711321232 }, "device_active_info": { "i_smid_boot_timestamp": 1587711321232 }, "monkey_device": { "common": { "b_monkey_apps": 0, "b_monkey_apps_last_ts": 1587711321232, "b_webdriver": 0, "b_webdriver_last_ts": 1587711321232 }, "monkey_game": { "b_monkey_game_apps": 0, "b_monkey_game_apps_last_ts": 1587711321232 }, "monkey_read": { "b_monkey_read_apps": 0, "b_monkey_read_apps_last_ts": 1587711321232 } } }, "devicePrimaryInfo": { "abi": null, "acc": null, "adbEnabled": null, "adid": null, "appname": "com.opay.pay", "appver": "2.8.0", "availableSpace": null, "band": null, "battery": 1, "batteryState": 2, "board": null, "boot": 1650398254303, "bootId": "A724B567-DBE4-42F0-842B-E620D730C844", "bootTime": 1650398373, "brand": null, "brightness": 0.114379048347473, "bssid": null, "countryIso": "ng", "cpuCount": 2, "cpuFreq": null, "cpuModel": null, "devicet": 1650425202076, "files": null, "fingerprint": null, "freeSpace": 47245746176, "input": null, "installTime": 1650425202, "manufacturer": null, "memory": 1037041664, "mockLoc": null, "model": "iPhone7,2", "network": "UNKNOWN", "oaid": null, "operator": "62150", "os": "ios", "osver": "12.5.4", "osverStr": "Version 12.5.4 (Build 16H50)", "scaledDensity": 2, "screen": "667,375", "screenOn": null, "sdkver": "3.0.6", "signdn": null, "simstate": null, "ssid": "null", "targetSdk": null, "totalSpace": 63989469184 } } ``` ``` -------------------------------- ### API Response Example Source: https://github.com/ishumei/api-doc/blob/main/V4/IP风险画像.md This is an example of a successful response from the API, detailing IP information and labels. ```json { "code": 1100, "message": "成功", "requestId": "23e753672a69050d3dfb6db5d3259413", "ipLabels": { "b_cgn": { "b_cgn": 0 }, "b_cmwap": { "b_cmwap": 0 }, "risk_ip": { "risk_ip": 0, "risk_ip_last_ts": 1723431059000 }, "b_secdial": { "b_secdial": 0, "b_secdial_last_ts": 1723431059000 }, "b_idc": { "b_idc": 0, "b_idc_last_ts": 1723431059000 }, "b_proxy": { "b_proxy": 0, "b_proxy_last_ts": 1723431059000 }, "ip_continent": { "ip_continent": "亚洲" }, "ip_country": { "ip_country": "中国" }, "ip_province": { "ip_province": "广东" }, "ip_city": { "ip_city": "深圳" }, "ip_latitude": { "ip_latitude": 22.5427 }, "ip_longitude": { "ip_longitude": 114.01449 }, "ip_owner": { "ip_owner": "China Telecom" } }, "passThrough": {} } ``` -------------------------------- ### Motherboard Model Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md The model name of the device's motherboard. ```json "board": "lito" ``` -------------------------------- ### API Request Example Source: https://github.com/ishumei/api-doc/blob/main/V4/IP风险画像.md This is an example of a request payload sent to the API. Ensure all required fields are populated. ```json { "accessKey": "xxxxxxxxxxxxxxxxxxxxxxxxx", "data": { "ip": "116.237.65.34" }, "passThrough": {} } ``` -------------------------------- ### CPU Architecture Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md Specifies the CPU architecture of the device, such as 'arm64-v8a'. ```json "abi": "arm64-v8a" ``` -------------------------------- ### Synchronous Response Example Source: https://github.com/ishumei/api-doc/blob/main/API Documents/Intelligent Audio Moderation API Documentation.md Example of a successful JSON response returned by the audio security API. ```json { "code":1100, "message":"Success", "requestId":"817c8509359500c898a762ffe93a582b", "btId":"1667392054643", "detail":{ "audioDetail":[ { "requestId":"817c8509359500c898a762ffe93a582b_a0000", "audioStarttime":0, "audioEndtime":10, "audioUrl":"http://voice-stream.oss-cn-hangzhou.aliyuncs.com/POST_AUDIO%2F20221102%2F817c8509359500c898a762ffe93a582b_a0000.mp3?Expires=1669984055&OSSAccessKeyId=LTAI4GCEw42chQY7RgPbGxhv&Signature=pG4zurQ%2F%2F9laWauXo4mFfQoHrdE%3D", "riskLevel":"REJECT", "riskLabel1":"abuse", "riskLabel2":"buwenmingyongyu", "riskLabel3":"qingdubuwenmingyongyu", "riskDescription":"Abuse:UncivilizedWords:UncivilizedWordsSli", "riskDetail":{ "audioText":"you fool" } } ], "audioTags":{ }, "audioText":"you fool", "audioTime":10, "code":1100, "requestParams":{ "channel":"TEST", "lang":"en", "returnAllText":1, "tokenId":"test01" }, "riskLevel":"REJECT" } } ``` -------------------------------- ### Audio Stream Callback Response Example Source: https://github.com/ishumei/api-doc/blob/main/V4/智能音频流识别产品API文档.md Example of the response received from the Audio Stream API callback. ```APIDOC ## Audio Stream Callback Response Example ### Description This is an example of the JSON response returned by the Audio Stream API upon successful processing of an audio stream. ### Response Example ```json { "requestId":"b639042cbfe229359e672074762c5583_2", "btid":"1637847086612", "code":1100, "message":"成功", "audioDetail":{ "audioTags":{ "gender":{ "label":"男性", "probability":99 }, "language":[ { "label":0, "probability":99 }, { "label":1, "probability":0 } ], "song":0, "timbre":[ { "label":"大叔", "probability":7 }, { "label":"青年", "probability":34 }, { "label":"老年", "probability":58 }, { "label":"正太", "probability":0 } ] }, "audioText":"那就不好打吗?所以所以他小龙让掉也是合情合理。还要看这条,先锋啊,下一个节奏点可能就是个先锋,但这个先锋的时候,苏宁其实是可以打正面团战了,谢谢毛主任一直都", "audioUrl":"https://bj-voice-mp3-1251671073.cos.ap-beijing.myqcloud.com/MP3%2F20211125%2Fb639042cbfe229359e672074762c5583_2.mp3?q-sign-algorithm=sha1&q-ak=AKIDcCe4LVKKzUvBIEtb2NZbS8lGblkbmoFW&q-sign-time=1637847114%3B1637847234&q-key-time=1637847114%3B1637847234&q-header-list=host&q-url-param-list=&q-signature=c0f9a66334bc00e1d92da40974756b9b4b9e7b26", "auxInfo":{ "beginProcessTime":1637847113897, "finishProcessTime":1637847114514, "room":"test1" }, "businessLabels":[ { "businessDescription":"未成年人:未成年人:未成年人", "businessLabel1":"minor", "businessLabel2":"weichengnianren", "businessLabel3":"weichengnianren", "confidenceLevel":0, "probability":0 } ], "preAudioUrl":"https://bj-voice-mp3-1251671073.cos.ap-beijing.myqcloud.com/MP3%2F20211125%2Fb639042cbfe229359e672074762c5583_2_pre.mp3?q-sign-algorithm=sha1&q-ak=AKIDcCe4LVKKzUvBIEtb2NZbS8lGblkbmoFW&q-sign-time=1637847114%3B1637847234&q-key-time=1637847114%3B1637847234&q-header-list=host&q-url-param-list=&q-signature=3a261ca2e46b32ec218be69a5802ec0e04c2c627", "riskDescription":"正常", "riskDetail":{ "audioText":"那就不好打吗?所以所以他小龙让掉也是合情合理。还要看这条,先锋啊,下一个节奏点可能就是个先锋,但这个先锋的时候,苏宁其实是可以打正面团战了,谢谢毛主任一直都" }, "riskLabel1":"normal", "riskLabel2":"normal", "riskLabel3":"normal", "riskLevel":"REJECT", "speakers":[ [ { "uid":2, "volume":100 }, { "uid":1, "volume":255 }, { "uid":3, "volume":50 } ], [ { "uid":2, "volume":200 }, { "uid":3, "volume":50 } ], [ { "uid":4, "volume":255 } ] ] } } ``` ``` -------------------------------- ### JSON Callback Response Example Source: https://github.com/ishumei/api-doc/blob/main/V4/智能音频文件识别产品API文档.md This is an example of a successful callback response from the API, detailing audio analysis results and risk levels. ```json { "requestId":"6a9cb980346dfea41111656a514e9109", "btId":"1604311839040", "code":1100, "message":"正常", "riskLevel":"PASS", "audioDetail":[ { "requestId": "6a9cb980346dfea41111656a514e9109_a0000", "audioStarttime":0, "audioEndtime":10, "audioUrl":"https://voice-bj-1251671073.cos.ap-beijing.myqcloud.com/20201102/6a9cb980346dfea41111656a514e9109_a0000.mp3", "businessLabels":[ { "businessDescription":"唱歌:唱歌:唱歌", "businessDetail":{ }, "businessLabel1":"sing", "businessLabel2":"changge", "businessLabel3":"changge", "confidenceLevel":2, "probability":0.858334402569294 } ], "allLabels":[], "riskLevel":"PASS", "riskLabel1":"normal", "riskLabel2":"", "riskLabel3":"", "riskDescription":"正常", "riskDetail":{ "audioText":"" } }, { "requestId": "6a9cb980346dfea41111656a514e9109_a0001", "audioStarttime":10, "audioEndtime":20, "audioUrl":"https://voice-bj-1251671073.cos.ap-beijing.myqcloud.com/20201102/6a9cb980346dfea41111656a514e9109_a0001.mp3", "riskLevel":"PASS", "riskLabel1":"normal", "riskLabel2":"", "riskLabel3":"", "riskDescription":"正常", "riskDetail":{ "audioText":"" } }, { "requestId": "6a9cb980346dfea41111656a514e9109_a0002", "audioStarttime":20, "audioEndtime":30, "audioUrl":"https://voice-bj-1251671073.cos.ap-beijing.myqcloud.com/20201102/6a9cb980346dfea41111656a514e9109_a0002.mp3", "riskLevel":"PASS", "riskLabel1":"normal", "riskLabel2":"", "riskLabel3":"", "riskDescription":"正常", "riskDetail":{ "audioText":"" } }, { "requestId": "6a9cb980346dfea41111656a514e9109_a0003", "audioStarttime":30, "audioEndtime":40, "audioUrl":"https://voice-bj-1251671073.cos.ap-beijing.myqcloud.com/20201102/6a9cb980346dfea41111656a514e9109_a0003.mp3", "riskLevel":"PASS", "riskLabel1":"normal", "riskLabel2":"", "riskLabel3":"", "riskDescription":"正常", "riskDetail":{ "audioText":"" } }, { "requestId": "6a9cb980346dfea41111656a514e9109_a0004", "audioStarttime":40, "audioEndtime":50, "audioUrl":"https://voice-bj-1251671073.cos.ap-beijing.myqcloud.com/20201102/6a9cb980346dfea41111656a514e9109_a0004.mp3", "riskLevel":"PASS", "riskLabel1":"normal", "riskLabel2":"", "riskLabel3":"", "riskDescription":"正常", "riskDetail":{ "audioText":"" } }, { "requestId": "6a9cb980346dfea41111656a514e9109_a0005", "audioStarttime":50, "audioEndtime":60, "audioUrl":"https://voice-bj-1251671073.cos.ap-beijing.myqcloud.com/20201102/6a9cb980346dfea41111656a514e9109_a0005.mp3", "riskLevel":"PASS", "riskLabel1":"normal", "riskLabel2":"", "riskLabel3":"", "riskDescription":"正常", "riskDetail":{ "audioText":"" } }, { "requestId": "6a9cb980346dfea41111656a514e9109_a0006", "audioStarttime":60, "audioEndtime":60, "audioUrl":"https://voice-bj-1251671073.cos.ap-beijing.myqcloud.com/20201102/6a9cb980346dfea41111656a514e9109_a0006.mp3", "riskLevel":"PASS", "riskLabel1":"normal", "riskLabel2":"", "riskLabel3":"", "riskDescription":"正常" } ], "audioTags":{ "gender":{ "label":"女性", "probability":95 }, "language":[ { "confidence":0, "label":2 }, { "confidence":99, "label":0 }, { "confidence":0, "label":1 } ], "song":0, "timbre":[ { "label":"女性", "probability":95 }, { "label":"女王", "probability":12 }, { "label":"御姐", "probability":37 }, { "label":"少女", "probability":56 } ] } } ``` -------------------------------- ### Device Model Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md The specific model name of the device. ```json "model": "PEGM10" ``` -------------------------------- ### CPU Model Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md The specific model or architecture of the device's CPU. ```json "cpuModel": "ARMv8 Processor rev 13 (v8l)" ``` -------------------------------- ### USB State Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md Indicates the current state of the USB connection, such as 'midi' or 'charging'. ```json "usbstate": "midi" ``` -------------------------------- ### CPU Core Count Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md The total number of CPU cores available on the device. ```json "cpuCount": 8 ``` -------------------------------- ### List Entries Response Example Source: https://github.com/ishumei/api-doc/blob/main/correction/openness.md This is an example of the response when retrieving list entries. It includes the total count of entries and an array of content objects, each detailing a list item with its configuration and status. ```json { "contents": [ { "actionCN": "拒绝", "appCN": "全部", "channelCN": "全部", "channelEventCN": "全部", "checkItemsCN": ["文本内容", "昵称"], "config": { "action": "REJECT", "appId": "", "checkItems": ["text", "nickname"], "operation": "contain", "riskType": 300 }, "createTimeCN": "06-28 15:35:59", "description": "", "endTime": 315504000000, "eventCN": "全部", "itemCount": 0, "listId": "0da5ad4f49c350ccdd79b94bf00d8a98", "modifyTimeCN": "06-28 15:42:30", "name": "更新后测试黑名单 3", "operationCN": "原文匹配", "owner": "0", "priority": 0, "riskTypeCN": "广告", "risklabelCN": "", "startTime": 315504000000, "status": 1, "topLevel": 0, "type": 1 }, { "actionCN": "拒绝", "appCN": "全部", "channelCN": "全部", "channelEventCN": "全部", "checkItemsCN": ["文本内容", "昵称"], "config": { "action": "REJECT", "appId": "", "checkItems": ["text", "nickname"], "operation": "equal", "riskType": 100, "segmentStatus": "0" }, "createTimeCN": "06-28 15:33:13", "description": "", "endTime": 315504000000, "eventCN": "全部", "itemCount": 0, "listId": "ba231dc0759f599fdffce5464e344632", "modifyTimeCN": "06-28 15:33:13", "name": "更新后文本黑名单 2", "operationCN": "相等匹配", "owner": "0", "priority": 0, "riskTypeCN": "涉政", "risklabelCN": "", "startTime": 315504000000, "status": 1, "topLevel": 0, "type": 1 } ], "totalCount": 133 } ``` -------------------------------- ### Operating System Version Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md The version number of the device's operating system. ```json "osver": "8.0.0" ``` -------------------------------- ### Total Space Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md The total storage space available on the device in bytes. ```json "totalSpace":"256765676545" ``` -------------------------------- ### Synchronous Mode - Response Example Source: https://github.com/ishumei/api-doc/blob/main/V4/智能网页识别产品V4_API文档.md Example of a synchronous response from the API. ```APIDOC ## Synchronous Mode - Response Example ### Description This section provides an example of a successful synchronous response from the API, detailing the returned fields. ### Method POST ### Endpoint /ishumei/api-doc/sync ### Response #### Success Response (200) - **code** (integer) - Response code indicating success or failure. - **message** (string) - A human-readable message describing the outcome. - **requestId** (string) - A unique identifier for the request. - **riskLevel** (string) - The overall risk level assessed for the content (e.g., REJECT, REVIEW). - **textDetail** (array) - An array of objects, each detailing the risk assessment for text content. - **allLabels** (array) - An array of risk labels applied to the text. - **probability** (number) - The probability score for the label. - **riskDescription** (string) - A description of the risk. - **riskDetail** (object) - Detailed information about the risk. - **matchedLists** (array) - Lists that matched the content. - **name** (string) - The name of the matched list. - **words** (array) - Words found in the content that triggered the match. - **position** (array) - The character positions of the matched word. - **word** (string) - The matched word. - **riskLabel1** (string) - Primary risk label. - **riskLabel2** (string) - Secondary risk label. - **riskLabel3** (string) - Tertiary risk label. - **riskLevel** (string) - The risk level for this specific label (e.g., REVIEW). - **requestId** (string) - Request ID specific to this text detail. - **riskDescription** (string) - Description of the risk for this text detail. - **riskDetail** (object) - Detailed risk information for this text detail. - **riskLabel1** (string) - Primary risk label for this text detail. - **riskLabel2** (string) - Secondary risk label for this text detail. - **riskLabel3** (string) - Tertiary risk label for this text detail. - **imgDetail** (array) - An array of objects detailing the risk assessment for image content (currently empty in example). - **auxInfo** (object) - Auxiliary information about the request. - **imgCount** (integer) - Number of images processed. - **textCount** (integer) - Number of characters processed. #### Response Example ```json { "code": 1100, "message": "success", "requestId": "xxx", "riskLevel": "REJECT", "textDetail": [ { "allLabels": [ { "probability": 1, "riskDescription": "涉政:涉政:涉政", "riskDetail": { "matchedLists": [ { "name": "测试zyk", "words": [ { "position": [ 84, 85, 86, 87 ], "word": "8945" } ] } ] }, "riskLabel1": "politics", "riskLabel2": "shezheng", "riskLabel3": "shezheng", "riskLevel": "REVIEW" }, { "probability": 0.850240446139051, "riskDescription": "广告:联系方式:网址", "riskDetail": { }, "riskLabel1": "ad", "riskLabel2": "lianxifangshi", "riskLabel3": "wangzhi", "riskLevel": "REJECT" }, { "probability": 1, "riskDescription": "涉政:涉政:涉政", "riskDetail": { "matchedLists": [ { "name": "测试zyk", "words": [ { "position": [ 84, 85, 86 ], "word": "894" } ] } ] }, "riskLabel1": "politics", "riskLabel2": "politics", "riskLabel3": "politics", "riskLevel": "REVIEW" } ], "requestId": "rgggrtwgukewriflwogfwerdqwd_0", "riskDescription": "广告:联系方式:网址", "riskDetail": { }, "riskLabel1": "ad", "riskLabel2": "lianxifangshi", "riskLabel3": "wangzhi" } ], "imgDetail": [ ], "auxInfo": { "imgCount": 0, "textCount": 124 } } ``` ``` -------------------------------- ### Input Method List Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md A list of available input methods on the device, including their service and settings interface names. ```json "input": [ "InputMethodInfo{com.sohu.inputmethod.sogou.xiaomi/.SogouIME, settings: com.sohu.inputmethod.sogou.SogouIMESettingsLauncher}", "InputMethodInfo{com.baidu.input_mi/.ImeService, settings: com.baidu.input.ImeMainConfigActivity}" ] ``` -------------------------------- ### Secondary Verification Response Example Source: https://github.com/ishumei/api-doc/blob/main/V4/智能验证码二次验证API文档.md Example of the JSON response returned by the secondary verification API. ```json { "code":1100, "detail":{ "description":"正常", "model":"M1000", }, "message":"成功", "requestId":"585f346fd836f98403d72239f612b13a", "riskLevel":"PASS", } ``` -------------------------------- ### Screen Resolution Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md Provides the screen's width, height, and density, separated by commas. ```json "screen": "1080,2220,420" ``` -------------------------------- ### Phone Boot Time Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md Indicates the time when the phone last booted up, provided as a 13-digit millisecond timestamp. ```json "boot": 1605593372679 ``` -------------------------------- ### Upload Request Example Source: https://github.com/ishumei/api-doc/blob/main/V4/智能音频文件识别产品API文档.md Use this cURL command to send an audio file for analysis. Ensure you replace placeholders with your actual credentials and content. ```bash curl -v 'http://api-audio-bj.fengkongcloud.com/audiomessage/v4' -d '{ "accessKey": "*************", "appId": "default", "eventId": "default", "type": "POLITY_EROTIC", "businessType":"TIMBRE", "btId": "test1", "contentType": "URL", "content": "*************", "data": { "returnAllText":1, "tokenId": "token-short" } }' ``` -------------------------------- ### System Version Number Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md A detailed string representing the system version number, often including build information. ```json "osverStr": "Version 17.5.1 (Build 21F90)" ``` -------------------------------- ### Active Query Request Example Source: https://github.com/ishumei/api-doc/blob/main/V4/智能图片识别产品API文档.md Example JSON request body for querying image recognition results. ```json { "accessKey":"***", "requestIds":[ { "requestId":"***", "btId":"" } ] } ``` -------------------------------- ### ROM Package Information Example Source: https://github.com/ishumei/api-doc/blob/main/V4/设备风险画像_en.md Details about the device's ROM package, often including build and version information. ```json "fingerprint": "OPPO/PEGM10/OP4E59:13/TP1A.220905.001/R.1b958fb_1-1:user/release-keys" ``` -------------------------------- ### Upload Request Example Source: https://github.com/ishumei/api-doc/blob/main/V4/智能语音消息识别产品API文档.md Use this cURL command to send an audio message for analysis. Ensure you replace placeholder values with your actual credentials and content. ```bash curl -v 'http://api-audio-bj.fengkongcloud.com/audiomessage/v4' -d '{ "accessKey": "*************", "appId": "default", "eventId": "default", "type": "TIMBRE_POLITICAL_PORN", "btId": "test1", "contentType": "URL", "content": "*************", "data": { "returnAllText":1, "room": "general", "tokenId": "token-short" } }' ``` -------------------------------- ### Secondary Verification Request Example Source: https://github.com/ishumei/api-doc/blob/main/V4/智能验证码二次验证API文档.md Example of the JSON payload required for the secondary verification API request. ```json { "accessKey":"****************", "data":{ "lastReq":"****************" "expectedMode": "slide", "expectedAppId":"AppID", "rid":"************", "ip":"111.85.43.52" } } ```