add mcp servers (#2076)

This commit is contained in:
澄潭
2025-04-16 14:48:53 +08:00
committed by GitHub
parent 4f0834d817
commit 8cce7f5d50
150 changed files with 34544 additions and 3 deletions

View File

@@ -0,0 +1,527 @@
server:
name: route-planning
config:
appCode: ""
tools:
- name: bus-route
description: 公交路线规划
args:
- name: alternativeRoute
description: 返回方案条数 可传入1-10的阿拉伯数字代表返回的不同条数
type: string
position: body
- name: date
description: 请求日期 例如:2023-10-28
type: string
position: body
- name: destAddCode
description: 终点所在行政区域编码 参考国家行政区域编码表
type: string
position: body
- name: destCityCode
description: 目的地所在城市 仅支持citycode参考国家行政区域编码表 相同时代表同城,不同时代表跨城 譬如西湖区citycode为330106
type: string
required: true
position: body
- name: destination
description: 目的地经纬度 经度在前,纬度在后,经度和纬度用”,”分割经纬度小数点后不得超过6位
type: string
required: true
position: body
- name: maxTrans
description: 最大换乘次数 0直达 1最多换乘1次 2最多换乘2次 3最多换乘3次 4最多换乘4次
type: string
position: body
- name: multiexPort
description: 地铁出入口数量 0只返回一个地铁出入口 1返回全部地铁出入口
type: string
position: body
- name: nightFlag
description: 考虑夜班车 0不考虑夜班车 1考虑夜班车
type: string
position: body
- name: origAddCode
description: 起点所在行政区域编码 参考国家行政区域编码表
type: string
position: body
- name: origCityCode
description: 起点所在城市 仅支持citycode参考国家行政区域编码表 相同时代表同城,不同时代表跨城 譬如西湖区citycode为330106
type: string
required: true
position: body
- name: origin
description: 起点经纬度 经度在前,纬度在后,经度和纬度用”,”分割经纬度小数点后不得超过6位
type: string
required: true
position: body
- name: showFields
description: 返回结果控制 详见show_fields说明 show_fields用来筛选response结果中可选字段。show_fields的使用需要遵循如下规则 1、具体可指定返回的字段类请见下方返回结果说明中的“show_fields”内字段类型>的“show_fields”内字段类型 2、多个字段间采用“,”进行分割; 3、show_fields未设置时只返回基础信息类内字段
type: string
position: body
- name: strategy
description: 公共交通换乘策略 可选值: 0推荐模式综合权重同高德APP默认 1最经济模式票价最低 2最少换乘模式换乘次数少 3最少步行模式尽可能减少步行距离 4最舒适模式尽可能乘坐空调车 5不乘地铁模式不乘坐地铁路线 6地铁图模式起终点都是地铁站 地铁图模式下originpoi及destinationpoi为必填项 7地铁优先模式步行距离不超过4KM 8时间短模式方案花费总时间最少
type: string
position: body
- name: time
description: 请求时间 例如:9-54
type: string
position: body
requestTemplate:
url: https://jmlxgh.market.alicloudapi.com/route/public-transit
method: POST
headers:
- key: Content-Type
value: application/x-www-form-urlencoded
- key: Authorization
value: APPCODE {{.config.appCode}}
- key: X-Ca-Nonce
value: '{{uuidv4}}'
responseTemplate:
prependBody: |+
# API Response Information
Below is the response from an API call. To help you understand the data, I've provided:
1. A detailed description of all fields in the response structure
2. The complete API response
## Response Structure
> Content-Type: application/json
- **code**: 返回码,详见返回码说明 (Type: integer)
- **data**: (Type: object)
- **data.strategyList**: (Type: object)
- **data.strategyList.destination**: 终点经纬度 (Type: string)
- **data.strategyList.distance**: 本条路线的总距离,单位:米 (Type: string)
- **data.strategyList.origin**: 起点经纬度 (Type: string)
- **data.strategyList.transits**: (Type: array)
- **data.strategyList.transits[].distance**: 本条路线的总距离,单位:米 (Type: string)
- **data.strategyList.transits[].nightflag**: 0非夜班车1夜班车 (Type: string)
- **data.strategyList.transits[].segments**: (Type: array)
- **data.strategyList.transits[].segments[].bus**: (Type: object)
- **data.strategyList.transits[].segments[].bus.buslines**: (Type: array)
- **data.strategyList.transits[].segments[].bus.buslines[].arrival_stop**: (Type: object)
- **data.strategyList.transits[].segments[].bus.buslines[].arrival_stop.id**: 站点id (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].arrival_stop.location**: 站点经纬度 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].arrival_stop.name**: 站点名字 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].bus_time_tips**: (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].bustimetag**: (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].departure_stop**: (Type: object)
- **data.strategyList.transits[].segments[].bus.buslines[].departure_stop.entrance**: (Type: object)
- **data.strategyList.transits[].segments[].bus.buslines[].departure_stop.entrance.location**: 入口经纬度 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].departure_stop.entrance.name**: 入口名称 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].departure_stop.exit**: (Type: object)
- **data.strategyList.transits[].segments[].bus.buslines[].departure_stop.exit.location**: 出口经纬度 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].departure_stop.exit.name**: 出口名称 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].departure_stop.id**: 站点id (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].departure_stop.location**: 站点经纬度 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].departure_stop.name**: 站点名字 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].distance**: 公交行驶距离 单位:米 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].end_time**: (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].id**: 公交路线id (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].name**: 公交路线名称 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].start_time**: (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].type**: 公交类型 格式如:地铁线路 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].via_num**: 此段途经公交站数 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].via_stops**: (Type: array)
- **data.strategyList.transits[].segments[].bus.buslines[].via_stops[].id**: 公交站点编号 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].via_stops[].location**: 公交站点经纬度 (Type: string)
- **data.strategyList.transits[].segments[].bus.buslines[].via_stops[].name**: 途径公交站点信息 (Type: string)
- **data.strategyList.transits[].segments[].railway**: (Type: object)
- **data.strategyList.transits[].segments[].railway.alters**: (Type: object)
- **data.strategyList.transits[].segments[].railway.alters.id**: 备选线路名称 (Type: string)
- **data.strategyList.transits[].segments[].railway.alters.name**: 备选方案ID (Type: string)
- **data.strategyList.transits[].segments[].railway.arrival_stop**: (Type: object)
- **data.strategyList.transits[].segments[].railway.arrival_stop.adcode**: 下车站点所在城市的adcode (Type: string)
- **data.strategyList.transits[].segments[].railway.arrival_stop.end**: 是否为终点站1表示为终点站0表示非终点站 (Type: string)
- **data.strategyList.transits[].segments[].railway.arrival_stop.id**: 下车站点ID (Type: string)
- **data.strategyList.transits[].segments[].railway.arrival_stop.location**: 下车站点经纬度 (Type: string)
- **data.strategyList.transits[].segments[].railway.arrival_stop.name**: 下车站点名称 (Type: string)
- **data.strategyList.transits[].segments[].railway.arrival_stop.time**: 到站时间如大于24:00则表示跨天 (Type: string)
- **data.strategyList.transits[].segments[].railway.departure_stop**: (Type: object)
- **data.strategyList.transits[].segments[].railway.departure_stop.adcode**: 上车站点所在城市的adcode (Type: string)
- **data.strategyList.transits[].segments[].railway.departure_stop.id**: 上车站点ID (Type: string)
- **data.strategyList.transits[].segments[].railway.departure_stop.location**: 上车站点经纬度 (Type: string)
- **data.strategyList.transits[].segments[].railway.departure_stop.name**: 上车站点名称 (Type: string)
- **data.strategyList.transits[].segments[].railway.departure_stop.start**: 是否始发站1表示为始发站0表示非始发站 (Type: string)
- **data.strategyList.transits[].segments[].railway.departure_stop.time**: 上车点发车时间 (Type: string)
- **data.strategyList.transits[].segments[].railway.distance**: 该item换乘段的行车总距离 (Type: string)
- **data.strategyList.transits[].segments[].railway.id**: 线路id编号 (Type: string)
- **data.strategyList.transits[].segments[].railway.name**: 线路名称 (Type: string)
- **data.strategyList.transits[].segments[].railway.spaces**: (Type: array)
- **data.strategyList.transits[].segments[].railway.spaces[].code**: (Type: string)
- **data.strategyList.transits[].segments[].railway.spaces[].cost**: 仓位费用 (Type: string)
- **data.strategyList.transits[].segments[].railway.time**: 该线路车段耗时 (Type: string)
- **data.strategyList.transits[].segments[].railway.trip**: 线路车次号 (Type: string)
- **data.strategyList.transits[].segments[].railway.type**: 线路车次类型 (Type: string)
- **data.strategyList.transits[].segments[].railway.via_stop**: (Type: object)
- **data.strategyList.transits[].segments[].railway.via_stop.id**: 途径站点的ID (Type: string)
- **data.strategyList.transits[].segments[].railway.via_stop.location**: 途径站点的坐标点 (Type: string)
- **data.strategyList.transits[].segments[].railway.via_stop.name**: 途径站点的名称 (Type: string)
- **data.strategyList.transits[].segments[].railway.via_stop.time**: 途径站点的进站时间如大于24:00,则表示跨天 (Type: string)
- **data.strategyList.transits[].segments[].railway.via_stop.wait**: 途径站点的停靠时间,单位:分钟 (Type: string)
- **data.strategyList.transits[].segments[].taxi**: (Type: object)
- **data.strategyList.transits[].segments[].taxi.distance**: (Type: string)
- **data.strategyList.transits[].segments[].taxi.drivetime**: (Type: string)
- **data.strategyList.transits[].segments[].taxi.endname**: (Type: string)
- **data.strategyList.transits[].segments[].taxi.endpoint**: (Type: string)
- **data.strategyList.transits[].segments[].taxi.polyline**: (Type: string)
- **data.strategyList.transits[].segments[].taxi.price**: 打车预计花费金额 (Type: string)
- **data.strategyList.transits[].segments[].taxi.startname**: (Type: string)
- **data.strategyList.transits[].segments[].taxi.startpoint**: (Type: string)
- **data.strategyList.transits[].segments[].walking**: (Type: object)
- **data.strategyList.transits[].segments[].walking.destination**: 终点坐标 (Type: string)
- **data.strategyList.transits[].segments[].walking.distance**: 每段线路步行距离 单位:米 (Type: string)
- **data.strategyList.transits[].segments[].walking.duration**: 步行预计时间 单位:秒 (Type: string)
- **data.strategyList.transits[].segments[].walking.origin**: 起点坐标 (Type: string)
- **data.strategyList.transits[].segments[].walking.steps**: (Type: array)
- **data.strategyList.transits[].segments[].walking.steps[].action**: (Type: string)
- **data.strategyList.transits[].segments[].walking.steps[].assistant_action**: (Type: string)
- **data.strategyList.transits[].segments[].walking.steps[].distance**: 此段路的距离 (Type: string)
- **data.strategyList.transits[].segments[].walking.steps[].duration**: (Type: string)
- **data.strategyList.transits[].segments[].walking.steps[].instruction**: 此段路的行走介绍 (Type: string)
- **data.strategyList.transits[].segments[].walking.steps[].polyline**: (Type: string)
- **data.strategyList.transits[].segments[].walking.steps[].road**: (Type: string)
- **data.strategyList.transits[].walking_distance**: (Type: string)
- **data.strategyNum**: 路径规划方案总数 (Type: string)
- **msg**: 返回码对应描述 (Type: string)
- **taskNo**: 本次请求号 (Type: string)
## Original Response
- name: walking-route
description: 步行路线规划
args:
- name: alternativeRoute
description: 返回路线条数 1多备选路线中第一条路线 2多备选路线中前两条路线 3多备选路线中三条路线 不传则默认返回一条路线方案
type: string
position: body
- name: destination
description: 目的地经纬度 经度在前,纬度在后,经度和纬度用”,”分割经纬度小数点后不得超过6位
type: string
required: true
position: body
- name: origin
description: 起点经纬度 经度在前,纬度在后,经度和纬度用”,”分割经纬度小数点后不得超过6位
type: string
required: true
position: body
- name: showFields
description: 返回结果控制 详见show_fields说明 show_fields用来筛选response结果中可选字段。show_fields的使用需要遵循如下规则 1、具体可指定返回的字段类请见下方返回结果说明中的“show_fields”内字段类型 2、多个字段间采用“,”进行分割; 3、show_fields未设置时只返回基础信息类内字段
type: string
position: body
requestTemplate:
url: https://jmlxgh.market.alicloudapi.com/route/walk
method: POST
headers:
- key: Content-Type
value: application/x-www-form-urlencoded
- key: Authorization
value: APPCODE {{.config.appCode}}
- key: X-Ca-Nonce
value: '{{uuidv4}}'
responseTemplate:
prependBody: |+
# API Response Information
Below is the response from an API call. To help you understand the data, I've provided:
1. A detailed description of all fields in the response structure
2. The complete API response
## Response Structure
> Content-Type: application/json
- **code**: 返回码,详见返回码说明 (Type: integer)
- **data**: (Type: object)
- **data.strategyList**: (Type: object)
- **data.strategyList.destination**: 终点经纬度 (Type: string)
- **data.strategyList.origin**: 起点经纬度 (Type: string)
- **data.strategyList.paths**: (Type: array)
- **data.strategyList.paths[].cost**: (Type: object)
- **data.strategyList.paths[].cost.duration**: 线路耗时包括方案总耗时及分段step中的耗时 (Type: string)
- **data.strategyList.paths[].distance**: 方案距离,单位:米 (Type: string)
- **data.strategyList.paths[].steps**: (Type: array)
- **data.strategyList.paths[].steps[].instruction**: 步行指示 (Type: string)
- **data.strategyList.paths[].steps[].orientation**: 进入道路方向 (Type: string)
- **data.strategyList.paths[].steps[].road_name**: 分段道路名称 (Type: string)
- **data.strategyList.paths[].steps[].step_distance**: 分段距离信息 (Type: string)
- **data.strategyNum**: 路径规划方案总数 (Type: string)
- **msg**: 返回码对应描述 (Type: string)
- **taskNo**: 本次请求号 (Type: string)
## Original Response
- name: elevator-route
description: 电动车骑行路线规划
args:
- name: alternativeRoute
description: 返回路线条数 1多备选路线中第一条路线 2多备选路线中前两条路线 3多备选路线中三条路线 不传则默认返回一条路线方案
type: string
position: body
- name: destination
description: 目的地经纬度 经度在前,纬度在后,经度和纬度用”,”分割经纬度小数点后不得超过6位
type: string
required: true
position: body
- name: origin
description: 起点经纬度 经度在前,纬度在后,经度和纬度用”,”分割经纬度小数点后不得超过6位
type: string
required: true
position: body
- name: showFields
description: 返回结果控制 详见show_fields说明 show_fields用来筛选response结果中可选字段。show_fields的使用需要遵循如下规则 1、具体可指定返回的字段类请见下方返回结果说明中的“show_fields”内字段类型>的“show_fields”内字段类型 2、多个字段间采用“,”进行分割; 3、show_fields未设置时只返回基础信息类内字段
type: string
position: body
requestTemplate:
url: https://jmlxgh.market.alicloudapi.com/route/electric-bicycle
method: POST
headers:
- key: Content-Type
value: application/x-www-form-urlencoded
- key: Authorization
value: APPCODE {{.config.appCode}}
- key: X-Ca-Nonce
value: '{{uuidv4}}'
responseTemplate:
prependBody: |+
# API Response Information
Below is the response from an API call. To help you understand the data, I've provided:
1. A detailed description of all fields in the response structure
2. The complete API response
## Response Structure
> Content-Type: application/json
- **code**: 返回码,详见返回码说明 (Type: integer)
- **data**: (Type: object)
- **data.strategyList**: (Type: object)
- **data.strategyList.destination**: 终点经纬度 (Type: string)
- **data.strategyList.origin**: 起点经纬度 (Type: string)
- **data.strategyList.paths**: (Type: array)
- **data.strategyList.paths[].distance**: 方案距离,单位:米 (Type: string)
- **data.strategyList.paths[].duration**: 线路耗时包括方案总耗时及分段step中的耗时 (Type: string)
- **data.strategyList.paths[].steps**: (Type: array)
- **data.strategyList.paths[].steps[].instruction**: 骑行指示 (Type: string)
- **data.strategyList.paths[].steps[].orientation**: 进入道路方向 (Type: string)
- **data.strategyList.paths[].steps[].road_name**: 分段道路名称 (Type: string)
- **data.strategyList.paths[].steps[].step_distance**: 分段距离信息 (Type: integer)
- **data.strategyNum**: 路径规划方案总数 (Type: string)
- **msg**: 返回码对应描述 (Type: string)
- **taskNo**: 本次请求号 (Type: string)
## Original Response
- name: bicycle-route
description: 自行车骑行路线规划
args:
- name: alternativeRoute
description: 返回路线条数 1多备选路线中第一条路线 2多备选路线中前两条路线 3多备选路线中三条路线 不传则默认返回一条路线方案
type: string
position: body
- name: destination
description: 目的地经纬度 经度在前,纬度在后,经度和纬度用”,”分割经纬度小数点后不得超过6位
type: string
required: true
position: body
- name: origin
description: 起点经纬度 经度在前,纬度在后,经度和纬度用”,”分割经纬度小数点后不得超过6位
type: string
required: true
position: body
- name: showFields
description: 返回结果控制 详见show_fields说明 show_fields用来筛选response结果中可选字段。show_fields的使用需要遵循如下规则 1、具体可指定返回的字段类请见下方返回结果说明中的“show_fields”内字段类型 2、多个字段间采用“,”进行分割; 3、show_fields未设置时只返回基础信息类内字段
type: string
position: body
requestTemplate:
url: https://jmlxgh.market.alicloudapi.com/route/ride
method: POST
headers:
- key: Content-Type
value: application/x-www-form-urlencoded
- key: Authorization
value: APPCODE {{.config.appCode}}
- key: X-Ca-Nonce
value: '{{uuidv4}}'
responseTemplate:
prependBody: |+
# API Response Information
Below is the response from an API call. To help you understand the data, I've provided:
1. A detailed description of all fields in the response structure
2. The complete API response
## Response Structure
> Content-Type: application/json
- **code**: 返回码,详见返回码说明 (Type: integer)
- **data**: (Type: object)
- **data.strategyList**: (Type: object)
- **data.strategyList.destination**: 终点经纬度 (Type: string)
- **data.strategyList.origin**: 起点经纬度 (Type: string)
- **data.strategyList.paths**: (Type: array)
- **data.strategyList.paths[].distance**: 方案距离,单位:米 (Type: string)
- **data.strategyList.paths[].duration**: 线路耗时包括方案总耗时及分段step中的耗时 (Type: string)
- **data.strategyList.paths[].steps**: (Type: array)
- **data.strategyList.paths[].steps[].instruction**: 骑行指示 (Type: string)
- **data.strategyList.paths[].steps[].orientation**: 进入道路方向 (Type: string)
- **data.strategyList.paths[].steps[].road_name**: 分段道路名称 (Type: string)
- **data.strategyList.paths[].steps[].step_distance**: 分段距离信息 (Type: integer)
- **data.strategyNum**: 路径规划方案总数 (Type: string)
- **msg**: 返回码对应描述 (Type: string)
- **taskNo**: 本次请求号 (Type: string)
## Original Response
- name: destination-distance
description: 行程距离测量
args:
- name: destination
description: 目的地 规则lonlat经度纬度 “,”分割经纬度小数点后不得超过6位
type: string
required: true
position: body
- name: origins
description: 出发点 ,经度和纬度用”,”分隔
type: string
required: true
position: body
- name: type
description: 路径计算的方式和方法 0直线距离 1驾车导航距离仅支持国内坐标。 当为1时会考虑路况,故在不同时间请求能不同。 此策略和驾车路径规划接口的strategy=4策略基本一致,策略为”拥堵的路线,但是可能会存在绕路的情况,耗时可能较长”实现高德地图客户端效果,考虑使用驾车路径规划接口 3步行规划距离仅支持5km之间的距离
type: string
position: body
requestTemplate:
url: https://jmlxgh.market.alicloudapi.com/route/distance-measurement
method: POST
headers:
- key: Content-Type
value: application/x-www-form-urlencoded
- key: Authorization
value: APPCODE {{.config.appCode}}
- key: X-Ca-Nonce
value: '{{uuidv4}}'
responseTemplate:
prependBody: |+
# API Response Information
Below is the response from an API call. To help you understand the data, I've provided:
1. A detailed description of all fields in the response structure
2. The complete API response
## Response Structure
> Content-Type: application/json
- **code**: 返回码,详见返回码说明 (Type: integer)
- **data**: (Type: object)
- **data.count**: 结果总数 (Type: string)
- **data.results**: (Type: array)
- **data.results[].dest_id**: 终点坐标,终点坐标序列号(从1开始) (Type: string)
- **data.results[].distance**: 路径距离,单位:米 (Type: string)
- **data.results[].duration**: 预计行驶时间,单位:秒 (Type: string)
- **data.results[].origin_id**: 起点坐标,起点坐标序列号(从1开始) (Type: string)
- **msg**: 返回码对应描述 (Type: string)
- **taskNo**: 本次请求号 (Type: string)
## Original Response
- name: car-route
description: 驾车路线规划
args:
- name: avoidpolygons
description: 避让区域 区域避让默认支持1个避让区域每个区域最多可有16个顶点多个区域坐标按顺序以英文竖线符号分隔如果是四边形则有四个坐标点如果是五边形则有五个坐标点最大支持32个避让区域。同时传入避让区域及避让道路仅支持避让道路每个避让区域不能超过81平方公里否则避让区域会失效
type: string
position: body
- name: avoidroad
description: 避让道路名 只支持一条避让道路
type: string
position: body
- name: carType
description: 车辆类型 0普通燃油汽车 1纯电动汽车 2插电式混动汽车
type: string
position: body
- name: destination
description: 目的地经纬度 经度在前,纬度在后,经度和纬度用”,”分割经纬度小数点后不得超过6位
type: string
required: true
position: body
- name: ferry
description: 是否使用轮渡 0:使用渡轮 1:不使用渡轮
type: string
position: body
- name: origin
description: 起点经纬度 经度在前,纬度在后,经度和纬度用”,”分割经纬度小数点后不得超过6位
type: string
required: true
position: body
- name: originType
description: 起点处道路类型 填入此值可以辅助更精准的起点算路 0普通道路 1高架上 2高架下 3主路 4辅路 5隧道 7环岛 9停车场内部
type: string
position: body
- name: plate
description: 车牌号码 车牌号,如 京AHA322支持6位传统车牌和7位新能源车牌用于判断限行相关
type: string
position: body
- name: showFields
description: 返回结果控制 详见show_fields说明 show_fields用来筛选response结果中可选字段。show_fields的使用需要遵循如下规则 1、具体可指定返回的字段类请见下方返回结果说明中的“show_fields”内字段类型 2、多个字段间采用“,”进行分割; 3、show_fields未设置时只返回基础信息类内字段
type: string
position: body
- name: strategy
description: 驾车算路策略 0速度优先只返回一条路线此路线不一定距离最短 1费用优先只返回一条路线不走收费路段且耗时最少的路线 2距离优先只返回一条路线仅走距离最短的路线但是可能存在穿越小路/小区的情况 3速度优先只返回一条路线不走快速路例如京通快速路 32默认高德推荐同高德地图APP默认 33躲避拥堵 34高速优先 35不走高速 36少收费 37大路优先 38速度最快 39躲避拥堵高速优先 40躲避拥堵不走高速 41躲避拥堵少收费 42少收费不走高速 43躲避拥堵少收费不走高速 44躲避拥堵大路优先 45躲避拥堵速度最快
type: string
position: body
- name: waypoints
description: 途经点 途径点坐标串默认支持1个有序途径点。多个途径点坐标按顺序以英文分号;分隔。最大支持16个途经点
type: string
position: body
requestTemplate:
url: https://jmlxgh.market.alicloudapi.com/route/drive
method: POST
headers:
- key: Content-Type
value: application/x-www-form-urlencoded
- key: Authorization
value: APPCODE {{.config.appCode}}
- key: X-Ca-Nonce
value: '{{uuidv4}}'
responseTemplate:
prependBody: |+
# API Response Information
Below is the response from an API call. To help you understand the data, I've provided:
1. A detailed description of all fields in the response structure
2. The complete API response
## Response Structure
> Content-Type: application/json
- **code**: 返回码,详见返回码说明 (Type: integer)
- **data**: (Type: object)
- **data.strategyList**: (Type: object)
- **data.strategyList.destination**: 终点经纬度 (Type: string)
- **data.strategyList.origin**: 起点经纬度 (Type: string)
- **data.strategyList.paths**: (Type: array)
- **data.strategyList.paths[].distance**: 方案距离,单位:米 (Type: string)
- **data.strategyList.paths[].restriction**: 0代表限行已规避或未限行即该路线没有限行路段 1代表限行无法规避即该线路有限行路段 (Type: string)
- **data.strategyList.paths[].steps**: (Type: array)
- **data.strategyList.paths[].steps[].instruction**: 行驶指示 (Type: string)
- **data.strategyList.paths[].steps[].orientation**: 进入道路方向 (Type: string)
- **data.strategyList.paths[].steps[].road_name**: 分段道路名称 (Type: string)
- **data.strategyList.paths[].steps[].step_distance**: 分段距离信息 (Type: string)
- **data.strategyList.taxi_cost**: 预计出租车费用,单位:元 (Type: string)
- **data.strategyNum**: 路径规划方案总数 (Type: string)
- **msg**: 返回码对应描述 (Type: string)
- **taskNo**: 本次请求号 (Type: string)
## Original Response