mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
05185f6af9
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
---
|
|
openapi: /zh/analytics.openapi.json GET /api/external/v1/analytics/{projectId}/feedback
|
|
keywords: [ "Analytics", "反馈", "导出", "用户反馈" ]
|
|
---
|
|
|
|
<div id="usage">
|
|
## 用法
|
|
</div>
|
|
|
|
使用此端点导出从文档中收集的用户反馈。反馈包括来自页面评分的上下文反馈以及代码片段反馈。
|
|
|
|
使用响应中返回的 `cursor` 参数对结果进行分页。当 `hasMore` 为 `true` 时继续获取数据。
|
|
|
|
<div id="filtering">
|
|
## 筛选
|
|
</div>
|
|
|
|
可以按以下维度筛选反馈:
|
|
|
|
- **日期范围**:使用 `dateFrom` 和 `dateTo` 将结果限定在特定时间段内
|
|
- **来源**:按 `code_snippet` 或 `contextual` 等反馈来源类型进行筛选
|
|
- **状态**:按状态值进行筛选,例如 `pending`、`in_progress`、`resolved` 或 `dismissed`
|
|
|
|
<div id="response-types">
|
|
## 响应类型
|
|
</div>
|
|
|
|
响应会根据不同的 source 包含不同类型的反馈:
|
|
|
|
- **上下文反馈**:包含 `helpful` 布尔值和可选的 `contact` 邮箱
|
|
- **代码片段反馈**:包含 `code`、`filename` 和 `lang` 字段 |