User Tools

Site Tools


api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
api [2023/05/08 18:44]
nightfly
api [2024/10/11 17:47] (current)
nightfly
Line 30: Line 30:
 |            | delete | cameraid | deletes specified camera | |            | delete | cameraid | deletes specified camera |
 |            | isregistered | ip    | checks is some camera is registered by IP on NVR or not? | |            | isregistered | ip    | checks is some camera is registered by IP on NVR or not? |
 +|            | isipportfree | ip+port   | checks is some camera IP+PORT free on NVR or not? |
 | users      | getall |      | returns array of all available users data | | users      | getall |      | returns array of all available users data |
 |            | create | login + password     | creates new limited user | |            | create | login + password     | creates new limited user |
Line 212: Line 213:
                     [channel] => kiqgdmrbma1                     [channel] => kiqgdmrbma1
                     [comment] => Here some camera description                     [comment] => Here some camera description
 +                    [realport] => Here is camera RTSP port that depends template or custom port if set
                 )                 )
  
Line 231: Line 233:
                     [name] => Default                     [name] => Default
                 )                 )
 +               
 +            [OPTS] => Array
 +                (
 +                    [id] => 1
 +                    [cameraid] => 57
 +                    [rtspport] => 666
 +                    [keepsubalive] => 0
 +                    [order] => 
 +                )   
  
         )         )
Line 301: Line 312:
 ) )
 </code> </code>
 +
 +
 +We hope it is clear how it works. You can also check out a sample implementation of this API at [[https://github.com/nightflyza/Ubilling/blob/master/api/libs/api.wolfrecorder.php|this link]].
  
api.1683560679.txt.gz ยท Last modified: 2023/05/08 18:44 by nightfly