Documentation of aiohttp-handlers

Common jsons

server_error
Object Properties
JSON Example
{
    "error_code": 1617,
    "detail": "kjjYkbuXUrJAYbQJubla"
}
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": "1fffef85-63a6-4f5e-b1ee-93b9a18a5c12",
    "email": "hoffmanchris@example.org",
    "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": 2219,
    "face_attribute_count": 8144,
    "face_count": 8889
}
account
Object Properties
JSON Example
{
    "info": {
        "account_id": "4ecd1452-1775-4b94-a78a-65e17d65c976",
        "email": "iancampbell@example.net",
        "organization_name": "{organization_name object}",
        "status": true
    },
    "stats": {
        "list_count": 145,
        "face_attribute_count": 1085,
        "face_count": 3828
    }
}
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": "c4ac4bba-e1d6-4ebe-832d-cbd7aea22511",
    "account_id": "7017be2e-f726-4039-a763-a05d16385ee5",
    "user_data": "dickersonsandy",
    "count_object_in_list": 6514,
    "last_update_time": "2015-09-24T07:25:04"
}