查询单个缓存配置
开发中
开发环境
http://39.100.59.112:8000
开发环境
http://39.100.59.112:8000
GET
http://39.100.59.112:8000
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
uuid
string
必需
示例值:
dbdaf46a-f5ce-11ec-b939-0242ac120002
Header 参数
Accept
string
必需
默认值:
application/json
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://39.100.59.112:8000/cache/dbdaf46a-f5ce-11ec-b939-0242ac120002/config' \
--header 'Accept;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
id
integer
id
cache_uuid
string
缓存uuid
domain_uuid
string
域名uuid
active
boolean
开关
urlmode
string
url匹配模式
cachemode
string
缓存匹配模式
cachepath
string
类型:路径匹配
cacheextensions
string
类型:后缀匹配
cachereg
string
类型:正则表达式匹配
timeout
integer
过期时间
weight
integer
权重
示例
{
"code": 0,
"message": "string",
"data": {
"id": 0,
"cache_uuid": "string",
"domain_uuid": "string",
"active": true,
"urlmode": "string",
"cachemode": "string",
"cachepath": "string",
"cacheextensions": "string",
"cachereg": "string",
"timeout": 0,
"weight": 0
}
}