Skip to navigation

Upsert sensor calibration

View as Markdown

Insert or update calibration data for one or more sensors. To change file-level attributes such as version, calibration type, or OSM URL, upload the complete calibration file instead.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

Calibration of sensor(s)

versionstringRequiredformat: "^.{1,10000}$"1-10000 characters
osmURLstringRequiredformat: "^.{0,10000}$"0-10000 characters
calibrationTypeenumRequired
Allowed values:
sensorslist of objectsRequired
typestringRequiredformat: "^.{1,10000}$"1-10000 characters
idstringRequiredformat: "^.{1,10000}$"1-10000 characters
originobjectRequired
geoLocationobjectRequired
coordinatesobjectRequired
scaleFactordoubleRequired
attributeslist of objectsRequired
placelist of objectsRequired
imageCoordinateslist of objectsRequired
globalCoordinateslist of objectsRequired
translationToGlobalCoordinatesobjectOptional
groupobjectOptional
regionobjectOptional
intrinsicMatrixlist of lists of doublesOptional
extrinsicMatrixlist of lists of doublesOptional
cameraMatrixlist of lists of doublesOptional
homographylist of lists of doublesOptional
roislist of objectsOptional
tripwireslist of objectsOptional
roislist of objectsOptional
idstringRequired1-10000 characters
roiCoordinateslist of objectsRequired
sensorslist of stringsRequired
groupslist of stringsRequired
typestringOptionalformat: "^.{0,10000}$"0-10000 characters
restrictedObjectTypeslist of stringsOptional
confinedObjectTypeslist of stringsOptional
tripwireslist of objectsOptional
idstringRequiredformat: "^.{1,10000}$"1-10000 characters
wireobjectRequired
directionobjectRequired
sensorslist of stringsRequired
groupslist of stringsRequired
corridorslist of objectsOptional
namestringRequiredformat: "^.{1,10000}$"1-10000 characters
sensorslist of stringsRequired
directionslist of stringsRequired
lengthdoubleRequired0-99999999

Response headers

Access-Control-Allow-OriginstringOptionalformat: "^.{0,10000}$"<=10000 characters

CORS header to allow cross-origin requests.

X-RateLimit-LimitintegerOptional
The maximum number of requests allowed in the current time period.
X-RateLimit-RemainingintegerOptional
The number of requests remaining in the current time period.
X-RateLimit-ResetintegerOptional

The time when the rate limit will be reset (Unix timestamp).

Response

Successful Operation.
successboolean

Errors

400
Bad Request Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error