curl --request POST \
--url https://api2.rhombussystems.com/api/faceRecognition/faceEvent/updateFaceEvent \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"eventUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"personName": "<string>",
"personUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'import requests
url = "https://api2.rhombussystems.com/api/faceRecognition/faceEvent/updateFaceEvent"
payload = {
"eventUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"personName": "<string>",
"personUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
eventUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
personName: '<string>',
personUuid: 'AAAAAAAAAAAAAAAAAAAAAA'
})
};
fetch('https://api2.rhombussystems.com/api/faceRecognition/faceEvent/updateFaceEvent', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/faceRecognition/faceEvent/updateFaceEvent")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"eventUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"personName\": \"<string>\",\n \"personUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n}")
.asString();{
"faceEvent": {
"detectionConfidence": 0.98,
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"embeddingConfidence": 0.95,
"eventTimestamp": 1640995200000,
"faceName": "<string>",
"hasEmbedding": true,
"imageS3Key": "face-events/images/event_123.jpg",
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"personUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"selectedPersonMatch": {
"confidence": 0.95,
"faceId": "face_12345",
"name": "John Doe",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
},
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"thumbnailS3Key": "face-events/thumbnails/event_123.jpg",
"topPersonMatches": [
{
"confidence": 0.95,
"faceId": "face_12345",
"name": "John Doe",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
],
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
}Update face event
Update face event.
curl --request POST \
--url https://api2.rhombussystems.com/api/faceRecognition/faceEvent/updateFaceEvent \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"eventUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"personName": "<string>",
"personUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'import requests
url = "https://api2.rhombussystems.com/api/faceRecognition/faceEvent/updateFaceEvent"
payload = {
"eventUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"personName": "<string>",
"personUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
eventUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
personName: '<string>',
personUuid: 'AAAAAAAAAAAAAAAAAAAAAA'
})
};
fetch('https://api2.rhombussystems.com/api/faceRecognition/faceEvent/updateFaceEvent', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/faceRecognition/faceEvent/updateFaceEvent")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"eventUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"personName\": \"<string>\",\n \"personUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n}")
.asString();{
"faceEvent": {
"detectionConfidence": 0.98,
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"embeddingConfidence": 0.95,
"eventTimestamp": 1640995200000,
"faceName": "<string>",
"hasEmbedding": true,
"imageS3Key": "face-events/images/event_123.jpg",
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"personUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"selectedPersonMatch": {
"confidence": 0.95,
"faceId": "face_12345",
"name": "John Doe",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
},
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"thumbnailS3Key": "face-events/thumbnails/event_123.jpg",
"topPersonMatches": [
{
"confidence": 0.95,
"faceId": "face_12345",
"name": "John Doe",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
],
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
}Authorizations
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
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.
api-token, api, partner-api-token, partner-api Body
Request object for updating a face event with person association information.
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Name of the person associated with the face event. Ignored if person UUID matches to one of the top person matches.
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Response
OK
Response object for updating a face event.
External face event object containing face recognition data with person matches, embeddings, and metadata.
Show child attributes
Show child attributes