Documentation of aiohttp-handlers

Common jsons

server_error
Object Properties
JSON Example
{
    "error_code": 791,
    "detail": "YOutZQlSSvQLRlddKmhp"
}
account_info
Object Properties
  • account_id (uuid4) – account id

  • email (email) – email of account

  • organization_name (organization_name) – organization name

  • status (boolean) – if account is currently blocked, system returns True

JSON Example
{
    "account_id": "d6232873-1258-4bca-beae-ae5e4fb5932b",
    "email": "jennifer01@example.org",
    "organization_name": "{organization_name object}",
    "status": true
}
account_stats
Object Properties
  • list_count (integer) – list count of account

  • face_attribute_count (integer) – face attribute count of account

  • face_count (integer) – face count of account

JSON Example
{
    "list_count": 7832,
    "face_attribute_count": 4826,
    "face_count": 1531
}
account
Object Properties
JSON Example
{
    "info": {
        "account_id": "6310a297-c015-4f11-849d-c2750aac1f59",
        "email": "whoffman@example.com",
        "organization_name": "{organization_name object}",
        "status": false
    },
    "stats": {
        "list_count": 1547,
        "face_attribute_count": 3350,
        "face_count": 9946
    }
}
luna_list
Object Properties
  • list_id (uuid4) – list id

  • account_id (uuid4) – account id

  • user_data (user_name) – user data about list

  • count_object_in_list (integer) – object’s count in list

  • last_update_time (iso8601) – time of last action with list (attach or detach face from list)

JSON Example
{
    "list_id": "0b5572fa-12a9-4224-b9e2-2e9f4edb752a",
    "account_id": "5b48ec2d-21c7-4c36-9769-3a061ef05e7d",
    "user_data": "gwashington",
    "count_object_in_list": 389,
    "last_update_time": "2009-12-17T04:26:13"
}