Prerequisites#
Before calling the APIs, it is necessary to ensure the following environment:1.
Ensure proper communication between the PC and the device.
2.
Make sure that the device is not being occupied by VMP (we recommend clicking on a blank space in the device list to release the device).
Basic Steps for Use#
1.
Open a API tool of your choice.
2.
Find the information for the API you need to use.
3.
Call the API according to the documentation.
Explanation of Request Methods#
API request methods can be categorized as follows:GET Request#
For example, to retrieve screen information:
2. Find the relevant API endpoint, construct the URL using the IP address and port, change the request method to GET, then call the API to retrieve the results.PUT Request#
For example, to set the screen brightness, black screen, or freeze screen:
Screen brightness:1.
Open the API tool, set the request method to PUT and construct the URL using the IP address and port.
2.
Construct the JSON based on the documentation

3. Send the API request and check if it was successful.Black screen and freeze screen:1.
Open the API tool, set the request method to PUT and construct the URL using the IP address and port.

2. Construct the JSON based on the documentation
3. Send the API request and check if it was successful.POST Request#
For example, to apply a preset:1.
Open the API tool, set the request method to POST and construct the URL using the IP address and port.
2.
Construct the JSON based on the documentation
3.
Send the API request and check if it was successful.
Modified at 2024-07-26 07:25:47