Skip to content

Commit

Permalink
admin: document query params for /v1/cloud_storage/cache/trim
Browse files Browse the repository at this point in the history
  • Loading branch information
nvartolomei committed Dec 20, 2024
1 parent 1c93893 commit 61fa526
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/v/redpanda/admin/api-doc/shadow_indexing.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,22 @@
"summary": "Invoke trimming on the local cache of tiered storage objects",
"operationId": "cloud_storage_cache_trim",
"nickname": "post_cloud_storage_cache_trim",
"parameters": []
"parameters": [
{
"name": "objects",
"in": "query",
"required": false,
"type": "integer",
"description": "Target number of objects to retain in the cache"
},
{
"name": "bytes",
"in": "query",
"required": false,
"type": "integer",
"description": "Target number of bytes to retain in the cache"
}
]
}
]
},
Expand Down

0 comments on commit 61fa526

Please sign in to comment.