Rayfin REST API for v4
REST uses a different architecture than the Rayfin Scripting API. You need to download Postman to send commands with the REST API.
REST API base address: http://{camera_IP_Address}:8080/api
Request Address | Verb | Request Body | Body Example { } | Return Body Example { } |
/network/enabledhcp | Get | none | n/a | n/a |
/network/enablestatic | Post | List of string values: IPAddress, SubnetMask, Gateway, | "IPAddress": "192.168.2.228", | n/a |
/network/get | Get | none | n/a | "IPAddress": "192.168.2.228", |
/rtsp/resolutions | Get | none | n/a | n/a |
/rtsp/update (See example Image below) | Post | List of string values: StreamingBitrate, StreamingResolution | "StreamingBitrate": "10000", | n/a |
/rtsp/get | Get | none | n/a | "StreamingBitrate": "10000", |
Examples Using Postman and API Command
Change the Rayfin Camera Resolution and Bitrate
/rtsp/update
Reboot a Rayfin Camera via its IP Address