[Control] Call Web Service by RESTful API

Presentation of the VideoWall includes: Control, Design and Scenarios.

Moderator: VideoWall Support

Post Reply
VideoWall Support
Posts: 15
Joined: Fri Nov 04, 2022 2:55 am

[Control] Call Web Service by RESTful API

Post by VideoWall Support »

Code: Select all

The restful api format:
    header :
          VW_Token : {security token}
    GET :
          http://{the VideoWall ip}:{port}/VW_SERVICE?VW_CMD={VW_CMD}
                or
          http://{the VideoWall ip}:{port}/VW_SERVICE?VW_CMD={VW_CMD}&VW_PARAM={VM_PARAM}

Sample : "To show page 1"
    VideoWall ip     : 10.15.1.85
    port                 : 10000
    security token  : 12345678
    The restful       :
                      header = {"VW_Token" : "12345678"}
                      GET: http://10.15.1.85:10000/VW_SERVICE?VW_CMD=N_PAGE&VW_PARAM=0


|------------+--------------------+------------------------------------------|
| VW_CMD     | VM_PARAM           | Note                                     |
|------------+--------------------+------------------------------------------|
| PLAY       | none               |                                          |
| FIRST      | none               |                                          |
| PREV       | none               |                                          |
| NEXT       | none               |                                          |
| LAST       | none               |                                          |
| EXIT       | none               |                                          |
| DEMO       | none               |                                          |
| MEDIA_PLAY | none               |                                          |
| MEDIA_MUTE | none               |                                          |
| N_PAGE     | the page number    | from 0 start to (max number of page - 1) |
| NAME_PAGE  | the page name      |                                          |
| RELOAD     | none               |                                          |
| HTTP_CFG   | the web CFG file   | format http://                           |
| FILE_CFG   | the local CFG file | format file://                           |
|------------+--------------------+------------------------------------------|
Best Regard,
VideoWall Support Team
Post Reply