返回地图

获取指定 POI 信息

根据 POI 类型和键值获取对应的详细信息

GET
/api/pois/{type}/{key}

Path Parameters

typestring

POI 的类型

keystring

POI 的唯一标识符

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://loading/api/pois/junction/21"
{
  "type": "string",
  "key": "string",
  "displayName": "string",
  "description": "string",
  "displayNameEn": "string",
  "descriptionEn": "string",
  "properties": [
    {
      "name": "string",
      "value": "string"
    }
  ],
  "photos": [
    "string"
  ],
  "basincode": 0,
  "subbasincd": "string",
  "binstrval": 0,
  "binstrlen": 0
}
{
  "detail": "参数验证失败"
}
{
  "detail": "Resource not found"
}
{
  "detail": "服务器内部错误"
}