Documentation of aiohttp-handlers

Common jsons

server_error
Object Properties
JSON Example
{
    "error_code": 4005,
    "detail": "twwtSzWhPUECPJdftypY"
}
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": "20c235bd-7b61-439e-b1ed-4ccdf7e1bd09",
    "email": "gabrielle72@example.net",
    "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": 3636,
    "face_attribute_count": 9148,
    "face_count": 1270
}
account
Object Properties
JSON Example
{
    "info": {
        "account_id": "b2e0b6e9-935d-479f-83f4-8651f2bb2cbd",
        "email": "michaelherrera@example.net",
        "organization_name": "{organization_name object}",
        "status": true
    },
    "stats": {
        "list_count": 7179,
        "face_attribute_count": 8146,
        "face_count": 1031
    }
}
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": "f0b9e638-6ad9-4149-9a57-f2c94b190b59",
    "account_id": "4bb66835-be2c-4a82-ba69-6268040dcd00",
    "user_data": "blakedavis",
    "count_object_in_list": 22,
    "last_update_time": "1997-02-15T06:40:24"
}