Skip to main content
Skip table of contents

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, 
DNS1, 
DNS2

"IPAddress": "192.168.2.228",
"SubnetMask": "255.255.255.0",
"Gateway": "192.168.2.1",
"DNS1": "8.8.8.8",
"DNS2": "8.8.4.4"

n/a

/network/get

Get

none

n/a

"IPAddress": "192.168.2.228",
"SubnetMask": "255.255.255.0",
"Gateway": "192.168.2.1",
"DNS1": "8.8.8.8",
"DNS2": "8.8.4.4",
"IsStatic": "true"

/rtsp/resolutions

Get

none

n/a

n/a

/rtsp/update

(See example Image below)

Post

List of string values: 

StreamingBitrate, StreamingResolution

"StreamingBitrate": "10000",
"StreamingResolution": "1920x1080"

"StreamingBitrate": "5000",
"StreamingResolution": "1280x720"

n/a

/rtsp/get

Get

none

n/a

"StreamingBitrate": "10000",
"StreamingResolution":"1920x1080"

"StreamingBitrate": "5000",
"StreamingResolution": "1280x720"

Examples Using Postman and API Command

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.