Amagi API 文档 - v5.13.0
正在准备搜索索引...
ApiEndpoint
接口 ApiEndpoint<TParams, TResponse, TQuery, TBody>
API 端点定义
interface
ApiEndpoint
<
TParams
=
unknown
,
TResponse
=
unknown
,
TQuery
=
unknown
,
TBody
=
unknown
,
>
{
path
:
string
;
method
:
HttpMethod
;
description
:
string
;
tags
:
string
[]
;
params
?:
TParams
;
query
?:
TQuery
;
body
?:
TBody
;
response
:
TResponse
;
}
类型参数
TParams
=
unknown
TResponse
=
unknown
TQuery
=
unknown
TBody
=
unknown
索引
属性
path
method
description
tags
params?
query?
body?
response
属性
path
path
:
string
端点路径
method
method
:
HttpMethod
HTTP 方法
description
description
:
string
端点描述
tags
tags
:
string
[]
端点标签/分类
可选
params
params
?:
TParams
路径参数 schema
可选
query
query
?:
TQuery
查询参数 schema
可选
body
body
?:
TBody
请求体 schema
response
response
:
TResponse
响应 schema
显示设置
成员可见性
受保护
私有
继承
外部
配色
自动
浅色
深色
目录
属性
path
method
description
tags
params
query
body
response
Amagi API 文档 - v5.13.0
加载中……
API 端点定义