summaryrefslogtreecommitdiff
path: root/data/zh_cn/iqs/2024-07-12/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/zh_cn/iqs/2024-07-12/api-docs.php')
-rw-r--r--data/zh_cn/iqs/2024-07-12/api-docs.php3018
1 files changed, 538 insertions, 2480 deletions
diff --git a/data/zh_cn/iqs/2024-07-12/api-docs.php b/data/zh_cn/iqs/2024-07-12/api-docs.php
index 1737997..6d18a81 100644
--- a/data/zh_cn/iqs/2024-07-12/api-docs.php
+++ b/data/zh_cn/iqs/2024-07-12/api-docs.php
@@ -1,10 +1,6 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'IQS',
- 'version' => '2024-07-12',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'IQS', 'version' => '2024-07-12'],
'directories' => [
'QueryRestaurants',
'QueryHotels',
@@ -14,21 +10,7 @@
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'QueryRestaurantsNl',
- 'QueryHotelsNl',
- 'QueryAttractionsNl',
- 'NearbySearchNova',
- 'ElectrobikeDirectionNova',
- 'PlaceSearchNova',
- 'BicyclingDirectionNova',
- 'WalkingDirectionNova',
- 'GeoCode',
- 'DrivingDirectionNova',
- 'RgeoCode',
- 'TransitIntegratedDirection',
- 'DrivingDirection',
- ],
+ 'children' => ['QueryRestaurantsNl', 'QueryHotelsNl', 'QueryAttractionsNl', 'NearbySearchNova', 'ElectrobikeDirectionNova', 'PlaceSearchNova', 'BicyclingDirectionNova', 'WalkingDirectionNova', 'GeoCode', 'DrivingDirectionNova', 'RgeoCode', 'TransitIntegratedDirection', 'DrivingDirection'],
],
],
'components' => [
@@ -36,27 +18,16 @@
'AgentBaseQuery' => [
'type' => 'object',
'properties' => [
- 'query' => [
- 'type' => 'string',
- ],
+ 'query' => ['type' => 'string'],
],
],
'CommonAgentQuery' => [
'type' => 'object',
'properties' => [
- 'query' => [
- 'type' => 'string',
- ],
- 'querySceneEnumCode' => [
- 'type' => 'string',
- ],
- 'limit' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'searchModel' => [
- 'type' => 'string',
- ],
+ 'query' => ['type' => 'string'],
+ 'querySceneEnumCode' => ['type' => 'string'],
+ 'limit' => ['type' => 'integer', 'format' => 'int32'],
+ 'searchModel' => ['type' => 'string'],
],
],
'QueryResult' => [
@@ -72,89 +43,41 @@
'items' => [
'type' => 'object',
'properties' => [
- 'title' => [
- 'type' => 'string',
- ],
- 'url' => [
- 'type' => 'string',
- ],
+ 'title' => ['type' => 'string'],
+ 'url' => ['type' => 'string'],
],
],
],
'metadata' => [
'type' => 'object',
'properties' => [
- 'score' => [
- 'type' => 'string',
- ],
- 'averageSpend' => [
- 'type' => 'string',
- ],
- 'businessArea' => [
- 'type' => 'string',
- ],
- 'dailyOpeningHours' => [
- 'type' => 'string',
- ],
- 'phone' => [
- 'type' => 'string',
- ],
- 'weeklyOpeningDays' => [
- 'type' => 'string',
- ],
- 'mainTag' => [
- 'type' => 'string',
- ],
+ 'score' => ['type' => 'string'],
+ 'averageSpend' => ['type' => 'string'],
+ 'businessArea' => ['type' => 'string'],
+ 'dailyOpeningHours' => ['type' => 'string'],
+ 'phone' => ['type' => 'string'],
+ 'weeklyOpeningDays' => ['type' => 'string'],
+ 'mainTag' => ['type' => 'string'],
],
],
- 'types' => [
- 'type' => 'string',
- ],
- 'address' => [
- 'type' => 'string',
- ],
- 'districtCode' => [
- 'type' => 'string',
- ],
- 'districtName' => [
- 'type' => 'string',
- ],
- 'cityCode' => [
- 'type' => 'string',
- ],
- 'provinceCode' => [
- 'type' => 'string',
- ],
- 'latitude' => [
- 'type' => 'string',
- ],
- 'typeCode' => [
- 'type' => 'string',
- ],
- 'cityName' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'distanceMeter' => [
- 'type' => 'string',
- ],
- 'id' => [
- 'type' => 'string',
- ],
- 'provinceName' => [
- 'type' => 'string',
- ],
- 'longitude' => [
- 'type' => 'string',
- ],
+ 'types' => ['type' => 'string'],
+ 'address' => ['type' => 'string'],
+ 'districtCode' => ['type' => 'string'],
+ 'districtName' => ['type' => 'string'],
+ 'cityCode' => ['type' => 'string'],
+ 'provinceCode' => ['type' => 'string'],
+ 'latitude' => ['type' => 'string'],
+ 'typeCode' => ['type' => 'string'],
+ 'cityName' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'distanceMeter' => ['type' => 'string'],
+ 'id' => ['type' => 'string'],
+ 'provinceName' => ['type' => 'string'],
+ 'longitude' => ['type' => 'string'],
],
],
],
- 'requestId' => [
- 'type' => 'string',
- ],
+ 'requestId' => ['type' => 'string'],
],
],
],
@@ -163,42 +86,28 @@
'QueryRestaurants' => [
'summary' => '提供周边搜索功能(餐厅)。',
'path' => '/amap-function-call-agent/iqs-agent-service/v1/nl/restaurants',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp00UKME',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- 'description' => '请求体参数',
- 'required' => false,
- '$ref' => '#/components/schemas/AgentBaseQuery',
- ],
+ 'schema' => ['description' => '请求体参数', 'required' => false, '$ref' => '#/components/schemas/AgentBaseQuery'],
],
],
'responses' => [
@@ -208,23 +117,13 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'D78E16C0-4D44-5065-BFF7-127F7859F687',
- ],
- 'queryResult' => [
- 'description' => '查询数据。',
- '$ref' => '#/components/schemas/QueryResult',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D78E16C0-4D44-5065-BFF7-127F7859F687'],
+ 'queryResult' => ['description' => '查询数据。', '$ref' => '#/components/schemas/QueryResult'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"D78E16C0-4D44-5065-BFF7-127F7859F687\\",\\n \\"queryResult\\": {\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n }\\n}","type":"json"}]',
'title' => '餐厅查询接口',
'description' => '自然语言搜索餐厅',
@@ -232,42 +131,28 @@
'QueryHotels' => [
'summary' => '提供周边搜索功能(酒店)。',
'path' => '/amap-function-call-agent/iqs-agent-service/v1/nl/hotels',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp00UKME',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- 'description' => '请求体参数。',
- 'required' => false,
- '$ref' => '#/components/schemas/AgentBaseQuery',
- ],
+ 'schema' => ['description' => '请求体参数。', 'required' => false, '$ref' => '#/components/schemas/AgentBaseQuery'],
],
],
'responses' => [
@@ -277,23 +162,13 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '78032F8B-0157-53F9-B1A8-3BD86ADE38D0',
- ],
- 'queryResult' => [
- 'description' => '查询数据。',
- '$ref' => '#/components/schemas/QueryResult',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '78032F8B-0157-53F9-B1A8-3BD86ADE38D0'],
+ 'queryResult' => ['description' => '查询数据。', '$ref' => '#/components/schemas/QueryResult'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"78032F8B-0157-53F9-B1A8-3BD86ADE38D0\\",\\n \\"queryResult\\": {\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n }\\n}","type":"json"}]',
'title' => '酒店查询接口',
'description' => '自然语言搜索酒店',
@@ -301,42 +176,28 @@
'QueryAttractions' => [
'summary' => '提供周边搜索功能(景点)。',
'path' => '/amap-function-call-agent/iqs-agent-service/v1/nl/attractions',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp00UKME',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- 'description' => '请求体',
- 'required' => false,
- '$ref' => '#/components/schemas/AgentBaseQuery',
- ],
+ 'schema' => ['description' => '请求体', 'required' => false, '$ref' => '#/components/schemas/AgentBaseQuery'],
],
],
'responses' => [
@@ -346,23 +207,13 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364',
- ],
- 'queryResult' => [
- 'description' => '查询数据。',
- '$ref' => '#/components/schemas/QueryResult',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'],
+ 'queryResult' => ['description' => '查询数据。', '$ref' => '#/components/schemas/QueryResult'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\",\\n \\"queryResult\\": {\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n }\\n}","type":"json"}]',
'title' => '景点查询接口',
'description' => '自然语言搜索景点',
@@ -370,110 +221,72 @@
'CommonQueryByScene' => [
'summary' => '自然语言通用查询。',
'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/common',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp93AW4O',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- 'description' => '请求Body。',
- 'required' => false,
- '$ref' => '#/components/schemas/CommonAgentQuery',
- ],
+ 'schema' => ['description' => '请求Body。', 'required' => false, '$ref' => '#/components/schemas/CommonAgentQuery'],
],
],
'responses' => [
200 => [
- 'schema' => [
- 'description' => '返回结果',
- '$ref' => '#/components/schemas/QueryResult',
- ],
+ 'schema' => ['description' => '返回结果', '$ref' => '#/components/schemas/QueryResult'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]',
'title' => '通用场景查询接口',
],
'QueryRestaurantsNl' => [
'summary' => '餐厅查询。',
'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/restaurants',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp93AW4O',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- 'description' => '请求体参数',
- 'required' => false,
- '$ref' => '#/components/schemas/AgentBaseQuery',
- ],
+ 'schema' => ['description' => '请求体参数', 'required' => false, '$ref' => '#/components/schemas/AgentBaseQuery'],
],
],
'responses' => [
200 => [
- 'schema' => [
- 'description' => '返回结果',
- '$ref' => '#/components/schemas/QueryResult',
- ],
+ 'schema' => ['description' => '返回结果', '$ref' => '#/components/schemas/QueryResult'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]',
'title' => '餐厅自然语言查询接口',
'description' => '自然语言搜索餐厅',
@@ -481,55 +294,36 @@
'QueryHotelsNl' => [
'summary' => '酒店查询。',
'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/hotels',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp93AW4O',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- 'description' => '请求体数据。',
- 'required' => false,
- '$ref' => '#/components/schemas/AgentBaseQuery',
- ],
+ 'schema' => ['description' => '请求体数据。', 'required' => false, '$ref' => '#/components/schemas/AgentBaseQuery'],
],
],
'responses' => [
200 => [
- 'schema' => [
- 'description' => '返回结果',
- '$ref' => '#/components/schemas/QueryResult',
- ],
+ 'schema' => ['description' => '返回结果', '$ref' => '#/components/schemas/QueryResult'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]',
'title' => '酒店自然语言查询接口',
'description' => '自然语言搜索酒店',
@@ -537,55 +331,36 @@
'QueryAttractionsNl' => [
'summary' => '景点查询。',
'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/attractions',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp93AW4O',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- 'description' => '请求体参数。',
- 'required' => false,
- '$ref' => '#/components/schemas/AgentBaseQuery',
- ],
+ 'schema' => ['description' => '请求体参数。', 'required' => false, '$ref' => '#/components/schemas/AgentBaseQuery'],
],
],
'responses' => [
200 => [
- 'schema' => [
- 'description' => '返回结果',
- '$ref' => '#/components/schemas/QueryResult',
- ],
+ 'schema' => ['description' => '返回结果', '$ref' => '#/components/schemas/QueryResult'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]',
'title' => '景点自然语言查询接口',
'description' => '自然语言搜索景点',
@@ -593,126 +368,68 @@
'NearbySearchNova' => [
'summary' => '通过经纬度查询附近的地点。',
'path' => '/ipaas/v2/pois/nearby',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp00UKME',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'keywords',
'in' => 'query',
- 'schema' => [
- 'description' => '需要进行语意解析的关键词',
- 'type' => 'string',
- 'required' => false,
- 'example' => '餐厅',
- ],
+ 'schema' => ['description' => '需要进行语意解析的关键词', 'type' => 'string', 'required' => false, 'example' => '餐厅'],
],
[
'name' => 'longitude',
'in' => 'query',
- 'schema' => [
- 'description' => '经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '116.310918',
- ],
+ 'schema' => ['description' => '经度', 'type' => 'string', 'required' => false, 'example' => '116.310918'],
],
[
'name' => 'latitude',
'in' => 'query',
- 'schema' => [
- 'description' => '纬度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '39.992873',
- ],
+ 'schema' => ['description' => '纬度', 'type' => 'string', 'required' => false, 'example' => '39.992873'],
],
[
'name' => 'radius',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索半径',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '3000',
- ],
+ 'schema' => ['description' => '搜索半径', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3000'],
],
[
'name' => 'types',
'in' => 'query',
- 'schema' => [
- 'description' => 'poi 所属类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'GAS_STATION|RESTAURANT|HOTEL|ATTRACTION',
- ],
+ 'schema' => ['description' => 'poi 所属类型', 'type' => 'string', 'required' => false, 'example' => 'GAS_STATION|RESTAURANT|HOTEL|ATTRACTION'],
],
[
'name' => 'page',
'in' => 'query',
- 'schema' => [
- 'description' => '插件列表的页码。起始值:1,默认值:1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '插件列表的页码。起始值:1,默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'size',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页条数。默认值:20,最小值:1,最大值:50。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页条数。默认值:20,最小值:1,最大值:50。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
[
'name' => 'cityLimit',
'in' => 'query',
- 'schema' => [
- 'description' => '指定城市数据召回限制',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '指定城市数据召回限制', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'sortRule',
'in' => 'query',
- 'schema' => [
- 'description' => '规定返回结果的排序规则(按距离排序:distance;综合排序:weight)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'distance',
- ],
+ 'schema' => ['description' => '规定返回结果的排序规则(按距离排序:distance;综合排序:weight)', 'type' => 'string', 'required' => false, 'example' => 'distance'],
],
],
'responses' => [
@@ -722,11 +439,7 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '6788a2c2-157d4ebe-ad979cd4f296',
- ],
+ 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => '6788a2c2-157d4ebe-ad979cd4f296'],
'data' => [
'description' => '服务ID',
'type' => 'array',
@@ -734,120 +447,32 @@
'description' => '返回数据。',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => 'poi 唯一标识',
- 'type' => 'string',
- 'example' => '34360',
- ],
- 'name' => [
- 'description' => 'poi 名称',
- 'type' => 'string',
- 'example' => '万城万充汽车充电站',
- ],
- 'longitude' => [
- 'description' => '经度',
- 'type' => 'string',
- 'example' => '108.970162',
- ],
- 'latitude' => [
- 'description' => '纬度',
- 'type' => 'string',
- 'example' => '39.994135',
- ],
- 'types' => [
- 'description' => 'poi 所属类型',
- 'type' => 'string',
- 'example' => '风景名胜',
- ],
- 'typeCode' => [
- 'description' => 'poi 分类编码',
- 'type' => 'string',
- 'example' => '110200',
- ],
- 'provinceName' => [
- 'description' => '省份',
- 'type' => 'string',
- 'example' => '陕西省',
- ],
- 'provinceCode' => [
- 'description' => '省份编码',
- 'type' => 'string',
- 'example' => '110000',
- ],
- 'cityName' => [
- 'description' => '城市名',
- 'type' => 'string',
- 'example' => '西安市',
- ],
- 'cityCode' => [
- 'description' => '城市编码',
- 'type' => 'string',
- 'example' => '010',
- ],
- 'districtName' => [
- 'description' => '区名',
- 'type' => 'string',
- 'example' => '海淀区',
- ],
- 'districtCode' => [
- 'description' => '区编码',
- 'type' => 'string',
- 'example' => '610102东新街与顺城东路北段交叉口西北100米',
- ],
- 'address' => [
- 'description' => '地址',
- 'type' => 'string',
- 'example' => '南京市江宁区苍穹路8号',
- ],
- 'distanceMeter' => [
- 'description' => '距离(单位米)',
- 'type' => 'string',
- 'example' => '445',
- ],
+ 'id' => ['description' => 'poi 唯一标识', 'type' => 'string', 'example' => '34360'],
+ 'name' => ['description' => 'poi 名称', 'type' => 'string', 'example' => '万城万充汽车充电站'],
+ 'longitude' => ['description' => '经度', 'type' => 'string', 'example' => '108.970162'],
+ 'latitude' => ['description' => '纬度', 'type' => 'string', 'example' => '39.994135'],
+ 'types' => ['description' => 'poi 所属类型', 'type' => 'string', 'example' => '风景名胜'],
+ 'typeCode' => ['description' => 'poi 分类编码', 'type' => 'string', 'example' => '110200'],
+ 'provinceName' => ['description' => '省份', 'type' => 'string', 'example' => '陕西省'],
+ 'provinceCode' => ['description' => '省份编码', 'type' => 'string', 'example' => '110000'],
+ 'cityName' => ['description' => '城市名', 'type' => 'string', 'example' => '西安市'],
+ 'cityCode' => ['description' => '城市编码', 'type' => 'string', 'example' => '010'],
+ 'districtName' => ['description' => '区名', 'type' => 'string', 'example' => '海淀区'],
+ 'districtCode' => ['description' => '区编码', 'type' => 'string', 'example' => '610102东新街与顺城东路北段交叉口西北100米'],
+ 'address' => ['description' => '地址', 'type' => 'string', 'example' => '南京市江宁区苍穹路8号'],
+ 'distanceMeter' => ['description' => '距离(单位米)', 'type' => 'string', 'example' => '445'],
'metadata' => [
'description' => '保留字段,用于扩展使用,暂无实际意义',
'type' => 'object',
'properties' => [
- 'businessArea' => [
- 'description' => '商圈',
- 'type' => 'string',
- 'example' => '后宅们商圈',
- ],
- 'phone' => [
- 'description' => '联系电话',
- 'type' => 'string',
- 'example' => '029-87983745',
- ],
- 'mainTag' => [
- 'description' => '主要特色',
- 'type' => 'string',
- 'example' => '食堂',
- ],
- 'score' => [
- 'description' => '得分。分布范围1~5',
- 'type' => 'string',
- 'example' => '4.5',
- ],
- 'dailyOpeningHours' => [
- 'description' => '每日营业时间',
- 'type' => 'string',
- 'example' => '11:00-14:00 17:00-21:00',
- ],
- 'weeklyOpeningDays' => [
- 'description' => '每周营业时间',
- 'type' => 'string',
- 'example' => '每天',
- ],
- 'averageSpend' => [
- 'description' => '人均消费',
- 'type' => 'string',
- 'example' => '22.00',
- ],
- 'tag' => [
- 'description' => '特色内容',
- 'type' => 'string',
- 'example' => '麻花,特色小吃,小吃街,羊肉泡馍,biangbiang面,肉夹馍,甑糕',
- ],
+ 'businessArea' => ['description' => '商圈', 'type' => 'string', 'example' => '后宅们商圈'],
+ 'phone' => ['description' => '联系电话', 'type' => 'string', 'example' => '029-87983745'],
+ 'mainTag' => ['description' => '主要特色', 'type' => 'string', 'example' => '食堂'],
+ 'score' => ['description' => '得分。分布范围1~5', 'type' => 'string', 'example' => '4.5'],
+ 'dailyOpeningHours' => ['description' => '每日营业时间', 'type' => 'string', 'example' => '11:00-14:00 17:00-21:00'],
+ 'weeklyOpeningDays' => ['description' => '每周营业时间', 'type' => 'string', 'example' => '每天'],
+ 'averageSpend' => ['description' => '人均消费', 'type' => 'string', 'example' => '22.00'],
+ 'tag' => ['description' => '特色内容', 'type' => 'string', 'example' => '麻花,特色小吃,小吃街,羊肉泡馍,biangbiang面,肉夹馍,甑糕'],
],
],
'images' => [
@@ -857,16 +482,8 @@
'description' => '图片',
'type' => 'object',
'properties' => [
- 'title' => [
- 'description' => '图片标题',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'url' => [
- 'description' => '图片地址',
- 'type' => 'string',
- 'example' => 'https://alidocs.dingtalk.com/i/team/nb9XJVAdyvMrOXyA/docs/b9XJlRRKq1BQaGyA',
- ],
+ 'title' => ['description' => '图片标题', 'type' => 'string', 'example' => 'test'],
+ 'url' => ['description' => '图片地址', 'type' => 'string', 'example' => 'https://alidocs.dingtalk.com/i/team/nb9XJVAdyvMrOXyA/docs/b9XJlRRKq1BQaGyA'],
],
],
],
@@ -877,9 +494,7 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"6788a2c2-157d4ebe-ad979cd4f296\\",\\n \\"data\\": [\\n {\\n \\"id\\": \\"34360\\",\\n \\"name\\": \\"万城万充汽车充电站\\",\\n \\"longitude\\": \\"108.970162\\",\\n \\"latitude\\": \\"39.994135\\",\\n \\"types\\": \\"风景名胜\\",\\n \\"typeCode\\": \\"110200\\",\\n \\"provinceName\\": \\"陕西省\\",\\n \\"provinceCode\\": \\"110000\\",\\n \\"cityName\\": \\"西安市\\",\\n \\"cityCode\\": \\"010\\",\\n \\"districtName\\": \\"海淀区\\",\\n \\"districtCode\\": \\"610102东新街与顺城东路北段交叉口西北100米\\",\\n \\"address\\": \\"南京市江宁区苍穹路8号\\",\\n \\"distanceMeter\\": \\"445\\",\\n \\"metadata\\": {\\n \\"businessArea\\": \\"后宅们商圈\\",\\n \\"phone\\": \\"029-87983745\\",\\n \\"mainTag\\": \\"食堂\\",\\n \\"score\\": \\"4.5\\",\\n \\"dailyOpeningHours\\": \\"11:00-14:00 17:00-21:00\\",\\n \\"weeklyOpeningDays\\": \\"每天\\",\\n \\"averageSpend\\": \\"22.00\\",\\n \\"tag\\": \\"麻花,特色小吃,小吃街,羊肉泡馍,biangbiang面,肉夹馍,甑糕\\"\\n },\\n \\"images\\": [\\n {\\n \\"title\\": \\"test\\",\\n \\"url\\": \\"https://alidocs.dingtalk.com/i/team/nb9XJVAdyvMrOXyA/docs/b9XJlRRKq1BQaGyA\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => '通过经纬度查询附近的地点Nova',
'description' => '周边搜索',
@@ -887,83 +502,48 @@
'ElectrobikeDirectionNova' => [
'summary' => '根据起终点坐标检索符合条件的电动车路线规划方案。',
'path' => '/ipaas/v2/direction/electrobike',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp00UKME',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'originLongitude',
'in' => 'query',
- 'schema' => [
- 'description' => '出发地点坐标的经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '116.345456',
- ],
+ 'schema' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.345456'],
],
[
'name' => 'originLatitude',
'in' => 'query',
- 'schema' => [
- 'description' => '出发地点坐标的纬度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '39.995197',
- ],
+ 'schema' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'],
],
[
'name' => 'destinationLongitude',
'in' => 'query',
- 'schema' => [
- 'description' => '目的地坐标的经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '116.46424',
- ],
+ 'schema' => ['description' => '目的地坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.46424'],
],
[
'name' => 'destinationLatitude',
'in' => 'query',
- 'schema' => [
- 'description' => '目的地坐标的纬度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '40.234564',
- ],
+ 'schema' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '40.234564'],
],
[
'name' => 'showPolyline',
'in' => 'query',
- 'schema' => [
- 'description' => '是否显示坐标点信息',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否显示坐标点信息', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -973,45 +553,17 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '123-sdf--23-234',
- ],
+ 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => '123-sdf--23-234'],
'data' => [
'description' => '响应数据',
'type' => 'object',
'properties' => [
- 'originLongitude' => [
- 'description' => '出发地点坐标的经度',
- 'type' => 'string',
- 'example' => '116.345456',
- ],
- 'originLatitude' => [
- 'description' => '出发地点坐标的纬度',
- 'type' => 'string',
- 'example' => '39.995197',
- ],
- 'destinationLongitude' => [
- 'description' => '目的地坐标的经度',
- 'type' => 'string',
- 'example' => '116.46424',
- ],
- 'destinationLatitude' => [
- 'description' => '目的地坐标的纬度',
- 'type' => 'string',
- 'example' => '40.345456',
- ],
- 'taxiCost' => [
- 'description' => '预计出租车费用,单位:元',
- 'type' => 'string',
- 'example' => '20',
- ],
- 'count' => [
- 'description' => '路径规划方案总数',
- 'type' => 'string',
- 'example' => '4',
- ],
+ 'originLongitude' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'example' => '116.345456'],
+ 'originLatitude' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'example' => '39.995197'],
+ 'destinationLongitude' => ['description' => '目的地坐标的经度', 'type' => 'string', 'example' => '116.46424'],
+ 'destinationLatitude' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'example' => '40.345456'],
+ 'taxiCost' => ['description' => '预计出租车费用,单位:元', 'type' => 'string', 'example' => '20'],
+ 'count' => ['description' => '路径规划方案总数', 'type' => 'string', 'example' => '4'],
'paths' => [
'description' => '路径列表',
'type' => 'array',
@@ -1019,60 +571,20 @@
'description' => '路径列表',
'type' => 'object',
'properties' => [
- 'distanceMeter' => [
- 'description' => '总步行距离,以米为单位',
- 'type' => 'string',
- 'example' => '12000',
- ],
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '300',
- ],
- 'restriction' => [
- 'description' => '限行信息',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
+ 'distanceMeter' => ['description' => '总步行距离,以米为单位', 'type' => 'string', 'example' => '12000'],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '300'],
+ 'restriction' => ['description' => '限行信息', 'type' => 'string', 'example' => '不涉及'],
'cost' => [
'description' => '耗时',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '500',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '4',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '4',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '20',
- ],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '500'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '4'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '4'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'],
],
],
'steps' => [
@@ -1082,70 +594,22 @@
'description' => '路径详情',
'type' => 'object',
'properties' => [
- 'instruction' => [
- 'description' => '路径指令',
- 'type' => 'string',
- 'example' => '向东南骑行65米向左前方行驶',
- ],
- 'orientation' => [
- 'description' => '方向',
- 'type' => 'string',
- 'example' => '东南',
- ],
- 'roadName' => [
- 'description' => '分段道路名称',
- 'type' => 'string',
- 'example' => '大寨路',
- ],
- 'stepDistanceMeter' => [
- 'description' => '分段距离,以米为单位',
- 'type' => 'string',
- 'example' => '3000',
- ],
- 'polyline' => [
- 'description' => '返回分路段坐标点串,两点间用“;”分隔',
- 'type' => 'string',
- 'example' => '116.464481,39.995206;116.46424,39.995192',
- ],
+ 'instruction' => ['description' => '路径指令', 'type' => 'string', 'example' => '向东南骑行65米向左前方行驶'],
+ 'orientation' => ['description' => '方向', 'type' => 'string', 'example' => '东南'],
+ 'roadName' => ['description' => '分段道路名称', 'type' => 'string', 'example' => '大寨路'],
+ 'stepDistanceMeter' => ['description' => '分段距离,以米为单位', 'type' => 'string', 'example' => '3000'],
+ 'polyline' => ['description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'string', 'example' => '116.464481,39.995206;116.46424,39.995192'],
'cost' => [
'description' => '耗时',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '2000',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '5',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '20',
- ],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '2000'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '5'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'],
],
],
],
@@ -1160,9 +624,7 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"123-sdf--23-234\\",\\n \\"data\\": {\\n \\"originLongitude\\": \\"116.345456\\",\\n \\"originLatitude\\": \\"39.995197\\",\\n \\"destinationLongitude\\": \\"116.46424\\",\\n \\"destinationLatitude\\": \\"40.345456\\",\\n \\"taxiCost\\": \\"20\\",\\n \\"count\\": \\"4\\",\\n \\"paths\\": [\\n {\\n \\"distanceMeter\\": \\"12000\\",\\n \\"durationSecond\\": \\"300\\",\\n \\"restriction\\": \\"不涉及\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"500\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"4\\",\\n \\"transitFee\\": \\"4\\",\\n \\"taxiFee\\": \\"20\\"\\n },\\n \\"steps\\": [\\n {\\n \\"instruction\\": \\"向东南骑行65米向左前方行驶\\",\\n \\"orientation\\": \\"东南\\",\\n \\"roadName\\": \\"大寨路\\",\\n \\"stepDistanceMeter\\": \\"3000\\",\\n \\"polyline\\": \\"116.464481,39.995206;116.46424,39.995192\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"2000\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"5\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"20\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '电动车路线规划方案Nova',
'description' => '根据起终点坐标检索符合条件的电动车路线规划方案。',
@@ -1170,95 +632,53 @@
'PlaceSearchNova' => [
'summary' => '通过关键词搜索地点。',
'path' => '/ipaas/v2/pois/place',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp00UKME',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'keywords',
'in' => 'query',
- 'schema' => [
- 'description' => '需要进行语意解析的关键词',
- 'type' => 'string',
- 'required' => false,
- 'example' => '北京大学',
- ],
+ 'schema' => ['description' => '需要进行语意解析的关键词', 'type' => 'string', 'required' => false, 'example' => '北京大学'],
],
[
'name' => 'region',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '北京市',
- ],
+ 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => '北京市'],
],
[
'name' => 'types',
'in' => 'query',
- 'schema' => [
- 'description' => '类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'GAS_STATION|RESTAURANT|HOTEL|ATTRACTION',
- ],
+ 'schema' => ['description' => '类型', 'type' => 'string', 'required' => false, 'example' => 'GAS_STATION|RESTAURANT|HOTEL|ATTRACTION'],
],
[
'name' => 'page',
'in' => 'query',
- 'schema' => [
- 'description' => '插件列表的页码。起始值:1,默认值:1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '插件列表的页码。起始值:1,默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'size',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页条数。默认值:20,最小值:1,最大值:50。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页条数。默认值:20,最小值:1,最大值:50。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
[
'name' => 'cityLimit',
'in' => 'query',
- 'schema' => [
- 'description' => '指定城市数据召回限制',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '指定城市数据召回限制', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -1268,11 +688,7 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => 'szq21-xf234-24234vd',
- ],
+ 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'szq21-xf234-24234vd'],
'data' => [
'description' => '服务ID',
'type' => 'array',
@@ -1280,120 +696,32 @@
'description' => '响应数据',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '记录Id',
- 'type' => 'string',
- 'example' => '34360',
- ],
- 'name' => [
- 'description' => '名称',
- 'type' => 'string',
- 'example' => 'hydro-project/hydro-res-auth',
- ],
- 'longitude' => [
- 'description' => '经度',
- 'type' => 'string',
- 'example' => '116.482145',
- ],
- 'latitude' => [
- 'description' => '维度',
- 'type' => 'string',
- 'example' => '39.990039',
- ],
- 'types' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => '餐饮服务',
- ],
- 'typeCode' => [
- 'description' => '类型编码',
- 'type' => 'string',
- 'example' => '110200',
- ],
- 'provinceName' => [
- 'description' => '省份',
- 'type' => 'string',
- 'example' => '北京市',
- ],
- 'provinceCode' => [
- 'description' => '省份编码',
- 'type' => 'string',
- 'example' => '110000',
- ],
- 'cityName' => [
- 'description' => '城市名称',
- 'type' => 'string',
- 'example' => '西安市',
- ],
- 'cityCode' => [
- 'description' => '城市编码',
- 'type' => 'string',
- 'example' => '010',
- ],
- 'districtName' => [
- 'description' => '区名',
- 'type' => 'string',
- 'example' => '海淀区',
- ],
- 'districtCode' => [
- 'description' => '区编码',
- 'type' => 'string',
- 'example' => '110105',
- ],
- 'address' => [
- 'description' => '地址',
- 'type' => 'string',
- 'example' => '颐和园路5号北京大学第二教学楼西门口正对面',
- ],
- 'distanceMeter' => [
- 'description' => '距离',
- 'type' => 'string',
- 'example' => '445',
- ],
+ 'id' => ['description' => '记录Id', 'type' => 'string', 'example' => '34360'],
+ 'name' => ['description' => '名称', 'type' => 'string', 'example' => 'hydro-project/hydro-res-auth'],
+ 'longitude' => ['description' => '经度', 'type' => 'string', 'example' => '116.482145'],
+ 'latitude' => ['description' => '维度', 'type' => 'string', 'example' => '39.990039'],
+ 'types' => ['description' => '类型', 'type' => 'string', 'example' => '餐饮服务'],
+ 'typeCode' => ['description' => '类型编码', 'type' => 'string', 'example' => '110200'],
+ 'provinceName' => ['description' => '省份', 'type' => 'string', 'example' => '北京市'],
+ 'provinceCode' => ['description' => '省份编码', 'type' => 'string', 'example' => '110000'],
+ 'cityName' => ['description' => '城市名称', 'type' => 'string', 'example' => '西安市'],
+ 'cityCode' => ['description' => '城市编码', 'type' => 'string', 'example' => '010'],
+ 'districtName' => ['description' => '区名', 'type' => 'string', 'example' => '海淀区'],
+ 'districtCode' => ['description' => '区编码', 'type' => 'string', 'example' => '110105'],
+ 'address' => ['description' => '地址', 'type' => 'string', 'example' => '颐和园路5号北京大学第二教学楼西门口正对面'],
+ 'distanceMeter' => ['description' => '距离', 'type' => 'string', 'example' => '445'],
'metadata' => [
'description' => '元数据',
'type' => 'object',
'properties' => [
- 'businessArea' => [
- 'description' => '商业区域',
- 'type' => 'string',
- 'example' => '后宅们商圈',
- ],
- 'phone' => [
- 'description' => '联系电话',
- 'type' => 'string',
- 'example' => '010-83847583',
- ],
- 'mainTag' => [
- 'description' => '主标签',
- 'type' => 'string',
- 'example' => '文物古迹',
- ],
- 'score' => [
- 'description' => '评分',
- 'type' => 'string',
- 'example' => '4.5',
- ],
- 'dailyOpeningHours' => [
- 'description' => '每日营业时间',
- 'type' => 'string',
- 'example' => '24小时',
- ],
- 'weeklyOpeningDays' => [
- 'description' => '每周营业时间',
- 'type' => 'string',
- 'example' => '每天',
- ],
- 'averageSpend' => [
- 'description' => '人均消费',
- 'type' => 'string',
- 'example' => '78',
- ],
- 'tag' => [
- 'description' => '特色内容,目前仅在美食poi下返回',
- 'type' => 'string',
- 'example' => '[{\\"value\\":\\"nttd\\",\\"key\\":\\"owner\\"}]',
- ],
+ 'businessArea' => ['description' => '商业区域', 'type' => 'string', 'example' => '后宅们商圈'],
+ 'phone' => ['description' => '联系电话', 'type' => 'string', 'example' => '010-83847583'],
+ 'mainTag' => ['description' => '主标签', 'type' => 'string', 'example' => '文物古迹'],
+ 'score' => ['description' => '评分', 'type' => 'string', 'example' => '4.5'],
+ 'dailyOpeningHours' => ['description' => '每日营业时间', 'type' => 'string', 'example' => '24小时'],
+ 'weeklyOpeningDays' => ['description' => '每周营业时间', 'type' => 'string', 'example' => '每天'],
+ 'averageSpend' => ['description' => '人均消费', 'type' => 'string', 'example' => '78'],
+ 'tag' => ['description' => '特色内容,目前仅在美食poi下返回', 'type' => 'string', 'example' => '[{\\"value\\":\\"nttd\\",\\"key\\":\\"owner\\"}]'],
],
],
'images' => [
@@ -1403,16 +731,8 @@
'description' => '图片信息',
'type' => 'object',
'properties' => [
- 'url' => [
- 'description' => '图片URL',
- 'type' => 'string',
- 'example' => 'https://aos-comment.amap.com/B000A8UNZV/comment/f0a5ca9b58a31f63f8af51f459f75e4b_2048_2048_80.jpg',
- ],
- 'title' => [
- 'description' => '图片标题',
- 'type' => 'string',
- 'example' => 'test',
- ],
+ 'url' => ['description' => '图片URL', 'type' => 'string', 'example' => 'https://aos-comment.amap.com/B000A8UNZV/comment/f0a5ca9b58a31f63f8af51f459f75e4b_2048_2048_80.jpg'],
+ 'title' => ['description' => '图片标题', 'type' => 'string', 'example' => 'test'],
],
],
],
@@ -1423,9 +743,7 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"szq21-xf234-24234vd\\",\\n \\"data\\": [\\n {\\n \\"id\\": \\"34360\\",\\n \\"name\\": \\"hydro-project/hydro-res-auth\\",\\n \\"longitude\\": \\"116.482145\\",\\n \\"latitude\\": \\"39.990039\\",\\n \\"types\\": \\"餐饮服务\\",\\n \\"typeCode\\": \\"110200\\",\\n \\"provinceName\\": \\"北京市\\",\\n \\"provinceCode\\": \\"110000\\",\\n \\"cityName\\": \\"西安市\\",\\n \\"cityCode\\": \\"010\\",\\n \\"districtName\\": \\"海淀区\\",\\n \\"districtCode\\": \\"110105\\",\\n \\"address\\": \\"颐和园路5号北京大学第二教学楼西门口正对面\\",\\n \\"distanceMeter\\": \\"445\\",\\n \\"metadata\\": {\\n \\"businessArea\\": \\"后宅们商圈\\",\\n \\"phone\\": \\"010-83847583\\",\\n \\"mainTag\\": \\"文物古迹\\",\\n \\"score\\": \\"4.5\\",\\n \\"dailyOpeningHours\\": \\"24小时\\",\\n \\"weeklyOpeningDays\\": \\"每天\\",\\n \\"averageSpend\\": \\"78\\",\\n \\"tag\\": \\"[{\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nttd\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"owner\\\\\\\\\\\\\\"}]\\"\\n },\\n \\"images\\": [\\n {\\n \\"url\\": \\"https://aos-comment.amap.com/B000A8UNZV/comment/f0a5ca9b58a31f63f8af51f459f75e4b_2048_2048_80.jpg\\",\\n \\"title\\": \\"test\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => '通过关键词搜索地点Nova',
'description' => '通过关键词搜索地点。',
@@ -1433,83 +751,48 @@
'BicyclingDirectionNova' => [
'summary' => '根据起终点坐标检索符合条件的骑行路线规划方案。',
'path' => '/ipaas/v2/direction/bicycling',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp00UKME',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'originLongitude',
'in' => 'query',
- 'schema' => [
- 'description' => '出发地点坐标的经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '117.466485',
- ],
+ 'schema' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'required' => false, 'example' => '117.466485'],
],
[
'name' => 'originLatitude',
'in' => 'query',
- 'schema' => [
- 'description' => '出发地点坐标的纬度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '39.995197',
- ],
+ 'schema' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'],
],
[
'name' => 'destinationLongitude',
'in' => 'query',
- 'schema' => [
- 'description' => '目的地坐标的经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '116.46424',
- ],
+ 'schema' => ['description' => '目的地坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.46424'],
],
[
'name' => 'destinationLatitude',
'in' => 'query',
- 'schema' => [
- 'description' => '目的地坐标的纬度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '39.995197',
- ],
+ 'schema' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'],
],
[
'name' => 'showPolyline',
'in' => 'query',
- 'schema' => [
- 'description' => '是否显示坐标点信息',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否显示坐标点信息', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -1519,45 +802,17 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => 'sdfsd234-2vxcg345-345vc',
- ],
+ 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'sdfsd234-2vxcg345-345vc'],
'data' => [
'description' => '响应数据',
'type' => 'object',
'properties' => [
- 'originLongitude' => [
- 'description' => '出发地点坐标的经度',
- 'type' => 'string',
- 'example' => '116.466485',
- ],
- 'originLatitude' => [
- 'description' => '出发地点坐标的纬度',
- 'type' => 'string',
- 'example' => '39.995197',
- ],
- 'destinationLongitude' => [
- 'description' => '目的地坐标的经度',
- 'type' => 'string',
- 'example' => '116.46424',
- ],
- 'destinationLatitude' => [
- 'description' => '目的地坐标的纬度',
- 'type' => 'string',
- 'example' => '39.995197',
- ],
- 'taxiCost' => [
- 'description' => '预计出租车费用,单位:元',
- 'type' => 'string',
- 'example' => '23',
- ],
- 'count' => [
- 'description' => '路径规划方案总数',
- 'type' => 'string',
- 'example' => '6',
- ],
+ 'originLongitude' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'example' => '116.466485'],
+ 'originLatitude' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'example' => '39.995197'],
+ 'destinationLongitude' => ['description' => '目的地坐标的经度', 'type' => 'string', 'example' => '116.46424'],
+ 'destinationLatitude' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'example' => '39.995197'],
+ 'taxiCost' => ['description' => '预计出租车费用,单位:元', 'type' => 'string', 'example' => '23'],
+ 'count' => ['description' => '路径规划方案总数', 'type' => 'string', 'example' => '6'],
'paths' => [
'description' => '路径列表',
'type' => 'array',
@@ -1565,60 +820,20 @@
'description' => '路径列表',
'type' => 'object',
'properties' => [
- 'distanceMeter' => [
- 'description' => '总步行距离,以米为单位',
- 'type' => 'string',
- 'example' => '96375',
- ],
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '300',
- ],
- 'restriction' => [
- 'description' => '限行情况',
- 'type' => 'string',
- 'example' => '不限行',
- ],
+ 'distanceMeter' => ['description' => '总步行距离,以米为单位', 'type' => 'string', 'example' => '96375'],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '300'],
+ 'restriction' => ['description' => '限行情况', 'type' => 'string', 'example' => '不限行'],
'cost' => [
'description' => '耗时',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '39233',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '4',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '20',
- ],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '39233'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '无'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '4'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'],
],
],
'steps' => [
@@ -1628,70 +843,22 @@
'description' => '详细路线',
'type' => 'object',
'properties' => [
- 'instruction' => [
- 'description' => '路径指令',
- 'type' => 'string',
- 'example' => '向东南骑行65米向左前方行驶',
- ],
- 'orientation' => [
- 'description' => '方向',
- 'type' => 'string',
- 'example' => '南',
- ],
- 'roadName' => [
- 'description' => '分段道路名称',
- 'type' => 'string',
- 'example' => '丰科大道',
- ],
- 'stepDistanceMeter' => [
- 'description' => '分段距离,以米为单位',
- 'type' => 'string',
- 'example' => '3000',
- ],
- 'polyline' => [
- 'description' => '返回分路段坐标点串,两点间用“;”分隔',
- 'type' => 'string',
- 'example' => '116.464481,39.995206;116.46424,39.995192',
- ],
+ 'instruction' => ['description' => '路径指令', 'type' => 'string', 'example' => '向东南骑行65米向左前方行驶'],
+ 'orientation' => ['description' => '方向', 'type' => 'string', 'example' => '南'],
+ 'roadName' => ['description' => '分段道路名称', 'type' => 'string', 'example' => '丰科大道'],
+ 'stepDistanceMeter' => ['description' => '分段距离,以米为单位', 'type' => 'string', 'example' => '3000'],
+ 'polyline' => ['description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'string', 'example' => '116.464481,39.995206;116.46424,39.995192'],
'cost' => [
'description' => '耗时',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '2000',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '20',
- ],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '2000'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'],
],
],
],
@@ -1706,9 +873,7 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"sdfsd234-2vxcg345-345vc\\",\\n \\"data\\": {\\n \\"originLongitude\\": \\"116.466485\\",\\n \\"originLatitude\\": \\"39.995197\\",\\n \\"destinationLongitude\\": \\"116.46424\\",\\n \\"destinationLatitude\\": \\"39.995197\\",\\n \\"taxiCost\\": \\"23\\",\\n \\"count\\": \\"6\\",\\n \\"paths\\": [\\n {\\n \\"distanceMeter\\": \\"96375\\",\\n \\"durationSecond\\": \\"300\\",\\n \\"restriction\\": \\"不限行\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"39233\\",\\n \\"tolls\\": \\"无\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"4\\",\\n \\"taxiFee\\": \\"20\\"\\n },\\n \\"steps\\": [\\n {\\n \\"instruction\\": \\"向东南骑行65米向左前方行驶\\",\\n \\"orientation\\": \\"南\\",\\n \\"roadName\\": \\"丰科大道\\",\\n \\"stepDistanceMeter\\": \\"3000\\",\\n \\"polyline\\": \\"116.464481,39.995206;116.46424,39.995192\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"2000\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"20\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '骑行路线规划方案Nova',
'description' => '根据起终点坐标检索符合条件的电动车路线规划方案',
@@ -1716,83 +881,48 @@
'WalkingDirectionNova' => [
'summary' => '根据起终点坐标检索符合条件的步行路线规划方案。',
'path' => '/ipaas/v2/direction/walking',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp00UKME',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'originLongitude',
'in' => 'query',
- 'schema' => [
- 'description' => '出发地点坐标的经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '116.466485',
- ],
+ 'schema' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.466485'],
],
[
'name' => 'originLatitude',
'in' => 'query',
- 'schema' => [
- 'description' => '出发地点坐标的纬度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '39.995197',
- ],
+ 'schema' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'],
],
[
'name' => 'destinationLongitude',
'in' => 'query',
- 'schema' => [
- 'description' => '目的地坐标的经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '116.46424',
- ],
+ 'schema' => ['description' => '目的地坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.46424'],
],
[
'name' => 'destinationLatitude',
'in' => 'query',
- 'schema' => [
- 'description' => '目的地坐标的纬度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '40.345456',
- ],
+ 'schema' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '40.345456'],
],
[
'name' => 'showPolyline',
'in' => 'query',
- 'schema' => [
- 'description' => '是否显示坐标点信息',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否显示坐标点信息', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -1802,45 +932,17 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '12asda-234dsfs-sd23sdf',
- ],
+ 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => '12asda-234dsfs-sd23sdf'],
'data' => [
'description' => '查询结果。',
'type' => 'object',
'properties' => [
- 'originLongitude' => [
- 'description' => '出发地点坐标的经度',
- 'type' => 'string',
- 'example' => '116.466485',
- ],
- 'originLatitude' => [
- 'description' => '出发地点坐标的纬度',
- 'type' => 'string',
- 'example' => '39.995197',
- ],
- 'destinationLongitude' => [
- 'description' => '目的地坐标的经度',
- 'type' => 'string',
- 'example' => '116.46424',
- ],
- 'destinationLatitude' => [
- 'description' => '目的地坐标的纬度',
- 'type' => 'string',
- 'example' => '40.020642',
- ],
- 'taxiCost' => [
- 'description' => '预计出租车费用',
- 'type' => 'string',
- 'example' => '8',
- ],
- 'count' => [
- 'description' => '路径规划方案总数',
- 'type' => 'string',
- 'example' => '5',
- ],
+ 'originLongitude' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'example' => '116.466485'],
+ 'originLatitude' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'example' => '39.995197'],
+ 'destinationLongitude' => ['description' => '目的地坐标的经度', 'type' => 'string', 'example' => '116.46424'],
+ 'destinationLatitude' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'example' => '40.020642'],
+ 'taxiCost' => ['description' => '预计出租车费用', 'type' => 'string', 'example' => '8'],
+ 'count' => ['description' => '路径规划方案总数', 'type' => 'string', 'example' => '5'],
'paths' => [
'description' => '路径列表',
'type' => 'array',
@@ -1848,61 +950,21 @@
'description' => '路径列表',
'type' => 'object',
'properties' => [
- 'distanceMeter' => [
- 'description' => '方案距离,以米为单位',
- 'type' => 'string',
- 'example' => '12000',
- ],
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '39223',
- ],
- 'restriction' => [
- 'description' => '限行',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
+ 'distanceMeter' => ['description' => '方案距离,以米为单位', 'type' => 'string', 'example' => '12000'],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '39223'],
+ 'restriction' => ['description' => '限行', 'type' => 'string', 'example' => '不涉及'],
'cost' => [
'description' => '耗时',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '1232',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '3',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '20',
- ],
+ 'durationSecond' => ['description' => '耗时'."\n"
+ ."\n", 'type' => 'string', 'example' => '1232'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '无'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '3'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '10'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'],
],
],
'steps' => [
@@ -1912,70 +974,22 @@
'description' => '路径详情',
'type' => 'object',
'properties' => [
- 'instruction' => [
- 'description' => '路径指令',
- 'type' => 'string',
- 'example' => '向东南骑行65米向左前方行驶',
- ],
- 'orientation' => [
- 'description' => '方向',
- 'type' => 'string',
- 'example' => '东南',
- ],
- 'roadName' => [
- 'description' => '分段道路名称',
- 'type' => 'string',
- 'example' => '大寨路',
- ],
- 'stepDistanceMeter' => [
- 'description' => '分段距离,以米为单位',
- 'type' => 'string',
- 'example' => '1665',
- ],
- 'polyline' => [
- 'description' => '返回分路段坐标点串,两点间用“;”分隔',
- 'type' => 'string',
- 'example' => '116.464481,39.995206;116.46424,39.995192',
- ],
+ 'instruction' => ['description' => '路径指令', 'type' => 'string', 'example' => '向东南骑行65米向左前方行驶'],
+ 'orientation' => ['description' => '方向', 'type' => 'string', 'example' => '东南'],
+ 'roadName' => ['description' => '分段道路名称', 'type' => 'string', 'example' => '大寨路'],
+ 'stepDistanceMeter' => ['description' => '分段距离,以米为单位', 'type' => 'string', 'example' => '1665'],
+ 'polyline' => ['description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'string', 'example' => '116.464481,39.995206;116.46424,39.995192'],
'cost' => [
'description' => '所需时间及费用成本',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时,以秒为单位',
- 'type' => 'string',
- 'example' => '13',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '20',
- ],
+ 'durationSecond' => ['description' => '耗时,以秒为单位', 'type' => 'string', 'example' => '13'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'],
],
],
],
@@ -1990,9 +1004,7 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"12asda-234dsfs-sd23sdf\\",\\n \\"data\\": {\\n \\"originLongitude\\": \\"116.466485\\",\\n \\"originLatitude\\": \\"39.995197\\",\\n \\"destinationLongitude\\": \\"116.46424\\",\\n \\"destinationLatitude\\": \\"40.020642\\",\\n \\"taxiCost\\": \\"8\\",\\n \\"count\\": \\"5\\",\\n \\"paths\\": [\\n {\\n \\"distanceMeter\\": \\"12000\\",\\n \\"durationSecond\\": \\"39223\\",\\n \\"restriction\\": \\"不涉及\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"1232\\",\\n \\"tolls\\": \\"无\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"3\\",\\n \\"transitFee\\": \\"10\\",\\n \\"taxiFee\\": \\"20\\"\\n },\\n \\"steps\\": [\\n {\\n \\"instruction\\": \\"向东南骑行65米向左前方行驶\\",\\n \\"orientation\\": \\"东南\\",\\n \\"roadName\\": \\"大寨路\\",\\n \\"stepDistanceMeter\\": \\"1665\\",\\n \\"polyline\\": \\"116.464481,39.995206;116.46424,39.995192\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"13\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"20\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '步行路线规划方案Nova',
'description' => '根据起终点坐标检索符合条件的步行路线规划方案。',
@@ -2000,32 +1012,22 @@
'GeoCode' => [
'summary' => '地理编码,将详细的结构化地址转换为高德经纬度坐标。',
'path' => '/ipaas/v1/geocode/geo',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp00UKME',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
@@ -2042,12 +1044,7 @@
[
'name' => 'city',
'in' => 'query',
- 'schema' => [
- 'description' => '城市',
- 'type' => 'string',
- 'required' => false,
- 'example' => '北京市',
- ],
+ 'schema' => ['description' => '城市', 'type' => 'string', 'required' => false, 'example' => '北京市'],
],
],
'responses' => [
@@ -2057,11 +1054,7 @@
'description' => '响应体',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => 'zxcx-vx-cv-x-s-d',
- ],
+ 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'zxcx-vx-cv-x-s-d'],
'data' => [
'description' => '数据列表',
'type' => 'array',
@@ -2069,70 +1062,22 @@
'description' => 'objectxxx',
'type' => 'object',
'properties' => [
- 'province' => [
- 'description' => '省',
- 'type' => 'string',
- 'example' => '北京市',
- ],
- 'city' => [
- 'description' => '城市',
- 'type' => 'string',
- 'example' => '北京市',
- ],
- 'cityCode' => [
- 'description' => '城市编码',
- 'type' => 'string',
- 'example' => '010',
- ],
- 'district' => [
- 'description' => '区',
- 'type' => 'string',
- 'example' => '朝阳区',
- ],
- 'districtCode' => [
- 'description' => '区编码',
- 'type' => 'string',
- 'example' => '110105',
- ],
- 'street' => [
- 'description' => '街道',
- 'type' => 'string',
- 'example' => '阜通东大街',
- ],
- 'number' => [
- 'description' => '编号',
- 'type' => 'string',
- 'example' => '6号院',
- ],
- 'longitude' => [
- 'description' => '经度',
- 'type' => 'string',
- 'example' => '116.482145',
- ],
- 'latitude' => [
- 'description' => '纬度',
- 'type' => 'string',
- 'example' => '39.990039',
- ],
- 'level' => [
- 'description' => '地址level',
- 'type' => 'string',
- 'example' => '门址',
- ],
+ 'province' => ['description' => '省', 'type' => 'string', 'example' => '北京市'],
+ 'city' => ['description' => '城市', 'type' => 'string', 'example' => '北京市'],
+ 'cityCode' => ['description' => '城市编码', 'type' => 'string', 'example' => '010'],
+ 'district' => ['description' => '区', 'type' => 'string', 'example' => '朝阳区'],
+ 'districtCode' => ['description' => '区编码', 'type' => 'string', 'example' => '110105'],
+ 'street' => ['description' => '街道', 'type' => 'string', 'example' => '阜通东大街'],
+ 'number' => ['description' => '编号', 'type' => 'string', 'example' => '6号院'],
+ 'longitude' => ['description' => '经度', 'type' => 'string', 'example' => '116.482145'],
+ 'latitude' => ['description' => '纬度', 'type' => 'string', 'example' => '39.990039'],
+ 'level' => ['description' => '地址level', 'type' => 'string', 'example' => '门址'],
'building' => [
'description' => '建筑信息',
'type' => 'object',
'properties' => [
- 'name' => [
- 'description' => '名称',
- 'type' => 'string',
- 'example' => 'xxx大厦',
- ],
- 'type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => '商务写字楼',
- ],
+ 'name' => ['description' => '名称', 'type' => 'string', 'example' => 'xxx大厦'],
+ 'type' => ['description' => '类型', 'type' => 'string', 'example' => '商务写字楼'],
],
],
],
@@ -2142,9 +1087,7 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"zxcx-vx-cv-x-s-d\\",\\n \\"data\\": [\\n {\\n \\"province\\": \\"北京市\\",\\n \\"city\\": \\"北京市\\",\\n \\"cityCode\\": \\"010\\",\\n \\"district\\": \\"朝阳区\\",\\n \\"districtCode\\": \\"110105\\",\\n \\"street\\": \\"阜通东大街\\",\\n \\"number\\": \\"6号院\\",\\n \\"longitude\\": \\"116.482145\\",\\n \\"latitude\\": \\"39.990039\\",\\n \\"level\\": \\"门址\\",\\n \\"building\\": {\\n \\"name\\": \\"xxx大厦\\",\\n \\"type\\": \\"商务写字楼\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
'title' => '地理编码',
'description' => '地理编码,将详细的结构化地址转换为高德经纬度坐标。',
@@ -2229,103 +1172,58 @@
'DrivingDirectionNova' => [
'summary' => '根据起终点坐标检索符合条件的驾车路线规划方案。',
'path' => '/ipaas/v2/direction/driving',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp00UKME',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'originLongitude',
'in' => 'query',
- 'schema' => [
- 'description' => '出发地点坐标的经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '116.466485',
- ],
+ 'schema' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.466485'],
],
[
'name' => 'originLatitude',
'in' => 'query',
- 'schema' => [
- 'description' => '出发地点坐标的纬度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '39.995197',
- ],
+ 'schema' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'],
],
[
'name' => 'destinationLongitude',
'in' => 'query',
- 'schema' => [
- 'description' => '目的地坐标的经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '116.46424',
- ],
+ 'schema' => ['description' => '目的地坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.46424'],
],
[
'name' => 'destinationLatitude',
'in' => 'query',
- 'schema' => [
- 'description' => '目的地坐标的纬度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '43.345456',
- ],
+ 'schema' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '43.345456'],
],
[
'name' => 'carType',
'in' => 'query',
- 'schema' => [
- 'description' => '车辆类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'GASOLINE_VEHICLE:普通燃油车,PURE_ELECTRIC_VEHICLE:纯电动汽车 PLUG_IN_HYBRID_ELECTRIC_VEHICLE:插电式混动汽车',
- ],
+ 'schema' => ['description' => '车辆类型', 'type' => 'string', 'required' => false, 'example' => 'GASOLINE_VEHICLE:普通燃油车,PURE_ELECTRIC_VEHICLE:纯电动汽车 PLUG_IN_HYBRID_ELECTRIC_VEHICLE:插电式混动汽车'],
],
[
'name' => 'plate',
'in' => 'query',
- 'schema' => [
- 'description' => '车牌号码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '京AHA322',
- ],
+ 'schema' => ['description' => '车牌号码', 'type' => 'string', 'required' => false, 'example' => '京AHA322'],
],
[
'name' => 'showPolyline',
'in' => 'query',
- 'schema' => [
- 'description' => '是否显示坐标点信息',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否显示坐标点信息', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -2335,45 +1233,17 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => 'sds234-xd354rd',
- ],
+ 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'sds234-xd354rd'],
'data' => [
'description' => '响应数据',
'type' => 'object',
'properties' => [
- 'originLongitude' => [
- 'description' => '出发地点坐标的经度',
- 'type' => 'string',
- 'example' => '117.466485',
- ],
- 'originLatitude' => [
- 'description' => '出发地点坐标的纬度',
- 'type' => 'string',
- 'example' => '39.995197',
- ],
- 'destinationLongitude' => [
- 'description' => '目的地坐标的经度',
- 'type' => 'string',
- 'example' => '116.46424',
- ],
- 'destinationLatitude' => [
- 'description' => '目的地坐标的纬度',
- 'type' => 'string',
- 'example' => '40.345456',
- ],
- 'taxiCost' => [
- 'description' => '预计出租车费用,单位:元',
- 'type' => 'string',
- 'example' => '20',
- ],
- 'count' => [
- 'description' => '路径规划方案总数',
- 'type' => 'string',
- 'example' => '3',
- ],
+ 'originLongitude' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'example' => '117.466485'],
+ 'originLatitude' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'example' => '39.995197'],
+ 'destinationLongitude' => ['description' => '目的地坐标的经度', 'type' => 'string', 'example' => '116.46424'],
+ 'destinationLatitude' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'example' => '40.345456'],
+ 'taxiCost' => ['description' => '预计出租车费用,单位:元', 'type' => 'string', 'example' => '20'],
+ 'count' => ['description' => '路径规划方案总数', 'type' => 'string', 'example' => '3'],
'paths' => [
'description' => '路径列表',
'type' => 'array',
@@ -2381,60 +1251,20 @@
'description' => '路径列表',
'type' => 'object',
'properties' => [
- 'distanceMeter' => [
- 'description' => '总步行距离,以米为单位',
- 'type' => 'string',
- 'example' => '96375',
- ],
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '39223',
- ],
- 'restriction' => [
- 'description' => '限行情况',
- 'type' => 'string',
- 'example' => '不限行',
- ],
+ 'distanceMeter' => ['description' => '总步行距离,以米为单位', 'type' => 'string', 'example' => '96375'],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '39223'],
+ 'restriction' => ['description' => '限行情况', 'type' => 'string', 'example' => '不限行'],
'cost' => [
'description' => '耗时',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '39233',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '3',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '20',
- ],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '39233'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '3'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '10'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'],
],
],
'steps' => [
@@ -2444,70 +1274,22 @@
'description' => '详细路径',
'type' => 'object',
'properties' => [
- 'instruction' => [
- 'description' => '路径指令',
- 'type' => 'string',
- 'example' => '向西骑行1665米左转',
- ],
- 'orientation' => [
- 'description' => '方向',
- 'type' => 'string',
- 'example' => '南',
- ],
- 'roadName' => [
- 'description' => '分段道路名称',
- 'type' => 'string',
- 'example' => '丰科大道',
- ],
- 'stepDistanceMeter' => [
- 'description' => '分段距离,以米为单位',
- 'type' => 'string',
- 'example' => '3000',
- ],
- 'polyline' => [
- 'description' => '返回分路段坐标点串,两点间用“;”分隔',
- 'type' => 'string',
- 'example' => '116.464481,39.995206;116.46424,39.995192',
- ],
+ 'instruction' => ['description' => '路径指令', 'type' => 'string', 'example' => '向西骑行1665米左转'],
+ 'orientation' => ['description' => '方向', 'type' => 'string', 'example' => '南'],
+ 'roadName' => ['description' => '分段道路名称', 'type' => 'string', 'example' => '丰科大道'],
+ 'stepDistanceMeter' => ['description' => '分段距离,以米为单位', 'type' => 'string', 'example' => '3000'],
+ 'polyline' => ['description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'string', 'example' => '116.464481,39.995206;116.46424,39.995192'],
'cost' => [
'description' => '耗时',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '1234',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '20',
- ],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '1234'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'],
],
],
],
@@ -2522,9 +1304,7 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"sds234-xd354rd\\",\\n \\"data\\": {\\n \\"originLongitude\\": \\"117.466485\\",\\n \\"originLatitude\\": \\"39.995197\\",\\n \\"destinationLongitude\\": \\"116.46424\\",\\n \\"destinationLatitude\\": \\"40.345456\\",\\n \\"taxiCost\\": \\"20\\",\\n \\"count\\": \\"3\\",\\n \\"paths\\": [\\n {\\n \\"distanceMeter\\": \\"96375\\",\\n \\"durationSecond\\": \\"39223\\",\\n \\"restriction\\": \\"不限行\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"39233\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"3\\",\\n \\"transitFee\\": \\"10\\",\\n \\"taxiFee\\": \\"20\\"\\n },\\n \\"steps\\": [\\n {\\n \\"instruction\\": \\"向西骑行1665米左转\\",\\n \\"orientation\\": \\"南\\",\\n \\"roadName\\": \\"丰科大道\\",\\n \\"stepDistanceMeter\\": \\"3000\\",\\n \\"polyline\\": \\"116.464481,39.995206;116.46424,39.995192\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"1234\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"20\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '驾车路线规划方案Nova',
'description' => '根据起终点坐标检索符合条件的驾车路线规划方案',
@@ -2532,53 +1312,33 @@
'RgeoCode' => [
'summary' => '逆地理编码,将经纬度转换为详细结构化的地址信息。',
'path' => '/ipaas/v1/geocode/regeo',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp00UKME',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'longitude',
'in' => 'query',
- 'schema' => [
- 'description' => '经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '116.310918',
- ],
+ 'schema' => ['description' => '经度', 'type' => 'string', 'required' => false, 'example' => '116.310918'],
],
[
'name' => 'latitude',
'in' => 'query',
- 'schema' => [
- 'description' => '维度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '39.989027',
- ],
+ 'schema' => ['description' => '维度', 'type' => 'string', 'required' => false, 'example' => '39.989027'],
],
],
'responses' => [
@@ -2588,126 +1348,46 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '12sdfsdfsd-234sdxfd-23rcgc',
- ],
+ 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => '12sdfsdfsd-234sdxfd-23rcgc'],
'data' => [
'description' => '响应数据。',
'type' => 'object',
'properties' => [
- 'formattedAddress' => [
- 'description' => '格式化地址信息',
- 'type' => 'string',
- 'example' => '北京市海淀区燕园街道北京大学',
- ],
- 'country' => [
- 'description' => '国家',
- 'type' => 'string',
- 'example' => '中国',
- ],
- 'province' => [
- 'description' => '省份',
- 'type' => 'string',
- 'example' => '北京市',
- ],
- 'city' => [
- 'description' => '城市',
- 'type' => 'string',
- 'example' => '北京市',
- ],
- 'cityCode' => [
- 'description' => '城市编码',
- 'type' => 'string',
- 'example' => '010',
- ],
- 'district' => [
- 'description' => '区',
- 'type' => 'string',
- 'example' => '海淀区',
- ],
- 'districtCode' => [
- 'description' => '区编码',
- 'type' => 'string',
- 'example' => '110108',
- ],
- 'townShip' => [
- 'description' => '街道',
- 'type' => 'string',
- 'example' => '燕园街道',
- ],
- 'townCode' => [
- 'description' => '街道编码',
- 'type' => 'string',
- 'example' => '110108015000',
- ],
+ 'formattedAddress' => ['description' => '格式化地址信息', 'type' => 'string', 'example' => '北京市海淀区燕园街道北京大学'],
+ 'country' => ['description' => '国家', 'type' => 'string', 'example' => '中国'],
+ 'province' => ['description' => '省份', 'type' => 'string', 'example' => '北京市'],
+ 'city' => ['description' => '城市', 'type' => 'string', 'example' => '北京市'],
+ 'cityCode' => ['description' => '城市编码', 'type' => 'string', 'example' => '010'],
+ 'district' => ['description' => '区', 'type' => 'string', 'example' => '海淀区'],
+ 'districtCode' => ['description' => '区编码', 'type' => 'string', 'example' => '110108'],
+ 'townShip' => ['description' => '街道', 'type' => 'string', 'example' => '燕园街道'],
+ 'townCode' => ['description' => '街道编码', 'type' => 'string', 'example' => '110108015000'],
'neighborhood' => [
'description' => '社区信息列表',
'type' => 'object',
'properties' => [
- 'name' => [
- 'description' => '名称',
- 'type' => 'string',
- 'example' => '北京大学',
- ],
- 'type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => '科教文化服务|学校|高等院校',
- ],
+ 'name' => ['description' => '名称', 'type' => 'string', 'example' => '北京大学'],
+ 'type' => ['description' => '类型', 'type' => 'string', 'example' => '科教文化服务|学校|高等院校'],
],
],
'building' => [
'description' => '楼信息列表',
'type' => 'object',
'properties' => [
- 'name' => [
- 'description' => '名称',
- 'type' => 'string',
- 'example' => 'xxx科技园',
- ],
- 'type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => '科技园',
- ],
+ 'name' => ['description' => '名称', 'type' => 'string', 'example' => 'xxx科技园'],
+ 'type' => ['description' => '类型', 'type' => 'string', 'example' => '科技园'],
],
],
'streetNumber' => [
'description' => '门牌信息列表',
'type' => 'object',
'properties' => [
- 'street' => [
- 'description' => '街道名称',
- 'type' => 'string',
- 'example' => '海淀路',
- ],
- 'number' => [
- 'description' => '门牌号',
- 'type' => 'string',
- 'example' => '36号',
- ],
- 'longitude' => [
- 'description' => '经度',
- 'type' => 'string',
- 'example' => '116.311943',
- ],
- 'latitude' => [
- 'description' => '维度',
- 'type' => 'string',
- 'example' => '39.986542',
- ],
- 'direction' => [
- 'description' => '方位',
- 'type' => 'string',
- 'example' => '南',
- ],
- 'distanceMeter' => [
- 'description' => '距离',
- 'type' => 'string',
- 'example' => '289.832',
- ],
+ 'street' => ['description' => '街道名称', 'type' => 'string', 'example' => '海淀路'],
+ 'number' => ['description' => '门牌号', 'type' => 'string', 'example' => '36号'],
+ 'longitude' => ['description' => '经度', 'type' => 'string', 'example' => '116.311943'],
+ 'latitude' => ['description' => '维度', 'type' => 'string', 'example' => '39.986542'],
+ 'direction' => ['description' => '方位', 'type' => 'string', 'example' => '南'],
+ 'distanceMeter' => ['description' => '距离', 'type' => 'string', 'example' => '289.832'],
],
],
'businessAreas' => [
@@ -2717,26 +1397,10 @@
'description' => '对象',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'example' => '110108',
- ],
- 'name' => [
- 'description' => '区域名称',
- 'type' => 'string',
- 'example' => '西苑',
- ],
- 'longitude' => [
- 'description' => '经度',
- 'type' => 'string',
- 'example' => '116.294214',
- ],
- 'latitude' => [
- 'description' => '维度',
- 'type' => 'string',
- 'example' => '39.996850',
- ],
+ 'id' => ['description' => '区域编码', 'type' => 'string', 'example' => '110108'],
+ 'name' => ['description' => '区域名称', 'type' => 'string', 'example' => '西苑'],
+ 'longitude' => ['description' => '经度', 'type' => 'string', 'example' => '116.294214'],
+ 'latitude' => ['description' => '维度', 'type' => 'string', 'example' => '39.996850'],
],
],
],
@@ -2746,9 +1410,7 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"12sdfsdfsd-234sdxfd-23rcgc\\",\\n \\"data\\": {\\n \\"formattedAddress\\": \\"北京市海淀区燕园街道北京大学\\",\\n \\"country\\": \\"中国\\",\\n \\"province\\": \\"北京市\\",\\n \\"city\\": \\"北京市\\",\\n \\"cityCode\\": \\"010\\",\\n \\"district\\": \\"海淀区\\",\\n \\"districtCode\\": \\"110108\\",\\n \\"townShip\\": \\"燕园街道\\",\\n \\"townCode\\": \\"110108015000\\",\\n \\"neighborhood\\": {\\n \\"name\\": \\"北京大学\\",\\n \\"type\\": \\"科教文化服务|学校|高等院校\\"\\n },\\n \\"building\\": {\\n \\"name\\": \\"xxx科技园\\",\\n \\"type\\": \\"科技园\\"\\n },\\n \\"streetNumber\\": {\\n \\"street\\": \\"海淀路\\",\\n \\"number\\": \\"36号\\",\\n \\"longitude\\": \\"116.311943\\",\\n \\"latitude\\": \\"39.986542\\",\\n \\"direction\\": \\"南\\",\\n \\"distanceMeter\\": \\"289.832\\"\\n },\\n \\"businessAreas\\": [\\n {\\n \\"id\\": \\"110108\\",\\n \\"name\\": \\"西苑\\",\\n \\"longitude\\": \\"116.294214\\",\\n \\"latitude\\": \\"39.996850\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '逆地理编码',
'description' => '自然语言搜索景点',
@@ -2756,103 +1418,58 @@
'TransitIntegratedDirection' => [
'summary' => '根据起终点坐标检索符合条件的公共交通路线规划方案。',
'path' => '/ipaas/v2/direction/transit/integrated',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp00UKME',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'originLongitude',
'in' => 'query',
- 'schema' => [
- 'description' => '起点经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '116.466485',
- ],
+ 'schema' => ['description' => '起点经度', 'type' => 'string', 'required' => false, 'example' => '116.466485'],
],
[
'name' => 'originLatitude',
'in' => 'query',
- 'schema' => [
- 'description' => '起点纬度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '39.995197',
- ],
+ 'schema' => ['description' => '起点纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'],
],
[
'name' => 'destinationLongitude',
'in' => 'query',
- 'schema' => [
- 'description' => '终点经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '116.46424',
- ],
+ 'schema' => ['description' => '终点经度', 'type' => 'string', 'required' => false, 'example' => '116.46424'],
],
[
'name' => 'destinationLatitude',
'in' => 'query',
- 'schema' => [
- 'description' => '终点纬度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '40.345456',
- ],
+ 'schema' => ['description' => '终点纬度', 'type' => 'string', 'required' => false, 'example' => '40.345456'],
],
[
'name' => 'originCity',
'in' => 'query',
- 'schema' => [
- 'description' => '起点城市',
- 'type' => 'string',
- 'required' => false,
- 'example' => '北京市',
- ],
+ 'schema' => ['description' => '起点城市', 'type' => 'string', 'required' => false, 'example' => '北京市'],
],
[
'name' => 'destinationCity',
'in' => 'query',
- 'schema' => [
- 'description' => '终点城市',
- 'type' => 'string',
- 'required' => false,
- 'example' => '北京市',
- ],
+ 'schema' => ['description' => '终点城市', 'type' => 'string', 'required' => false, 'example' => '北京市'],
],
[
'name' => 'showPolyline',
'in' => 'query',
- 'schema' => [
- 'description' => '是否显示坐标点信息',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否显示坐标点信息', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -2862,84 +1479,28 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => 'xszdwr-234dvcxvc',
- ],
+ 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'xszdwr-234dvcxvc'],
'data' => [
'description' => '响应数据',
'type' => 'object',
'properties' => [
- 'originLongitude' => [
- 'description' => '出发地点坐标的经度',
- 'type' => 'string',
- 'example' => '116.466485',
- ],
- 'originLatitude' => [
- 'description' => '出发地点坐标的纬度',
- 'type' => 'string',
- 'example' => '39.995197',
- ],
- 'destinationLongitude' => [
- 'description' => '目的地坐标的经度',
- 'type' => 'string',
- 'example' => '116.46424',
- ],
- 'destinationLatitude' => [
- 'description' => '目的地坐标的纬度',
- 'type' => 'string',
- 'example' => '39.995197',
- ],
- 'distanceMeter' => [
- 'description' => '距离',
- 'type' => 'string',
- 'example' => '445',
- ],
- 'count' => [
- 'description' => '路径规划方案总数',
- 'type' => 'string',
- 'example' => '5',
- ],
+ 'originLongitude' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'example' => '116.466485'],
+ 'originLatitude' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'example' => '39.995197'],
+ 'destinationLongitude' => ['description' => '目的地坐标的经度', 'type' => 'string', 'example' => '116.46424'],
+ 'destinationLatitude' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'example' => '39.995197'],
+ 'distanceMeter' => ['description' => '距离', 'type' => 'string', 'example' => '445'],
+ 'count' => ['description' => '路径规划方案总数', 'type' => 'string', 'example' => '5'],
'cost' => [
'description' => '公交费',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '1231',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '23',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '6',
- ],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '1231'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '23'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '6'],
],
],
'paths' => [
@@ -2953,58 +1514,18 @@
'description' => '耗时',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '39233',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '2000',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '4',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '20',
- ],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '39233'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '无'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '2000'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '4'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'],
],
],
- 'distanceMeter' => [
- 'description' => '总步行距离,以米为单位',
- 'type' => 'string',
- 'example' => '12000',
- ],
- 'walkingDistanceMeter' => [
- 'description' => '步行距离,以米为单位',
- 'type' => 'string',
- 'example' => '23435',
- ],
- 'nightflag' => [
- 'description' => '是否夜班车',
- 'type' => 'string',
- 'example' => '否',
- ],
+ 'distanceMeter' => ['description' => '总步行距离,以米为单位', 'type' => 'string', 'example' => '12000'],
+ 'walkingDistanceMeter' => ['description' => '步行距离,以米为单位', 'type' => 'string', 'example' => '23435'],
+ 'nightflag' => ['description' => '是否夜班车', 'type' => 'string', 'example' => '否'],
'segments' => [
'description' => '路径',
'type' => 'array',
@@ -3016,60 +1537,20 @@
'description' => '步行',
'type' => 'object',
'properties' => [
- 'origin' => [
- 'description' => '执行来源。',
- 'type' => 'string',
- 'example' => '116.466568,39.995552',
- ],
- 'destination' => [
- 'description' => '目标服务的ARN。',
- 'type' => 'string',
- 'example' => '116.468208,39.998875',
- ],
- 'distanceMeter' => [
- 'description' => '总步行距离,以米为单位',
- 'type' => 'string',
- 'example' => '546',
- ],
+ 'origin' => ['description' => '执行来源。', 'type' => 'string', 'example' => '116.466568,39.995552'],
+ 'destination' => ['description' => '目标服务的ARN。', 'type' => 'string', 'example' => '116.468208,39.998875'],
+ 'distanceMeter' => ['description' => '总步行距离,以米为单位', 'type' => 'string', 'example' => '546'],
'cost' => [
'description' => '收费道路',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '468',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '3',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '468'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '3'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '不涉及'],
],
],
'steps' => [
@@ -3079,86 +1560,34 @@
'description' => '收取费用',
'type' => 'object',
'properties' => [
- 'instruction' => [
- 'description' => '路径指令',
- 'type' => 'string',
- 'example' => '步行16米右转',
- ],
- 'orientation' => [
- 'description' => '方向',
- 'type' => 'string',
- 'example' => '右',
- ],
- 'roadName' => [
- 'description' => '分段道路名称',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'stepDistanceMeter' => [
- 'description' => '分段距离,以米为单位',
- 'type' => 'string',
- 'example' => '无',
- ],
+ 'instruction' => ['description' => '路径指令', 'type' => 'string', 'example' => '步行16米右转'],
+ 'orientation' => ['description' => '方向', 'type' => 'string', 'example' => '右'],
+ 'roadName' => ['description' => '分段道路名称', 'type' => 'string', 'example' => '无'],
+ 'stepDistanceMeter' => ['description' => '分段距离,以米为单位', 'type' => 'string', 'example' => '无'],
'cost' => [
'description' => '收费距离,以米为单位',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '435',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '435'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '不涉及'],
],
],
'polyline' => [
'description' => '返回分路段坐标点串,两点间用“;”分隔',
'type' => 'object',
'properties' => [
- 'polyline' => [
- 'description' => '返回分路段坐标点串,两点间用“;”分隔',
- 'type' => 'string',
- 'example' => '116.467751,39.997631;116.467430,39.997631',
- ],
+ 'polyline' => ['description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'string', 'example' => '116.467751,39.997631;116.467430,39.997631'],
],
],
],
],
],
- 'index' => [
- 'description' => '索引标识',
- 'type' => 'string',
- 'example' => '0',
- ],
+ 'index' => ['description' => '索引标识', 'type' => 'string', 'example' => '0'],
],
],
'bus' => [
@@ -3172,102 +1601,34 @@
'description' => '公交路径信息',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '公交线路ID',
- 'type' => 'string',
- 'example' => '900000028907',
- ],
- 'name' => [
- 'description' => '公交线路名称',
- 'type' => 'string',
- 'example' => '地铁14号线(善各庄--张郭庄)',
- ],
- 'type' => [
- 'description' => '公交线路类型',
- 'type' => 'string',
- 'example' => '地铁线路',
- ],
- 'distanceMeter' => [
- 'description' => '方案距离,以米为单位',
- 'type' => 'string',
- 'example' => '13322',
- ],
- 'busTimeTips' => [
- 'description' => '公交时间提示',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'bustimetag' => [
- 'description' => '公交时间标签',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'startTime' => [
- 'description' => '额度有效期开始时间,毫秒级时间戳。',
- 'type' => 'string',
- 'example' => '0509',
- ],
- 'endTime' => [
- 'description' => '结束时间',
- 'type' => 'string',
- 'example' => '2259',
- ],
- 'viaNum' => [
- 'description' => '途经站点数量',
- 'type' => 'string',
- 'example' => '8',
- ],
+ 'id' => ['description' => '公交线路ID', 'type' => 'string', 'example' => '900000028907'],
+ 'name' => ['description' => '公交线路名称', 'type' => 'string', 'example' => '地铁14号线(善各庄--张郭庄)'],
+ 'type' => ['description' => '公交线路类型', 'type' => 'string', 'example' => '地铁线路'],
+ 'distanceMeter' => ['description' => '方案距离,以米为单位', 'type' => 'string', 'example' => '13322'],
+ 'busTimeTips' => ['description' => '公交时间提示', 'type' => 'string', 'example' => '无'],
+ 'bustimetag' => ['description' => '公交时间标签', 'type' => 'string', 'example' => '0'],
+ 'startTime' => ['description' => '额度有效期开始时间,毫秒级时间戳。', 'type' => 'string', 'example' => '0509'],
+ 'endTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2259'],
+ 'viaNum' => ['description' => '途经站点数量', 'type' => 'string', 'example' => '8'],
'polyline' => [
'description' => '返回分路段坐标点串,两点间用“;”分隔',
'type' => 'object',
'properties' => [
- 'polyline' => [
- 'description' => '返回分路段坐标点串,两点间用“;”分隔',
- 'type' => 'string',
- 'example' => '116.471544,39.991835',
- ],
+ 'polyline' => ['description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'string', 'example' => '116.471544,39.991835'],
],
],
'cost' => [
'description' => '公交费',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '1521',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
+ 'durationSecond' => ['description' => '耗时'."\n"
+ ."\n", 'type' => 'string', 'example' => '1521'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '不涉及'],
],
],
'viaStops' => [
@@ -3277,21 +1638,9 @@
'description' => '途经站点',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '站点ID',
- 'type' => 'string',
- 'example' => '900000028907009',
- ],
- 'name' => [
- 'description' => '站点名称',
- 'type' => 'string',
- 'example' => '将台',
- ],
- 'location' => [
- 'description' => '经纬度坐标',
- 'type' => 'string',
- 'example' => '116.485919,39.958375',
- ],
+ 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '900000028907009'],
+ 'name' => ['description' => '站点名称', 'type' => 'string', 'example' => '将台'],
+ 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '116.485919,39.958375'],
],
],
],
@@ -3299,40 +1648,16 @@
'description' => '出发站',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '站点ID',
- 'type' => 'string',
- 'example' => '60852',
- ],
- 'name' => [
- 'description' => '站点名称',
- 'type' => 'string',
- 'example' => '望京',
- ],
- 'location' => [
- 'description' => '经纬度坐标',
- 'type' => 'string',
- 'example' => '116.468213,39.998876',
- ],
+ 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '60852'],
+ 'name' => ['description' => '站点名称', 'type' => 'string', 'example' => '望京'],
+ 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '116.468213,39.998876'],
'entrance' => [
'description' => '入口',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '站点ID',
- 'type' => 'string',
- 'example' => '99088345834',
- ],
- 'name' => [
- 'description' => '名称',
- 'type' => 'string',
- 'example' => 'H西南口',
- ],
- 'location' => [
- 'description' => '经纬度坐标',
- 'type' => 'string',
- 'example' => '116.468213,39.998876',
- ],
+ 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '99088345834'],
+ 'name' => ['description' => '名称', 'type' => 'string', 'example' => 'H西南口'],
+ 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '116.468213,39.998876'],
],
],
],
@@ -3341,40 +1666,16 @@
'description' => '到达站',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '站点ID',
- 'type' => 'string',
- 'example' => '100935',
- ],
- 'name' => [
- 'description' => '站点名称',
- 'type' => 'string',
- 'example' => '九龙山',
- ],
- 'location' => [
- 'description' => '经纬度坐标',
- 'type' => 'string',
- 'example' => '119.82416178385417,30.27139702690972',
- ],
+ 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '100935'],
+ 'name' => ['description' => '站点名称', 'type' => 'string', 'example' => '九龙山'],
+ 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '119.82416178385417,30.27139702690972'],
'exit' => [
'description' => '出口',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '站点ID',
- 'type' => 'string',
- 'example' => '900000028907015',
- ],
- 'name' => [
- 'description' => '站点名称',
- 'type' => 'string',
- 'example' => 'A西北口',
- ],
- 'location' => [
- 'description' => '经纬度坐标',
- 'type' => 'string',
- 'example' => '116.468213,39.998876',
- ],
+ 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '900000028907015'],
+ 'name' => ['description' => '站点名称', 'type' => 'string', 'example' => 'A西北口'],
+ 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '116.468213,39.998876'],
],
],
],
@@ -3382,117 +1683,41 @@
],
],
],
- 'index' => [
- 'description' => '索引标识',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'index' => ['description' => '索引标识', 'type' => 'string', 'example' => '1'],
],
],
'railway' => [
'description' => '铁路路径',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '铁路线路ID',
- 'type' => 'string',
- 'example' => '434508',
- ],
- 'name' => [
- 'description' => '铁路线路名称',
- 'type' => 'string',
- 'example' => 'xxx号动车',
- ],
- 'time' => [
- 'description' => '时间戳',
- 'type' => 'string',
- 'example' => '2024-09-28 10:07:22',
- ],
- 'trip' => [
- 'description' => '车次',
- 'type' => 'string',
- 'example' => '8003次',
- ],
- 'type' => [
- 'description' => '铁路车次类型',
- 'type' => 'string',
- 'example' => '动车组',
- ],
- 'distanceMeter' => [
- 'description' => '方案距离,以米为单位',
- 'type' => 'string',
- 'example' => '398734',
- ],
+ 'id' => ['description' => '铁路线路ID', 'type' => 'string', 'example' => '434508'],
+ 'name' => ['description' => '铁路线路名称', 'type' => 'string', 'example' => 'xxx号动车'],
+ 'time' => ['description' => '时间戳', 'type' => 'string', 'example' => '2024-09-28 10:07:22'],
+ 'trip' => ['description' => '车次', 'type' => 'string', 'example' => '8003次'],
+ 'type' => ['description' => '铁路车次类型', 'type' => 'string', 'example' => '动车组'],
+ 'distanceMeter' => ['description' => '方案距离,以米为单位', 'type' => 'string', 'example' => '398734'],
'departureStop' => [
'description' => '出发站',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '站点ID',
- 'type' => 'string',
- 'example' => '100937',
- ],
- 'name' => [
- 'description' => '站点名称',
- 'type' => 'string',
- 'example' => '西安北站',
- ],
- 'location' => [
- 'description' => '经纬度坐标',
- 'type' => 'string',
- 'example' => '101.45625135633681,25.08939480251736',
- ],
- 'time' => [
- 'description' => '时间',
- 'type' => 'string',
- 'example' => '2024-09-30 10:04:13',
- ],
- 'adcode' => [
- 'description' => '城市行政区划编码',
- 'type' => 'string',
- 'example' => '029',
- ],
- 'start' => [
- 'description' => '日程开始时间所属时区,TZ database name格式。',
- 'type' => 'string',
- 'example' => '1729440000000',
- ],
+ 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '100937'],
+ 'name' => ['description' => '站点名称', 'type' => 'string', 'example' => '西安北站'],
+ 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '101.45625135633681,25.08939480251736'],
+ 'time' => ['description' => '时间', 'type' => 'string', 'example' => '2024-09-30 10:04:13'],
+ 'adcode' => ['description' => '城市行政区划编码', 'type' => 'string', 'example' => '029'],
+ 'start' => ['description' => '日程开始时间所属时区,TZ database name格式。', 'type' => 'string', 'example' => '1729440000000'],
],
],
'arrivalStop' => [
'description' => '到达站',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '站点ID',
- 'type' => 'string',
- 'example' => '8234837534',
- ],
- 'name' => [
- 'description' => '站点名称',
- 'type' => 'string',
- 'example' => '洛阳东站',
- ],
- 'location' => [
- 'description' => '经纬度坐标',
- 'type' => 'string',
- 'example' => '101.45625135633681,25.08939480251736',
- ],
- 'time' => [
- 'description' => '操作时间',
- 'type' => 'string',
- 'example' => '2024-10-28 10:10:32',
- ],
- 'adcode' => [
- 'description' => '城市行政区划编码',
- 'type' => 'string',
- 'example' => '023',
- ],
- 'end' => [
- 'description' => 'end',
- 'type' => 'string',
- 'example' => '1699410466578',
- ],
+ 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '8234837534'],
+ 'name' => ['description' => '站点名称', 'type' => 'string', 'example' => '洛阳东站'],
+ 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '101.45625135633681,25.08939480251736'],
+ 'time' => ['description' => '操作时间', 'type' => 'string', 'example' => '2024-10-28 10:10:32'],
+ 'adcode' => ['description' => '城市行政区划编码', 'type' => 'string', 'example' => '023'],
+ 'end' => ['description' => 'end', 'type' => 'string', 'example' => '1699410466578'],
],
],
'spaces' => [
@@ -3502,78 +1727,32 @@
'description' => '可购买的铁路座位',
'type' => 'object',
'properties' => [
- 'code' => [
- 'description' => '车位类型',
- 'type' => 'string',
- 'example' => '软卧',
- ],
- 'cost' => [
- 'description' => '车位费用',
- 'type' => 'string',
- 'example' => '150',
- ],
+ 'code' => ['description' => '车位类型', 'type' => 'string', 'example' => '软卧'],
+ 'cost' => ['description' => '车位费用', 'type' => 'string', 'example' => '150'],
],
],
],
- 'index' => [
- 'description' => '索引标识',
- 'type' => 'string',
- 'example' => '2',
- ],
+ 'index' => ['description' => '索引标识', 'type' => 'string', 'example' => '2'],
],
],
'taxi' => [
'description' => '出租车路径',
'type' => 'object',
'properties' => [
- 'price' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '13.5',
- ],
- 'driveTimeSecond' => [
- 'description' => '出租车耗时',
- 'type' => 'string',
- 'example' => '720',
- ],
- 'distanceMeter' => [
- 'description' => '打车距离,以米为单位',
- 'type' => 'string',
- 'example' => '1772',
- ],
- 'originPoint' => [
- 'description' => '出发地经纬度坐标',
- 'type' => 'string',
- 'example' => '116.476597,39.893420',
- ],
- 'originName' => [
- 'description' => '出发地名称',
- 'type' => 'string',
- 'example' => '九龙山A西北口',
- ],
- 'destinationPoint' => [
- 'description' => '目的地经纬度坐标',
- 'type' => 'string',
- 'example' => '116.464297,39.896458',
- ],
- 'destinationName' => [
- 'description' => '目的地名称',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
+ 'price' => ['description' => '出租车费', 'type' => 'string', 'example' => '13.5'],
+ 'driveTimeSecond' => ['description' => '出租车耗时', 'type' => 'string', 'example' => '720'],
+ 'distanceMeter' => ['description' => '打车距离,以米为单位', 'type' => 'string', 'example' => '1772'],
+ 'originPoint' => ['description' => '出发地经纬度坐标', 'type' => 'string', 'example' => '116.476597,39.893420'],
+ 'originName' => ['description' => '出发地名称', 'type' => 'string', 'example' => '九龙山A西北口'],
+ 'destinationPoint' => ['description' => '目的地经纬度坐标', 'type' => 'string', 'example' => '116.464297,39.896458'],
+ 'destinationName' => ['description' => '目的地名称', 'type' => 'string', 'example' => 'xxx'],
'polyline' => [
'type' => 'object',
'properties' => [
- 'polyline' => [
- 'type' => 'string',
- ],
+ 'polyline' => ['type' => 'string'],
],
],
- 'index' => [
- 'description' => '索引标识',
- 'type' => 'string',
- 'example' => '2',
- ],
+ 'index' => ['description' => '索引标识', 'type' => 'string', 'example' => '2'],
],
],
],
@@ -3588,9 +1767,7 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xszdwr-234dvcxvc\\",\\n \\"data\\": {\\n \\"originLongitude\\": \\"116.466485\\",\\n \\"originLatitude\\": \\"39.995197\\",\\n \\"destinationLongitude\\": \\"116.46424\\",\\n \\"destinationLatitude\\": \\"39.995197\\",\\n \\"distanceMeter\\": \\"445\\",\\n \\"count\\": \\"5\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"1231\\",\\n \\"tolls\\": \\"23\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"6\\"\\n },\\n \\"paths\\": [\\n {\\n \\"cost\\": {\\n \\"durationSecond\\": \\"39233\\",\\n \\"tolls\\": \\"无\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"2000\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"4\\",\\n \\"taxiFee\\": \\"20\\"\\n },\\n \\"distanceMeter\\": \\"12000\\",\\n \\"walkingDistanceMeter\\": \\"23435\\",\\n \\"nightflag\\": \\"否\\",\\n \\"segments\\": [\\n {\\n \\"walking\\": {\\n \\"origin\\": \\"116.466568,39.995552\\",\\n \\"destination\\": \\"116.468208,39.998875\\",\\n \\"distanceMeter\\": \\"546\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"468\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"3\\",\\n \\"taxiFee\\": \\"不涉及\\"\\n },\\n \\"steps\\": [\\n {\\n \\"instruction\\": \\"步行16米右转\\",\\n \\"orientation\\": \\"右\\",\\n \\"roadName\\": \\"无\\",\\n \\"stepDistanceMeter\\": \\"无\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"435\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"不涉及\\"\\n },\\n \\"polyline\\": {\\n \\"polyline\\": \\"116.467751,39.997631;116.467430,39.997631\\"\\n }\\n }\\n ],\\n \\"index\\": \\"0\\"\\n },\\n \\"bus\\": {\\n \\"buslines\\": [\\n {\\n \\"id\\": \\"900000028907\\",\\n \\"name\\": \\"地铁14号线(善各庄--张郭庄)\\",\\n \\"type\\": \\"地铁线路\\",\\n \\"distanceMeter\\": \\"13322\\",\\n \\"busTimeTips\\": \\"无\\",\\n \\"bustimetag\\": \\"0\\",\\n \\"startTime\\": \\"0509\\",\\n \\"endTime\\": \\"2259\\",\\n \\"viaNum\\": \\"8\\",\\n \\"polyline\\": {\\n \\"polyline\\": \\"116.471544,39.991835\\"\\n },\\n \\"cost\\": {\\n \\"durationSecond\\": \\"1521\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"不涉及\\"\\n },\\n \\"viaStops\\": [\\n {\\n \\"id\\": \\"900000028907009\\",\\n \\"name\\": \\"将台\\",\\n \\"location\\": \\"116.485919,39.958375\\"\\n }\\n ],\\n \\"departureStop\\": {\\n \\"id\\": \\"60852\\",\\n \\"name\\": \\"望京\\",\\n \\"location\\": \\"116.468213,39.998876\\",\\n \\"entrance\\": {\\n \\"id\\": \\"99088345834\\",\\n \\"name\\": \\"H西南口\\",\\n \\"location\\": \\"116.468213,39.998876\\"\\n }\\n },\\n \\"arrivalStop\\": {\\n \\"id\\": \\"100935\\",\\n \\"name\\": \\"九龙山\\",\\n \\"location\\": \\"119.82416178385417,30.27139702690972\\",\\n \\"exit\\": {\\n \\"id\\": \\"900000028907015\\",\\n \\"name\\": \\"A西北口\\",\\n \\"location\\": \\"116.468213,39.998876\\"\\n }\\n }\\n }\\n ],\\n \\"index\\": \\"1\\"\\n },\\n \\"railway\\": {\\n \\"id\\": \\"434508\\",\\n \\"name\\": \\"xxx号动车\\",\\n \\"time\\": \\"2024-09-28 10:07:22\\",\\n \\"trip\\": \\"8003次\\",\\n \\"type\\": \\"动车组\\",\\n \\"distanceMeter\\": \\"398734\\",\\n \\"departureStop\\": {\\n \\"id\\": \\"100937\\",\\n \\"name\\": \\"西安北站\\",\\n \\"location\\": \\"101.45625135633681,25.08939480251736\\",\\n \\"time\\": \\"2024-09-30 10:04:13\\",\\n \\"adcode\\": \\"029\\",\\n \\"start\\": \\"1729440000000\\"\\n },\\n \\"arrivalStop\\": {\\n \\"id\\": \\"8234837534\\",\\n \\"name\\": \\"洛阳东站\\",\\n \\"location\\": \\"101.45625135633681,25.08939480251736\\",\\n \\"time\\": \\"2024-10-28 10:10:32\\",\\n \\"adcode\\": \\"023\\",\\n \\"end\\": \\"1699410466578\\"\\n },\\n \\"spaces\\": [\\n {\\n \\"code\\": \\"软卧\\",\\n \\"cost\\": \\"150\\"\\n }\\n ],\\n \\"index\\": \\"2\\"\\n },\\n \\"taxi\\": {\\n \\"price\\": \\"13.5\\",\\n \\"driveTimeSecond\\": \\"720\\",\\n \\"distanceMeter\\": \\"1772\\",\\n \\"originPoint\\": \\"116.476597,39.893420\\",\\n \\"originName\\": \\"九龙山A西北口\\",\\n \\"destinationPoint\\": \\"116.464297,39.896458\\",\\n \\"destinationName\\": \\"xxx\\",\\n \\"polyline\\": {\\n \\"polyline\\": \\"\\"\\n },\\n \\"index\\": \\"2\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '公共交通路线规划方案Nova',
'description' => '根据起终点坐标检索符合条件的公共交通路线规划方案。',
@@ -3598,73 +1775,43 @@
'DrivingDirection' => [
'summary' => '根据起终点坐标检索符合条件的驾车路线规划方案。',
'path' => '/ipaas/v1/direction/driving',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalibababcp00UKME',
- ],
+ 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'],
],
'parameters' => [
[
'name' => 'originLongitude',
'in' => 'query',
- 'schema' => [
- 'description' => '出发地点坐标的经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '116.466485',
- ],
+ 'schema' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.466485'],
],
[
'name' => 'originLatitude',
'in' => 'query',
- 'schema' => [
- 'description' => '出发地点坐标的纬度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '39.995197',
- ],
+ 'schema' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'],
],
[
'name' => 'destinationLongitude',
'in' => 'query',
- 'schema' => [
- 'description' => '目的地坐标的经度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '116.46424',
- ],
+ 'schema' => ['description' => '目的地坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.46424'],
],
[
'name' => 'destinationLatitude',
'in' => 'query',
- 'schema' => [
- 'description' => '目的地坐标的纬度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '39.896463',
- ],
+ 'schema' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.896463'],
],
],
'responses' => [
@@ -3674,11 +1821,7 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364',
- ],
+ 'requestId' => ['description' => 'Id of the request', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'],
'data' => [
'description' => '响应数据',
'type' => 'array',
@@ -3686,55 +1829,19 @@
'description' => '响应数据',
'type' => 'object',
'properties' => [
- 'distanceMeter' => [
- 'description' => '距离',
- 'type' => 'string',
- 'example' => '445',
- ],
- 'restriction' => [
- 'description' => '限行情况',
- 'type' => 'string',
- 'example' => '不限行',
- ],
+ 'distanceMeter' => ['description' => '距离', 'type' => 'string', 'example' => '445'],
+ 'restriction' => ['description' => '限行情况', 'type' => 'string', 'example' => '不限行'],
'cost' => [
'description' => '公交费',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '1231',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '23',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '6',
- ],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '1231'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '23'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '6'],
],
],
'steps' => [
@@ -3744,65 +1851,21 @@
'description' => '方向',
'type' => 'object',
'properties' => [
- 'instruction' => [
- 'description' => '路径指令',
- 'type' => 'string',
- 'example' => '向北步行16米右转',
- ],
- 'orientation' => [
- 'description' => '方向',
- 'type' => 'string',
- 'example' => '西',
- ],
- 'stepDistanceMeter' => [
- 'description' => '分段距离,以米为单位',
- 'type' => 'string',
- 'example' => '500',
- ],
- 'roadName' => [
- 'description' => '分段道路名称',
- 'type' => 'string',
- 'example' => '建工路',
- ],
+ 'instruction' => ['description' => '路径指令', 'type' => 'string', 'example' => '向北步行16米右转'],
+ 'orientation' => ['description' => '方向', 'type' => 'string', 'example' => '西'],
+ 'stepDistanceMeter' => ['description' => '分段距离,以米为单位', 'type' => 'string', 'example' => '500'],
+ 'roadName' => ['description' => '分段道路名称', 'type' => 'string', 'example' => '建工路'],
'cost' => [
'description' => '耗时,以秒为单位',
'type' => 'object',
'properties' => [
- 'durationSecond' => [
- 'description' => '耗时',
- 'type' => 'string',
- 'example' => '27647',
- ],
- 'tolls' => [
- 'description' => '收取费用',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'tollRoads' => [
- 'description' => '收费道路',
- 'type' => 'string',
- 'example' => 'xxx',
- ],
- 'tollDistanceMeter' => [
- 'description' => '收费距离,以米为单位',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'trafficLights' => [
- 'description' => '交通灯数量',
- 'type' => 'string',
- 'example' => '5',
- ],
- 'transitFee' => [
- 'description' => '公交费',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
- 'taxiFee' => [
- 'description' => '出租车费',
- 'type' => 'string',
- 'example' => '不涉及',
- ],
+ 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '27647'],
+ 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'],
+ 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => 'xxx'],
+ 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'],
+ 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '5'],
+ 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'],
+ 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '不涉及'],
],
],
],
@@ -3815,18 +1878,13 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\",\\n \\"data\\": [\\n {\\n \\"distanceMeter\\": \\"445\\",\\n \\"restriction\\": \\"不限行\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"1231\\",\\n \\"tolls\\": \\"23\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"6\\"\\n },\\n \\"steps\\": [\\n {\\n \\"instruction\\": \\"向北步行16米右转\\",\\n \\"orientation\\": \\"西\\",\\n \\"stepDistanceMeter\\": \\"500\\",\\n \\"roadName\\": \\"建工路\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"27647\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"xxx\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"5\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"不涉及\\"\\n }\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => '驾车路线方案规划',
'description' => '根据起终点坐标检索符合条件的驾车路线规划方案。',
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com',
- ],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com'],
],
];