datai/docs/archive/api-docs/auth/DataiSfLoginHistoryController/index.md

48 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# DataiSfLoginHistoryController API 文档
## 接口列表
### 1. 查询登录历史信息列表
- **文档**: [0001-list.md](0001-list.md)
- **接口路径**: `GET /auth/history/list`
- **功能描述**: 查询登录历史信息列表
### 2. 导出登录历史信息列表
- **文档**: [0002-export.md](0002-export.md)
- **接口路径**: `POST /auth/history/export`
- **功能描述**: 导出登录历史信息列表
### 3. 获取登录历史信息详细信息
- **文档**: [0003-get-info.md](0003-get-info.md)
- **接口路径**: `GET /auth/history/{id}`
- **功能描述**: 获取登录历史信息详细信息
### 4. 新增登录历史信息
- **文档**: [0004-add.md](0004-add.md)
- **接口路径**: `POST /auth/history`
- **功能描述**: 新增登录历史信息
### 5. 修改登录历史信息
- **文档**: [0005-edit.md](0005-edit.md)
- **接口路径**: `PUT /auth/history`
- **功能描述**: 修改登录历史信息
### 6. 删除登录历史信息
- **文档**: [0006-remove.md](0006-remove.md)
- **接口路径**: `DELETE /auth/history/{ids}`
- **功能描述**: 删除登录历史信息
### 7. 查询所有登录成功历史分组数据
- **文档**: [0007-latest-success-grouped.md](0007-latest-success-grouped.md)
- **接口路径**: `GET /auth/history/latest-success-grouped`
- **功能描述**: 查询所有登录成功的历史记录按username和instanceUrl分组每组返回最新一条数据
## 权限说明
所有接口都需要 `auth:history:*` 权限才能访问。
## 相关文档
- [需求文档](../../requirements/REQ-007.md)
- [架构决策](../../decisions/adr/0007-login-history-query-and-auto-login.md)