Split Superset OpenAPI into indexed sections
This commit is contained in:
38
.ai/openapi/superset/paths/cachekey.json
Normal file
38
.ai/openapi/superset/paths/cachekey.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"/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
|
||||
Reference in New Issue
Block a user