Changes for page HTTPS API

Last modified by Devin Chen on 2026/05/12 11:15

From version 7.1
edited by Devin Chen
on 2026/01/22 17:07
Change comment: There is no comment for this version
To version 1.1
edited by Wecon
on 2025/09/03 21:04
Change comment: Imported from XAR

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.DevinChen
1 +XWiki.Wecon
Content
... ... @@ -3,7 +3,7 @@
3 3  
4 4  
5 5  This standard defines Wecon's proprietary access protocol. Third-party API integration requires explicit authorization through our V-net V2.0 platform, with all API access strictly monitored and regulated. Wecon reserves all rights to interpret and modify these specifications without prior notice.
6 -\\To prevent API abuse,this feature will not be enabled by default for all users. **Access requires submitting an application**, with a monthly free quota of 10,000 times.**(This limitation is only for Wecon API motioned by in this manual)**
6 +\\To prevent API abuse,this feature will not be enabled by default for all users. Access requires submitting an application, with a monthly free quota of 10,000 times.
7 7  {{/warning}}
8 8  
9 9  = 1.Third-party account =
... ... @@ -19,11 +19,7 @@
19 19  [[image:PixPin_2025-07-09_11-27-51.png]]
20 20  
21 21  {{info}}
22 -Noted:
23 -
24 -~1. After clicking "OK", the third-party account password will no longer be visible. Please back it up promptly.
25 -
26 -2.** An admin account only allows to create one third-party account.**
22 +Noted:After clicking "OK", the third-party account password will no longer be visible. Please back it up promptly.
27 27  {{/info}}
28 28  
29 29  == 1.2 Assign device to third-party account ==
... ... @@ -48,10 +48,7 @@
48 48  == 2.1 Basic information ==
49 49  
50 50  * (((
51 -**Request url**:
52 -Asean: https:~/~/api.asean.v-iec.com/m16/{acturl}
53 -
54 -EU: https:~/~/api.eu.v-box.net/m16/{acturl}
47 +**Request url**: https:~/~/api.asean.v-iec.com/m16/{acturl}
55 55  )))
56 56  * (((
57 57  **Protocol: **https
... ... @@ -338,15 +338,15 @@
338 338  
339 339  **Step2:**  Get sign (Using the sid obtained from calling the login API;demonstrated here as "e95ae840f7f147718d2b7650abe6c05f")
340 340  
341 -cuid=123456789&lan=zh&mt=255&pid=1&sid=e95ae840f7f147718d2b7650abe6c05f&sv=1.0&ts=1750818494344&key=5cee621329f24e5cbdc43daa959ce9a1
334 +cuid=123456789&lan=zh&machineCode=V1400023040700790f5e19a1b55&mt=255&pid=1&sid=e95ae840f7f147718d2b7650abe6c05f&sv=1.0&ts=1750818494344&key=5cee621329f24e5cbdc43daa959ce9a1
342 342  
343 343  Put the whole string above encrypted by MD5, so will get the value of "sign" 
344 344  
345 -"sign":"2be680121333bf3dc479958efae791e2"
338 +"sign":"f0889257ce45e561959928ba5475fbf1"
346 346  
347 347  **Step4: ** Set wcommon of header
348 348  
349 -{"dap":"","cuid":"123456789","sv":"1.0","mt":"255","lan":"zh","sign":"2be680121333bf3dc479958efae791e2","pid":"1","ts":1750818494344,"sid":"e95ae840f7f147718d2b7650abe6c05f"}
342 +{"dap":"","cuid":"123456789","sv":"1.0","mt":"255","lan":"zh","sign":"f0889257ce45e561959928ba5475fbf1","pid":"1","ts":1750818494344,"sid":"e95ae840f7f147718d2b7650abe6c05f"}
350 350  
351 351  [[image:1750906712204-462.png]]
352 352  
XWiki.XWikiRights[4]
Allow/Deny
... ... @@ -1,1 +1,0 @@
1 -Allow
Levels
... ... @@ -1,1 +1,0 @@
1 -view
Users
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
XWiki.XWikiRights[1]
Allow/Deny
... ... @@ -1,0 +1,1 @@
1 +Allow
Groups
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiAgentGroup
Levels
... ... @@ -1,0 +1,1 @@
1 +view
XWiki.XWikiRights[5]
Allow/Deny
... ... @@ -1,0 +1,1 @@
1 +Deny
Levels
... ... @@ -1,0 +1,1 @@
1 +view
Users
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest