/faceset/get_info

Description

Retrieve information of a faceset, including name, id, tag, faces assigned to the faceset.

Parameter

Name Description
Required api_key Your registered API Key
api_secret Your registered API Secret
faceset_id or faceset_name The id or name of the target faceset.

Return Values

Field Type Description
face array Information of faces assigned to the faceset
tag string Tag associate with the faceset
faceset_name string Name of the faceset
faceset_id string Id of the faceset

Parameter

https://apius.faceplusplus.com/v2/faceset/get_info?api_secret=YOUR_API_SECRET&api_key=YOUR_API_KEY&faceset_name=NicolasCage

JSON Response

{
    "faceset_id": "9eb44387923528f97f8545d8bef906db", 
    "faceset_name": "NicolasCage", 
    "face": [
        {
            "face_id": "199d1efd19ce4ee67a7ec7655f859b1a", 
            "tag": ""
        }, 
        {
            "face_id": "02ff3c4a65a7a055ddd6ce788a345842", 
            "tag": ""
        }
    ], 
    "tag": "demotest", 
}

Error Code List

Error Code HTTP Status Code Error Message
1001 500 INTERNAL_ERROR
1003 403 AUTHORIZATION_ERROR
1003 403 INSUFFICIENT_PRIVILEGE_OR_QUOTA_LIMIT_EXCEEDED
1004 400 MISSING_ARGUMENTS
1005 400 INVALID_ARGUMENTS
1006 403 ILLEGAL_USE_OF_DEMO_KEY
1202 502 SERVER_TOO_BUSY
Google+