Documentation of aiohttp-handlers

Common jsons

server_error
Object Properties
JSON Example
{
    "error_code": 2907,
    "detail": "HShxeuMXrBBiKaoHTMkB"
}
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": "0302648f-442b-4113-97c7-439aeb1e6df1",
    "email": "tracylyons@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": 9867,
    "face_attribute_count": 7221,
    "face_count": 657
}
account
Object Properties
JSON Example
{
    "info": {
        "account_id": "3bee6ae9-805f-470f-8b49-4220b7d171b3",
        "email": "marysmith@example.net",
        "organization_name": "{organization_name object}",
        "status": true
    },
    "stats": {
        "list_count": 3947,
        "face_attribute_count": 2904,
        "face_count": 7736
    }
}
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": "c2d64e03-7907-4112-ba13-7324c8dacd80",
    "account_id": "95282fef-dd29-486d-97e9-ba13f05a3478",
    "user_data": "tyler15",
    "count_object_in_list": 8343,
    "last_update_time": "1977-10-31T19:57:37"
}