get:
tags:
- admin
summary: Get system cache info
parameters:
- in: query
name: name
schema:
type: string
enum: ['post', 'object', 'group', 'local']
required: false
description: Specify cache to dump if calling `/dump`
example: 'post'
responses:
"200":
description: ""
content:
application/json:
allOf:
- type: object
properties:
caches:
type: object
postCache:
length:
type: number
max:
nullable: true
maxSize:
itemCount:
percentFull:
hits:
hitsPerSecond:
misses:
hitRatio:
enabled:
type: boolean
ttl:
groupCache:
localCache:
objectCache:
required:
- postCache
- groupCache
- localCache
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps