hillam/ctt-server

provide site ids in sites#index json view

Closed this issue · 0 comments

The client needs to know site ids in order to wire up interactive popup elements.

Current format:

{"facebook.com": 62, ...}

New format:

[
    {
        "id": "1",
        "hostname": "facebook.com",
        "time": 62
    },
    ...
]