Access to statistics.

Currently statistics about entities count are show. Note that statistics are cached for 24 hours.

Response

Dictionary with key entities with subkeys:

  • total - total number of entities
  • public - total number of public entities
  • by_category : tital number of entities in each category
GET /api/stats/
HTTP 200 OK
Allow: GET, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "entities": {
        "by_category": {
            "serials": 1872365,
            "books": 294107,
            "articles": 897157,
            "ephemerals": 128720,
            "maps": 18682,
            "photographs": 42525,
            "postcards": 38919,
            "prints": 38373,
            "manuscripts": 19011,
            "scores": 40927
        },
        "total": 3442392,
        "public": 1892907
    }
}