feat: 增强日历功能并集成 AgentScope 代理服务
This commit is contained in:
@@ -281,10 +281,21 @@
|
||||
{
|
||||
"id": "uuid",
|
||||
"title": "string",
|
||||
"description": "string?",
|
||||
"start_at": "string",
|
||||
"end_at": "string?",
|
||||
"timezone": "string",
|
||||
"status": "active"
|
||||
"metadata": {
|
||||
"color": "#FF6B6B",
|
||||
"location": "会议室A",
|
||||
"notes": "记得带身份证",
|
||||
"attachments": [],
|
||||
"version": 1
|
||||
},
|
||||
"status": "active",
|
||||
"source_type": "manual",
|
||||
"created_at": "string",
|
||||
"updated_at": "string"
|
||||
}
|
||||
]
|
||||
```
|
||||
@@ -403,43 +414,6 @@
|
||||
|
||||
---
|
||||
|
||||
### POST /inbox/messages/{id}/accept
|
||||
|
||||
接受邀请(需要认证)。
|
||||
|
||||
接受日历邀请时,会为当前用户创建订阅关系。
|
||||
|
||||
**Request:**
|
||||
```json
|
||||
{
|
||||
"permission_view": "boolean (default: true)",
|
||||
"permission_edit": "boolean (default: false)",
|
||||
"permission_invite": "boolean (default: false)"
|
||||
}
|
||||
```
|
||||
|
||||
**Response:** 204 No Content
|
||||
|
||||
**Errors:**
|
||||
- 401: 未认证
|
||||
- 404: 消息不存在
|
||||
- 400: 消息不是待处理状态或不是日历类型邀请
|
||||
|
||||
---
|
||||
|
||||
### POST /inbox/messages/{id}/dismiss
|
||||
|
||||
忽略邀请(需要认证)。
|
||||
|
||||
**Response:** 204 No Content
|
||||
|
||||
**Errors:**
|
||||
- 401: 未认证
|
||||
- 404: 消息不存在
|
||||
- 400: 消息不是待处理状态
|
||||
|
||||
---
|
||||
|
||||
## Users
|
||||
|
||||
### GET /users/me
|
||||
|
||||
Reference in New Issue
Block a user