Documentation of aiohttp-handlers

Common jsons

server_error
Object Properties:
JSON Example
{
    "error_code": 9880,
    "detail": "ipZCBXiUeYoEFizHLAya"
}
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": "0bca5c34-b5ce-4088-9776-b9a5abfd9727",
    "email": "pbarrera@example.com",
    "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": 9017,
    "face_attribute_count": 4564,
    "face_count": 7208
}
account
Object Properties:
JSON Example
{
    "info": {
        "account_id": "c1e11a62-14f2-4b44-842b-ce42240655f7",
        "email": "sloanchristopher@example.org",
        "organization_name": "{organization_name object}",
        "status": true
    },
    "stats": {
        "list_count": 5377,
        "face_attribute_count": 2002,
        "face_count": 3081
    }
}
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": "e20c5caa-1475-4547-9b27-18d1955c1753",
    "account_id": "88eeb51e-f8ef-4454-be45-26348552e12f",
    "user_data": "jordanrichards",
    "count_object_in_list": 3476,
    "last_update_time": "1996-07-04T15:01:22"
}