38 lines
1011 B
JSON
38 lines
1011 B
JSON
{
|
|
"/api/v1/cachekey/invalidate": {
|
|
"post": {
|
|
"description": "Takes a list of datasources, finds and invalidates the associated cache records and removes the database records.",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CacheInvalidationRequestSchema"
|
|
}
|
|
}
|
|
},
|
|
"description": "A list of datasources uuid or the tuples of database and datasource names",
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "cache was successfully invalidated"
|
|
},
|
|
"400": {
|
|
"$ref": "#/components/responses/400"
|
|
},
|
|
"500": {
|
|
"$ref": "#/components/responses/500"
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"jwt": []
|
|
}
|
|
],
|
|
"summary": "Invalidate cache records and remove the database records",
|
|
"tags": [
|
|
"CacheRestApi"
|
|
]
|
|
}
|
|
}
|
|
}\n |