/faceset/set_info

Description

Set the name or tag of a 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
Optional name The new faceset name
tag The new tag

Return Values

Field Type Description
tag string Tag of the faceset
faceset_name string Name of the faceset
faceset_id string Id of the faceset

Parameter

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

JSON Response

{
    "faceset_id": "9eb44387923528f97f8545d8bef906db", 
    "tag": "new_tag_for_Cage", 
    "faceset_name": "NicolasCage"
}

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
1501 451 BAD_NAME
1502 452 BAD_TAG
1503 453 NAME_EXIST
Google+