Documentation of aiohttp-handlers

Common jsons

server_error
Object Properties
JSON Example
{
    "error_code": 4020,
    "detail": "vwtcgnloJdwtJAflPbFe"
}
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": "e2c2aa27-1386-44fd-9048-9539cc25e617",
    "email": "pamela93@example.com",
    "organization_name": "{organization_name object}",
    "status": false
}
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": 2394,
    "face_attribute_count": 1221,
    "face_count": 6360
}
account
Object Properties
JSON Example
{
    "info": {
        "account_id": "b623b93d-61bb-4a05-bda7-fe58fd8e834b",
        "email": "jjohnson@example.com",
        "organization_name": "{organization_name object}",
        "status": false
    },
    "stats": {
        "list_count": 3608,
        "face_attribute_count": 4742,
        "face_count": 1127
    }
}
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": "8f2600bf-edea-4d35-9136-3df50400098b",
    "account_id": "6fe231ba-ed68-49a9-82cc-27aea9a8e10d",
    "user_data": "wmunoz",
    "count_object_in_list": 5254,
    "last_update_time": "1974-03-12T20:42:31"
}