summaryrefslogtreecommitdiff
path: root/data/en_us/iqs/2024-07-12/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/iqs/2024-07-12/api-docs.php
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/iqs/2024-07-12/api-docs.php')
-rw-r--r--data/en_us/iqs/2024-07-12/api-docs.php2814
1 files changed, 508 insertions, 2306 deletions
diff --git a/data/en_us/iqs/2024-07-12/api-docs.php b/data/en_us/iqs/2024-07-12/api-docs.php
index eabc21a..28b7a92 100644
--- a/data/en_us/iqs/2024-07-12/api-docs.php
+++ b/data/en_us/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' => [
@@ -38,42 +20,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' => [
@@ -83,64 +51,40 @@
'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"}]',
],
'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' => [
@@ -150,64 +94,40 @@
'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"}]',
],
'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' => [
@@ -217,358 +137,220 @@
'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"}]',
],
'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' => '',
- 'required' => false,
- '$ref' => '#/components/schemas/CommonAgentQuery',
- ],
+ 'schema' => ['description' => '', '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"}]',
],
'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"}]',
],
'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"}]',
],
'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"}]',
],
'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' => '',
- '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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'size',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
[
'name' => 'cityLimit',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['type' => 'boolean'],
],
[
'name' => 'sortRule',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -578,9 +360,7 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'type' => 'string',
- ],
+ 'requestId' => ['type' => 'string'],
'data' => [
'description' => '',
'type' => 'array',
@@ -588,120 +368,32 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '34360',
- ],
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'longitude' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '108.970162',
- ],
- 'latitude' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '39.994135',
- ],
- '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' => '',
- ],
- 'address' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'distanceMeter' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '445',
- ],
+ 'id' => ['description' => '', 'type' => 'string', 'example' => '34360'],
+ 'name' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'longitude' => ['description' => '', 'type' => 'string', 'example' => '108.970162'],
+ 'latitude' => ['description' => '', 'type' => 'string', 'example' => '39.994135'],
+ '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' => ''],
+ 'address' => ['description' => '', 'type' => 'string', 'example' => ''],
+ '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' => '',
- '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' => '',
- ],
+ 'businessArea' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'phone' => ['description' => '', 'type' => 'string', 'example' => '029-87983745'],
+ 'mainTag' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'score' => ['description' => '', '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' => ''],
],
],
'images' => [
@@ -711,16 +403,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'],
],
],
],
@@ -731,88 +415,54 @@
],
],
],
- '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"}]',
],
'ElectrobikeDirectionNova' => [
'summary' => '电动车路线规划方案V2',
'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' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['type' => 'boolean'],
],
],
'responses' => [
@@ -822,41 +472,17 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'type' => 'string',
- ],
+ 'requestId' => ['type' => 'string'],
'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' => [
- 'type' => 'string',
- ],
+ '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' => ['type' => 'string'],
'paths' => [
'description' => '',
'type' => 'array',
@@ -864,60 +490,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' => [
@@ -927,68 +513,22 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'instruction' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'orientation' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'roadName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'stepDistanceMeter' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '3000',
- ],
- 'polyline' => [
- 'type' => 'string',
- ],
+ 'instruction' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'orientation' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'roadName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'stepDistanceMeter' => ['description' => '', 'type' => 'string', 'example' => '3000'],
+ 'polyline' => ['type' => 'string'],
'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'],
],
],
],
@@ -1003,100 +543,59 @@
],
],
],
- '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"}]',
],
'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' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => '', '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' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'size',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
[
'name' => 'cityLimit',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['type' => 'boolean'],
],
],
'responses' => [
@@ -1106,9 +605,7 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'type' => 'string',
- ],
+ 'requestId' => ['type' => 'string'],
'data' => [
'description' => '',
'type' => 'array',
@@ -1116,118 +613,32 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '',
- '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' => '',
- ],
- 'distanceMeter' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '445',
- ],
+ 'id' => ['description' => '', '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' => ''],
+ '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' => [
- 'type' => 'string',
- ],
- 'dailyOpeningHours' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'weeklyOpeningDays' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'averageSpend' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '78',
- ],
- 'tag' => [
- 'description' => '',
- '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' => ['type' => 'string'],
+ 'dailyOpeningHours' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'weeklyOpeningDays' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'averageSpend' => ['description' => '', 'type' => 'string', 'example' => '78'],
+ 'tag' => ['description' => '', 'type' => 'string', 'example' => '[{\\"value\\":\\"nttd\\",\\"key\\":\\"owner\\"}]'],
],
],
'images' => [
@@ -1237,16 +648,8 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'url' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'https://aos-comment.amap.com/B000A8UNZV/comment/f0a5ca9b58a31f63f8af51f459f75e4b_2048_2048_80.jpg',
- ],
- 'title' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'test',
- ],
+ 'url' => ['description' => '', 'type' => 'string', 'example' => 'https://aos-comment.amap.com/B000A8UNZV/comment/f0a5ca9b58a31f63f8af51f459f75e4b_2048_2048_80.jpg'],
+ 'title' => ['description' => '', 'type' => 'string', 'example' => 'test'],
],
],
],
@@ -1257,88 +660,54 @@
],
],
],
- '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"}]',
],
'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' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['type' => 'boolean'],
],
],
'responses' => [
@@ -1348,41 +717,17 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'type' => 'string',
- ],
+ 'requestId' => ['type' => 'string'],
'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' => [
- 'type' => 'string',
- ],
+ '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' => ['type' => 'string'],
'paths' => [
'description' => '',
'type' => 'array',
@@ -1390,60 +735,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' => [
@@ -1453,68 +758,22 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'instruction' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'orientation' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'roadName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'stepDistanceMeter' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '3000',
- ],
- 'polyline' => [
- 'type' => 'string',
- ],
+ 'instruction' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'orientation' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'roadName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'stepDistanceMeter' => ['description' => '', 'type' => 'string', 'example' => '3000'],
+ 'polyline' => ['type' => 'string'],
'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'],
],
],
],
@@ -1529,88 +788,54 @@
],
],
],
- '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"}]',
],
'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' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['type' => 'boolean'],
],
],
'responses' => [
@@ -1620,41 +845,17 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'type' => 'string',
- ],
+ 'requestId' => ['type' => 'string'],
'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' => [
- 'type' => 'string',
- ],
+ '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' => ['type' => 'string'],
'paths' => [
'description' => '',
'type' => 'array',
@@ -1662,60 +863,20 @@
'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' => '',
- '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' => '', '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' => [
@@ -1725,68 +886,22 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'instruction' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'orientation' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'roadName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'stepDistanceMeter' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1665',
- ],
- 'polyline' => [
- 'type' => 'string',
- ],
+ 'instruction' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'orientation' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'roadName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'stepDistanceMeter' => ['description' => '', 'type' => 'string', 'example' => '1665'],
+ 'polyline' => ['type' => 'string'],
'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'],
],
],
],
@@ -1801,61 +916,39 @@
],
],
],
- '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"}]',
],
'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' => [
[
'name' => 'address',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
],
[
'name' => 'city',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '',
- ],
+ 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''],
],
],
'responses' => [
@@ -1865,9 +958,7 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'type' => 'string',
- ],
+ 'requestId' => ['type' => 'string'],
'data' => [
'description' => '',
'type' => 'array',
@@ -1875,61 +966,21 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'province' => [
- 'description' => '',
- 'type' => 'string',
- ],
- 'city' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'cityCode' => [
- 'description' => '',
- 'type' => 'string',
- ],
- 'district' => [
- 'description' => '',
- 'type' => 'string',
- ],
- 'districtCode' => [
- 'description' => '',
- 'type' => 'string',
- ],
- 'street' => [
- 'description' => '',
- 'type' => 'string',
- ],
- 'number' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '12201281024024',
- ],
- 'longitude' => [
- 'description' => '',
- 'type' => 'string',
- ],
- 'latitude' => [
- 'description' => '',
- 'type' => 'string',
- ],
- 'level' => [
- 'description' => '',
- 'type' => 'string',
- ],
+ 'province' => ['description' => '', 'type' => 'string'],
+ 'city' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'cityCode' => ['description' => '', 'type' => 'string'],
+ 'district' => ['description' => '', 'type' => 'string'],
+ 'districtCode' => ['description' => '', 'type' => 'string'],
+ 'street' => ['description' => '', 'type' => 'string'],
+ 'number' => ['description' => '', 'type' => 'string', 'example' => '12201281024024'],
+ 'longitude' => ['description' => '', 'type' => 'string'],
+ 'latitude' => ['description' => '', 'type' => 'string'],
+ 'level' => ['description' => '', 'type' => 'string'],
'building' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'timeliness_ms',
- ],
- 'type' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'internal',
- ],
+ 'name' => ['description' => '', 'type' => 'string', 'example' => 'timeliness_ms'],
+ 'type' => ['description' => '', 'type' => 'string', 'example' => 'internal'],
],
],
],
@@ -1939,102 +990,64 @@
],
],
],
- '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"}]',
],
'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' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'plate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'showPolyline',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['type' => 'boolean'],
],
],
'responses' => [
@@ -2044,41 +1057,17 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'type' => 'string',
- ],
+ 'requestId' => ['type' => 'string'],
'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' => [
- 'type' => 'string',
- ],
+ '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' => ['type' => 'string'],
'paths' => [
'description' => '',
'type' => 'array',
@@ -2086,60 +1075,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' => [
@@ -2149,68 +1098,22 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'instruction' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'orientation' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'roadName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'stepDistanceMeter' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '3000',
- ],
- 'polyline' => [
- 'type' => 'string',
- ],
+ 'instruction' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'orientation' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'roadName' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'stepDistanceMeter' => ['description' => '', 'type' => 'string', 'example' => '3000'],
+ 'polyline' => ['type' => 'string'],
'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'],
],
],
],
@@ -2225,61 +1128,39 @@
],
],
],
- '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"}]',
],
'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' => [
@@ -2289,122 +1170,46 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'type' => 'string',
- ],
+ 'requestId' => ['type' => 'string'],
'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',
- ],
- 'type' => [
- 'description' => '',
- 'type' => 'string',
- ],
+ 'name' => ['description' => '', 'type' => 'string'],
+ 'type' => ['description' => '', 'type' => 'string'],
],
],
'streetNumber' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'street' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'number' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- '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' => ''],
+ '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' => [
@@ -2413,26 +1218,10 @@
'items' => [
'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'],
],
],
],
@@ -2442,108 +1231,64 @@
],
],
],
- '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"}]',
],
'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' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['type' => 'boolean'],
],
],
'responses' => [
@@ -2553,82 +1298,28 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'type' => 'string',
- ],
+ 'requestId' => ['type' => 'string'],
'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' => [
@@ -2642,58 +1333,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',
@@ -2705,60 +1356,20 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'origin' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '116.466568,39.995552',
- ],
- 'destination' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '116.468208,39.998875',
- ],
- 'distanceMeter' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '546',
- ],
+ 'origin' => ['description' => '', 'type' => 'string', 'example' => '116.466568,39.995552'],
+ 'destination' => ['description' => '', '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' => [
@@ -2768,84 +1379,34 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'instruction' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'orientation' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'roadName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'stepDistanceMeter' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'instruction' => ['description' => '', 'type' => 'string', 'example' => ''],
+ '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' => [
- 'type' => 'string',
- ],
+ 'index' => ['type' => 'string'],
],
],
'bus' => [
@@ -2859,101 +1420,33 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '900000028907',
- ],
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- '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' => '', 'type' => 'string', 'example' => '900000028907'],
+ 'name' => ['description' => '', 'type' => 'string', 'example' => ''],
+ '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' => '',
- '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' => '', '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' => [
@@ -2961,15 +1454,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'id' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'location' => [
- 'type' => 'string',
- ],
+ 'id' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'location' => ['type' => 'string'],
],
],
],
@@ -2977,40 +1464,16 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '60852',
- ],
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'location' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '116.468213,39.998876',
- ],
+ 'id' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'example' => '99088345834',
- ],
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'location' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '116.468213,39.998876',
- ],
+ 'id' => ['description' => '', 'type' => 'string', 'example' => '99088345834'],
+ 'name' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'location' => ['description' => '', 'type' => 'string', 'example' => '116.468213,39.998876'],
],
],
],
@@ -3019,40 +1482,16 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '100935',
- ],
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'location' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '119.82416178385417,30.27139702690972',
- ],
+ 'id' => ['description' => '', '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' => '',
- 'type' => 'string',
- 'example' => '900000028907015',
- ],
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'location' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '116.468213,39.998876',
- ],
+ 'id' => ['description' => '', 'type' => 'string', 'example' => '900000028907015'],
+ 'name' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'location' => ['description' => '', 'type' => 'string', 'example' => '116.468213,39.998876'],
],
],
],
@@ -3060,115 +1499,41 @@
],
],
],
- 'index' => [
- 'type' => 'string',
- ],
+ 'index' => ['type' => 'string'],
],
],
'railway' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '434508',
- ],
- 'name' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'time' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '2024-09-28 10:07:22',
- ],
- 'trip' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'type' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'distanceMeter' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '398734',
- ],
+ 'id' => ['description' => '', 'type' => 'string', 'example' => '434508'],
+ 'name' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'time' => ['description' => '', 'type' => 'string', 'example' => '2024-09-28 10:07:22'],
+ 'trip' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'type' => ['description' => '', 'type' => 'string', 'example' => ''],
+ 'distanceMeter' => ['description' => '', 'type' => 'string', 'example' => '398734'],
'departureStop' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '',
- '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' => '',
- 'type' => 'string',
- 'example' => '1729440000000',
- ],
+ 'id' => ['description' => '', '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' => '', 'type' => 'string', 'example' => '1729440000000'],
],
],
'arrivalStop' => [
'description' => '',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '',
- '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' => '', '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' => [
@@ -3178,74 +1543,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' => [
- 'type' => 'string',
- ],
+ 'index' => ['type' => 'string'],
],
],
'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' => '',
- ],
- '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' => ''],
+ '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' => [
- 'type' => 'string',
- ],
+ 'index' => ['type' => 'string'],
],
],
],
@@ -3260,81 +1583,49 @@
],
],
],
- '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"}]',
],
'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' => [
@@ -3344,11 +1635,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',
@@ -3356,55 +1643,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' => [
@@ -3414,65 +1665,21 @@
'description' => '',
'type' => 'object',
'properties' => [
- 'instruction' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'orientation' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
- 'stepDistanceMeter' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '500',
- ],
- 'roadName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '',
- ],
+ 'instruction' => ['description' => '', 'type' => 'string', 'example' => ''],
+ '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' => ''],
],
],
],
@@ -3485,16 +1692,11 @@
],
],
],
- '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"}]',
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com',
- ],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com'],
],
];