Changes for page HTTPS API

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

From version 3.1
edited by Devin Chen
on 2025/11/27 09:34
Change comment: There is no comment for this version
To version 8.1
edited by Devin Chen
on 2026/03/12 13:51
Change comment: There is no comment for this version

Summary

Details

Page properties
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.
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)**
7 7  {{/warning}}
8 8  
9 9  = 1.Third-party account =
... ... @@ -12,20 +12,10 @@
12 12  
13 13  == 1.1 Create a third-party account ==
14 14  
15 -(% style="text-align:center" %)
16 -[[image:hj18xtdG0np.png||height="498" width="1200"]]
15 +Please refer to the link below to create a third-party account
17 17  
18 -(% style="text-align:center" %)
19 -[[image:PixPin_2025-07-09_11-27-51.png]]
17 +[[How to create a third-party account for V-net API>>doc:V-BOX.FAQ.How to create a third-party account for V-net API]]
20 20  
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.**
27 -{{/info}}
28 -
29 29  == 1.2 Assign device to third-party account ==
30 30  
31 31  1.choose the third-party account
... ... @@ -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&machineCode=V1400023040700790f5e19a1b55&mt=255&pid=1&sid=e95ae840f7f147718d2b7650abe6c05f&sv=1.0&ts=1750818494344&key=5cee621329f24e5cbdc43daa959ce9a1
331 +cuid=123456789&lan=zh&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":"f0889257ce45e561959928ba5475fbf1"
335 +"sign":"2be680121333bf3dc479958efae791e2"
346 346  
347 347  **Step4: ** Set wcommon of header
348 348  
349 -{"dap":"","cuid":"123456789","sv":"1.0","mt":"255","lan":"zh","sign":"f0889257ce45e561959928ba5475fbf1","pid":"1","ts":1750818494344,"sid":"e95ae840f7f147718d2b7650abe6c05f"}
339 +{"dap":"","cuid":"123456789","sv":"1.0","mt":"255","lan":"zh","sign":"2be680121333bf3dc479958efae791e2","pid":"1","ts":1750818494344,"sid":"e95ae840f7f147718d2b7650abe6c05f"}
350 350  
351 351  [[image:1750906712204-462.png]]
352 352  
XWiki.XWikiRights[1]
Allow/Deny
... ... @@ -1,1 +1,0 @@
1 -Allow
Groups
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiAgentGroup
Levels
... ... @@ -1,1 +1,0 @@
1 -view