备考内容/Public
Search IELTS knowledge articles
Search published IELTS Buddy prep guides by keyword or tag. Results are paginated and include a stable prep_guide contentRef. This is the prep-guide module's only search interface.
Endpoint
POST
/api/v1/agent/capabilities/ielts_prep_search_guides请求参数
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
| limit | number | 否 | Result limit, 1-8. |
| offset | number | 否 | Pagination offset. |
| query | string | 否 | Keyword or title. |
| tag | string | 否 | Optional published guide tag or category. |
调用示例
curl -X POST \
'https://work.ieltsbuddy.igopx.cn/api/v1/agent/capabilities/ielts_prep_search_guides' \
-H 'Content-Type: application/json' \
--data '{"limit":8,"offset":0,"query":"","tag":""}'请求结构
{
"type": "object",
"properties": {
"limit": {
"default": 8,
"description": "Result limit, 1-8.",
"type": "integer",
"minimum": 1,
"maximum": 8
},
"offset": {
"default": 0,
"description": "Pagination offset.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"query": {
"default": "",
"description": "Keyword or title.",
"type": "string"
},
"tag": {
"default": "",
"description": "Optional published guide tag or category.",
"type": "string"
}
},
"required": [
"limit",
"offset",
"query",
"tag"
],
"additionalProperties": false
}统一响应
接口结果位于 data;code 为 0 表示调用成功。
{
"code": 0,
"data": {},
"message": "ok"
}错误码
400
40001请求参数不符合接口契约404
40401接口或目标资源不存在