Getminplugins – Grandstream GXV3275 GMI Web Service Guide User Manual
Page 43
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 42 of 44
Return 0, normally it is not needed to return this value.
getMinPlugins
Description
Get a list of phone minimization program (GMI 6 to 8)
Parameters
N/A
Http Request
• URL: "http://" + ip +"/manager?"
• action: "phoneMem"
• jsoncallback: "?" (This is the HTTP request for the call back function,
usually used in AJAX and JQuery)
• For example:
http://192.168.121.230/manager?action=minPlugins
Return
Get via json with jsoncallback, the results should be:
jsoncallback(S), jsoncallback are callback Function names.
Return values are json type strings,list below:
{"res" : "success", "msg": "SetupGuide,SystemSetting"}
Minimized applications have setup wizard and system settings.
swipScreen(start_x, start_y, end_x,end_y, callbackFunction)
Description
Slide the screen (GMI 9)
Parameters
• start_x ------ Initial abscissa value
• start_y ------ Initial ordinate value
• end_x ------ End abscissa value
• end_y ------ End ordinate value
• callbackFunction: Call back function
Http Request
• URL: "http://" + ip +"/manager?"
• Action: "swipescreen"
• start_x: start_x
• start_y: start_y
• end_x: end_x
• start_y: start_y
• format: "json"
• jsoncallback: "?" (This is the HTTP request for the call back function,
usually used in AJAX and JQuery)
• For example:
"http://192.168.121.230/manager?action=swipescreen&start_x=400&
start_y=200&end_x=0&end_y=0&format=json& jsoncallback=?"