settings

Get a list of active caches

Retrieves a list of all active caches and their current stats.

get/settings/cache

Request

  • Base URL: http://localhost:5055/api/v1
  • URL: http://localhost:5055/api/v1/settings/cache
  • Auth: one of:
    • API key in cookie connect.sid
    • API key in header X-Api-Key

Response

Caches returned

Example response

{
  "imageCache": {
    "tmdb": {
      "size": 123456,
      "imageCount": 123
    },
    "avatar": {
      "size": 123456,
      "imageCount": 123
    }
  },
  "dnsCache": {
    "stats": {
      "size": 1,
      "maxSize": 500,
      "hits": 19,
      "misses": 1,
      "hitRate": 0.95
    }
  },
  "apiCaches": [
    {
      "id": "cache-id",
      "name": "cache name"
    }
  ]
}

Changes

No recorded changes to this operation across all 21 revisions of this API.