Changes for page 07 HTTP API
Last modified by Devin Chen on 2025/04/10 16:16
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -05 HTTP API1 +05 HTTP manual - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Hunter1 +XWiki.admin - Content
-
... ... @@ -92,7 +92,7 @@ 92 92 |**Function**|(% colspan="2" %)Login with username, email, phone number 93 93 |(% rowspan="3" %)**Parameters**|Items|Description 94 94 |alias|Username, email, phone number 95 -|password| 32bit password (MD5 encryption)95 +|password|Password (Encrypted with md5) 96 96 |(% rowspan="3" %)**Return value**|Items|Description 97 97 |utype|User Type: 1-Manage Account, 2-Viewer Account 98 98 |sid|User session ID ... ... @@ -102,31 +102,29 @@ 102 102 **Setp1: ** Set http: [[http:~~/~~/api.v-box.net/box-data/api/we-data/login>>url:http://api.v-box.net/box-data/api/we-data/login]] 103 103 104 104 (% style="text-align:center" %) 105 -[[image:V-BOX HTTP manual_html_78fa6b0e5f03b2f2.png||height="63" width="800" class="img-thumbnail"]]105 +[[image:V-BOX HTTP manual_html_78fa6b0e5f03b2f2.png||class="img-thumbnail" height="63" width="800"]] 106 106 107 107 **Setp2: ** Set parameters on Params 108 108 109 109 alias: weconuser 110 110 111 - password: 599a3c736c04e196c58a29f43778f7ea( The md5 encryption result ofWecon159)111 + password: 599a3c736c04e196c58a29f43778f7ea(Wecon159) 112 112 113 113 (% style="text-align:center" %) 114 -[[image:V-BOX HTTP manual_html_563261d83c8f3530.png||height="250" width="700" class="img-thumbnail"]]114 +[[image:V-BOX HTTP manual_html_563261d83c8f3530.png||class="img-thumbnail" height="250" width="700"]] 115 115 116 116 **Step3:** Get sign 117 117 118 118 alias=weconuser&comid=2&compvtkey=589625dce895454dbff9782c299db156&password=599a3c736c04e196c58a29f43778f7ea&ts=1573897380&key=f1cd9351930d4e589922edbcf3b09a7c 119 119 120 - Put the whole string above encrypted byMD5,so will get thevalueof"sign"120 +MD5 value: 997513ff1320862f0cbb9ce19d0bd253 121 121 122 -"sign":"997513ff1320862f0cbb9ce19d0bd253" 123 - 124 124 **Step4: ** Set common of header 125 125 126 126 {"comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"997513ff1320862f0cbb9ce19d0bd253"} 127 127 128 128 (% style="text-align:center" %) 129 -[[image:V-BOX HTTP manual_html_cbfc9bbb7d0d4f84.png||height="230" width="700" class="img-thumbnail"]]127 +[[image:V-BOX HTTP manual_html_cbfc9bbb7d0d4f84.png||class="img-thumbnail" height="230" width="700"]] 130 130 131 131 ((( 132 132 **2.1.3 Result** ... ... @@ -153,7 +153,7 @@ 153 153 } 154 154 155 155 (% style="text-align:center" %) 156 -[[image:V-BOX HTTP manual_html_b00e7e6a00828e27.png||height="291" width="500" class="img-thumbnail"]]154 +[[image:V-BOX HTTP manual_html_b00e7e6a00828e27.png||class="img-thumbnail" height="291" width="500"]] 157 157 158 158 ((( 159 159 = **3 Service data APIs** =