Page History
General request format:
POST http://IP-address:port/firserver/ReadPersons
Request parameters:
Parameter | Required | Parameter description |
---|---|---|
server_id | Yes | ID of the Face Recognition Server in the Face-Intellect software package |
id | No | Intellect user ID If not specified, the response will return information about all users |
page | No | Number of results pages If not specified, then page = 1 |
pageSize | No | Results per page If not specified, then pageSize = 1, i.e. there will be 1 result on 1 page |
Request example:
POST http://localhost127.0.0.1:10000/firserver/ReadPersons
...
Code Block |
---|
{
"server_id": "1",
"objectType": "PERSON",
"id": [
],
"page": 1,
"pageSize": 2
}
|
Response example:
Expand | ||
---|---|---|
|
...
Using the identifier from PersonList.ImageId parameter, you can get the user's photo with a separate query. See Getting image by ID.
Response parameters:
Parameter | Parameter description |
---|---|
PersonList | List of users with information from the database of persons |
id | Reference face image identifier from the face database |
name | Name |
surname | Surname |
patronymic | Patronymic |
department | Department |
comment | Comment |
timestamp | Time of adding a face to the base of reference faces in UTC format |
ImageId | Reference face image identifier from the face database |
Total | Total users in the face database |
Response | Response |
Status | Completed request status: OK - successful |
...
Overview
Content Tools