Path: /remotes/:remoteid
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Authorization | Beara $token | 是 | Bearar eyJhbGciOiJSUzUxM...... | 验证信息 |
路径参数
参数名称 | 示例 | 备注 |
---|---|---|
remoteid | 15332 | 指定访问主机ID |
{
"remote": {
/**
* 主机ID
*/
"remoteid": 1,
/**
* 主机名称
*/
"name": "MyName",
/**
* 是否在线
*/
"isonline": true
}
}
Path: /remotes/
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
offset | 是 | 0 | 列表读取偏移量 |
limit | 是 | 10 | 限制读取数量 |
search | 是 | Desktop | 检索内容 |
tagid | 是 | 10 | 按指定标签(id)检索 |
userid | 是 | 904448 | 读取指定用户(ID)的主机列表 —— 管理权限以上可用 |
{
/**
* 总数
*/
"total": 1,
/**
* 主机列表
*/
"remotes": [
{
/**
* 主机ID
*/
"remoteid": 1,
/**
* 主机名
*/
"name": "Desktop-N102",
/**
* 是否在线
*/
"isonline": true,
/**
* 远控连接地址
*/
"remoteaddress": "http://xxxxx"
}
]
}
Path: /remotemgr/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
{
"data": [
{
"code": "b04a-3783-5699-f82e",
"key": "2195-5127-5518-4381-5670",
"name": "5455",
"remoteid": 24582455,
"setup": {
"expires": 1521631498,
"key": "2195-5127-5518-4381-5670",
"url": "http://sunlogin.oray.com/setup?key=9c38f0f5f6abc30f6b31f3825a3358e0"
}
},
{
"code": "89d4-f78c-2740-b078",
"key": "1928-8781-3770-7152-2442",
"name": "666526",
"remoteid": 24582456,
"setup": {
"expires": 1521631498,
"key": "1928-8781-3770-7152-2442",
"url": "http://sunlogin.oray.com/setup?key=7bdd857e1f3c90bfe0ac39327bff5e43"
}
},
{
"code": "89d4-f78c-2740-b078",
"key": "1928-8781-3770-7152-2442",
"name": "666526",
"remoteid": 24582456,
"setup": {
"expires": 1521631498,
"key": "1928-8781-3770-7152-2442",
"url": "http://sunlogin.oray.com/setup?key=7bdd857e1f3c90bfe0ac39327bff5e43"
}
}
],
"message": "创建主机成功",
"success": true
}
Path: /remotemgr/delete
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
remoteid | 是 | 指定访问主机ID |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
remoteid | text | 是 |
{
"success": true,
"message": "删除设备成功"
}
Path: /tag/add
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
remoteid | text | 是 | 主机id | |
name | text | 是 | 标签名 | |
tagid | text | 否 | 标签id |
{
"success": true,
"message":'添加标签成功',
"data":{
"tagid":14901,
"tagname":"4555777",
"bgcolor":"#d5d2c0"
}
}
Path: /index
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
sort | 否 | name | 排序(status,name,device) |
page | 否 | 2 | 分页 |
search | 否 | 主机名或描述 | |
tag | 否 | 14683 | 标签 |
changeid | 否 | 123 |
{
"data": {
"list": [
{
"remoteid": 23312164,
"mac": "d3647f1020261f1cc6878ab7370b848c",
"ownerid": 12564122,
"userid": 12564122,
"code": "a203-ce2c-3962-b31e",
"auth": "5a36f6c8c90c37e9f726feca6b5cfc76",
"licensealias": "5513-3522-0733-1793-4055",
"statuscode": 11,
"createtime": "2017-12-14 10:19:42",
"lastmodifytime": 1513332087,
"pcname": "HUAWEI%20EVA%2DAL10",
"name": "HUAWEI EVA-AL10",
"osname": "android2072E0",
"cpu": "arm64%2Dv8a",
"memory": "UnKnown",
"version": "3.1.2.17278",
"versioncode": "17278",
"client": "SLRC_ANDROID",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "",
"os": ""
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 23288566,
"mac": "f4:8e:38:7d:78:0b",
"ownerid": 12564122,
"userid": 12564122,
"code": "b354-2e74-9a51-00f1",
"auth": "73766c393acfd5be7ccd14e11fef355a",
"licensealias": "6415-7199-3664-1732-2409",
"statuscode": 195,
"createtime": "2017-12-12 10:55:46",
"pcname": "DESKTOP-7T9COK2",
"name": "DESKTOP-GETVAS6",
"osname": "Microsoft Windows 10",
"cpu": "Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "4012MB",
"version": "9.6.0.56266",
"versioncode": "56266",
"description": "",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "",
"os": ""
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 23238357,
"mac": "aa923787289f415d2a1de6ed4ebaeb75",
"ownerid": 12564122,
"userid": 12564122,
"code": "40d3-0f20-9ece-ea93",
"licensealias": "9635-6587-9262-6441-3904",
"statuscode": 0,
"createtime": "2017-12-07 21:18:23",
"name": "HTC HTC M9w",
"version": "0",
"client": "SLRC_ANDROID",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"osname": null,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "",
"os": ""
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 22844279,
"mac": "64:00:6a:15:70:1d",
"ownerid": 12564122,
"userid": 12564122,
"code": "783d-1966-6f60-058b",
"statuscode": 0,
"createtime": "2017-11-01 18:42:50",
"client": "SLRC_WINDOWS",
"name": "",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"licensealias": null,
"isonline": false,
"wakeupenable": false,
"osname": null,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "",
"os": ""
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 21341698,
"mac": "631da71ff5f7d91af63e097d5c76eb3a",
"ownerid": 12564122,
"userid": 12564122,
"code": "812e-72be-1578-89a4",
"auth": "267b3bbe7723a00b7c2404b99d799bfd",
"licensealias": "7847-5885-0757-4193-5081",
"statuscode": 11,
"createtime": "2017-05-27 16:24:11",
"lastmodifytime": 1506428463,
"pcname": "samsung%20SM%2DG925P",
"name": "s6",
"osname": "android2072E0",
"cpu": "arm64%2Dv8a",
"memory": "UnKnown",
"version": "3.1.2.17278",
"versioncode": "17278",
"client": "SLRC_ANDROID",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"os": "android",
"target": "android"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 22849424,
"mac": "8cb10e50c44b15d64943e0819adc3002",
"ownerid": 12564122,
"userid": 12564122,
"code": "7e02-0918-3803-f81a",
"auth": "6458d2a45eb48da68733062cb011f1d2",
"licensealias": "9606-1050-3486-6960-0801",
"statuscode": 11,
"createtime": "2017-11-02 11:25:17",
"lastmodifytime": 1509593208,
"pcname": "LGE%20Nexus%205X",
"name": "LGE Nexus 5X",
"osname": "android2082E02E0",
"cpu": "arm64%2Dv8a",
"memory": "UnKnown",
"version": "3.1.2.17278",
"versioncode": "17278",
"client": "SLRC_ANDROID",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"os": "android",
"target": "android"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 22522501,
"mac": "2f13bd9d23dcd12b9edc2f4d657baca0",
"ownerid": 12564122,
"userid": 12564122,
"code": "241f-53a8-42e5-251e",
"auth": "c115ab71ab50609047132e955a267b5f",
"licensealias": "0999-4324-3693-7448-6695",
"statuscode": 11,
"createtime": "2017-09-26 17:11:34",
"lastmodifytime": 1506569702,
"pcname": "HUAWEI%20PLK",
"name": "HUAWEI PLK",
"osname": "android2052E02E2",
"cpu": "arm64%2Dv8a",
"memory": "UnKnown",
"version": "3.1.2.17278",
"versioncode": "17278",
"client": "SLRC_ANDROID",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"os": "android",
"target": "android"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 22514676,
"mac": "01e383868e20ffe450543b5d6ed41c13",
"ownerid": 12564122,
"userid": 12564122,
"code": "3df5-762a-6d21-b5ea",
"auth": "72b2951e936dfa83817fcd755939587c",
"licensealias": "2403-4017-4584-0883-1904",
"statuscode": 11,
"createtime": "2017-09-25 20:15:46",
"lastmodifytime": 1509115073,
"pcname": "Xiaomi%20Redmi%20Note%204",
"name": "Xiaomi Redmi Note 4",
"osname": "android2062E0",
"cpu": "arm64%2Dv8a",
"memory": "UnKnown",
"version": "3.1.2.17278",
"versioncode": "17278",
"client": "SLRC_ANDROID",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"os": "android",
"target": "android"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 22494148,
"mac": "bf62f6f5c378b1c28b2c839f8b21fc95",
"ownerid": 12564122,
"userid": 12564122,
"code": "7db8-89bb-9cb1-25e1",
"auth": "837ed1351ed2e70be7d14d229967ad4f",
"licensealias": "4480-0066-8236-6268-9862",
"statuscode": 11,
"createtime": "2017-09-23 14:31:07",
"lastmodifytime": 1506417293,
"pcname": "Meizu%20M681C",
"name": "Meizu M681C",
"osname": "android2052E1",
"cpu": "arm64%2Dv8a",
"memory": "UnKnown",
"version": "3.1.2.17278",
"versioncode": "17278",
"client": "SLRC_ANDROID",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"os": "android",
"target": "android"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 22494353,
"mac": "slapi-ind.oray.net",
"ownerid": 12564122,
"userid": 12564122,
"code": "7c9f-26c3-9927-3794",
"auth": "079b019cebff0666d36fcfeba8b82c63",
"licensealias": "0818-0975-4130-8887-6510",
"statuscode": 11,
"createtime": "2017-09-23 14:52:24",
"lastmodifytime": 1506323106,
"pcname": "Xiaomi%20MI%204LTE",
"name": "Xiaomi MI 4LTE",
"osname": "android2062E02E1",
"cpu": "armeabi%2Dv7a",
"memory": "UnKnown",
"version": "3.1.2.17278",
"versioncode": "17278",
"client": "SLRC_ANDROID",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"os": "android",
"target": "android"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 20802191,
"mac": "00:0c:29:10:75:20",
"ownerid": 12564122,
"userid": 12564122,
"code": "c589-0682-12c7-95c6",
"auth": "ec523ccfc1a5b0577d80139e4ed3fbd3",
"licensealias": "3957-7670-3185-2913-8358",
"statuscode": 11,
"createtime": "2017-03-29 18:46:03",
"lastmodifytime": 1492672158,
"pcname": "oray-virtual-machine",
"name": "oray-virtual-machine",
"osname": "orayvirtualmachine",
"cpu": ": Pentium(R) Dual-Core CPU E5400 @ 2.70GHz",
"memory": "871MB",
"version": "2.1.0.38936",
"versioncode": "38936",
"client": "SLRC_LINUX",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "linux",
"os": "oray-virtual-machine"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 20619241,
"mac": "00:0c:29:fe:df:b8",
"ownerid": 12564122,
"userid": 12564122,
"code": "c686-ce93-a345-f1de",
"auth": "1fd54b0e5d043b58860fe82b4a4e0edd",
"licensealias": "0001-4139-3528-5850-2325",
"statuscode": 19,
"createtime": "2017-03-08 17:43:40",
"lastmodifytime": 1492672157,
"pcname": "yqc-virtual-machine",
"name": "yqc-virtual-machine",
"osname": "yqcvirtualmachine",
"cpu": ": Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "975MB",
"version": "2.2.0.39537",
"versioncode": "39537",
"client": "SLRC_LINUX",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "linux",
"os": "yqc-virtual-machine"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 20597750,
"mac": "00:0c:29:b7:6b:9f",
"ownerid": 12564122,
"userid": 12564122,
"code": "abd3-dc85-fa98-2340",
"auth": "930d6a6be92fd21b56c10d84bfae0eba",
"licensealias": "8040-2263-5485-8820-1494",
"statuscode": 11,
"createtime": "2017-03-06 09:59:00",
"lastmodifytime": 1492672157,
"pcname": "ubuntu",
"name": "主机03",
"osname": "ubuntu",
"cpu": ": Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "1001MB",
"version": "2.2.0.39537",
"versioncode": "39537",
"description": "",
"client": "SLRC_LINUX",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "linux",
"os": "ubuntu"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 20802091,
"mac": "00:0c:29:16:b2:24",
"ownerid": 12564122,
"userid": 12564122,
"code": "5ba3-d7f8-30fc-c15c",
"auth": "a2613c3ec71883a1b2b4687350986483",
"licensealias": "8938-6595-8588-3113-2763",
"statuscode": 11,
"createtime": "2017-03-29 18:31:58",
"lastmodifytime": 1497342301,
"pcname": "oraytekiMac",
"name": "oraytekiMac",
"osname": "Darwin 1430",
"cpu": "Pentium(R) Dual-Core CPU E5400 @ 2.70GHz",
"memory": "2048MB",
"version": "8.6.6.36828",
"versioncode": "36828",
"client": "SLRC_MACOSX",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "mac",
"os": "Darwin 14.3.0"
}
},
"ispublic": 1,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 21144755,
"mac": "00:50:56:C0:00:01;F4:8E:38:7E:92:01",
"ownerid": 12564122,
"userid": 12564122,
"code": "6821-e5d5-be85-9e65",
"auth": "5fad36c048eb98563d08a8bdf65ffa1c",
"licensealias": "9360-0823-4021-9944-6896",
"statuscode": 19,
"createtime": "2017-05-05 11:46:20",
"lastmodifytime": 1504765707,
"pcname": "噢-oray-PC180",
"name": "oray-PC180",
"osname": "UnKnown",
"cpu": "Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "4012MB",
"version": "9.1.0.53088",
"versioncode": "53088",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "UnKnown"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 20567128,
"mac": "00:50:56:C0:00:01;F8:BC:12:96:9E:96",
"ownerid": 12564122,
"userid": 12564122,
"code": "4c6d-706e-cba4-073f",
"auth": "a3cac768466f4c648f2773a20427977e",
"licensealias": "3781-5705-4761-9070-6806",
"statuscode": 19,
"createtime": "2017-03-02 17:43:36",
"lastmodifytime": 1488448256,
"pcname": "GZ-1152",
"name": "a--GZ-1152",
"osname": "Microsoft Windows 10",
"cpu": "Intel(R) Pentium(R) CPU G3240 @ 3.10GHz",
"memory": "8108MB",
"version": "9.0.1.47328",
"versioncode": "47328",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows 10 专业版"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 20567376,
"mac": "00:0C:29:D6:09:36",
"ownerid": 12564122,
"userid": 12564122,
"code": "d252-2ac7-2845-7211",
"auth": "270a7bd624d01a704f66aa470f1ae606",
"licensealias": "0403-9453-6220-1131-2499",
"statuscode": 11,
"createtime": "2017-03-02 18:11:29",
"lastmodifytime": 1509092044,
"pcname": "ORAY-C6C1DF5EC7",
"name": "V--XP",
"osname": "Microsoft Windows XP Professional",
"cpu": "Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "511MB",
"version": "9.5.0.24429",
"password": "",
"memo": "-",
"versioncode": "24429",
"tagids": [
{
"tagid": 11464,
"userid": 12564122,
"name": "test分发4",
"bgcolor": "#335cad",
"orderid": 28,
"remotenum": 0,
"createtime": "2017-03-22 15:42:08",
"tagname": "test分发4"
}
],
"description": "",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows XP Professional"
}
},
"ispublic": false,
"isowner": true
},
{
"remoteid": 22924711,
"mac": "00-00-00-00-00-00",
"ownerid": 12564122,
"userid": 12564122,
"code": "8048-33ec-a8f5-8f02",
"auth": "fc073ece8f0e5a4b25fac8ccb8b3a744",
"licensealias": "1792-8080-4779-9395-3179",
"statuscode": 19,
"createtime": "2017-11-10 16:51:21",
"lastmodifytime": 1510303888,
"pcname": "LIMAN啊啊啊ORAY",
"name": "413957172",
"osname": "Microsoft Windows 10",
"cpu": "Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "8108MB",
"version": "9.5.0.55037",
"versioncode": "55037",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows 10 专业版"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 22924664,
"mac": "00-00-00-00-00-00",
"ownerid": 12564122,
"userid": 12564122,
"code": "ef0f-bb55-e706-9ec7",
"auth": "60143b0f2e136cb79bae824ce427ae1a",
"licensealias": "5629-6651-9789-0002-1047",
"statuscode": 19,
"createtime": "2017-11-10 16:46:41",
"lastmodifytime": 1510303611,
"pcname": "LIMAN啊啊啊ORAY",
"name": "567909132",
"osname": "Microsoft Windows 10",
"cpu": "Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "8108MB",
"version": "9.5.0.55037",
"versioncode": "55037",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows 10 专业版"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 22924437,
"mac": "00-00-00-00-00-00",
"ownerid": 12564122,
"userid": 12564122,
"code": "fe9c-602f-ec75-cf60",
"auth": "adb580cea2ad1ac861a18dff26edf0a8",
"licensealias": "6137-9270-7002-3656-4112",
"statuscode": 19,
"createtime": "2017-11-10 16:28:29",
"lastmodifytime": 1510302516,
"pcname": "LIMAN啊啊啊ORAY",
"name": "870521780",
"osname": "Microsoft Windows 10",
"cpu": "Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "8108MB",
"version": "9.5.0.55037",
"versioncode": "55037",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows 10 专业版"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 22924362,
"mac": "00-00-00-00-00-00",
"ownerid": 12564122,
"userid": 12564122,
"code": "cd07-2d01-3d66-d252",
"auth": "1249d97b2d04d7a78f3adc41da1d4c3e",
"licensealias": "8393-7724-6272-8113-6123",
"statuscode": 19,
"createtime": "2017-11-10 16:22:09",
"lastmodifytime": 1510302135,
"pcname": "LIMAN啊啊啊ORAY",
"name": "257868787",
"osname": "Microsoft Windows 10",
"cpu": "Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "8108MB",
"version": "9.5.0.55037",
"versioncode": "55037",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows 10 专业版"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 22924252,
"mac": "00-00-00-00-00-00",
"ownerid": 12564122,
"userid": 12564122,
"code": "49e3-187d-e028-f66e",
"auth": "ef5695913fbc43880b9b59d7bd87bd62",
"licensealias": "2954-3191-0515-2214-7704",
"statuscode": 19,
"createtime": "2017-11-10 16:12:59",
"lastmodifytime": 1510301586,
"pcname": "LIMAN啊啊啊ORAY",
"name": "292717793",
"osname": "Microsoft Windows 10",
"cpu": "Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "8108MB",
"version": "9.5.0.55037",
"versioncode": "55037",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows 10 专业版"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 22907778,
"mac": "00:0c:29:d0:24:d6",
"ownerid": 12564122,
"userid": 12564122,
"code": "10b0-b452-d3f2-58bb",
"auth": "b21792ece5aad457c2f592045e47d555",
"licensealias": "9534-2570-7157-5474-3056",
"statuscode": 67,
"createtime": "2017-11-08 19:30:40",
"lastmodifytime": 1510279082,
"pcname": "ORAY-A9EF3B44EF",
"name": "oray-a9ef3b44ef",
"osname": "Microsoft Windows XP Professional",
"cpu": "Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "511MB",
"version": "9.5.0.55037",
"versioncode": "55037",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows XP Professional"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 22898608,
"mac": "00-00-00-00-00-00",
"ownerid": 12564122,
"userid": 12564122,
"code": "2770-1f89-89e9-00f4",
"auth": "d4943dba678efe46efebd3bd464f8166",
"licensealias": "1462-2824-0576-8825-3194",
"statuscode": 11,
"createtime": "2017-11-07 19:23:08",
"lastmodifytime": 1510053946,
"pcname": "LIMAN啊啊啊ORAY",
"name": "helloOray看来",
"osname": "Microsoft Windows 10",
"cpu": "Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "8108MB",
"version": "9.5.0.55037",
"versioncode": "55037",
"description": "都是",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows 10 专业版"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 22905018,
"mac": "00-00-00-00-00-00",
"ownerid": 12564122,
"userid": 12564122,
"code": "bc65-6046-7d41-ca5b",
"auth": "a74fe38ddae6dea7a7d016933e909796",
"licensealias": "5137-6933-6641-2119-4474",
"statuscode": 19,
"createtime": "2017-11-08 14:42:57",
"lastmodifytime": 1510133361,
"pcname": "LIMAN啊啊啊ORAY",
"name": "236751764",
"osname": "Microsoft Windows 10",
"cpu": "Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "8108MB",
"version": "9.5.0.55037",
"versioncode": "55037",
"description": "",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows 10 专业版"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 21014858,
"mac": "78:45:C4:22:31:CA",
"ownerid": 12564122,
"userid": 12564122,
"code": "ca3b-ec2c-fb2a-f0b0",
"auth": "22192b6da924cb4db3fd5cb878bb287a",
"licensealias": "6217-7327-4559-9112-2464",
"statuscode": 27,
"createtime": "2017-04-20 16:51:33",
"lastmodifytime": 1510054001,
"pcname": "xuxr-PC",
"name": "xuxr-PC",
"osname": "UnKnown",
"cpu": "Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz",
"memory": "6126MB",
"version": "9.1.0.53088",
"password": "",
"versioncode": "53088",
"description": "111",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "UnKnown"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 20607430,
"mac": "00-00-00-00-00-00",
"ownerid": 12564122,
"userid": 12564122,
"code": "16cd-846a-739f-5493",
"auth": "78eea6ebf8b0263802a308ffc2ec705e",
"licensealias": "0768-6222-2216-4362-5559",
"statuscode": 11,
"createtime": "2017-03-07 11:21:14",
"lastmodifytime": 1492672157,
"pcname": "DESKTOP-VOELEN2",
"name": "主机01",
"osname": "Microsoft Windows 10",
"cpu": "Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz",
"memory": "8087MB",
"version": "9.0.1.47328",
"versioncode": "47328",
"tagids": [
{
"tagid": 11355,
"userid": 12564122,
"name": "有能开的机器",
"bgcolor": "#3385d6",
"orderid": 27,
"remotenum": 0,
"createtime": "2017-03-08 11:42:28",
"tagname": "有能开的机器"
}
],
"description": "",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows 10 专业版"
}
},
"ispublic": false,
"isowner": true
},
{
"remoteid": 22824763,
"mac": "00:0c:29:49:83:f7",
"ownerid": 12564122,
"userid": 12564122,
"code": "44e9-55aa-9a07-ff77",
"auth": "36648a7f07e430419080352ceacb45d4",
"licensealias": "4840-8010-4444-8882-4864",
"statuscode": 67,
"createtime": "2017-10-30 15:55:00",
"lastmodifytime": 1510133290,
"pcname": "Liman???Ora",
"name": "UnKnown",
"osname": "UnKnown",
"cpu": "Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "511MB",
"version": "9.1.0.53088",
"versioncode": "53088",
"description": "",
"client": "SLRC_WINDOWS",
"mainip": "61.142.176.46",
"ip": "101.81.7.180",
"state": 0,
"fastcode": "707974107",
"isonline": false,
"remoteaddr": "https://22824763-8de5s2eb08e3d.rc03.oray.com/cgi-bin/login.cgi",
"logintime": 1521962911,
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "UnKnown"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 21025039,
"mac": "A2:45:8B:5A:B9:84;00:1C:23:28:06:47",
"ownerid": 12564122,
"userid": 12564122,
"code": "0d6c-9ff3-0092-aad0",
"auth": "533be173b43a4a892588ffa2f040846a",
"licensealias": "7293-1202-8353-2454-6944",
"statuscode": 11,
"createtime": "2017-04-21 17:11:04",
"lastmodifytime": 1496816315,
"pcname": "sh-su-001",
"name": "D630-可开机",
"osname": "Microsoft Windows XP Professional",
"cpu": "Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz",
"memory": "1533MB",
"version": "9.0.2.48501",
"versioncode": "48501",
"description": "",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": true,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows XP Professional"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 20737253,
"mac": "F0:DE:F1:C9:86:D8;10:0B:A9:7B:D9:28",
"ownerid": 12564122,
"userid": 12564122,
"code": "8fd9-49d7-2af3-8c11",
"auth": "907db00e88eda7c719c0b2d00ca0c4ef",
"licensealias": "2279-9480-4322-8717-6352",
"statuscode": 67,
"createtime": "2017-03-22 14:48:36",
"lastmodifytime": 1492672158,
"pcname": "嗨ORAY-IT-电脑-X220",
"name": "嗨ORAY-IT-电脑-X220",
"osname": "Microsoft Windows 7",
"cpu": "Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz",
"memory": "8075MB",
"version": "9.0.2.48501",
"password": "",
"versioncode": "48501",
"tagids": [
{
"tagid": 11464,
"userid": 12564122,
"name": "test分发4",
"bgcolor": "#335cad",
"orderid": 28,
"remotenum": 0,
"createtime": "2017-03-22 15:42:08",
"tagname": "test分发4"
}
],
"description": "免费",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows 7 旗舰版 "
}
},
"ispublic": false,
"isowner": true
},
{
"remoteid": 20504023,
"mac": "08:11:96:7C:41:3C;F0:DE:F1:93:39:21",
"ownerid": 12564122,
"userid": 12564122,
"code": "9ac7-1dd9-20b9-5c64",
"auth": "11f6d777ef28d1173b994838694813a4",
"licensealias": "0019-4053-7527-8286-7919",
"statuscode": 19,
"createtime": "2017-02-23 14:41:48",
"lastmodifytime": 1488250029,
"pcname": "徐DESKTOP-XHJ",
"name": "徐DESKTOP-XHJ",
"osname": "Microsoft Windows 10",
"cpu": "Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz",
"memory": "3979MB",
"version": "9.0.2.47328",
"versioncode": "47328",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows 10 企业版"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 20753526,
"mac": "00:25:7B:1D:00:00",
"ownerid": 12564122,
"userid": 12564122,
"code": "aacb-a898-64d2-e820",
"auth": "bad3b7a5a01b813fac1d58adc01c00b2",
"licensealias": "8686-1057-6445-8925-4220",
"statuscode": 27,
"createtime": "2017-03-24 10:47:42",
"lastmodifytime": 1492672158,
"pcname": "oray_test呵呵呵",
"name": "oray_test哈哈哈",
"osname": "Microsoft Windows 10",
"cpu": "Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz",
"memory": "1986MB",
"version": "9.0.1.47328",
"password": "",
"versioncode": "47328",
"tagids": [
{
"tagid": 11464,
"userid": 12564122,
"name": "test分发4",
"bgcolor": "#335cad",
"orderid": 28,
"remotenum": 0,
"createtime": "2017-03-22 15:42:08",
"tagname": "test分发4"
}
],
"description": "",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows 10 家庭版"
}
},
"ispublic": false,
"isowner": true
},
{
"remoteid": 21342098,
"mac": "A2:45:8B:5A:B9:84;00:1F:3A:9A:ED:E5;00:1C:23:28:06:47",
"ownerid": 12564122,
"userid": 12564122,
"code": "37d1-bc0f-7e13-60fe",
"auth": "e32ba1c80fcd75306bb96b1b1dc6d84b",
"licensealias": "4963-1330-2212-8186-6825",
"statuscode": 11,
"createtime": "2017-05-27 17:01:23",
"lastmodifytime": 1495875743,
"pcname": "sh-su-001",
"name": "sh-su-001",
"osname": "Microsoft Windows XP Professional",
"cpu": "Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz",
"memory": "1533MB",
"version": "9.0.2.48501",
"versioncode": "48501",
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows XP Professional"
}
},
"ispublic": false,
"tagids": [
""
],
"isowner": true
},
{
"remoteid": 20495919,
"mac": "00:0C:29:ED:AA:73",
"ownerid": 12564122,
"userid": 12564122,
"code": "342f-fd27-86dc-1a7c",
"auth": "571f5b7cca4ce947e206b7d601eb0957",
"licensealias": "6828-1174-7049-6736-4064",
"statuscode": 27,
"createtime": "2017-02-22 17:01:08",
"lastmodifytime": 1490855797,
"pcname": "wang-win7",
"name": "wang-win7",
"osname": "Microsoft Windows 7",
"cpu": "Intel(R) Core(TM) i3-4170 CPU @ 3.70GHz",
"memory": "1023MB",
"version": "9.0.1.47328",
"versioncode": "47328",
"tagids": [
{
"tagid": 11355,
"userid": 12564122,
"name": "有能开的机器",
"bgcolor": "#3385d6",
"orderid": 27,
"remotenum": 0,
"createtime": "2017-03-08 11:42:28",
"tagname": "有能开的机器"
}
],
"client": "SLRC_WINDOWS",
"expiredate": 0,
"devicewakeup": false,
"wakeupsupport": false,
"isonline": false,
"wakeupenable": false,
"monitorstatus": false,
"hostinfo": {
"envs": {
"target": "window",
"os": "Microsoft Windows 7 家庭普通版 "
}
},
"ispublic": false,
"isowner": true
}
],
"count": 34,
"limit": 200
},
"message": "success",
"success": true
}
Path: /basic
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
remoteid | 是 | 123 | d |
{
"data": {
"remoteid": 668736,
"mac": "00-00-00-00-00-00",
"ownerid": 904448,
"userid": 904448,
"code": "152d-d348-0913-c1ca",
"auth": "e768c6db28cdb9535167396faf7c235b",
"licensealias": "1034-4270-3099-3630-4700",
"statuscode": 11,
"createtime": "2016-06-13 19:39:51",
"lastmodifytime": 1465874330,
"pcname": "WIN-4U8E8G43MV2",
"name": "销售-天况",
"osname": "Microsoft Windows Server 2008 R2 Enterprise",
"cpu": "Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz",
"memory": "4095MB",
"version": "8.5.0.40005",
"versioncode": "40005",
"description": "",
"key": "1034-4270-3099-3630-4700",
"isowner": true
},
"message": "success",
"success": true
}
Path: /log
Method: GET
接口描述:
undefined
Path: /info
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
remoteid | 是 | 22844279 | 设备id |
{
"data": {
"vpnip": "173.92.147.120",
"networks": [],
"configs":{
"isservice":0,
"isstartup":1,
"isnotify":1,
"password":"",
"islock":"",
},
"powerplan": {},
"poweronrules": {},
"shutdownrules": {},
"devicedata": "1",
"remoteDevice": 0
},
"message": "",
"success": true
}
Path: /service/getservice
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
remoteid | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
remoteid | text | 是 | 主机的id |
{
"success": true,
"message": "获取成功",
"data":{
"used": 1,
"type": 'yum',
"service":{
"account":null,
"amount":1,
"associate":"",
"baseprice":158,
"channellimit":null,
"classid":312,
"createtime":1488441442,
"expiredate":1519977422,
"expiredays":-21,
"isautorenew":false,
"isdeal":true,
"isvalid":true,
"items":null,
"itemset":"custom",
"name":"向日葵软件云监控7天回放",
"period":1,
"price":158,
"serviceid":11872533,
"servicename":"向日葵软件云监控7天回放",
"sn":"3122017030215570293842",
"stidreg":13041,
"stidrenew":13042,
"sum":158,
"sysserviceid":13041,
"unit":"y",
"updatetime":1488441442,
"userid":2939535
}
}
}
Path: /remotemgr/share
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
accounts | text | 是 | 帐号名称 | |
remoteid | text | 是 | 主机id | |
model | text | 是 | 共享的功能 |
{
"success":true,
"message":'共享成功',
"data":{
"account":['oraytest011'],
"html":'<tr data-id="81553"><td>ddd</td><td align="left" data-name="model_81553"><span style="display: block;" data-name="model-list-81553"><span data-vaule="desktopview">桌面观看</span><span data-vaule="camera">远程摄像头</span><span data-vaule="file">远程文件</span><span data-vaule="cmd-ssh">CMD/SSH</span><span data-vaule="remote">远程管理</span></span><span style="display: none;" data-name="model-update-81553"><select name="" class="fm-text" style="width: 320px" id="model_81553"><option data-all="true" value="all">全部功能</option><option value="desktop">桌面控制</option><option data-selected="true" value="camera">远程摄像头</option><option data-selected="true" value="file">远程文件</option><option data-selected="true" value="cmd-ssh">CMD/SSH</option><option data-selected="true" value="remote">远程管理</option><option data-selected="true" value="desktopview">桌面观看</option></select></span></td><td align="right"><a href="javascript:void(0);" class="link" data-name="update-share" data-userid="81553" style="display: inline-block;">修改</a><a href="javascript:void(0);" class="link" data-name="save-share" data-userid="81553" data-account="ddd" style="display: none">保存</a><a href="javascript:void(0);" class="link" data-name="share-delete" style="margin-left: 10px;" data-userid="81553">删除</a><a href="javascript:void(0);" class="link" data-name="share-cancle" style="margin-left: 10px;display: none" data-userid="81553">取消</a></td></tr>',
"model":["desktopview", "camera", "file", "cmd-ssh", "remote"],
"remoteid":"24602290",
"userid":81553
}
}
Path: /change?userid=13820021&callback=https://sunlogin.oray.com/console/remote/
Method: GET
接口描述:
Path: /tag/delete
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
tagid | 是 | 标签的id |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
tagid | text | 是 | 标签的id |
{
"success": true,
"message":'标签删除成功'
}
Path: /tag/remove
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
remoteid | text | 是 | 主机id | |
tagid | text | 是 | 标签id |
{
"success": true,
"message": '删除标签成功'
}
Path: /remotemgr/deleteshare
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
remoteid | text | 是 | 主机的id | |
shareuserid | text | 是 | 共享给的帐号的用户id |
{
"success": true,
"message": "取消共享成功"
}
Path: /domain
Method: GET
接口描述:
{
"data": {
"domains": [
{
"domainname": "7g777.xrk.top",
"isbind": 1,
"remoteid": 668730
},
{
"domainname": "555uuu.xrk.top",
"isbind": 1,
"remoteid": 668736
},
{
"domainname": "wwwaaa.xrk.top",
"isbind": 1,
"remoteid": 668730
},
{
"domainname": "777111.xrk.top"
},
{
"domainname": "88888i8.xrk.top"
}
],
"domainurl": {
"remoteid": 668730,
"domainname": "7g777.xrk.top",
"remotename": "财务-美芳"
}
},
"message": "success",
"success": true
}
Path: /users
Method: GET
接口描述:
{
"data": [
{
"userid": 13705615,
"nick": "",
"parentid": 0,
"account": "myusername",
"amount": 13,
"password": "",
"statuscode": 71,
"sysserviceid": 13052,
"serviceid": 5470383,
"isautorenew": 0,
"expiredate": 1553961600,
"channellimit": "",
"customizeservice": ""
},
{
"userid": 13705616,
"nick": "",
"parentid": 0,
"account": "myusername1",
"amount": 13,
"password": "",
"statuscode": 71,
"sysserviceid": 13021,
"serviceid": 5470385,
"isautorenew": 0,
"expiredate": 1553961600,
"channellimit": "",
"customizeservice": "",
"currentAccount": true
},
{
"userid": 13705617,
"nick": "",
"parentid": 0,
"account": "myusername2",
"amount": 13,
"password": "",
"statuscode": 71,
"sysserviceid": 13052,
"serviceid": 5470386,
"isautorenew": 0,
"expiredate": 1553961600,
"channellimit": "",
"customizeservice": ""
},
{
"userid": 13705618,
"nick": "",
"parentid": 0,
"account": "myusername3",
"amount": 13,
"password": "",
"statuscode": 71,
"sysserviceid": 310005,
"serviceid": 5470387,
"isautorenew": 0,
"expiredate": 1553961600,
"channellimit": "",
"customizeservice": ""
},
{
"userid": 5,
"nick": "",
"parentid": 0,
"account": "myusername4",
"amount": 13,
"password": "",
"statuscode": 71,
"sysserviceid": 320002,
"serviceid": 5470388,
"isautorenew": 0,
"expiredate": 1553961600,
"channellimit": "",
"customizeservice": ""
}
],
"message": "",
"success": true
}
Path: /export
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
user | 是 | username | 待定 |
Path: /remote/check-expiredate
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
{
"success": false,
"message": '6666',
"data":{
"isexpired":true,
"renewdate":"2018-02-01",
"exceedcount":false,
"keepingdate":"2018-02-02",
"count": 101
}
}
Path: /adv
Method: GET
接口描述:
{
"data": {
"title": "向日葵控制台首页—葵域名广告",
"url": "http://sunlogin.oray.com/console/share/listdomain?icn=sunlogin_listdomain&ici=sunlogin_console_home_banner",
"style": "background-color:#fff; position:relative;width:100%;height:100%;max-height:500px;",
"picurl": "//upload.orayer.com/upload/help/1709/201709071649275814.jpg"
},
"message": "success",
"success": true
}
Path: /remotemgr/public
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
remoteid | text | 是 | 主机id |
{
"success": true,
"message": "开启域名访问成功",
"data": {
"isvalid": 1,
"remoteid": 21025039,
"shareid": 451134
}
}
Path: /share/openShare
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
remoteid | text | 是 | 主机id |
{
"success": true,
"message": "成功"
}
Path: /batchboot/checkRemoteStatus
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
remoteid[] | text | 是 | 主机id |
{
"success": true,
"message": "成功"
}
Path: /monitor/updatepaytype
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
updatePayType | text | 是 | 随机数 | |
type | text | 是 | 支付类型 | |
orderid | text | 是 | sn码 |
{
"success": true,
"message": "更新成功"
}
Path: /tags
Method: GET
接口描述:
{
"data": [
{
"tagid": 1382, //标签id
"userid": 904448, //用户id
"tagname": "标签", //标签名称
"bgcolor": "#cc0000", //标签颜色
"orderid": 1, //排序id
"remotenum":0, //被多少台主机使用?
"createtime":"2011-08-04 18:22:22",
},
{
"tagid": 1383,
"userid": 904448,
"tagname": "标签1",
"bgcolor": "#cc0000",
"orderid": 2,
"remotenum":0,
"createtime":"2011-08-04 18:22:23",
},
{
"tagid": 2631,
"userid": 904448,
"tagname": "标签2",
"bgcolor": "#ff8a56",
"orderid": 2,
"remotenum":0,
"createtime":"2011-08-04 18:22:23",
},
{
"tagid": 2632,
"userid": 904448,
"tagname": "标签2",
"bgcolor": "#ff8a56",
"orderid": 2,
"remotenum":0,
"createtime":"2011-08-04 18:22:23",
},
{
"tagid": 2633,
"userid": 904448,
"tagname": "标签2",
"bgcolor": "#ff8a56",
"orderid": 2,
"remotenum":0,
"createtime":"2011-08-04 18:22:23",
},
{
"tagid": 2634,
"userid": 904448,
"tagname": "标签2",
"bgcolor": "#ff8a56",
"orderid": 2,
"remotenum":0,
"createtime":"2011-08-04 18:22:23",
},
{
"tagid": 2635,
"userid": 904448,
"tagname": "标签2",
"bgcolor": "#ff8a56",
"orderid": 2,
"remotenum":0,
"createtime":"2011-08-04 18:22:23",
},
{
"tagid": 2636,
"userid": 904448,
"tagname": "标签2",
"bgcolor": "#ff8a56",
"orderid": 2,
"remotenum":0,
"createtime":"2011-08-04 18:22:23",
},
{
"tagid": 2637,
"userid": 904448,
"tagname": "标签2",
"bgcolor": "#ff8a56",
"orderid": 2,
"remotenum":0,
"createtime":"2011-08-04 18:22:23",
},
{
"tagid": 2638,
"userid": 904448,
"tagname": "标签2",
"bgcolor": "#ff8a56",
"orderid": 2,
"remotenum":0,
"createtime":"2011-08-04 18:22:23",
},
{
"tagid": 2639,
"userid": 904448,
"tagname": "标签2",
"bgcolor": "#ff8a56",
"orderid": 2,
"remotenum":0,
"createtime":"2011-08-04 18:22:23",
},
{
"tagid": 2640,
"userid": 904448,
"tagname": "标签2",
"bgcolor": "#ff8a56",
"orderid": 2,
"remotenum":0,
"createtime":"2011-08-04 18:22:23",
}
],
"message": "",
"success": true
}
Path: /monitor/checkorder
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
sn | 是 | sn码{} |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
sn | text | 是 | sn码 |
{
"success": true,
"message": '支付成功'
}
Path: /share/share
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
remoteid | text | 是 | 主机id |
{
"success": true,
"data": {
"hasdomain": 1,
"domainlist": [
{
"domainname": "42342.xrk.top"
},
{
"domainname": "12344444.xrk.top",
"isbind": 1,
"remoteid": 23547964
},
{
"domainname": "wozaiceshine.xrk.top"
},
{
"domainname": "baikittest001.xrk.top"
},
{
"domainname": "baikittest003.xrk.top"
},
{
"domainname": "baikittest002.xrk.top"
},
{
"domainname": "baikittest004.xrk.top"
},
{
"domainname": "baikitnew001.xrk.top"
},
{
"domainname": "cccccccc.xrk.top"
}
]
}
}
Path: /share/getBindRemote
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
domain | text | 是 | 域名名称 |
{
"success": true,
"data":{
"domainname": '12344444.xrk.top',
"remoteid":23547964,
"remotename": "default"
}
}
Path: /service
Method: GET
接口描述:
用来判断一些用户的功能权限
{
"data": {
"service": {
"serviceid": 9191087,
"sn": "92016032311154963489",
"associate": "",
"sysserviceid": 310003,
"classid": 9,
"servicename": "向日葵软件旗舰版",
"name": "向日葵软件旗舰版",
"userid": 13705615,
"price": 398,
"baseprice": 398,
"period": 1,
"unit": "y",
"amount": 44,
"sum": 980,
"isvalid": true,
"isdeal": true,
"isautorenew": false,
"stidreg": 3100031,
"stidrenew": 3100032,
"expiredate": 1553961600,
"createtime": 1458702967,
"expiredays": 369,
"items": null,
"itemset": "custom",
"account": null,
"channellimit": null,
"updatetime": 1459227336
},
"userinfo": {
"userid": 12564122,
"account": "oraytest011",
"nick": "",
"contact": "宁波悦弘网络科技有限公司",
"email": "011@qq.com",
"mobile": "15698562354",
"parentid": 1106277,
"dialnum": null,
"statuscode": 1,
"memo": "",
"regdate": 1416821554,
"credit": 0,
"largess": 0,
"point": 4431,
"smsamount": 0,
"isenable": 1,
"islock": null,
"isenterprise": true,
"ispm": null,
"isagent": null,
"isdevice": false,
"agenttype": null,
"partnerid": null,
"isactivate": false,
"isrealname": false,
"isfinishedreg": false,
"isnewuser": false,
"lastlogintime": 1522116560,
"lastloginip": "192.168.30.137 ",
"zone": "",
"bindmobile": null,
"bindemail": null,
"rnd": "gKB1KgIAOVbgh6RQ"
}
},
"message": "success",
"success": true
}
Path: /share/bindDomain
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
domain | text | 是 | 域名名称 | |
remoteid | text | 是 | 主机id |
{
"success": true,
"message": "成功",
"data": {
"domain": "baikittest003.xrk.top"
}
}
Path: /remote/status
Method: GET
接口描述:
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
remoteid | 是 | 23360813 |
{
"23360813": {
"state": "",
"ip": "",
"mainip": "",
"fastcode": "",
"logintime": "",
"remoteaddr": ""
}
}
Path: /monitor/buymonitor
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
userid | text | 是 | 用户id | |
serviceid | text | 是 | 服务id | |
unit | text | 是 | 单位 | |
period | text | 是 | 年限 |
{
"success": true,
"message":'订单保存成功',
"data":{
"sn":"3122018032321062771390",
"paysum": 444
}
}
Path: /monitor/create
Method: POST
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
remoteid | text | 是 | 主机id | |
account | text | 是 | windos帐号名称 | |
password | text | 是 | 密码 | |
type | text | 是 | 验证方式{} |
{
"success": true,
"message": '云监控开启成功'
}
Path: /advertisement
Method: GET
接口描述:
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 | application/x-www-form-urlencoded |
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
key | 是 | SUNLOGIN_HOME_BUYBANNER | 广告标识 |
limit | 否 | 3 | 广告图数量 |
{
"advertisementid": 257,
"title": "向日葵首页_搭建向日葵会议室",
"description": "",
"url": "http://url.oray.com/cqIJds",
"target": "_blank",
"medias": {
"width": 3840,
"height": 2160,
"url": "//upload-cdn.oray.com/upload/help/1803/201803061623254188.jpg"
},
"createtime": "2018-03-02 16:54:58",
"expiretime": null
}
Path: /share/domainlist
Method: GET
接口描述:
获取用户所有的葵域名
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
userid | 否 | 用户ID,空则取cookie |
[
{
"domainname": "ccccc.xrk.top",
"remoteid": 3244353 // 绑定的主机id,没有则为null
}
]