v26

latestOpenAPI 3.1.0raw.githubusercontent.com2026-01-285194311.8 KB
report
web_app
NOT_USED

Create Report

Submit report

post/api/v1/report/

Request body

target_idstring required

举报或者反馈的目标对象的 ID,角色或者用户的 ID。

target_type'USER' | 'AGENT' required
reason_idsinteger[] nullable
reason_codesReasonCode[] nullable

举报或者反馈的原因代码列表。如果未提供且提供了 reason_ids,将从 reason_ids 自动转换

image_urlsstring[] nullable

举报或者反馈附图的链接,该链接来自 /api/v1/images 端点上传图片返回的 gcs URL(可能是 cdn 链接)

descriptionstring nullable

The description of the report.

request_idstring nullable

The ID of the request.

report_type'REPORT' | 'FEEDBACK'

Response

Successful Response

codeinteger
messagestring
{"stackTrail":"components:schemas:APIResponse:properties:data:anyOf","oasType":"schema","type":"unknown","title":"Data","nullable":true}