Files
workphone-sdk/sdk/app/data/connection_providers.json

114 lines
2.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"active": {
"global": "jiqing",
"projects": {},
"devices": {
"xgfe65eimrrofyws": "jiqing"
}
},
"providers": {
"jiqing": {
"id": "jiqing",
"name": "机擎工作手机本SDK原生·WS+Frida",
"kind": "native",
"enabled": true,
"builtin": true,
"desc": "默认方案WebSocket Agent + 设备本机 Frida经 device_transport 无线主控"
},
"aochuang": {
"id": "aochuang",
"name": "奥创工作手机007私域",
"kind": "http",
"enabled": false,
"builtin": true,
"desc": "",
"base_url": "",
"base_url_env": "",
"auth": {
"type": "bearer",
"token": "",
"token_env": "AOCHUANG_TOKEN",
"header": "Authorization"
},
"health": {
"method": "GET",
"path": "/devices"
},
"endpoints": {
"list_devices": {
"method": "GET",
"path": "/devices",
"data_path": "data"
},
"send_message": {
"method": "POST",
"path": "/message/send",
"body_map": {
"device_id": "deviceId",
"to_id": "wxid",
"content": "content",
"msg_type": "msgType"
}
},
"batch_send_message": {
"method": "POST",
"path": "/message/batch-send",
"body_map": {
"device_id": "deviceId"
}
},
"get_contacts": {
"method": "GET",
"path": "/wechat/contacts",
"query_map": {
"device_id": "deviceId"
},
"data_path": "data"
},
"add_friend": {
"method": "POST",
"path": "/friend/add",
"body_map": {
"device_id": "deviceId",
"to_id": "keyword"
}
},
"post_moments": {
"method": "POST",
"path": "/moments/post",
"body_map": {
"device_id": "deviceId",
"content": "content"
}
}
}
},
"legacy": {
"id": "legacy",
"name": "现有连接形式S2/旧接口)",
"kind": "http",
"enabled": false,
"builtin": true,
"desc": "存客宝现有/历史设备连接(自建工作手机或 S2 旧接口),配置式 HTTP 驱动",
"base_url": "",
"base_url_env": "LEGACY_PROVIDER_BASE_URL",
"auth": {
"type": "apikey",
"token": "",
"token_env": "LEGACY_PROVIDER_TOKEN",
"header": "X-API-Key"
},
"endpoints": {
"send_message": {
"method": "POST",
"path": "/send"
},
"list_devices": {
"method": "GET",
"path": "/devices"
}
}
}
},
"_updated_at": 1780046806
}