消息
加载消息历史
Changed on加载会话的消息历史,支持分页和时间筛选
get/messages/{session_id}/load
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/messages/{session_id}/load
- Auth
- API key in header Authorization
- or API key in header X-API-Key
Path parameters
session_idstring required
会话ID
Query parameters
limitinteger
返回数量
before_timestring
在此时间之前的消息(RFC3339Nano格式)
resource_urls'handle' | 'public'
文件引用形式,public 返回可加载直链
Response
消息列表
Example response
{
"success": true
}Changes
- info
added the new optional
queryrequest parameterresource_urls
- info
- warning
deleted the
queryrequest parameterresource_urls
- warning