Retrieve Stored Identities

Use the following API requests to retrieve stored identities:

Sample API Request Description
curl -v -X GET -H "X-RPC-DIRECTORY: main" -H "X-RPC-AUTHORIZATION: userid:pwd"
"http://localhost:8080/coviws/people"
Retrieve all inserted identities from a directory containing less than 10,000 faces.
curl -v -X GET -H "X-RPC-DIRECTORY: main" -H "X-RPC-AUTHORIZATION: userid:pwd"
"http://localhost:8080/coviws/rootpeople?start-index=0"
Retrieve inserted identities from the directory in a highly efficient paged manner, supporting directories of any size. Note that the query related to rootpeople is, by default, capped at 100. Thus, if a directory has more than 100 the count query param should be used. Setting count=0 means that no query limit should be applied.
curl -v -X GET -H "X-RPC-DIRECTORY: main" -H "X-RPC-AUTHORIZATION: userid:pwd"
"http://localhost:8080/coviws/people/866e75a6-e22a-4077-97bb-e5dbfe1c513e"
Use an identity's personId to retrieve it from the Identity Database.
curl -v -X GET -H "X-RPC-DIRECTORY: main" -H "X-RPC-AUTHORIZATION: userid:pwd"
"http://localhost:8080/coviws/people/external/0000001"
Use an identity's externalId (e.g. "0000001") to retrieve it from the Identity Database.

See Also