/faces
Retrieves all the specimens (faces) in the database that match the collectionId. The collectionId is mandatory and must correspond to an existing collection.
JWT signed with HS256 (shared secret auth_jwt_secret) and with a non-expired exp claim; if it includes nbf, it must be currently valid. Only applied if auth_enabled is true and auth_accept_authorization_header is true. The Bearer scheme is case-insensitive.
An identifier that allows grouping different images or biometric templates in a common space. It can only contain ASCII letters (A-Z, a-z), digits (0-9), underscore (_) and hyphen (-); it cannot be empty and it is case-sensitive. The following are not allowed: spaces, dots, +, :, @, quotes, %, ~, /, or non-ASCII characters (ñ, accents, emoji...): the identifier is used as a path parameter and any other character prevents its use. It must correspond to a collection previously created with POST /collections.
bank01_collection01Pattern: ^[A-Za-z0-9_-]+$All the specimens (faces) stored in the database with the same collectionId.
Data fields of several specimens in the database
Date/time value (UTC, 1-second resolution) in "%Y-%m-%dT%H:%M:%SZ" format at which a specimen (face) was created.
2024-11-20T15:39:32ZDescription of the specimen (face) stored in the database.
It's a description of the personAn extended token that contains biometric templates and metadata. Storing it in databases is recommended because it remains valid across engine versions (it can be updated automatically if the extraction technology changes; see updatedTemplateRaw). Like the rest of the tokens, its value changes on every extraction (it carries a timestamp): two extractions of the same image do not give the same text, but they identify the same person. It is encoded in RFC4648 base64.
QTevT1Lv5jr0rNyzS3u6SAscolMU+bHitq...An identifier of a specimen (face) in the database.
6782225b-1793-4b68-a9de-8fdb3628c7e5An identifier of an image in the database. Each image is associated with a single specimen (face): the uploaded image becomes associated when the face is created with POST /faces and it is deleted together with it (DELETE /faces/{Id}) or together with its collection (DELETE /collections/{collectionId}).
9c79c818-b81a-4959-b65a-a2b0c8143528An identifier that allows grouping different images or biometric templates in a common space. It can only contain ASCII letters (A-Z, a-z), digits (0-9), underscore (_) and hyphen (-); it cannot be empty and it is case-sensitive. The following are not allowed: spaces, dots, +, :, @, quotes, %, ~, /, or non-ASCII characters (ñ, accents, emoji...): the identifier is used as a path parameter and any other character prevents its use. It must correspond to a collection previously created with POST /collections.
bank01_collection01Pattern: ^[A-Za-z0-9_-]+$Date/time value (UTC, 1-second resolution) in "%Y-%m-%dT%H:%M:%SZ" format at which a specimen (face) was updated.
2025-03-18T12:54:02ZIncorrect parameters arrive in the request.
JWT authentication is enabled and the token is missing or invalid.
An error occurred while calling the backend.
GET /faces?collectionId=bank01_collection01 HTTP/1.1
Host: 127.0.0.1:6982/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"createAt": "2024-11-20T15:39:32Z",
"description": "It's a description of the person",
"facialTemplateRaw": "QTevT1Lv5jr0rNyzS3u6SAscolMU+bHitq...",
"id": "6782225b-1793-4b68-a9de-8fdb3628c7e5",
"mediaId": "9c79c818-b81a-4959-b65a-a2b0c8143528",
"collectionId": "bank01_collection01",
"updateAt": "2025-03-18T12:54:02Z"
}
]Atualizado