{
  "openapi" : "3.1.0",
  "info" : {
    "title" : "API",
    "description" : "The insurance administration system necessitates storing vast amounts of configuration data. It is super important to efficiently cache these data for better system performance and experience.",
    "version" : "1.0/platform-pub",
    "x-mo-original-description" : "API Documentation",
    "x-mo-overwrite-description" : "The insurance administration system necessitates storing vast amounts of configuration data. It is super important to efficiently cache these data for better system performance and experience."
  },
  "servers" : [ {
    "url" : "http://platform-pub.platform"
  } ],
  "paths" : {
    "/common/public/cache/history/v1/getRecordsByTimePeriod" : {
      "get" : {
        "tags" : [ "Cache" ],
        "summary" : "Query cache records within a specified time range, with support for filtering by cache bucket, cache name, and other conditions.",
        "operationId" : "getRecordsByTimePeriod",
        "parameters" : [ {
          "name" : "bucketName",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "cacheName",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "startTime",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "format" : "date-time"
          }
        }, {
          "name" : "endTime",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "format" : "date-time"
          }
        }, {
          "name" : "distinct",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/CacheBroadcastMessage"
                  }
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-overwrite-summary" : "Query cache records within a specified time range, with support for filtering by cache bucket, cache name, and other conditions."
      }
    },
    "/common/public/cache/v1/clear/buckets" : {
      "post" : {
        "tags" : [ "Cache" ],
        "summary" : "Bulk clean specified cache buckets to improve system performance.",
        "operationId" : "clearBuckets",
        "parameters" : [ {
          "name" : "proxyTo",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "type" : "array",
                "items" : {
                  "type" : "string"
                }
              }
            }
          },
          "required" : true,
          "x-codegen-request-body-name" : "bucketCodes"
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "x-mo-overwrite-summary" : "Bulk clean specified cache buckets to improve system performance."
      }
    },
    "/common/public/cache/v1/clear/caches" : {
      "post" : {
        "tags" : [ "Cache" ],
        "summary" : "Bulk clean specified cache items to optimize system resource usage.",
        "operationId" : "clearCaches",
        "parameters" : [ {
          "name" : "proxyTo",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "type" : "array",
                "items" : {
                  "type" : "string"
                }
              }
            }
          },
          "required" : true,
          "x-codegen-request-body-name" : "cacheNames"
        },
        "responses" : {
          "200" : {
            "description" : "OK"
          }
        },
        "x-mo-overwrite-summary" : "Bulk clean specified cache items to optimize system resource usage."
      }
    }
  },
  "components" : {
    "schemas" : {
      "CacheBroadcastMessage" : {
        "type" : "object",
        "properties" : {
          "@pk" : {
            "type" : "integer",
            "format" : "int64"
          },
          "BucketName" : {
            "type" : "string"
          },
          "CacheChangeType" : {
            "type" : "string"
          },
          "CacheName" : {
            "type" : "string"
          },
          "CleanTime" : {
            "type" : "string",
            "format" : "date-time"
          },
          "InstanceId" : {
            "type" : "string"
          },
          "MessageContent" : {
            "type" : "string"
          },
          "MessageId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "MessageKey" : {
            "type" : "string"
          },
          "OldPrimaryKey" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TempData" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "object"
            }
          }
        }
      }
    }
  },
  "x-mo-gateway-auth-enabled" : true,
  "x-mo-gateway-cors-enabled" : false
}