Skip to main content
POST
/
api
/
camera
/
updateCameraLineCrossingThresholds
Update camera line crossing thresholds
curl --request POST \
  --url https://api2.rhombussystems.com/api/camera/updateCameraLineCrossingThresholds \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "cameraUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
  "directions": [
    "INGRESS"
  ],
  "inverted": false,
  "objectType": "HUMAN",
  "pointA": {
    "x": 0.5,
    "y": 0.5
  },
  "pointB": {
    "x": 0.5,
    "y": 0.5
  }
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "warningMsg": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://api-docs.rhombus.community/llms.txt

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

Authorizations

x-auth-apikey
string
header
required

Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).

Headers

x-auth-scheme
enum<string>
default:api-token
required

Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.

Available options:
api-token,
api,
partner-api-token,
partner-api

Body

application/json

Request to update line crossing thresholds for a camera.

cameraUuid
string<DeviceFacetUuid> | null

RUUID with optional appended facet information

Example:

"AAAAAAAAAAAAAAAAAAAAAA.v0"

directions
enum<string>[] | null

Set of crossing directions to monitor.

Available options:
INGRESS,
EGRESS
inverted
boolean | null

By default, INGRESS events occur when the following condition is met for the following line types: an entity moves from top -> bottom when a horizontal line is defined, an entity moves from left -> right when a vertical line is defined, an entity moves from top-left -> bottom-right when an upwards sloping line is defined, and an entity moves from top-right to bottom-left when a downwards sloping line is defined. Setting this value to true will switch INGRESS to EGRESS events and vice-versa.

Example:

false

objectType
enum<string>
Available options:
HUMAN,
VEHICLE,
FACE,
LPR,
POSE,
CLIP_EMBED,
UNKNOWN
pointA
object

(X,Y) coordinate expressed as a percentage of the camera's resolution.Minimum range is 0.1 and maximum range is 0.9. Leaving this value as null will disable line-crossing.

pointB
object

(X,Y) coordinate expressed as a percentage of the camera's resolution.Minimum range is 0.1 and maximum range is 0.9. Leaving this value as null will disable line-crossing.

Response

200 - application/json

OK

Response indicating the result of updating camera line crossing thresholds.

error
boolean | null
errorMsg
string | null
warningMsg
string | null
Last modified on May 7, 2026