# 去重后的完整接口清单

- 统计时间：2026-04-27
- 当前分支：`Wren-Development-V5`
- 去重口径：按“HTTP 方法 + 归一化路径 + endpoint”去重
- 去重结果：`201` 个 HTTP 接口
- 原始运行时路由对象：`347` 个
- 归一化合并前缀：`/admin`、`/api/v2`、`/api/v3`、`/v3`

## [ai-suggestions] 4

```text
POST   /ai-suggestions/batch-generate
POST   /ai-suggestions/generate
GET    /ai-suggestions/task/{task_id}
GET    /ai-suggestions/{evaluation_result_id}
```

## [api] 4

```text
DELETE,GET,PATCH,POST,PUT   /api/dataset/{path:path}
POST                        /api/postgrest/proxy
DELETE,GET,PATCH,POST,PUT   /api/postgrest/proxy/{table_path:path}
DELETE,GET,PATCH,POST,PUT   /api/{path:path}
```

## [areas] 2

```text
GET    /areas
POST   /areas/reload
```

## [auth] 6

```text
GET                    /auth/admin-only
GET                    /auth/check-permission
POST                   /auth/login
GET                    /auth/me
POST                   /auth/password_login
DELETE,GET,PATCH,POST  /auth/sso_users
```

## [awareness-configs] 5

```text
GET      /awareness-configs
POST     /awareness-configs
DELETE   /awareness-configs/{doc_type_code}
GET      /awareness-configs/{doc_type_code}
PUT      /awareness-configs/{doc_type_code}
```

## [awareness-templates] 8

```text
GET      /awareness-templates
POST     /awareness-templates
GET      /awareness-templates/code/{template_code}
GET      /awareness-templates/types
DELETE   /awareness-templates/{template_id}
GET      /awareness-templates/{template_id}
PUT      /awareness-templates/{template_id}
POST     /awareness-templates/{template_id}/duplicate
```

## [cross_review] 14

```text
POST   /cross_review/proposals
POST   /cross_review/proposals/details
POST   /cross_review/proposals/document
POST   /cross_review/proposals/document/check_pending_votes
DELETE /cross_review/proposals/{proposal_id}
POST   /cross_review/proposals/{proposal_id}/votes
POST   /cross_review/tasks/user_tasks
GET    /cross_review/tasks/{task_id}/can-confirm
GET    /cross_review/tasks/{task_id}/documents
POST   /cross_review/tasks/{task_id}/documents
POST   /cross_review/tasks/{task_id}/documents/{document_id}/append_attachments
POST   /cross_review/tasks/{task_id}/documents/{document_id}/complete
GET    /cross_review/tasks/{task_id}/progress
POST   /cross_review/tasks/{task_id}/upload_documents
```

## [debug] 2

```text
GET   /debug/dify-config
GET   /debug/test-dify
```

## [dify] 10

```text
GET      /dify/area-datasets
POST     /dify/area-datasets
GET      /dify/area-datasets/areas
GET      /dify/area-datasets/check/{dataset_id}
GET      /dify/area-datasets/my
DELETE   /dify/area-datasets/{dataset_bind_id}
GET      /dify/area-datasets/{dataset_bind_id}
PUT      /dify/area-datasets/{dataset_bind_id}
GET      /dify/chat-apps
GET      /dify/chat-apps/default
```

## [dify_chat] 1

```text
DELETE,GET,PATCH,POST,PUT   /dify_chat/{path:path}
```

## [dify_dataset] 1

```text
DELETE,GET,PATCH,POST,PUT   /dify_dataset/{path:path}
```

## [document-types] 7

```text
GET      /document-types
POST     /document-types
GET      /document-types/options/entry-modules
GET      /document-types/options/prompt-templates
DELETE   /document-types/{type_id}
GET      /document-types/{type_id}
PUT      /document-types/{type_id}
```

## [documents] 7

```text
GET    /documents/check-duplicate
POST   /documents/contract_templates/{comparison_id}/append_attachments
POST   /documents/contracts/{document_id}/append_attachments
POST   /documents/cross_review/documents/upload_and_assign
GET    /documents/list
POST   /documents/upload
POST   /documents/upload_contract_template
```

## [entry-modules] 6

```text
GET      /entry-modules
POST     /entry-modules
DELETE   /entry-modules/{module_id}
GET      /entry-modules/{module_id}
PUT      /entry-modules/{module_id}
POST     /entry-modules/{module_id}/image
```

## [leaudit-review-points] 1

```text
GET   /leaudit-review-points/{document_id}
```

## [prompt-templates] 8

```text
GET      /prompt-templates
POST     /prompt-templates
GET      /prompt-templates/code/{template_code}
GET      /prompt-templates/types
DELETE   /prompt-templates/{template_id}
GET      /prompt-templates/{template_id}
PUT      /prompt-templates/{template_id}
POST     /prompt-templates/{template_id}/duplicate
```

## [qichacha] 5

```text
POST   /qichacha/batch
POST   /qichacha/company
POST   /qichacha/dishonesty
POST   /qichacha/enterprise
GET    /qichacha/status
```

## [rbac] 25

```text
GET      /rbac/check-route
POST     /rbac/clear-routes-cache
GET      /rbac/permissions
POST     /rbac/permissions
DELETE   /rbac/permissions/{permission_id}
GET      /rbac/permissions/{permission_id}
PUT      /rbac/permissions/{permission_id}
DELETE   /rbac/role-permissions
GET      /rbac/role-permissions
POST     /rbac/role-permissions
PUT      /rbac/role-permissions
GET      /rbac/roles
POST     /rbac/roles
DELETE   /rbac/roles/{role_id}
GET      /rbac/roles/{role_id}
PUT      /rbac/roles/{role_id}
GET      /rbac/roles/{role_id}/all-routes
GET      /rbac/roles/{role_id}/routes
PUT      /rbac/roles/{role_id}/routes
GET      /rbac/roles/{role_id}/users
GET      /rbac/user/routes
GET      /rbac/users
GET      /rbac/users/{user_id}/roles
POST     /rbac/users/{user_id}/roles
DELETE   /rbac/users/{user_id}/roles/{role_id}
```

## [routes] 3

```text
GET   /routes
GET   /routes/{route_id}
GET   /routes/{route_id}/permissions
```

## [rpc] 1

```text
DELETE,GET,PATCH,POST,PUT   /rpc/{rpc_function:path}
```

## [statistics] 3

```text
GET   /statistics/home-data
GET   /statistics/top-error-points
GET   /statistics/top-risk-users
```

## [storage] 11

```text
DELETE   /storage/buckets
GET      /storage/buckets
POST     /storage/buckets
DELETE   /storage/files
GET      /storage/files
POST     /storage/files/batch-delete
POST     /storage/files/copy
GET      /storage/files/download
GET      /storage/files/metadata
POST     /storage/files/move
GET      /storage/files/presigned-url
```

## [system] 5

```text
GET    /system/ai-cloud/status
POST   /system/ai-cloud/switch
GET    /system/queue/details
GET    /system/queue/position/{document_id}
GET    /system/queue/status
```

## [user] 2

```text
GET   /user/routes
GET   /user/routes/flat
```

## [users] 5

```text
GET   /users
GET   /users/organizations
GET   /users/organizations/flat
GET   /users/organizations/tree
GET   /users/organizations/{ou_id}/users
```

## [v2 admin alias] 51

```text
POST   /v2/ai-suggestions/batch-generate
POST   /v2/ai-suggestions/generate
GET    /v2/ai-suggestions/task/{task_id}
GET    /v2/ai-suggestions/{evaluation_result_id}
POST   /v2/cross_review/proposals
POST   /v2/cross_review/proposals/details
POST   /v2/cross_review/proposals/document
POST   /v2/cross_review/proposals/document/check_pending_votes
DELETE /v2/cross_review/proposals/{proposal_id}
POST   /v2/cross_review/proposals/{proposal_id}/votes
POST   /v2/cross_review/tasks/user_tasks
GET    /v2/cross_review/tasks/{task_id}/can-confirm
GET    /v2/cross_review/tasks/{task_id}/documents
POST   /v2/cross_review/tasks/{task_id}/documents
POST   /v2/cross_review/tasks/{task_id}/documents/{document_id}/append_attachments
POST   /v2/cross_review/tasks/{task_id}/documents/{document_id}/complete
GET    /v2/cross_review/tasks/{task_id}/progress
POST   /v2/cross_review/tasks/{task_id}/upload_documents
GET    /v2/documents/check-duplicate
POST   /v2/documents/contract_templates/{comparison_id}/append_attachments
POST   /v2/documents/contracts/{document_id}/append_attachments
POST   /v2/documents/cross_review/documents/upload_and_assign
GET    /v2/documents/list
POST   /v2/documents/upload
POST   /v2/documents/upload_contract_template
POST   /v2/qichacha/batch
POST   /v2/qichacha/company
POST   /v2/qichacha/dishonesty
POST   /v2/qichacha/enterprise
GET    /v2/qichacha/status
DELETE /v2/storage/buckets
GET    /v2/storage/buckets
POST   /v2/storage/buckets
DELETE /v2/storage/files
GET    /v2/storage/files
POST   /v2/storage/files/batch-delete
POST   /v2/storage/files/copy
GET    /v2/storage/files/download
GET    /v2/storage/files/metadata
POST   /v2/storage/files/move
GET    /v2/storage/files/presigned-url
GET    /v2/system/ai-cloud/status
POST   /v2/system/ai-cloud/switch
GET    /v2/system/queue/details
GET    /v2/system/queue/position/{document_id}
GET    /v2/system/queue/status
GET    /v2/users
GET    /v2/users/organizations
GET    /v2/users/organizations/flat
GET    /v2/users/organizations/tree
GET    /v2/users/organizations/{ou_id}/users
```

## [versions] 4

```text
POST   /versions/compare
GET    /versions/documents-list
GET    /versions/statistics
GET    /versions/{entity_id}
```
