Skip to main content
PUT
Change a camera

Authorizations

X-API-Key
string
header
required

A Streamloop API key (sl_…). It carries no workspace: send X-Workspace-Id too (400 WORKSPACE_REQUIRED otherwise).

Headers

X-Workspace-Id
string

The workspace to act in. Required with an API key; otherwise the session's own.

Path Parameters

id
string
required

The scene's id (scn_…)

Pattern: ^scn_
camera
string
required

Body

application/json
sourceId
string
url
string

rtsp://host[:port]/path, without credentials

username
string
password
string
transport
enum<string>
Available options:
tcp,
udp
camera
string

Test only: a saved camera whose settings fill what is left out

Response

The camera

id
string
sceneId
string
sourceId
string
url
string
username
string
hasPassword
boolean
transport
string
pullId
string
probe
object

The last test's result

hasSnapshot
boolean
updatedAt
string<date-time>