Skip to main content
PUT
/
api
/
cameras
/
{cameraId}
/
priority-key
Set priority key
curl --request PUT \
  --url http://{host}:{port}/api/cameras/{cameraId}/priority-key \
  --header 'Content-Type: application/json' \
  --data '
{
  "setting": "pc-remote"
}
'
{
  "success": true,
  "message": "<string>",
  "camera": {
    "connected": false,
    "model": "ILCE-7M4",
    "id": "D06CE05E3323"
  },
  "data": {}
}

Documentation Index

Fetch the complete documentation index at: https://crsdk.app/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

cameraId
string
required

Camera identifier (e.g. D10F60149B0C)

Body

application/json
setting
enum<string>
required
  • pc-remote — Server has control (required for remote operation)
  • camera-position — Camera body has control
Available options:
pc-remote,
camera-position

Response

Priority key set

Generic envelope returned by most camera operations. The shape of data varies per endpoint — most operations return an empty or null data; operations that return structured data document a specific shape. SDK-generated types can treat data as an opaque map for generic endpoints.

success
boolean
required
message
string
camera
object

Camera info embedded in API responses

data
object