Concise description
- Please refer to the following notes for usage instructions
Request URL
{{adminHost:8181}}/renderServer/adminViewer
Request Method
- get
Request Query Parameters
Field Name | Sample | Required | Type | Note |
---|---|---|---|---|
targetServerIp | Yes | string | The IP address of the server that requires remote connection | |
loginId | Yes | string | Account (administrator permission account) | |
password | Yes | string | Management backend login password | |
adminKey | 603284317954637824 | Yes | string | This parameter is for backend management access credentials, which can be viewed in LarkXR3.3 backend access management. |
timestamp | 8641706679604867 | Yes | string | The timestamp when sending a request, in milliseconds |
signature | 9A02B47AE67664D80A2ED13FC2B1691512613790 | Yes | string | This parameter is the key signature. Sort the adminKey (viewed in LarkXR3.2 backend access management), adminSecret (viewed in LarkXR3.3 backend access management), and current timestamp (long value) in alphabetical order, and then perform SHA-1 summary signature. Please refer to the example of ‘ Obtain Voucher Signature ‘. |
Note
-
Splicing URLs
Const URL=”http://{LarkXR3.2 Management Server IP}: 8181/renderServer/adminViewer? TargetServerIp=”+renderServerIp+”&loginId=”+loginId+”&password=”+encodeURIComponent (renderServerPassword)+”&adminKey=”+adminKey+”timestamp=”+timestamp+”&signature=”+signature- Open the spliced URL. (Explanation: URLs can be opened in any way, with a tag redirecting to the URL, adding a button to click on an event redirecting to the URL, and so on)
Taking the dynamic creation of a tag to redirect to a URL as an example:
let link = document.createElement(‘a’);
link.setAttribute(‘href’, url);
document.body.appendChild(link);
link.click();
document.body.removeChild(link); - Open the spliced URL. (Explanation: URLs can be opened in any way, with a tag redirecting to the URL, adding a button to click on an event redirecting to the URL, and so on)