模型对比-模型推荐
GET
/openapi/v0.9/model/api/v1/workspaces/{proj_uuid}/files/{id}/compare-files
es-file-storage
请求参数
Path 参数
proj_uuid
string
必需
id
integer
文件ID
示例值:
123
Query 参数
end_time
string
可选
example: 1643659328
key
string
可选
example: "test"
page
string
可选
example: 1
size
string
可选
example: 20
sort_by
string
可选
example: "create_time"
start_time
string
可选
example: 1642449728
Header 参数
x-user-token
string
必需
默认值:
{{x-user-token}}
X-Request-Id
string
可选
默认值:
{% mock 'uuid' %}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/openapi/v0.9/model/api/v1/workspaces//files/123/compare-files?end_time&key&page&size&sort_by&start_time' \
--header 'x-user-token;' \
--header 'X-Request-Id: {% mock '\''uuid'\'' %}'
返回响应
🟢200成功
application/json
Body
HTTP响应模板
code
integer
响应码
message
string
响应消息
data
object
model_vo.CompareModelListOutput
list
array[object (model_vo.CompareFileItem) {12}]
文件列表
pagination
object
分页信息rue
示例
{
"code": 0,
"message": "success",
"data": {
"list": [
{
"bounding": {
"points": [
{
"lat": 36,
"lng": 70
}
]
},
"create_at": 1746940992856,
"file_type": 1,
"id": 37188,
"model_display_mod": "52957e99-8444-401d-8d8c-84fb9ddb8918/",
"name": "user",
"preview_url": "https://mixed-help.com/",
"show_on_map": true,
"sub_file_type": 2,
"update_at": 1752611560097,
"user_id": "",
"uuid": "873abfa0-ae29-430e-90a1-b7275423a9e4"
}
],
"pagination": {
"page": 1,
"page_size": 20,
"total": 4
}
}
}
修改于 2025-06-27 12:02:20