Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Set Hostname of the Camera

URL

/rw/vision

Method

POST

URL Params

action=set-hostname Required

Data Params

name={camera-name} Required

host={host-name} Required

Success Response

NO_CONTENT(204)

see HTTP Status codes

Example Response

No content

Error Response

BAD_REQUEST(400)

FORBIDDEN(403)

Robot controller errors, see Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics -d "name=mycamera&host=hostname" -X POST "http://localhost/rw/vision?action=set-hostname"

Notes

A restart for the camera module is needed for the change to be visible. Switch Off and switch On the camera modeule.

Not supported in bootserver mode