寄主植物
昆虫与寄主植物关联记录,包含参考文献与可排序表格。
GET /api/v1/hostplants
分页返回寄主植物关联记录,将鳞翅目物种与已记录的寄主植物及参考文献关联起来。
curl "https://api.ilepbase.com/api/v1/hostplants?q=abrostola&page=1&pageSize=10"查询参数
| 名称 | 类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
q | string | 否 | — | 按昆虫或寄主植物的科、属、种名检索。 |
page | int | 否 | 1 | 页码。 |
pageSize | int | 否 | 10 | 每页条目数。 |
响应
{
"success": true,
"data": {
"items": [
{
"id": "hp-001",
"insectFamily": "Noctuidae",
"insectGenus": "Abrostola",
"insectSpecies": "Abrostola tripartita",
"hostplantFamily": "Urticaceae",
"hostplantGenus": "Urtica",
"hostplantSpecies": "Urtica dioica",
"references": "Robinson et al. 2010",
"source": "HOSTS"
}
],
"pagination": {
"page": 1, "pageSize": 10,
"total": 3200, "totalPages": 320,
"hasNext": true, "hasPrev": false
}
},
"timestamp": "2026-04-23T12:00:00.000Z"
}关键字段
| 字段 | 类型 | 描述 |
|---|---|---|
items[].insectFamily | string | 昆虫所属科。 |
items[].insectGenus | string | 昆虫属名。 |
items[].insectSpecies | string | 昆虫种名。 |
items[].hostplantFamily | string | 寄主植物科名。 |
items[].hostplantGenus | string | 寄主植物属名。 |
items[].hostplantSpecies | string | 寄主植物种名。 |
items[].references | string | 该关联记录的文献引用。 |
items[].source | string | 数据来源,例如 HOSTS 数据库。 |