diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/iqs | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/iqs')
| -rw-r--r-- | data/zh_cn/iqs/2024-07-12/api-docs.php | 3018 | ||||
| -rw-r--r-- | data/zh_cn/iqs/2024-11-11/api-docs.php | 2907 | ||||
| -rw-r--r-- | data/zh_cn/iqs/2024-11-21/api-docs.php | 1495 |
3 files changed, 2265 insertions, 5155 deletions
diff --git a/data/zh_cn/iqs/2024-07-12/api-docs.php b/data/zh_cn/iqs/2024-07-12/api-docs.php index 1737997..6d18a81 100644 --- a/data/zh_cn/iqs/2024-07-12/api-docs.php +++ b/data/zh_cn/iqs/2024-07-12/api-docs.php @@ -1,10 +1,6 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'IQS', - 'version' => '2024-07-12', - ], + 'info' => ['style' => 'ROA', 'product' => 'IQS', 'version' => '2024-07-12'], 'directories' => [ 'QueryRestaurants', 'QueryHotels', @@ -14,21 +10,7 @@ 'id' => 0, 'title' => '其它', 'type' => 'directory', - 'children' => [ - 'QueryRestaurantsNl', - 'QueryHotelsNl', - 'QueryAttractionsNl', - 'NearbySearchNova', - 'ElectrobikeDirectionNova', - 'PlaceSearchNova', - 'BicyclingDirectionNova', - 'WalkingDirectionNova', - 'GeoCode', - 'DrivingDirectionNova', - 'RgeoCode', - 'TransitIntegratedDirection', - 'DrivingDirection', - ], + 'children' => ['QueryRestaurantsNl', 'QueryHotelsNl', 'QueryAttractionsNl', 'NearbySearchNova', 'ElectrobikeDirectionNova', 'PlaceSearchNova', 'BicyclingDirectionNova', 'WalkingDirectionNova', 'GeoCode', 'DrivingDirectionNova', 'RgeoCode', 'TransitIntegratedDirection', 'DrivingDirection'], ], ], 'components' => [ @@ -36,27 +18,16 @@ 'AgentBaseQuery' => [ 'type' => 'object', 'properties' => [ - 'query' => [ - 'type' => 'string', - ], + 'query' => ['type' => 'string'], ], ], 'CommonAgentQuery' => [ 'type' => 'object', 'properties' => [ - 'query' => [ - 'type' => 'string', - ], - 'querySceneEnumCode' => [ - 'type' => 'string', - ], - 'limit' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'searchModel' => [ - 'type' => 'string', - ], + 'query' => ['type' => 'string'], + 'querySceneEnumCode' => ['type' => 'string'], + 'limit' => ['type' => 'integer', 'format' => 'int32'], + 'searchModel' => ['type' => 'string'], ], ], 'QueryResult' => [ @@ -72,89 +43,41 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'title' => [ - 'type' => 'string', - ], - 'url' => [ - 'type' => 'string', - ], + 'title' => ['type' => 'string'], + 'url' => ['type' => 'string'], ], ], ], 'metadata' => [ 'type' => 'object', 'properties' => [ - 'score' => [ - 'type' => 'string', - ], - 'averageSpend' => [ - 'type' => 'string', - ], - 'businessArea' => [ - 'type' => 'string', - ], - 'dailyOpeningHours' => [ - 'type' => 'string', - ], - 'phone' => [ - 'type' => 'string', - ], - 'weeklyOpeningDays' => [ - 'type' => 'string', - ], - 'mainTag' => [ - 'type' => 'string', - ], + 'score' => ['type' => 'string'], + 'averageSpend' => ['type' => 'string'], + 'businessArea' => ['type' => 'string'], + 'dailyOpeningHours' => ['type' => 'string'], + 'phone' => ['type' => 'string'], + 'weeklyOpeningDays' => ['type' => 'string'], + 'mainTag' => ['type' => 'string'], ], ], - 'types' => [ - 'type' => 'string', - ], - 'address' => [ - 'type' => 'string', - ], - 'districtCode' => [ - 'type' => 'string', - ], - 'districtName' => [ - 'type' => 'string', - ], - 'cityCode' => [ - 'type' => 'string', - ], - 'provinceCode' => [ - 'type' => 'string', - ], - 'latitude' => [ - 'type' => 'string', - ], - 'typeCode' => [ - 'type' => 'string', - ], - 'cityName' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'distanceMeter' => [ - 'type' => 'string', - ], - 'id' => [ - 'type' => 'string', - ], - 'provinceName' => [ - 'type' => 'string', - ], - 'longitude' => [ - 'type' => 'string', - ], + 'types' => ['type' => 'string'], + 'address' => ['type' => 'string'], + 'districtCode' => ['type' => 'string'], + 'districtName' => ['type' => 'string'], + 'cityCode' => ['type' => 'string'], + 'provinceCode' => ['type' => 'string'], + 'latitude' => ['type' => 'string'], + 'typeCode' => ['type' => 'string'], + 'cityName' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'distanceMeter' => ['type' => 'string'], + 'id' => ['type' => 'string'], + 'provinceName' => ['type' => 'string'], + 'longitude' => ['type' => 'string'], ], ], ], - 'requestId' => [ - 'type' => 'string', - ], + 'requestId' => ['type' => 'string'], ], ], ], @@ -163,42 +86,28 @@ 'QueryRestaurants' => [ 'summary' => '提供周边搜索功能(餐厅)。', 'path' => '/amap-function-call-agent/iqs-agent-service/v1/nl/restaurants', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp00UKME', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => '请求体参数', - 'required' => false, - '$ref' => '#/components/schemas/AgentBaseQuery', - ], + 'schema' => ['description' => '请求体参数', 'required' => false, '$ref' => '#/components/schemas/AgentBaseQuery'], ], ], 'responses' => [ @@ -208,23 +117,13 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'D78E16C0-4D44-5065-BFF7-127F7859F687', - ], - 'queryResult' => [ - 'description' => '查询数据。', - '$ref' => '#/components/schemas/QueryResult', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D78E16C0-4D44-5065-BFF7-127F7859F687'], + 'queryResult' => ['description' => '查询数据。', '$ref' => '#/components/schemas/QueryResult'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"D78E16C0-4D44-5065-BFF7-127F7859F687\\",\\n \\"queryResult\\": {\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n }\\n}","type":"json"}]', 'title' => '餐厅查询接口', 'description' => '自然语言搜索餐厅', @@ -232,42 +131,28 @@ 'QueryHotels' => [ 'summary' => '提供周边搜索功能(酒店)。', 'path' => '/amap-function-call-agent/iqs-agent-service/v1/nl/hotels', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp00UKME', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => '请求体参数。', - 'required' => false, - '$ref' => '#/components/schemas/AgentBaseQuery', - ], + 'schema' => ['description' => '请求体参数。', 'required' => false, '$ref' => '#/components/schemas/AgentBaseQuery'], ], ], 'responses' => [ @@ -277,23 +162,13 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '78032F8B-0157-53F9-B1A8-3BD86ADE38D0', - ], - 'queryResult' => [ - 'description' => '查询数据。', - '$ref' => '#/components/schemas/QueryResult', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '78032F8B-0157-53F9-B1A8-3BD86ADE38D0'], + 'queryResult' => ['description' => '查询数据。', '$ref' => '#/components/schemas/QueryResult'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"78032F8B-0157-53F9-B1A8-3BD86ADE38D0\\",\\n \\"queryResult\\": {\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n }\\n}","type":"json"}]', 'title' => '酒店查询接口', 'description' => '自然语言搜索酒店', @@ -301,42 +176,28 @@ 'QueryAttractions' => [ 'summary' => '提供周边搜索功能(景点)。', 'path' => '/amap-function-call-agent/iqs-agent-service/v1/nl/attractions', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp00UKME', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => '请求体', - 'required' => false, - '$ref' => '#/components/schemas/AgentBaseQuery', - ], + 'schema' => ['description' => '请求体', 'required' => false, '$ref' => '#/components/schemas/AgentBaseQuery'], ], ], 'responses' => [ @@ -346,23 +207,13 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364', - ], - 'queryResult' => [ - 'description' => '查询数据。', - '$ref' => '#/components/schemas/QueryResult', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'], + 'queryResult' => ['description' => '查询数据。', '$ref' => '#/components/schemas/QueryResult'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\",\\n \\"queryResult\\": {\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n }\\n}","type":"json"}]', 'title' => '景点查询接口', 'description' => '自然语言搜索景点', @@ -370,110 +221,72 @@ 'CommonQueryByScene' => [ 'summary' => '自然语言通用查询。', 'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/common', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp93AW4O', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => '请求Body。', - 'required' => false, - '$ref' => '#/components/schemas/CommonAgentQuery', - ], + 'schema' => ['description' => '请求Body。', 'required' => false, '$ref' => '#/components/schemas/CommonAgentQuery'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '返回结果', - '$ref' => '#/components/schemas/QueryResult', - ], + 'schema' => ['description' => '返回结果', '$ref' => '#/components/schemas/QueryResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]', 'title' => '通用场景查询接口', ], 'QueryRestaurantsNl' => [ 'summary' => '餐厅查询。', 'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/restaurants', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp93AW4O', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => '请求体参数', - 'required' => false, - '$ref' => '#/components/schemas/AgentBaseQuery', - ], + 'schema' => ['description' => '请求体参数', 'required' => false, '$ref' => '#/components/schemas/AgentBaseQuery'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '返回结果', - '$ref' => '#/components/schemas/QueryResult', - ], + 'schema' => ['description' => '返回结果', '$ref' => '#/components/schemas/QueryResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]', 'title' => '餐厅自然语言查询接口', 'description' => '自然语言搜索餐厅', @@ -481,55 +294,36 @@ 'QueryHotelsNl' => [ 'summary' => '酒店查询。', 'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/hotels', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp93AW4O', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => '请求体数据。', - 'required' => false, - '$ref' => '#/components/schemas/AgentBaseQuery', - ], + 'schema' => ['description' => '请求体数据。', 'required' => false, '$ref' => '#/components/schemas/AgentBaseQuery'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '返回结果', - '$ref' => '#/components/schemas/QueryResult', - ], + 'schema' => ['description' => '返回结果', '$ref' => '#/components/schemas/QueryResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]', 'title' => '酒店自然语言查询接口', 'description' => '自然语言搜索酒店', @@ -537,55 +331,36 @@ 'QueryAttractionsNl' => [ 'summary' => '景点查询。', 'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/attractions', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp93AW4O', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => '请求体参数。', - 'required' => false, - '$ref' => '#/components/schemas/AgentBaseQuery', - ], + 'schema' => ['description' => '请求体参数。', 'required' => false, '$ref' => '#/components/schemas/AgentBaseQuery'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '返回结果', - '$ref' => '#/components/schemas/QueryResult', - ], + 'schema' => ['description' => '返回结果', '$ref' => '#/components/schemas/QueryResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"metadata\\": {\\n \\"score\\": \\"\\",\\n \\"averageSpend\\": \\"\\",\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"mainTag\\": \\"\\"\\n },\\n \\"types\\": \\"\\",\\n \\"address\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"latitude\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"name\\": \\"\\",\\n \\"distanceMeter\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"longitude\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]', 'title' => '景点自然语言查询接口', 'description' => '自然语言搜索景点', @@ -593,126 +368,68 @@ 'NearbySearchNova' => [ 'summary' => '通过经纬度查询附近的地点。', 'path' => '/ipaas/v2/pois/nearby', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp00UKME', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'keywords', 'in' => 'query', - 'schema' => [ - 'description' => '需要进行语意解析的关键词', - 'type' => 'string', - 'required' => false, - 'example' => '餐厅', - ], + 'schema' => ['description' => '需要进行语意解析的关键词', 'type' => 'string', 'required' => false, 'example' => '餐厅'], ], [ 'name' => 'longitude', 'in' => 'query', - 'schema' => [ - 'description' => '经度', - 'type' => 'string', - 'required' => false, - 'example' => '116.310918', - ], + 'schema' => ['description' => '经度', 'type' => 'string', 'required' => false, 'example' => '116.310918'], ], [ 'name' => 'latitude', 'in' => 'query', - 'schema' => [ - 'description' => '纬度', - 'type' => 'string', - 'required' => false, - 'example' => '39.992873', - ], + 'schema' => ['description' => '纬度', 'type' => 'string', 'required' => false, 'example' => '39.992873'], ], [ 'name' => 'radius', 'in' => 'query', - 'schema' => [ - 'description' => '搜索半径', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3000', - ], + 'schema' => ['description' => '搜索半径', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3000'], ], [ 'name' => 'types', 'in' => 'query', - 'schema' => [ - 'description' => 'poi 所属类型', - 'type' => 'string', - 'required' => false, - 'example' => 'GAS_STATION|RESTAURANT|HOTEL|ATTRACTION', - ], + 'schema' => ['description' => 'poi 所属类型', 'type' => 'string', 'required' => false, 'example' => 'GAS_STATION|RESTAURANT|HOTEL|ATTRACTION'], ], [ 'name' => 'page', 'in' => 'query', - 'schema' => [ - 'description' => '插件列表的页码。起始值:1,默认值:1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '插件列表的页码。起始值:1,默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'size', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时设置的每页条数。默认值:20,最小值:1,最大值:50。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['description' => '分页查询时设置的每页条数。默认值:20,最小值:1,最大值:50。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'], ], [ 'name' => 'cityLimit', 'in' => 'query', - 'schema' => [ - 'description' => '指定城市数据召回限制', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '指定城市数据召回限制', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'sortRule', 'in' => 'query', - 'schema' => [ - 'description' => '规定返回结果的排序规则(按距离排序:distance;综合排序:weight)', - 'type' => 'string', - 'required' => false, - 'example' => 'distance', - ], + 'schema' => ['description' => '规定返回结果的排序规则(按距离排序:distance;综合排序:weight)', 'type' => 'string', 'required' => false, 'example' => 'distance'], ], ], 'responses' => [ @@ -722,11 +439,7 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '6788a2c2-157d4ebe-ad979cd4f296', - ], + 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => '6788a2c2-157d4ebe-ad979cd4f296'], 'data' => [ 'description' => '服务ID', 'type' => 'array', @@ -734,120 +447,32 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'id' => [ - 'description' => 'poi 唯一标识', - 'type' => 'string', - 'example' => '34360', - ], - 'name' => [ - 'description' => 'poi 名称', - 'type' => 'string', - 'example' => '万城万充汽车充电站', - ], - 'longitude' => [ - 'description' => '经度', - 'type' => 'string', - 'example' => '108.970162', - ], - 'latitude' => [ - 'description' => '纬度', - 'type' => 'string', - 'example' => '39.994135', - ], - 'types' => [ - 'description' => 'poi 所属类型', - 'type' => 'string', - 'example' => '风景名胜', - ], - 'typeCode' => [ - 'description' => 'poi 分类编码', - 'type' => 'string', - 'example' => '110200', - ], - 'provinceName' => [ - 'description' => '省份', - 'type' => 'string', - 'example' => '陕西省', - ], - 'provinceCode' => [ - 'description' => '省份编码', - 'type' => 'string', - 'example' => '110000', - ], - 'cityName' => [ - 'description' => '城市名', - 'type' => 'string', - 'example' => '西安市', - ], - 'cityCode' => [ - 'description' => '城市编码', - 'type' => 'string', - 'example' => '010', - ], - 'districtName' => [ - 'description' => '区名', - 'type' => 'string', - 'example' => '海淀区', - ], - 'districtCode' => [ - 'description' => '区编码', - 'type' => 'string', - 'example' => '610102东新街与顺城东路北段交叉口西北100米', - ], - 'address' => [ - 'description' => '地址', - 'type' => 'string', - 'example' => '南京市江宁区苍穹路8号', - ], - 'distanceMeter' => [ - 'description' => '距离(单位米)', - 'type' => 'string', - 'example' => '445', - ], + 'id' => ['description' => 'poi 唯一标识', 'type' => 'string', 'example' => '34360'], + 'name' => ['description' => 'poi 名称', 'type' => 'string', 'example' => '万城万充汽车充电站'], + 'longitude' => ['description' => '经度', 'type' => 'string', 'example' => '108.970162'], + 'latitude' => ['description' => '纬度', 'type' => 'string', 'example' => '39.994135'], + 'types' => ['description' => 'poi 所属类型', 'type' => 'string', 'example' => '风景名胜'], + 'typeCode' => ['description' => 'poi 分类编码', 'type' => 'string', 'example' => '110200'], + 'provinceName' => ['description' => '省份', 'type' => 'string', 'example' => '陕西省'], + 'provinceCode' => ['description' => '省份编码', 'type' => 'string', 'example' => '110000'], + 'cityName' => ['description' => '城市名', 'type' => 'string', 'example' => '西安市'], + 'cityCode' => ['description' => '城市编码', 'type' => 'string', 'example' => '010'], + 'districtName' => ['description' => '区名', 'type' => 'string', 'example' => '海淀区'], + 'districtCode' => ['description' => '区编码', 'type' => 'string', 'example' => '610102东新街与顺城东路北段交叉口西北100米'], + 'address' => ['description' => '地址', 'type' => 'string', 'example' => '南京市江宁区苍穹路8号'], + 'distanceMeter' => ['description' => '距离(单位米)', 'type' => 'string', 'example' => '445'], 'metadata' => [ 'description' => '保留字段,用于扩展使用,暂无实际意义', 'type' => 'object', 'properties' => [ - 'businessArea' => [ - 'description' => '商圈', - 'type' => 'string', - 'example' => '后宅们商圈', - ], - 'phone' => [ - 'description' => '联系电话', - 'type' => 'string', - 'example' => '029-87983745', - ], - 'mainTag' => [ - 'description' => '主要特色', - 'type' => 'string', - 'example' => '食堂', - ], - 'score' => [ - 'description' => '得分。分布范围1~5', - 'type' => 'string', - 'example' => '4.5', - ], - 'dailyOpeningHours' => [ - 'description' => '每日营业时间', - 'type' => 'string', - 'example' => '11:00-14:00 17:00-21:00', - ], - 'weeklyOpeningDays' => [ - 'description' => '每周营业时间', - 'type' => 'string', - 'example' => '每天', - ], - 'averageSpend' => [ - 'description' => '人均消费', - 'type' => 'string', - 'example' => '22.00', - ], - 'tag' => [ - 'description' => '特色内容', - 'type' => 'string', - 'example' => '麻花,特色小吃,小吃街,羊肉泡馍,biangbiang面,肉夹馍,甑糕', - ], + 'businessArea' => ['description' => '商圈', 'type' => 'string', 'example' => '后宅们商圈'], + 'phone' => ['description' => '联系电话', 'type' => 'string', 'example' => '029-87983745'], + 'mainTag' => ['description' => '主要特色', 'type' => 'string', 'example' => '食堂'], + 'score' => ['description' => '得分。分布范围1~5', 'type' => 'string', 'example' => '4.5'], + 'dailyOpeningHours' => ['description' => '每日营业时间', 'type' => 'string', 'example' => '11:00-14:00 17:00-21:00'], + 'weeklyOpeningDays' => ['description' => '每周营业时间', 'type' => 'string', 'example' => '每天'], + 'averageSpend' => ['description' => '人均消费', 'type' => 'string', 'example' => '22.00'], + 'tag' => ['description' => '特色内容', 'type' => 'string', 'example' => '麻花,特色小吃,小吃街,羊肉泡馍,biangbiang面,肉夹馍,甑糕'], ], ], 'images' => [ @@ -857,16 +482,8 @@ 'description' => '图片', 'type' => 'object', 'properties' => [ - 'title' => [ - 'description' => '图片标题', - 'type' => 'string', - 'example' => 'test', - ], - 'url' => [ - 'description' => '图片地址', - 'type' => 'string', - 'example' => 'https://alidocs.dingtalk.com/i/team/nb9XJVAdyvMrOXyA/docs/b9XJlRRKq1BQaGyA', - ], + 'title' => ['description' => '图片标题', 'type' => 'string', 'example' => 'test'], + 'url' => ['description' => '图片地址', 'type' => 'string', 'example' => 'https://alidocs.dingtalk.com/i/team/nb9XJVAdyvMrOXyA/docs/b9XJlRRKq1BQaGyA'], ], ], ], @@ -877,9 +494,7 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"6788a2c2-157d4ebe-ad979cd4f296\\",\\n \\"data\\": [\\n {\\n \\"id\\": \\"34360\\",\\n \\"name\\": \\"万城万充汽车充电站\\",\\n \\"longitude\\": \\"108.970162\\",\\n \\"latitude\\": \\"39.994135\\",\\n \\"types\\": \\"风景名胜\\",\\n \\"typeCode\\": \\"110200\\",\\n \\"provinceName\\": \\"陕西省\\",\\n \\"provinceCode\\": \\"110000\\",\\n \\"cityName\\": \\"西安市\\",\\n \\"cityCode\\": \\"010\\",\\n \\"districtName\\": \\"海淀区\\",\\n \\"districtCode\\": \\"610102东新街与顺城东路北段交叉口西北100米\\",\\n \\"address\\": \\"南京市江宁区苍穹路8号\\",\\n \\"distanceMeter\\": \\"445\\",\\n \\"metadata\\": {\\n \\"businessArea\\": \\"后宅们商圈\\",\\n \\"phone\\": \\"029-87983745\\",\\n \\"mainTag\\": \\"食堂\\",\\n \\"score\\": \\"4.5\\",\\n \\"dailyOpeningHours\\": \\"11:00-14:00 17:00-21:00\\",\\n \\"weeklyOpeningDays\\": \\"每天\\",\\n \\"averageSpend\\": \\"22.00\\",\\n \\"tag\\": \\"麻花,特色小吃,小吃街,羊肉泡馍,biangbiang面,肉夹馍,甑糕\\"\\n },\\n \\"images\\": [\\n {\\n \\"title\\": \\"test\\",\\n \\"url\\": \\"https://alidocs.dingtalk.com/i/team/nb9XJVAdyvMrOXyA/docs/b9XJlRRKq1BQaGyA\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', 'title' => '通过经纬度查询附近的地点Nova', 'description' => '周边搜索', @@ -887,83 +502,48 @@ 'ElectrobikeDirectionNova' => [ 'summary' => '根据起终点坐标检索符合条件的电动车路线规划方案。', 'path' => '/ipaas/v2/direction/electrobike', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp00UKME', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'originLongitude', 'in' => 'query', - 'schema' => [ - 'description' => '出发地点坐标的经度', - 'type' => 'string', - 'required' => false, - 'example' => '116.345456', - ], + 'schema' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.345456'], ], [ 'name' => 'originLatitude', 'in' => 'query', - 'schema' => [ - 'description' => '出发地点坐标的纬度', - 'type' => 'string', - 'required' => false, - 'example' => '39.995197', - ], + 'schema' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'], ], [ 'name' => 'destinationLongitude', 'in' => 'query', - 'schema' => [ - 'description' => '目的地坐标的经度', - 'type' => 'string', - 'required' => false, - 'example' => '116.46424', - ], + 'schema' => ['description' => '目的地坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.46424'], ], [ 'name' => 'destinationLatitude', 'in' => 'query', - 'schema' => [ - 'description' => '目的地坐标的纬度', - 'type' => 'string', - 'required' => false, - 'example' => '40.234564', - ], + 'schema' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '40.234564'], ], [ 'name' => 'showPolyline', 'in' => 'query', - 'schema' => [ - 'description' => '是否显示坐标点信息', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否显示坐标点信息', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ @@ -973,45 +553,17 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '123-sdf--23-234', - ], + 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => '123-sdf--23-234'], 'data' => [ 'description' => '响应数据', 'type' => 'object', 'properties' => [ - 'originLongitude' => [ - 'description' => '出发地点坐标的经度', - 'type' => 'string', - 'example' => '116.345456', - ], - 'originLatitude' => [ - 'description' => '出发地点坐标的纬度', - 'type' => 'string', - 'example' => '39.995197', - ], - 'destinationLongitude' => [ - 'description' => '目的地坐标的经度', - 'type' => 'string', - 'example' => '116.46424', - ], - 'destinationLatitude' => [ - 'description' => '目的地坐标的纬度', - 'type' => 'string', - 'example' => '40.345456', - ], - 'taxiCost' => [ - 'description' => '预计出租车费用,单位:元', - 'type' => 'string', - 'example' => '20', - ], - 'count' => [ - 'description' => '路径规划方案总数', - 'type' => 'string', - 'example' => '4', - ], + 'originLongitude' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'example' => '116.345456'], + 'originLatitude' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'example' => '39.995197'], + 'destinationLongitude' => ['description' => '目的地坐标的经度', 'type' => 'string', 'example' => '116.46424'], + 'destinationLatitude' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'example' => '40.345456'], + 'taxiCost' => ['description' => '预计出租车费用,单位:元', 'type' => 'string', 'example' => '20'], + 'count' => ['description' => '路径规划方案总数', 'type' => 'string', 'example' => '4'], 'paths' => [ 'description' => '路径列表', 'type' => 'array', @@ -1019,60 +571,20 @@ 'description' => '路径列表', 'type' => 'object', 'properties' => [ - 'distanceMeter' => [ - 'description' => '总步行距离,以米为单位', - 'type' => 'string', - 'example' => '12000', - ], - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '300', - ], - 'restriction' => [ - 'description' => '限行信息', - 'type' => 'string', - 'example' => '不涉及', - ], + 'distanceMeter' => ['description' => '总步行距离,以米为单位', 'type' => 'string', 'example' => '12000'], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '300'], + 'restriction' => ['description' => '限行信息', 'type' => 'string', 'example' => '不涉及'], 'cost' => [ 'description' => '耗时', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '500', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '4', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '4', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '20', - ], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '500'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '4'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '4'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'], ], ], 'steps' => [ @@ -1082,70 +594,22 @@ 'description' => '路径详情', 'type' => 'object', 'properties' => [ - 'instruction' => [ - 'description' => '路径指令', - 'type' => 'string', - 'example' => '向东南骑行65米向左前方行驶', - ], - 'orientation' => [ - 'description' => '方向', - 'type' => 'string', - 'example' => '东南', - ], - 'roadName' => [ - 'description' => '分段道路名称', - 'type' => 'string', - 'example' => '大寨路', - ], - 'stepDistanceMeter' => [ - 'description' => '分段距离,以米为单位', - 'type' => 'string', - 'example' => '3000', - ], - 'polyline' => [ - 'description' => '返回分路段坐标点串,两点间用“;”分隔', - 'type' => 'string', - 'example' => '116.464481,39.995206;116.46424,39.995192', - ], + 'instruction' => ['description' => '路径指令', 'type' => 'string', 'example' => '向东南骑行65米向左前方行驶'], + 'orientation' => ['description' => '方向', 'type' => 'string', 'example' => '东南'], + 'roadName' => ['description' => '分段道路名称', 'type' => 'string', 'example' => '大寨路'], + 'stepDistanceMeter' => ['description' => '分段距离,以米为单位', 'type' => 'string', 'example' => '3000'], + 'polyline' => ['description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'string', 'example' => '116.464481,39.995206;116.46424,39.995192'], 'cost' => [ 'description' => '耗时', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '2000', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '5', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '不涉及', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '20', - ], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '2000'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '5'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'], ], ], ], @@ -1160,9 +624,7 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"123-sdf--23-234\\",\\n \\"data\\": {\\n \\"originLongitude\\": \\"116.345456\\",\\n \\"originLatitude\\": \\"39.995197\\",\\n \\"destinationLongitude\\": \\"116.46424\\",\\n \\"destinationLatitude\\": \\"40.345456\\",\\n \\"taxiCost\\": \\"20\\",\\n \\"count\\": \\"4\\",\\n \\"paths\\": [\\n {\\n \\"distanceMeter\\": \\"12000\\",\\n \\"durationSecond\\": \\"300\\",\\n \\"restriction\\": \\"不涉及\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"500\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"4\\",\\n \\"transitFee\\": \\"4\\",\\n \\"taxiFee\\": \\"20\\"\\n },\\n \\"steps\\": [\\n {\\n \\"instruction\\": \\"向东南骑行65米向左前方行驶\\",\\n \\"orientation\\": \\"东南\\",\\n \\"roadName\\": \\"大寨路\\",\\n \\"stepDistanceMeter\\": \\"3000\\",\\n \\"polyline\\": \\"116.464481,39.995206;116.46424,39.995192\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"2000\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"5\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"20\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '电动车路线规划方案Nova', 'description' => '根据起终点坐标检索符合条件的电动车路线规划方案。', @@ -1170,95 +632,53 @@ 'PlaceSearchNova' => [ 'summary' => '通过关键词搜索地点。', 'path' => '/ipaas/v2/pois/place', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp00UKME', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'keywords', 'in' => 'query', - 'schema' => [ - 'description' => '需要进行语意解析的关键词', - 'type' => 'string', - 'required' => false, - 'example' => '北京大学', - ], + 'schema' => ['description' => '需要进行语意解析的关键词', 'type' => 'string', 'required' => false, 'example' => '北京大学'], ], [ 'name' => 'region', 'in' => 'query', - 'schema' => [ - 'description' => '地域id。', - 'type' => 'string', - 'required' => false, - 'example' => '北京市', - ], + 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => '北京市'], ], [ 'name' => 'types', 'in' => 'query', - 'schema' => [ - 'description' => '类型', - 'type' => 'string', - 'required' => false, - 'example' => 'GAS_STATION|RESTAURANT|HOTEL|ATTRACTION', - ], + 'schema' => ['description' => '类型', 'type' => 'string', 'required' => false, 'example' => 'GAS_STATION|RESTAURANT|HOTEL|ATTRACTION'], ], [ 'name' => 'page', 'in' => 'query', - 'schema' => [ - 'description' => '插件列表的页码。起始值:1,默认值:1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '插件列表的页码。起始值:1,默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'size', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时设置的每页条数。默认值:20,最小值:1,最大值:50。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['description' => '分页查询时设置的每页条数。默认值:20,最小值:1,最大值:50。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'], ], [ 'name' => 'cityLimit', 'in' => 'query', - 'schema' => [ - 'description' => '指定城市数据召回限制', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '指定城市数据召回限制', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ @@ -1268,11 +688,7 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'szq21-xf234-24234vd', - ], + 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'szq21-xf234-24234vd'], 'data' => [ 'description' => '服务ID', 'type' => 'array', @@ -1280,120 +696,32 @@ 'description' => '响应数据', 'type' => 'object', 'properties' => [ - 'id' => [ - 'description' => '记录Id', - 'type' => 'string', - 'example' => '34360', - ], - 'name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => 'hydro-project/hydro-res-auth', - ], - 'longitude' => [ - 'description' => '经度', - 'type' => 'string', - 'example' => '116.482145', - ], - 'latitude' => [ - 'description' => '维度', - 'type' => 'string', - 'example' => '39.990039', - ], - 'types' => [ - 'description' => '类型', - 'type' => 'string', - 'example' => '餐饮服务', - ], - 'typeCode' => [ - 'description' => '类型编码', - 'type' => 'string', - 'example' => '110200', - ], - 'provinceName' => [ - 'description' => '省份', - 'type' => 'string', - 'example' => '北京市', - ], - 'provinceCode' => [ - 'description' => '省份编码', - 'type' => 'string', - 'example' => '110000', - ], - 'cityName' => [ - 'description' => '城市名称', - 'type' => 'string', - 'example' => '西安市', - ], - 'cityCode' => [ - 'description' => '城市编码', - 'type' => 'string', - 'example' => '010', - ], - 'districtName' => [ - 'description' => '区名', - 'type' => 'string', - 'example' => '海淀区', - ], - 'districtCode' => [ - 'description' => '区编码', - 'type' => 'string', - 'example' => '110105', - ], - 'address' => [ - 'description' => '地址', - 'type' => 'string', - 'example' => '颐和园路5号北京大学第二教学楼西门口正对面', - ], - 'distanceMeter' => [ - 'description' => '距离', - 'type' => 'string', - 'example' => '445', - ], + 'id' => ['description' => '记录Id', 'type' => 'string', 'example' => '34360'], + 'name' => ['description' => '名称', 'type' => 'string', 'example' => 'hydro-project/hydro-res-auth'], + 'longitude' => ['description' => '经度', 'type' => 'string', 'example' => '116.482145'], + 'latitude' => ['description' => '维度', 'type' => 'string', 'example' => '39.990039'], + 'types' => ['description' => '类型', 'type' => 'string', 'example' => '餐饮服务'], + 'typeCode' => ['description' => '类型编码', 'type' => 'string', 'example' => '110200'], + 'provinceName' => ['description' => '省份', 'type' => 'string', 'example' => '北京市'], + 'provinceCode' => ['description' => '省份编码', 'type' => 'string', 'example' => '110000'], + 'cityName' => ['description' => '城市名称', 'type' => 'string', 'example' => '西安市'], + 'cityCode' => ['description' => '城市编码', 'type' => 'string', 'example' => '010'], + 'districtName' => ['description' => '区名', 'type' => 'string', 'example' => '海淀区'], + 'districtCode' => ['description' => '区编码', 'type' => 'string', 'example' => '110105'], + 'address' => ['description' => '地址', 'type' => 'string', 'example' => '颐和园路5号北京大学第二教学楼西门口正对面'], + 'distanceMeter' => ['description' => '距离', 'type' => 'string', 'example' => '445'], 'metadata' => [ 'description' => '元数据', 'type' => 'object', 'properties' => [ - 'businessArea' => [ - 'description' => '商业区域', - 'type' => 'string', - 'example' => '后宅们商圈', - ], - 'phone' => [ - 'description' => '联系电话', - 'type' => 'string', - 'example' => '010-83847583', - ], - 'mainTag' => [ - 'description' => '主标签', - 'type' => 'string', - 'example' => '文物古迹', - ], - 'score' => [ - 'description' => '评分', - 'type' => 'string', - 'example' => '4.5', - ], - 'dailyOpeningHours' => [ - 'description' => '每日营业时间', - 'type' => 'string', - 'example' => '24小时', - ], - 'weeklyOpeningDays' => [ - 'description' => '每周营业时间', - 'type' => 'string', - 'example' => '每天', - ], - 'averageSpend' => [ - 'description' => '人均消费', - 'type' => 'string', - 'example' => '78', - ], - 'tag' => [ - 'description' => '特色内容,目前仅在美食poi下返回', - 'type' => 'string', - 'example' => '[{\\"value\\":\\"nttd\\",\\"key\\":\\"owner\\"}]', - ], + 'businessArea' => ['description' => '商业区域', 'type' => 'string', 'example' => '后宅们商圈'], + 'phone' => ['description' => '联系电话', 'type' => 'string', 'example' => '010-83847583'], + 'mainTag' => ['description' => '主标签', 'type' => 'string', 'example' => '文物古迹'], + 'score' => ['description' => '评分', 'type' => 'string', 'example' => '4.5'], + 'dailyOpeningHours' => ['description' => '每日营业时间', 'type' => 'string', 'example' => '24小时'], + 'weeklyOpeningDays' => ['description' => '每周营业时间', 'type' => 'string', 'example' => '每天'], + 'averageSpend' => ['description' => '人均消费', 'type' => 'string', 'example' => '78'], + 'tag' => ['description' => '特色内容,目前仅在美食poi下返回', 'type' => 'string', 'example' => '[{\\"value\\":\\"nttd\\",\\"key\\":\\"owner\\"}]'], ], ], 'images' => [ @@ -1403,16 +731,8 @@ 'description' => '图片信息', 'type' => 'object', 'properties' => [ - 'url' => [ - 'description' => '图片URL', - 'type' => 'string', - 'example' => 'https://aos-comment.amap.com/B000A8UNZV/comment/f0a5ca9b58a31f63f8af51f459f75e4b_2048_2048_80.jpg', - ], - 'title' => [ - 'description' => '图片标题', - 'type' => 'string', - 'example' => 'test', - ], + 'url' => ['description' => '图片URL', 'type' => 'string', 'example' => 'https://aos-comment.amap.com/B000A8UNZV/comment/f0a5ca9b58a31f63f8af51f459f75e4b_2048_2048_80.jpg'], + 'title' => ['description' => '图片标题', 'type' => 'string', 'example' => 'test'], ], ], ], @@ -1423,9 +743,7 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"szq21-xf234-24234vd\\",\\n \\"data\\": [\\n {\\n \\"id\\": \\"34360\\",\\n \\"name\\": \\"hydro-project/hydro-res-auth\\",\\n \\"longitude\\": \\"116.482145\\",\\n \\"latitude\\": \\"39.990039\\",\\n \\"types\\": \\"餐饮服务\\",\\n \\"typeCode\\": \\"110200\\",\\n \\"provinceName\\": \\"北京市\\",\\n \\"provinceCode\\": \\"110000\\",\\n \\"cityName\\": \\"西安市\\",\\n \\"cityCode\\": \\"010\\",\\n \\"districtName\\": \\"海淀区\\",\\n \\"districtCode\\": \\"110105\\",\\n \\"address\\": \\"颐和园路5号北京大学第二教学楼西门口正对面\\",\\n \\"distanceMeter\\": \\"445\\",\\n \\"metadata\\": {\\n \\"businessArea\\": \\"后宅们商圈\\",\\n \\"phone\\": \\"010-83847583\\",\\n \\"mainTag\\": \\"文物古迹\\",\\n \\"score\\": \\"4.5\\",\\n \\"dailyOpeningHours\\": \\"24小时\\",\\n \\"weeklyOpeningDays\\": \\"每天\\",\\n \\"averageSpend\\": \\"78\\",\\n \\"tag\\": \\"[{\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nttd\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"owner\\\\\\\\\\\\\\"}]\\"\\n },\\n \\"images\\": [\\n {\\n \\"url\\": \\"https://aos-comment.amap.com/B000A8UNZV/comment/f0a5ca9b58a31f63f8af51f459f75e4b_2048_2048_80.jpg\\",\\n \\"title\\": \\"test\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', 'title' => '通过关键词搜索地点Nova', 'description' => '通过关键词搜索地点。', @@ -1433,83 +751,48 @@ 'BicyclingDirectionNova' => [ 'summary' => '根据起终点坐标检索符合条件的骑行路线规划方案。', 'path' => '/ipaas/v2/direction/bicycling', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp00UKME', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'originLongitude', 'in' => 'query', - 'schema' => [ - 'description' => '出发地点坐标的经度', - 'type' => 'string', - 'required' => false, - 'example' => '117.466485', - ], + 'schema' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'required' => false, 'example' => '117.466485'], ], [ 'name' => 'originLatitude', 'in' => 'query', - 'schema' => [ - 'description' => '出发地点坐标的纬度', - 'type' => 'string', - 'required' => false, - 'example' => '39.995197', - ], + 'schema' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'], ], [ 'name' => 'destinationLongitude', 'in' => 'query', - 'schema' => [ - 'description' => '目的地坐标的经度', - 'type' => 'string', - 'required' => false, - 'example' => '116.46424', - ], + 'schema' => ['description' => '目的地坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.46424'], ], [ 'name' => 'destinationLatitude', 'in' => 'query', - 'schema' => [ - 'description' => '目的地坐标的纬度', - 'type' => 'string', - 'required' => false, - 'example' => '39.995197', - ], + 'schema' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'], ], [ 'name' => 'showPolyline', 'in' => 'query', - 'schema' => [ - 'description' => '是否显示坐标点信息', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否显示坐标点信息', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ @@ -1519,45 +802,17 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'sdfsd234-2vxcg345-345vc', - ], + 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'sdfsd234-2vxcg345-345vc'], 'data' => [ 'description' => '响应数据', 'type' => 'object', 'properties' => [ - 'originLongitude' => [ - 'description' => '出发地点坐标的经度', - 'type' => 'string', - 'example' => '116.466485', - ], - 'originLatitude' => [ - 'description' => '出发地点坐标的纬度', - 'type' => 'string', - 'example' => '39.995197', - ], - 'destinationLongitude' => [ - 'description' => '目的地坐标的经度', - 'type' => 'string', - 'example' => '116.46424', - ], - 'destinationLatitude' => [ - 'description' => '目的地坐标的纬度', - 'type' => 'string', - 'example' => '39.995197', - ], - 'taxiCost' => [ - 'description' => '预计出租车费用,单位:元', - 'type' => 'string', - 'example' => '23', - ], - 'count' => [ - 'description' => '路径规划方案总数', - 'type' => 'string', - 'example' => '6', - ], + 'originLongitude' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'example' => '116.466485'], + 'originLatitude' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'example' => '39.995197'], + 'destinationLongitude' => ['description' => '目的地坐标的经度', 'type' => 'string', 'example' => '116.46424'], + 'destinationLatitude' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'example' => '39.995197'], + 'taxiCost' => ['description' => '预计出租车费用,单位:元', 'type' => 'string', 'example' => '23'], + 'count' => ['description' => '路径规划方案总数', 'type' => 'string', 'example' => '6'], 'paths' => [ 'description' => '路径列表', 'type' => 'array', @@ -1565,60 +820,20 @@ 'description' => '路径列表', 'type' => 'object', 'properties' => [ - 'distanceMeter' => [ - 'description' => '总步行距离,以米为单位', - 'type' => 'string', - 'example' => '96375', - ], - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '300', - ], - 'restriction' => [ - 'description' => '限行情况', - 'type' => 'string', - 'example' => '不限行', - ], + 'distanceMeter' => ['description' => '总步行距离,以米为单位', 'type' => 'string', 'example' => '96375'], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '300'], + 'restriction' => ['description' => '限行情况', 'type' => 'string', 'example' => '不限行'], 'cost' => [ 'description' => '耗时', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '39233', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '无', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '不涉及', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '4', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '20', - ], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '39233'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '无'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '4'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'], ], ], 'steps' => [ @@ -1628,70 +843,22 @@ 'description' => '详细路线', 'type' => 'object', 'properties' => [ - 'instruction' => [ - 'description' => '路径指令', - 'type' => 'string', - 'example' => '向东南骑行65米向左前方行驶', - ], - 'orientation' => [ - 'description' => '方向', - 'type' => 'string', - 'example' => '南', - ], - 'roadName' => [ - 'description' => '分段道路名称', - 'type' => 'string', - 'example' => '丰科大道', - ], - 'stepDistanceMeter' => [ - 'description' => '分段距离,以米为单位', - 'type' => 'string', - 'example' => '3000', - ], - 'polyline' => [ - 'description' => '返回分路段坐标点串,两点间用“;”分隔', - 'type' => 'string', - 'example' => '116.464481,39.995206;116.46424,39.995192', - ], + 'instruction' => ['description' => '路径指令', 'type' => 'string', 'example' => '向东南骑行65米向左前方行驶'], + 'orientation' => ['description' => '方向', 'type' => 'string', 'example' => '南'], + 'roadName' => ['description' => '分段道路名称', 'type' => 'string', 'example' => '丰科大道'], + 'stepDistanceMeter' => ['description' => '分段距离,以米为单位', 'type' => 'string', 'example' => '3000'], + 'polyline' => ['description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'string', 'example' => '116.464481,39.995206;116.46424,39.995192'], 'cost' => [ 'description' => '耗时', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '2000', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '不涉及', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '不涉及', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '20', - ], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '2000'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'], ], ], ], @@ -1706,9 +873,7 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"sdfsd234-2vxcg345-345vc\\",\\n \\"data\\": {\\n \\"originLongitude\\": \\"116.466485\\",\\n \\"originLatitude\\": \\"39.995197\\",\\n \\"destinationLongitude\\": \\"116.46424\\",\\n \\"destinationLatitude\\": \\"39.995197\\",\\n \\"taxiCost\\": \\"23\\",\\n \\"count\\": \\"6\\",\\n \\"paths\\": [\\n {\\n \\"distanceMeter\\": \\"96375\\",\\n \\"durationSecond\\": \\"300\\",\\n \\"restriction\\": \\"不限行\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"39233\\",\\n \\"tolls\\": \\"无\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"4\\",\\n \\"taxiFee\\": \\"20\\"\\n },\\n \\"steps\\": [\\n {\\n \\"instruction\\": \\"向东南骑行65米向左前方行驶\\",\\n \\"orientation\\": \\"南\\",\\n \\"roadName\\": \\"丰科大道\\",\\n \\"stepDistanceMeter\\": \\"3000\\",\\n \\"polyline\\": \\"116.464481,39.995206;116.46424,39.995192\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"2000\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"20\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '骑行路线规划方案Nova', 'description' => '根据起终点坐标检索符合条件的电动车路线规划方案', @@ -1716,83 +881,48 @@ 'WalkingDirectionNova' => [ 'summary' => '根据起终点坐标检索符合条件的步行路线规划方案。', 'path' => '/ipaas/v2/direction/walking', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp00UKME', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'originLongitude', 'in' => 'query', - 'schema' => [ - 'description' => '出发地点坐标的经度', - 'type' => 'string', - 'required' => false, - 'example' => '116.466485', - ], + 'schema' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.466485'], ], [ 'name' => 'originLatitude', 'in' => 'query', - 'schema' => [ - 'description' => '出发地点坐标的纬度', - 'type' => 'string', - 'required' => false, - 'example' => '39.995197', - ], + 'schema' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'], ], [ 'name' => 'destinationLongitude', 'in' => 'query', - 'schema' => [ - 'description' => '目的地坐标的经度', - 'type' => 'string', - 'required' => false, - 'example' => '116.46424', - ], + 'schema' => ['description' => '目的地坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.46424'], ], [ 'name' => 'destinationLatitude', 'in' => 'query', - 'schema' => [ - 'description' => '目的地坐标的纬度', - 'type' => 'string', - 'required' => false, - 'example' => '40.345456', - ], + 'schema' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '40.345456'], ], [ 'name' => 'showPolyline', 'in' => 'query', - 'schema' => [ - 'description' => '是否显示坐标点信息', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否显示坐标点信息', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ @@ -1802,45 +932,17 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '12asda-234dsfs-sd23sdf', - ], + 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => '12asda-234dsfs-sd23sdf'], 'data' => [ 'description' => '查询结果。', 'type' => 'object', 'properties' => [ - 'originLongitude' => [ - 'description' => '出发地点坐标的经度', - 'type' => 'string', - 'example' => '116.466485', - ], - 'originLatitude' => [ - 'description' => '出发地点坐标的纬度', - 'type' => 'string', - 'example' => '39.995197', - ], - 'destinationLongitude' => [ - 'description' => '目的地坐标的经度', - 'type' => 'string', - 'example' => '116.46424', - ], - 'destinationLatitude' => [ - 'description' => '目的地坐标的纬度', - 'type' => 'string', - 'example' => '40.020642', - ], - 'taxiCost' => [ - 'description' => '预计出租车费用', - 'type' => 'string', - 'example' => '8', - ], - 'count' => [ - 'description' => '路径规划方案总数', - 'type' => 'string', - 'example' => '5', - ], + 'originLongitude' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'example' => '116.466485'], + 'originLatitude' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'example' => '39.995197'], + 'destinationLongitude' => ['description' => '目的地坐标的经度', 'type' => 'string', 'example' => '116.46424'], + 'destinationLatitude' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'example' => '40.020642'], + 'taxiCost' => ['description' => '预计出租车费用', 'type' => 'string', 'example' => '8'], + 'count' => ['description' => '路径规划方案总数', 'type' => 'string', 'example' => '5'], 'paths' => [ 'description' => '路径列表', 'type' => 'array', @@ -1848,61 +950,21 @@ 'description' => '路径列表', 'type' => 'object', 'properties' => [ - 'distanceMeter' => [ - 'description' => '方案距离,以米为单位', - 'type' => 'string', - 'example' => '12000', - ], - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '39223', - ], - 'restriction' => [ - 'description' => '限行', - 'type' => 'string', - 'example' => '不涉及', - ], + 'distanceMeter' => ['description' => '方案距离,以米为单位', 'type' => 'string', 'example' => '12000'], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '39223'], + 'restriction' => ['description' => '限行', 'type' => 'string', 'example' => '不涉及'], 'cost' => [ 'description' => '耗时', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时'."\n" - ."\n", - 'type' => 'string', - 'example' => '1232', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '无', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '3', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '10', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '20', - ], + 'durationSecond' => ['description' => '耗时'."\n" + ."\n", 'type' => 'string', 'example' => '1232'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '无'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '3'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '10'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'], ], ], 'steps' => [ @@ -1912,70 +974,22 @@ 'description' => '路径详情', 'type' => 'object', 'properties' => [ - 'instruction' => [ - 'description' => '路径指令', - 'type' => 'string', - 'example' => '向东南骑行65米向左前方行驶', - ], - 'orientation' => [ - 'description' => '方向', - 'type' => 'string', - 'example' => '东南', - ], - 'roadName' => [ - 'description' => '分段道路名称', - 'type' => 'string', - 'example' => '大寨路', - ], - 'stepDistanceMeter' => [ - 'description' => '分段距离,以米为单位', - 'type' => 'string', - 'example' => '1665', - ], - 'polyline' => [ - 'description' => '返回分路段坐标点串,两点间用“;”分隔', - 'type' => 'string', - 'example' => '116.464481,39.995206;116.46424,39.995192', - ], + 'instruction' => ['description' => '路径指令', 'type' => 'string', 'example' => '向东南骑行65米向左前方行驶'], + 'orientation' => ['description' => '方向', 'type' => 'string', 'example' => '东南'], + 'roadName' => ['description' => '分段道路名称', 'type' => 'string', 'example' => '大寨路'], + 'stepDistanceMeter' => ['description' => '分段距离,以米为单位', 'type' => 'string', 'example' => '1665'], + 'polyline' => ['description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'string', 'example' => '116.464481,39.995206;116.46424,39.995192'], 'cost' => [ 'description' => '所需时间及费用成本', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时,以秒为单位', - 'type' => 'string', - 'example' => '13', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '不涉及', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '不涉及', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '20', - ], + 'durationSecond' => ['description' => '耗时,以秒为单位', 'type' => 'string', 'example' => '13'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'], ], ], ], @@ -1990,9 +1004,7 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"12asda-234dsfs-sd23sdf\\",\\n \\"data\\": {\\n \\"originLongitude\\": \\"116.466485\\",\\n \\"originLatitude\\": \\"39.995197\\",\\n \\"destinationLongitude\\": \\"116.46424\\",\\n \\"destinationLatitude\\": \\"40.020642\\",\\n \\"taxiCost\\": \\"8\\",\\n \\"count\\": \\"5\\",\\n \\"paths\\": [\\n {\\n \\"distanceMeter\\": \\"12000\\",\\n \\"durationSecond\\": \\"39223\\",\\n \\"restriction\\": \\"不涉及\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"1232\\",\\n \\"tolls\\": \\"无\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"3\\",\\n \\"transitFee\\": \\"10\\",\\n \\"taxiFee\\": \\"20\\"\\n },\\n \\"steps\\": [\\n {\\n \\"instruction\\": \\"向东南骑行65米向左前方行驶\\",\\n \\"orientation\\": \\"东南\\",\\n \\"roadName\\": \\"大寨路\\",\\n \\"stepDistanceMeter\\": \\"1665\\",\\n \\"polyline\\": \\"116.464481,39.995206;116.46424,39.995192\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"13\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"20\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '步行路线规划方案Nova', 'description' => '根据起终点坐标检索符合条件的步行路线规划方案。', @@ -2000,32 +1012,22 @@ 'GeoCode' => [ 'summary' => '地理编码,将详细的结构化地址转换为高德经纬度坐标。', 'path' => '/ipaas/v1/geocode/geo', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp00UKME', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ @@ -2042,12 +1044,7 @@ [ 'name' => 'city', 'in' => 'query', - 'schema' => [ - 'description' => '城市', - 'type' => 'string', - 'required' => false, - 'example' => '北京市', - ], + 'schema' => ['description' => '城市', 'type' => 'string', 'required' => false, 'example' => '北京市'], ], ], 'responses' => [ @@ -2057,11 +1054,7 @@ 'description' => '响应体', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'zxcx-vx-cv-x-s-d', - ], + 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'zxcx-vx-cv-x-s-d'], 'data' => [ 'description' => '数据列表', 'type' => 'array', @@ -2069,70 +1062,22 @@ 'description' => 'objectxxx', 'type' => 'object', 'properties' => [ - 'province' => [ - 'description' => '省', - 'type' => 'string', - 'example' => '北京市', - ], - 'city' => [ - 'description' => '城市', - 'type' => 'string', - 'example' => '北京市', - ], - 'cityCode' => [ - 'description' => '城市编码', - 'type' => 'string', - 'example' => '010', - ], - 'district' => [ - 'description' => '区', - 'type' => 'string', - 'example' => '朝阳区', - ], - 'districtCode' => [ - 'description' => '区编码', - 'type' => 'string', - 'example' => '110105', - ], - 'street' => [ - 'description' => '街道', - 'type' => 'string', - 'example' => '阜通东大街', - ], - 'number' => [ - 'description' => '编号', - 'type' => 'string', - 'example' => '6号院', - ], - 'longitude' => [ - 'description' => '经度', - 'type' => 'string', - 'example' => '116.482145', - ], - 'latitude' => [ - 'description' => '纬度', - 'type' => 'string', - 'example' => '39.990039', - ], - 'level' => [ - 'description' => '地址level', - 'type' => 'string', - 'example' => '门址', - ], + 'province' => ['description' => '省', 'type' => 'string', 'example' => '北京市'], + 'city' => ['description' => '城市', 'type' => 'string', 'example' => '北京市'], + 'cityCode' => ['description' => '城市编码', 'type' => 'string', 'example' => '010'], + 'district' => ['description' => '区', 'type' => 'string', 'example' => '朝阳区'], + 'districtCode' => ['description' => '区编码', 'type' => 'string', 'example' => '110105'], + 'street' => ['description' => '街道', 'type' => 'string', 'example' => '阜通东大街'], + 'number' => ['description' => '编号', 'type' => 'string', 'example' => '6号院'], + 'longitude' => ['description' => '经度', 'type' => 'string', 'example' => '116.482145'], + 'latitude' => ['description' => '纬度', 'type' => 'string', 'example' => '39.990039'], + 'level' => ['description' => '地址level', 'type' => 'string', 'example' => '门址'], 'building' => [ 'description' => '建筑信息', 'type' => 'object', 'properties' => [ - 'name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => 'xxx大厦', - ], - 'type' => [ - 'description' => '类型', - 'type' => 'string', - 'example' => '商务写字楼', - ], + 'name' => ['description' => '名称', 'type' => 'string', 'example' => 'xxx大厦'], + 'type' => ['description' => '类型', 'type' => 'string', 'example' => '商务写字楼'], ], ], ], @@ -2142,9 +1087,7 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"zxcx-vx-cv-x-s-d\\",\\n \\"data\\": [\\n {\\n \\"province\\": \\"北京市\\",\\n \\"city\\": \\"北京市\\",\\n \\"cityCode\\": \\"010\\",\\n \\"district\\": \\"朝阳区\\",\\n \\"districtCode\\": \\"110105\\",\\n \\"street\\": \\"阜通东大街\\",\\n \\"number\\": \\"6号院\\",\\n \\"longitude\\": \\"116.482145\\",\\n \\"latitude\\": \\"39.990039\\",\\n \\"level\\": \\"门址\\",\\n \\"building\\": {\\n \\"name\\": \\"xxx大厦\\",\\n \\"type\\": \\"商务写字楼\\"\\n }\\n }\\n ]\\n}","type":"json"}]', 'title' => '地理编码', 'description' => '地理编码,将详细的结构化地址转换为高德经纬度坐标。', @@ -2229,103 +1172,58 @@ 'DrivingDirectionNova' => [ 'summary' => '根据起终点坐标检索符合条件的驾车路线规划方案。', 'path' => '/ipaas/v2/direction/driving', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp00UKME', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'originLongitude', 'in' => 'query', - 'schema' => [ - 'description' => '出发地点坐标的经度', - 'type' => 'string', - 'required' => false, - 'example' => '116.466485', - ], + 'schema' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.466485'], ], [ 'name' => 'originLatitude', 'in' => 'query', - 'schema' => [ - 'description' => '出发地点坐标的纬度', - 'type' => 'string', - 'required' => false, - 'example' => '39.995197', - ], + 'schema' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'], ], [ 'name' => 'destinationLongitude', 'in' => 'query', - 'schema' => [ - 'description' => '目的地坐标的经度', - 'type' => 'string', - 'required' => false, - 'example' => '116.46424', - ], + 'schema' => ['description' => '目的地坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.46424'], ], [ 'name' => 'destinationLatitude', 'in' => 'query', - 'schema' => [ - 'description' => '目的地坐标的纬度', - 'type' => 'string', - 'required' => false, - 'example' => '43.345456', - ], + 'schema' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '43.345456'], ], [ 'name' => 'carType', 'in' => 'query', - 'schema' => [ - 'description' => '车辆类型', - 'type' => 'string', - 'required' => false, - 'example' => 'GASOLINE_VEHICLE:普通燃油车,PURE_ELECTRIC_VEHICLE:纯电动汽车 PLUG_IN_HYBRID_ELECTRIC_VEHICLE:插电式混动汽车', - ], + 'schema' => ['description' => '车辆类型', 'type' => 'string', 'required' => false, 'example' => 'GASOLINE_VEHICLE:普通燃油车,PURE_ELECTRIC_VEHICLE:纯电动汽车 PLUG_IN_HYBRID_ELECTRIC_VEHICLE:插电式混动汽车'], ], [ 'name' => 'plate', 'in' => 'query', - 'schema' => [ - 'description' => '车牌号码', - 'type' => 'string', - 'required' => false, - 'example' => '京AHA322', - ], + 'schema' => ['description' => '车牌号码', 'type' => 'string', 'required' => false, 'example' => '京AHA322'], ], [ 'name' => 'showPolyline', 'in' => 'query', - 'schema' => [ - 'description' => '是否显示坐标点信息', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否显示坐标点信息', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ @@ -2335,45 +1233,17 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'sds234-xd354rd', - ], + 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'sds234-xd354rd'], 'data' => [ 'description' => '响应数据', 'type' => 'object', 'properties' => [ - 'originLongitude' => [ - 'description' => '出发地点坐标的经度', - 'type' => 'string', - 'example' => '117.466485', - ], - 'originLatitude' => [ - 'description' => '出发地点坐标的纬度', - 'type' => 'string', - 'example' => '39.995197', - ], - 'destinationLongitude' => [ - 'description' => '目的地坐标的经度', - 'type' => 'string', - 'example' => '116.46424', - ], - 'destinationLatitude' => [ - 'description' => '目的地坐标的纬度', - 'type' => 'string', - 'example' => '40.345456', - ], - 'taxiCost' => [ - 'description' => '预计出租车费用,单位:元', - 'type' => 'string', - 'example' => '20', - ], - 'count' => [ - 'description' => '路径规划方案总数', - 'type' => 'string', - 'example' => '3', - ], + 'originLongitude' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'example' => '117.466485'], + 'originLatitude' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'example' => '39.995197'], + 'destinationLongitude' => ['description' => '目的地坐标的经度', 'type' => 'string', 'example' => '116.46424'], + 'destinationLatitude' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'example' => '40.345456'], + 'taxiCost' => ['description' => '预计出租车费用,单位:元', 'type' => 'string', 'example' => '20'], + 'count' => ['description' => '路径规划方案总数', 'type' => 'string', 'example' => '3'], 'paths' => [ 'description' => '路径列表', 'type' => 'array', @@ -2381,60 +1251,20 @@ 'description' => '路径列表', 'type' => 'object', 'properties' => [ - 'distanceMeter' => [ - 'description' => '总步行距离,以米为单位', - 'type' => 'string', - 'example' => '96375', - ], - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '39223', - ], - 'restriction' => [ - 'description' => '限行情况', - 'type' => 'string', - 'example' => '不限行', - ], + 'distanceMeter' => ['description' => '总步行距离,以米为单位', 'type' => 'string', 'example' => '96375'], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '39223'], + 'restriction' => ['description' => '限行情况', 'type' => 'string', 'example' => '不限行'], 'cost' => [ 'description' => '耗时', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '39233', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '3', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '10', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '20', - ], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '39233'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '3'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '10'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'], ], ], 'steps' => [ @@ -2444,70 +1274,22 @@ 'description' => '详细路径', 'type' => 'object', 'properties' => [ - 'instruction' => [ - 'description' => '路径指令', - 'type' => 'string', - 'example' => '向西骑行1665米左转', - ], - 'orientation' => [ - 'description' => '方向', - 'type' => 'string', - 'example' => '南', - ], - 'roadName' => [ - 'description' => '分段道路名称', - 'type' => 'string', - 'example' => '丰科大道', - ], - 'stepDistanceMeter' => [ - 'description' => '分段距离,以米为单位', - 'type' => 'string', - 'example' => '3000', - ], - 'polyline' => [ - 'description' => '返回分路段坐标点串,两点间用“;”分隔', - 'type' => 'string', - 'example' => '116.464481,39.995206;116.46424,39.995192', - ], + 'instruction' => ['description' => '路径指令', 'type' => 'string', 'example' => '向西骑行1665米左转'], + 'orientation' => ['description' => '方向', 'type' => 'string', 'example' => '南'], + 'roadName' => ['description' => '分段道路名称', 'type' => 'string', 'example' => '丰科大道'], + 'stepDistanceMeter' => ['description' => '分段距离,以米为单位', 'type' => 'string', 'example' => '3000'], + 'polyline' => ['description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'string', 'example' => '116.464481,39.995206;116.46424,39.995192'], 'cost' => [ 'description' => '耗时', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '1234', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '不涉及', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '不涉及', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '20', - ], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '1234'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'], ], ], ], @@ -2522,9 +1304,7 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"sds234-xd354rd\\",\\n \\"data\\": {\\n \\"originLongitude\\": \\"117.466485\\",\\n \\"originLatitude\\": \\"39.995197\\",\\n \\"destinationLongitude\\": \\"116.46424\\",\\n \\"destinationLatitude\\": \\"40.345456\\",\\n \\"taxiCost\\": \\"20\\",\\n \\"count\\": \\"3\\",\\n \\"paths\\": [\\n {\\n \\"distanceMeter\\": \\"96375\\",\\n \\"durationSecond\\": \\"39223\\",\\n \\"restriction\\": \\"不限行\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"39233\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"3\\",\\n \\"transitFee\\": \\"10\\",\\n \\"taxiFee\\": \\"20\\"\\n },\\n \\"steps\\": [\\n {\\n \\"instruction\\": \\"向西骑行1665米左转\\",\\n \\"orientation\\": \\"南\\",\\n \\"roadName\\": \\"丰科大道\\",\\n \\"stepDistanceMeter\\": \\"3000\\",\\n \\"polyline\\": \\"116.464481,39.995206;116.46424,39.995192\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"1234\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"20\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '驾车路线规划方案Nova', 'description' => '根据起终点坐标检索符合条件的驾车路线规划方案', @@ -2532,53 +1312,33 @@ 'RgeoCode' => [ 'summary' => '逆地理编码,将经纬度转换为详细结构化的地址信息。', 'path' => '/ipaas/v1/geocode/regeo', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp00UKME', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'longitude', 'in' => 'query', - 'schema' => [ - 'description' => '经度', - 'type' => 'string', - 'required' => false, - 'example' => '116.310918', - ], + 'schema' => ['description' => '经度', 'type' => 'string', 'required' => false, 'example' => '116.310918'], ], [ 'name' => 'latitude', 'in' => 'query', - 'schema' => [ - 'description' => '维度', - 'type' => 'string', - 'required' => false, - 'example' => '39.989027', - ], + 'schema' => ['description' => '维度', 'type' => 'string', 'required' => false, 'example' => '39.989027'], ], ], 'responses' => [ @@ -2588,126 +1348,46 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '12sdfsdfsd-234sdxfd-23rcgc', - ], + 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => '12sdfsdfsd-234sdxfd-23rcgc'], 'data' => [ 'description' => '响应数据。', 'type' => 'object', 'properties' => [ - 'formattedAddress' => [ - 'description' => '格式化地址信息', - 'type' => 'string', - 'example' => '北京市海淀区燕园街道北京大学', - ], - 'country' => [ - 'description' => '国家', - 'type' => 'string', - 'example' => '中国', - ], - 'province' => [ - 'description' => '省份', - 'type' => 'string', - 'example' => '北京市', - ], - 'city' => [ - 'description' => '城市', - 'type' => 'string', - 'example' => '北京市', - ], - 'cityCode' => [ - 'description' => '城市编码', - 'type' => 'string', - 'example' => '010', - ], - 'district' => [ - 'description' => '区', - 'type' => 'string', - 'example' => '海淀区', - ], - 'districtCode' => [ - 'description' => '区编码', - 'type' => 'string', - 'example' => '110108', - ], - 'townShip' => [ - 'description' => '街道', - 'type' => 'string', - 'example' => '燕园街道', - ], - 'townCode' => [ - 'description' => '街道编码', - 'type' => 'string', - 'example' => '110108015000', - ], + 'formattedAddress' => ['description' => '格式化地址信息', 'type' => 'string', 'example' => '北京市海淀区燕园街道北京大学'], + 'country' => ['description' => '国家', 'type' => 'string', 'example' => '中国'], + 'province' => ['description' => '省份', 'type' => 'string', 'example' => '北京市'], + 'city' => ['description' => '城市', 'type' => 'string', 'example' => '北京市'], + 'cityCode' => ['description' => '城市编码', 'type' => 'string', 'example' => '010'], + 'district' => ['description' => '区', 'type' => 'string', 'example' => '海淀区'], + 'districtCode' => ['description' => '区编码', 'type' => 'string', 'example' => '110108'], + 'townShip' => ['description' => '街道', 'type' => 'string', 'example' => '燕园街道'], + 'townCode' => ['description' => '街道编码', 'type' => 'string', 'example' => '110108015000'], 'neighborhood' => [ 'description' => '社区信息列表', 'type' => 'object', 'properties' => [ - 'name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => '北京大学', - ], - 'type' => [ - 'description' => '类型', - 'type' => 'string', - 'example' => '科教文化服务|学校|高等院校', - ], + 'name' => ['description' => '名称', 'type' => 'string', 'example' => '北京大学'], + 'type' => ['description' => '类型', 'type' => 'string', 'example' => '科教文化服务|学校|高等院校'], ], ], 'building' => [ 'description' => '楼信息列表', 'type' => 'object', 'properties' => [ - 'name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => 'xxx科技园', - ], - 'type' => [ - 'description' => '类型', - 'type' => 'string', - 'example' => '科技园', - ], + 'name' => ['description' => '名称', 'type' => 'string', 'example' => 'xxx科技园'], + 'type' => ['description' => '类型', 'type' => 'string', 'example' => '科技园'], ], ], 'streetNumber' => [ 'description' => '门牌信息列表', 'type' => 'object', 'properties' => [ - 'street' => [ - 'description' => '街道名称', - 'type' => 'string', - 'example' => '海淀路', - ], - 'number' => [ - 'description' => '门牌号', - 'type' => 'string', - 'example' => '36号', - ], - 'longitude' => [ - 'description' => '经度', - 'type' => 'string', - 'example' => '116.311943', - ], - 'latitude' => [ - 'description' => '维度', - 'type' => 'string', - 'example' => '39.986542', - ], - 'direction' => [ - 'description' => '方位', - 'type' => 'string', - 'example' => '南', - ], - 'distanceMeter' => [ - 'description' => '距离', - 'type' => 'string', - 'example' => '289.832', - ], + 'street' => ['description' => '街道名称', 'type' => 'string', 'example' => '海淀路'], + 'number' => ['description' => '门牌号', 'type' => 'string', 'example' => '36号'], + 'longitude' => ['description' => '经度', 'type' => 'string', 'example' => '116.311943'], + 'latitude' => ['description' => '维度', 'type' => 'string', 'example' => '39.986542'], + 'direction' => ['description' => '方位', 'type' => 'string', 'example' => '南'], + 'distanceMeter' => ['description' => '距离', 'type' => 'string', 'example' => '289.832'], ], ], 'businessAreas' => [ @@ -2717,26 +1397,10 @@ 'description' => '对象', 'type' => 'object', 'properties' => [ - 'id' => [ - 'description' => '区域编码', - 'type' => 'string', - 'example' => '110108', - ], - 'name' => [ - 'description' => '区域名称', - 'type' => 'string', - 'example' => '西苑', - ], - 'longitude' => [ - 'description' => '经度', - 'type' => 'string', - 'example' => '116.294214', - ], - 'latitude' => [ - 'description' => '维度', - 'type' => 'string', - 'example' => '39.996850', - ], + 'id' => ['description' => '区域编码', 'type' => 'string', 'example' => '110108'], + 'name' => ['description' => '区域名称', 'type' => 'string', 'example' => '西苑'], + 'longitude' => ['description' => '经度', 'type' => 'string', 'example' => '116.294214'], + 'latitude' => ['description' => '维度', 'type' => 'string', 'example' => '39.996850'], ], ], ], @@ -2746,9 +1410,7 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"12sdfsdfsd-234sdxfd-23rcgc\\",\\n \\"data\\": {\\n \\"formattedAddress\\": \\"北京市海淀区燕园街道北京大学\\",\\n \\"country\\": \\"中国\\",\\n \\"province\\": \\"北京市\\",\\n \\"city\\": \\"北京市\\",\\n \\"cityCode\\": \\"010\\",\\n \\"district\\": \\"海淀区\\",\\n \\"districtCode\\": \\"110108\\",\\n \\"townShip\\": \\"燕园街道\\",\\n \\"townCode\\": \\"110108015000\\",\\n \\"neighborhood\\": {\\n \\"name\\": \\"北京大学\\",\\n \\"type\\": \\"科教文化服务|学校|高等院校\\"\\n },\\n \\"building\\": {\\n \\"name\\": \\"xxx科技园\\",\\n \\"type\\": \\"科技园\\"\\n },\\n \\"streetNumber\\": {\\n \\"street\\": \\"海淀路\\",\\n \\"number\\": \\"36号\\",\\n \\"longitude\\": \\"116.311943\\",\\n \\"latitude\\": \\"39.986542\\",\\n \\"direction\\": \\"南\\",\\n \\"distanceMeter\\": \\"289.832\\"\\n },\\n \\"businessAreas\\": [\\n {\\n \\"id\\": \\"110108\\",\\n \\"name\\": \\"西苑\\",\\n \\"longitude\\": \\"116.294214\\",\\n \\"latitude\\": \\"39.996850\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '逆地理编码', 'description' => '自然语言搜索景点', @@ -2756,103 +1418,58 @@ 'TransitIntegratedDirection' => [ 'summary' => '根据起终点坐标检索符合条件的公共交通路线规划方案。', 'path' => '/ipaas/v2/direction/transit/integrated', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp00UKME', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'originLongitude', 'in' => 'query', - 'schema' => [ - 'description' => '起点经度', - 'type' => 'string', - 'required' => false, - 'example' => '116.466485', - ], + 'schema' => ['description' => '起点经度', 'type' => 'string', 'required' => false, 'example' => '116.466485'], ], [ 'name' => 'originLatitude', 'in' => 'query', - 'schema' => [ - 'description' => '起点纬度', - 'type' => 'string', - 'required' => false, - 'example' => '39.995197', - ], + 'schema' => ['description' => '起点纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'], ], [ 'name' => 'destinationLongitude', 'in' => 'query', - 'schema' => [ - 'description' => '终点经度', - 'type' => 'string', - 'required' => false, - 'example' => '116.46424', - ], + 'schema' => ['description' => '终点经度', 'type' => 'string', 'required' => false, 'example' => '116.46424'], ], [ 'name' => 'destinationLatitude', 'in' => 'query', - 'schema' => [ - 'description' => '终点纬度', - 'type' => 'string', - 'required' => false, - 'example' => '40.345456', - ], + 'schema' => ['description' => '终点纬度', 'type' => 'string', 'required' => false, 'example' => '40.345456'], ], [ 'name' => 'originCity', 'in' => 'query', - 'schema' => [ - 'description' => '起点城市', - 'type' => 'string', - 'required' => false, - 'example' => '北京市', - ], + 'schema' => ['description' => '起点城市', 'type' => 'string', 'required' => false, 'example' => '北京市'], ], [ 'name' => 'destinationCity', 'in' => 'query', - 'schema' => [ - 'description' => '终点城市', - 'type' => 'string', - 'required' => false, - 'example' => '北京市', - ], + 'schema' => ['description' => '终点城市', 'type' => 'string', 'required' => false, 'example' => '北京市'], ], [ 'name' => 'showPolyline', 'in' => 'query', - 'schema' => [ - 'description' => '是否显示坐标点信息', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否显示坐标点信息', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ @@ -2862,84 +1479,28 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'xszdwr-234dvcxvc', - ], + 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'xszdwr-234dvcxvc'], 'data' => [ 'description' => '响应数据', 'type' => 'object', 'properties' => [ - 'originLongitude' => [ - 'description' => '出发地点坐标的经度', - 'type' => 'string', - 'example' => '116.466485', - ], - 'originLatitude' => [ - 'description' => '出发地点坐标的纬度', - 'type' => 'string', - 'example' => '39.995197', - ], - 'destinationLongitude' => [ - 'description' => '目的地坐标的经度', - 'type' => 'string', - 'example' => '116.46424', - ], - 'destinationLatitude' => [ - 'description' => '目的地坐标的纬度', - 'type' => 'string', - 'example' => '39.995197', - ], - 'distanceMeter' => [ - 'description' => '距离', - 'type' => 'string', - 'example' => '445', - ], - 'count' => [ - 'description' => '路径规划方案总数', - 'type' => 'string', - 'example' => '5', - ], + 'originLongitude' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'example' => '116.466485'], + 'originLatitude' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'example' => '39.995197'], + 'destinationLongitude' => ['description' => '目的地坐标的经度', 'type' => 'string', 'example' => '116.46424'], + 'destinationLatitude' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'example' => '39.995197'], + 'distanceMeter' => ['description' => '距离', 'type' => 'string', 'example' => '445'], + 'count' => ['description' => '路径规划方案总数', 'type' => 'string', 'example' => '5'], 'cost' => [ 'description' => '公交费', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '1231', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '23', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '不涉及', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '不涉及', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '6', - ], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '1231'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '23'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '6'], ], ], 'paths' => [ @@ -2953,58 +1514,18 @@ 'description' => '耗时', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '39233', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '无', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '2000', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '不涉及', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '4', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '20', - ], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '39233'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '无'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '2000'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '4'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '20'], ], ], - 'distanceMeter' => [ - 'description' => '总步行距离,以米为单位', - 'type' => 'string', - 'example' => '12000', - ], - 'walkingDistanceMeter' => [ - 'description' => '步行距离,以米为单位', - 'type' => 'string', - 'example' => '23435', - ], - 'nightflag' => [ - 'description' => '是否夜班车', - 'type' => 'string', - 'example' => '否', - ], + 'distanceMeter' => ['description' => '总步行距离,以米为单位', 'type' => 'string', 'example' => '12000'], + 'walkingDistanceMeter' => ['description' => '步行距离,以米为单位', 'type' => 'string', 'example' => '23435'], + 'nightflag' => ['description' => '是否夜班车', 'type' => 'string', 'example' => '否'], 'segments' => [ 'description' => '路径', 'type' => 'array', @@ -3016,60 +1537,20 @@ 'description' => '步行', 'type' => 'object', 'properties' => [ - 'origin' => [ - 'description' => '执行来源。', - 'type' => 'string', - 'example' => '116.466568,39.995552', - ], - 'destination' => [ - 'description' => '目标服务的ARN。', - 'type' => 'string', - 'example' => '116.468208,39.998875', - ], - 'distanceMeter' => [ - 'description' => '总步行距离,以米为单位', - 'type' => 'string', - 'example' => '546', - ], + 'origin' => ['description' => '执行来源。', 'type' => 'string', 'example' => '116.466568,39.995552'], + 'destination' => ['description' => '目标服务的ARN。', 'type' => 'string', 'example' => '116.468208,39.998875'], + 'distanceMeter' => ['description' => '总步行距离,以米为单位', 'type' => 'string', 'example' => '546'], 'cost' => [ 'description' => '收费道路', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '468', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '不涉及', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '3', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '不涉及', - ], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '468'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '3'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '不涉及'], ], ], 'steps' => [ @@ -3079,86 +1560,34 @@ 'description' => '收取费用', 'type' => 'object', 'properties' => [ - 'instruction' => [ - 'description' => '路径指令', - 'type' => 'string', - 'example' => '步行16米右转', - ], - 'orientation' => [ - 'description' => '方向', - 'type' => 'string', - 'example' => '右', - ], - 'roadName' => [ - 'description' => '分段道路名称', - 'type' => 'string', - 'example' => '无', - ], - 'stepDistanceMeter' => [ - 'description' => '分段距离,以米为单位', - 'type' => 'string', - 'example' => '无', - ], + 'instruction' => ['description' => '路径指令', 'type' => 'string', 'example' => '步行16米右转'], + 'orientation' => ['description' => '方向', 'type' => 'string', 'example' => '右'], + 'roadName' => ['description' => '分段道路名称', 'type' => 'string', 'example' => '无'], + 'stepDistanceMeter' => ['description' => '分段距离,以米为单位', 'type' => 'string', 'example' => '无'], 'cost' => [ 'description' => '收费距离,以米为单位', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '435', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '不涉及', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '不涉及', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '不涉及', - ], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '435'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '不涉及'], ], ], 'polyline' => [ 'description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'object', 'properties' => [ - 'polyline' => [ - 'description' => '返回分路段坐标点串,两点间用“;”分隔', - 'type' => 'string', - 'example' => '116.467751,39.997631;116.467430,39.997631', - ], + 'polyline' => ['description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'string', 'example' => '116.467751,39.997631;116.467430,39.997631'], ], ], ], ], ], - 'index' => [ - 'description' => '索引标识', - 'type' => 'string', - 'example' => '0', - ], + 'index' => ['description' => '索引标识', 'type' => 'string', 'example' => '0'], ], ], 'bus' => [ @@ -3172,102 +1601,34 @@ 'description' => '公交路径信息', 'type' => 'object', 'properties' => [ - 'id' => [ - 'description' => '公交线路ID', - 'type' => 'string', - 'example' => '900000028907', - ], - 'name' => [ - 'description' => '公交线路名称', - 'type' => 'string', - 'example' => '地铁14号线(善各庄--张郭庄)', - ], - 'type' => [ - 'description' => '公交线路类型', - 'type' => 'string', - 'example' => '地铁线路', - ], - 'distanceMeter' => [ - 'description' => '方案距离,以米为单位', - 'type' => 'string', - 'example' => '13322', - ], - 'busTimeTips' => [ - 'description' => '公交时间提示', - 'type' => 'string', - 'example' => '无', - ], - 'bustimetag' => [ - 'description' => '公交时间标签', - 'type' => 'string', - 'example' => '0', - ], - 'startTime' => [ - 'description' => '额度有效期开始时间,毫秒级时间戳。', - 'type' => 'string', - 'example' => '0509', - ], - 'endTime' => [ - 'description' => '结束时间', - 'type' => 'string', - 'example' => '2259', - ], - 'viaNum' => [ - 'description' => '途经站点数量', - 'type' => 'string', - 'example' => '8', - ], + 'id' => ['description' => '公交线路ID', 'type' => 'string', 'example' => '900000028907'], + 'name' => ['description' => '公交线路名称', 'type' => 'string', 'example' => '地铁14号线(善各庄--张郭庄)'], + 'type' => ['description' => '公交线路类型', 'type' => 'string', 'example' => '地铁线路'], + 'distanceMeter' => ['description' => '方案距离,以米为单位', 'type' => 'string', 'example' => '13322'], + 'busTimeTips' => ['description' => '公交时间提示', 'type' => 'string', 'example' => '无'], + 'bustimetag' => ['description' => '公交时间标签', 'type' => 'string', 'example' => '0'], + 'startTime' => ['description' => '额度有效期开始时间,毫秒级时间戳。', 'type' => 'string', 'example' => '0509'], + 'endTime' => ['description' => '结束时间', 'type' => 'string', 'example' => '2259'], + 'viaNum' => ['description' => '途经站点数量', 'type' => 'string', 'example' => '8'], 'polyline' => [ 'description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'object', 'properties' => [ - 'polyline' => [ - 'description' => '返回分路段坐标点串,两点间用“;”分隔', - 'type' => 'string', - 'example' => '116.471544,39.991835', - ], + 'polyline' => ['description' => '返回分路段坐标点串,两点间用“;”分隔', 'type' => 'string', 'example' => '116.471544,39.991835'], ], ], 'cost' => [ 'description' => '公交费', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时'."\n" - ."\n", - 'type' => 'string', - 'example' => '1521', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '不涉及', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '不涉及', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '不涉及', - ], + 'durationSecond' => ['description' => '耗时'."\n" + ."\n", 'type' => 'string', 'example' => '1521'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '不涉及'], ], ], 'viaStops' => [ @@ -3277,21 +1638,9 @@ 'description' => '途经站点', 'type' => 'object', 'properties' => [ - 'id' => [ - 'description' => '站点ID', - 'type' => 'string', - 'example' => '900000028907009', - ], - 'name' => [ - 'description' => '站点名称', - 'type' => 'string', - 'example' => '将台', - ], - 'location' => [ - 'description' => '经纬度坐标', - 'type' => 'string', - 'example' => '116.485919,39.958375', - ], + 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '900000028907009'], + 'name' => ['description' => '站点名称', 'type' => 'string', 'example' => '将台'], + 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '116.485919,39.958375'], ], ], ], @@ -3299,40 +1648,16 @@ 'description' => '出发站', 'type' => 'object', 'properties' => [ - 'id' => [ - 'description' => '站点ID', - 'type' => 'string', - 'example' => '60852', - ], - 'name' => [ - 'description' => '站点名称', - 'type' => 'string', - 'example' => '望京', - ], - 'location' => [ - 'description' => '经纬度坐标', - 'type' => 'string', - 'example' => '116.468213,39.998876', - ], + 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '60852'], + 'name' => ['description' => '站点名称', 'type' => 'string', 'example' => '望京'], + 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '116.468213,39.998876'], 'entrance' => [ 'description' => '入口', 'type' => 'object', 'properties' => [ - 'id' => [ - 'description' => '站点ID', - 'type' => 'string', - 'example' => '99088345834', - ], - 'name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => 'H西南口', - ], - 'location' => [ - 'description' => '经纬度坐标', - 'type' => 'string', - 'example' => '116.468213,39.998876', - ], + 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '99088345834'], + 'name' => ['description' => '名称', 'type' => 'string', 'example' => 'H西南口'], + 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '116.468213,39.998876'], ], ], ], @@ -3341,40 +1666,16 @@ 'description' => '到达站', 'type' => 'object', 'properties' => [ - 'id' => [ - 'description' => '站点ID', - 'type' => 'string', - 'example' => '100935', - ], - 'name' => [ - 'description' => '站点名称', - 'type' => 'string', - 'example' => '九龙山', - ], - 'location' => [ - 'description' => '经纬度坐标', - 'type' => 'string', - 'example' => '119.82416178385417,30.27139702690972', - ], + 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '100935'], + 'name' => ['description' => '站点名称', 'type' => 'string', 'example' => '九龙山'], + 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '119.82416178385417,30.27139702690972'], 'exit' => [ 'description' => '出口', 'type' => 'object', 'properties' => [ - 'id' => [ - 'description' => '站点ID', - 'type' => 'string', - 'example' => '900000028907015', - ], - 'name' => [ - 'description' => '站点名称', - 'type' => 'string', - 'example' => 'A西北口', - ], - 'location' => [ - 'description' => '经纬度坐标', - 'type' => 'string', - 'example' => '116.468213,39.998876', - ], + 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '900000028907015'], + 'name' => ['description' => '站点名称', 'type' => 'string', 'example' => 'A西北口'], + 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '116.468213,39.998876'], ], ], ], @@ -3382,117 +1683,41 @@ ], ], ], - 'index' => [ - 'description' => '索引标识', - 'type' => 'string', - 'example' => '1', - ], + 'index' => ['description' => '索引标识', 'type' => 'string', 'example' => '1'], ], ], 'railway' => [ 'description' => '铁路路径', 'type' => 'object', 'properties' => [ - 'id' => [ - 'description' => '铁路线路ID', - 'type' => 'string', - 'example' => '434508', - ], - 'name' => [ - 'description' => '铁路线路名称', - 'type' => 'string', - 'example' => 'xxx号动车', - ], - 'time' => [ - 'description' => '时间戳', - 'type' => 'string', - 'example' => '2024-09-28 10:07:22', - ], - 'trip' => [ - 'description' => '车次', - 'type' => 'string', - 'example' => '8003次', - ], - 'type' => [ - 'description' => '铁路车次类型', - 'type' => 'string', - 'example' => '动车组', - ], - 'distanceMeter' => [ - 'description' => '方案距离,以米为单位', - 'type' => 'string', - 'example' => '398734', - ], + 'id' => ['description' => '铁路线路ID', 'type' => 'string', 'example' => '434508'], + 'name' => ['description' => '铁路线路名称', 'type' => 'string', 'example' => 'xxx号动车'], + 'time' => ['description' => '时间戳', 'type' => 'string', 'example' => '2024-09-28 10:07:22'], + 'trip' => ['description' => '车次', 'type' => 'string', 'example' => '8003次'], + 'type' => ['description' => '铁路车次类型', 'type' => 'string', 'example' => '动车组'], + 'distanceMeter' => ['description' => '方案距离,以米为单位', 'type' => 'string', 'example' => '398734'], 'departureStop' => [ 'description' => '出发站', 'type' => 'object', 'properties' => [ - 'id' => [ - 'description' => '站点ID', - 'type' => 'string', - 'example' => '100937', - ], - 'name' => [ - 'description' => '站点名称', - 'type' => 'string', - 'example' => '西安北站', - ], - 'location' => [ - 'description' => '经纬度坐标', - 'type' => 'string', - 'example' => '101.45625135633681,25.08939480251736', - ], - 'time' => [ - 'description' => '时间', - 'type' => 'string', - 'example' => '2024-09-30 10:04:13', - ], - 'adcode' => [ - 'description' => '城市行政区划编码', - 'type' => 'string', - 'example' => '029', - ], - 'start' => [ - 'description' => '日程开始时间所属时区,TZ database name格式。', - 'type' => 'string', - 'example' => '1729440000000', - ], + 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '100937'], + 'name' => ['description' => '站点名称', 'type' => 'string', 'example' => '西安北站'], + 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '101.45625135633681,25.08939480251736'], + 'time' => ['description' => '时间', 'type' => 'string', 'example' => '2024-09-30 10:04:13'], + 'adcode' => ['description' => '城市行政区划编码', 'type' => 'string', 'example' => '029'], + 'start' => ['description' => '日程开始时间所属时区,TZ database name格式。', 'type' => 'string', 'example' => '1729440000000'], ], ], 'arrivalStop' => [ 'description' => '到达站', 'type' => 'object', 'properties' => [ - 'id' => [ - 'description' => '站点ID', - 'type' => 'string', - 'example' => '8234837534', - ], - 'name' => [ - 'description' => '站点名称', - 'type' => 'string', - 'example' => '洛阳东站', - ], - 'location' => [ - 'description' => '经纬度坐标', - 'type' => 'string', - 'example' => '101.45625135633681,25.08939480251736', - ], - 'time' => [ - 'description' => '操作时间', - 'type' => 'string', - 'example' => '2024-10-28 10:10:32', - ], - 'adcode' => [ - 'description' => '城市行政区划编码', - 'type' => 'string', - 'example' => '023', - ], - 'end' => [ - 'description' => 'end', - 'type' => 'string', - 'example' => '1699410466578', - ], + 'id' => ['description' => '站点ID', 'type' => 'string', 'example' => '8234837534'], + 'name' => ['description' => '站点名称', 'type' => 'string', 'example' => '洛阳东站'], + 'location' => ['description' => '经纬度坐标', 'type' => 'string', 'example' => '101.45625135633681,25.08939480251736'], + 'time' => ['description' => '操作时间', 'type' => 'string', 'example' => '2024-10-28 10:10:32'], + 'adcode' => ['description' => '城市行政区划编码', 'type' => 'string', 'example' => '023'], + 'end' => ['description' => 'end', 'type' => 'string', 'example' => '1699410466578'], ], ], 'spaces' => [ @@ -3502,78 +1727,32 @@ 'description' => '可购买的铁路座位', 'type' => 'object', 'properties' => [ - 'code' => [ - 'description' => '车位类型', - 'type' => 'string', - 'example' => '软卧', - ], - 'cost' => [ - 'description' => '车位费用', - 'type' => 'string', - 'example' => '150', - ], + 'code' => ['description' => '车位类型', 'type' => 'string', 'example' => '软卧'], + 'cost' => ['description' => '车位费用', 'type' => 'string', 'example' => '150'], ], ], ], - 'index' => [ - 'description' => '索引标识', - 'type' => 'string', - 'example' => '2', - ], + 'index' => ['description' => '索引标识', 'type' => 'string', 'example' => '2'], ], ], 'taxi' => [ 'description' => '出租车路径', 'type' => 'object', 'properties' => [ - 'price' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '13.5', - ], - 'driveTimeSecond' => [ - 'description' => '出租车耗时', - 'type' => 'string', - 'example' => '720', - ], - 'distanceMeter' => [ - 'description' => '打车距离,以米为单位', - 'type' => 'string', - 'example' => '1772', - ], - 'originPoint' => [ - 'description' => '出发地经纬度坐标', - 'type' => 'string', - 'example' => '116.476597,39.893420', - ], - 'originName' => [ - 'description' => '出发地名称', - 'type' => 'string', - 'example' => '九龙山A西北口', - ], - 'destinationPoint' => [ - 'description' => '目的地经纬度坐标', - 'type' => 'string', - 'example' => '116.464297,39.896458', - ], - 'destinationName' => [ - 'description' => '目的地名称', - 'type' => 'string', - 'example' => 'xxx', - ], + 'price' => ['description' => '出租车费', 'type' => 'string', 'example' => '13.5'], + 'driveTimeSecond' => ['description' => '出租车耗时', 'type' => 'string', 'example' => '720'], + 'distanceMeter' => ['description' => '打车距离,以米为单位', 'type' => 'string', 'example' => '1772'], + 'originPoint' => ['description' => '出发地经纬度坐标', 'type' => 'string', 'example' => '116.476597,39.893420'], + 'originName' => ['description' => '出发地名称', 'type' => 'string', 'example' => '九龙山A西北口'], + 'destinationPoint' => ['description' => '目的地经纬度坐标', 'type' => 'string', 'example' => '116.464297,39.896458'], + 'destinationName' => ['description' => '目的地名称', 'type' => 'string', 'example' => 'xxx'], 'polyline' => [ 'type' => 'object', 'properties' => [ - 'polyline' => [ - 'type' => 'string', - ], + 'polyline' => ['type' => 'string'], ], ], - 'index' => [ - 'description' => '索引标识', - 'type' => 'string', - 'example' => '2', - ], + 'index' => ['description' => '索引标识', 'type' => 'string', 'example' => '2'], ], ], ], @@ -3588,9 +1767,7 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xszdwr-234dvcxvc\\",\\n \\"data\\": {\\n \\"originLongitude\\": \\"116.466485\\",\\n \\"originLatitude\\": \\"39.995197\\",\\n \\"destinationLongitude\\": \\"116.46424\\",\\n \\"destinationLatitude\\": \\"39.995197\\",\\n \\"distanceMeter\\": \\"445\\",\\n \\"count\\": \\"5\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"1231\\",\\n \\"tolls\\": \\"23\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"6\\"\\n },\\n \\"paths\\": [\\n {\\n \\"cost\\": {\\n \\"durationSecond\\": \\"39233\\",\\n \\"tolls\\": \\"无\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"2000\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"4\\",\\n \\"taxiFee\\": \\"20\\"\\n },\\n \\"distanceMeter\\": \\"12000\\",\\n \\"walkingDistanceMeter\\": \\"23435\\",\\n \\"nightflag\\": \\"否\\",\\n \\"segments\\": [\\n {\\n \\"walking\\": {\\n \\"origin\\": \\"116.466568,39.995552\\",\\n \\"destination\\": \\"116.468208,39.998875\\",\\n \\"distanceMeter\\": \\"546\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"468\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"3\\",\\n \\"taxiFee\\": \\"不涉及\\"\\n },\\n \\"steps\\": [\\n {\\n \\"instruction\\": \\"步行16米右转\\",\\n \\"orientation\\": \\"右\\",\\n \\"roadName\\": \\"无\\",\\n \\"stepDistanceMeter\\": \\"无\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"435\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"不涉及\\"\\n },\\n \\"polyline\\": {\\n \\"polyline\\": \\"116.467751,39.997631;116.467430,39.997631\\"\\n }\\n }\\n ],\\n \\"index\\": \\"0\\"\\n },\\n \\"bus\\": {\\n \\"buslines\\": [\\n {\\n \\"id\\": \\"900000028907\\",\\n \\"name\\": \\"地铁14号线(善各庄--张郭庄)\\",\\n \\"type\\": \\"地铁线路\\",\\n \\"distanceMeter\\": \\"13322\\",\\n \\"busTimeTips\\": \\"无\\",\\n \\"bustimetag\\": \\"0\\",\\n \\"startTime\\": \\"0509\\",\\n \\"endTime\\": \\"2259\\",\\n \\"viaNum\\": \\"8\\",\\n \\"polyline\\": {\\n \\"polyline\\": \\"116.471544,39.991835\\"\\n },\\n \\"cost\\": {\\n \\"durationSecond\\": \\"1521\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"不涉及\\"\\n },\\n \\"viaStops\\": [\\n {\\n \\"id\\": \\"900000028907009\\",\\n \\"name\\": \\"将台\\",\\n \\"location\\": \\"116.485919,39.958375\\"\\n }\\n ],\\n \\"departureStop\\": {\\n \\"id\\": \\"60852\\",\\n \\"name\\": \\"望京\\",\\n \\"location\\": \\"116.468213,39.998876\\",\\n \\"entrance\\": {\\n \\"id\\": \\"99088345834\\",\\n \\"name\\": \\"H西南口\\",\\n \\"location\\": \\"116.468213,39.998876\\"\\n }\\n },\\n \\"arrivalStop\\": {\\n \\"id\\": \\"100935\\",\\n \\"name\\": \\"九龙山\\",\\n \\"location\\": \\"119.82416178385417,30.27139702690972\\",\\n \\"exit\\": {\\n \\"id\\": \\"900000028907015\\",\\n \\"name\\": \\"A西北口\\",\\n \\"location\\": \\"116.468213,39.998876\\"\\n }\\n }\\n }\\n ],\\n \\"index\\": \\"1\\"\\n },\\n \\"railway\\": {\\n \\"id\\": \\"434508\\",\\n \\"name\\": \\"xxx号动车\\",\\n \\"time\\": \\"2024-09-28 10:07:22\\",\\n \\"trip\\": \\"8003次\\",\\n \\"type\\": \\"动车组\\",\\n \\"distanceMeter\\": \\"398734\\",\\n \\"departureStop\\": {\\n \\"id\\": \\"100937\\",\\n \\"name\\": \\"西安北站\\",\\n \\"location\\": \\"101.45625135633681,25.08939480251736\\",\\n \\"time\\": \\"2024-09-30 10:04:13\\",\\n \\"adcode\\": \\"029\\",\\n \\"start\\": \\"1729440000000\\"\\n },\\n \\"arrivalStop\\": {\\n \\"id\\": \\"8234837534\\",\\n \\"name\\": \\"洛阳东站\\",\\n \\"location\\": \\"101.45625135633681,25.08939480251736\\",\\n \\"time\\": \\"2024-10-28 10:10:32\\",\\n \\"adcode\\": \\"023\\",\\n \\"end\\": \\"1699410466578\\"\\n },\\n \\"spaces\\": [\\n {\\n \\"code\\": \\"软卧\\",\\n \\"cost\\": \\"150\\"\\n }\\n ],\\n \\"index\\": \\"2\\"\\n },\\n \\"taxi\\": {\\n \\"price\\": \\"13.5\\",\\n \\"driveTimeSecond\\": \\"720\\",\\n \\"distanceMeter\\": \\"1772\\",\\n \\"originPoint\\": \\"116.476597,39.893420\\",\\n \\"originName\\": \\"九龙山A西北口\\",\\n \\"destinationPoint\\": \\"116.464297,39.896458\\",\\n \\"destinationName\\": \\"xxx\\",\\n \\"polyline\\": {\\n \\"polyline\\": \\"\\"\\n },\\n \\"index\\": \\"2\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '公共交通路线规划方案Nova', 'description' => '根据起终点坐标检索符合条件的公共交通路线规划方案。', @@ -3598,73 +1775,43 @@ 'DrivingDirection' => [ 'summary' => '根据起终点坐标检索符合条件的驾车路线规划方案。', 'path' => '/ipaas/v1/direction/driving', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp00UKME', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], ], 'parameters' => [ [ 'name' => 'originLongitude', 'in' => 'query', - 'schema' => [ - 'description' => '出发地点坐标的经度', - 'type' => 'string', - 'required' => false, - 'example' => '116.466485', - ], + 'schema' => ['description' => '出发地点坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.466485'], ], [ 'name' => 'originLatitude', 'in' => 'query', - 'schema' => [ - 'description' => '出发地点坐标的纬度', - 'type' => 'string', - 'required' => false, - 'example' => '39.995197', - ], + 'schema' => ['description' => '出发地点坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.995197'], ], [ 'name' => 'destinationLongitude', 'in' => 'query', - 'schema' => [ - 'description' => '目的地坐标的经度', - 'type' => 'string', - 'required' => false, - 'example' => '116.46424', - ], + 'schema' => ['description' => '目的地坐标的经度', 'type' => 'string', 'required' => false, 'example' => '116.46424'], ], [ 'name' => 'destinationLatitude', 'in' => 'query', - 'schema' => [ - 'description' => '目的地坐标的纬度', - 'type' => 'string', - 'required' => false, - 'example' => '39.896463', - ], + 'schema' => ['description' => '目的地坐标的纬度', 'type' => 'string', 'required' => false, 'example' => '39.896463'], ], ], 'responses' => [ @@ -3674,11 +1821,7 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364', - ], + 'requestId' => ['description' => 'Id of the request', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'], 'data' => [ 'description' => '响应数据', 'type' => 'array', @@ -3686,55 +1829,19 @@ 'description' => '响应数据', 'type' => 'object', 'properties' => [ - 'distanceMeter' => [ - 'description' => '距离', - 'type' => 'string', - 'example' => '445', - ], - 'restriction' => [ - 'description' => '限行情况', - 'type' => 'string', - 'example' => '不限行', - ], + 'distanceMeter' => ['description' => '距离', 'type' => 'string', 'example' => '445'], + 'restriction' => ['description' => '限行情况', 'type' => 'string', 'example' => '不限行'], 'cost' => [ 'description' => '公交费', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '1231', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '23', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '不涉及', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '不涉及', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '6', - ], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '1231'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '23'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => '不涉及'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '不涉及'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '6'], ], ], 'steps' => [ @@ -3744,65 +1851,21 @@ 'description' => '方向', 'type' => 'object', 'properties' => [ - 'instruction' => [ - 'description' => '路径指令', - 'type' => 'string', - 'example' => '向北步行16米右转', - ], - 'orientation' => [ - 'description' => '方向', - 'type' => 'string', - 'example' => '西', - ], - 'stepDistanceMeter' => [ - 'description' => '分段距离,以米为单位', - 'type' => 'string', - 'example' => '500', - ], - 'roadName' => [ - 'description' => '分段道路名称', - 'type' => 'string', - 'example' => '建工路', - ], + 'instruction' => ['description' => '路径指令', 'type' => 'string', 'example' => '向北步行16米右转'], + 'orientation' => ['description' => '方向', 'type' => 'string', 'example' => '西'], + 'stepDistanceMeter' => ['description' => '分段距离,以米为单位', 'type' => 'string', 'example' => '500'], + 'roadName' => ['description' => '分段道路名称', 'type' => 'string', 'example' => '建工路'], 'cost' => [ 'description' => '耗时,以秒为单位', 'type' => 'object', 'properties' => [ - 'durationSecond' => [ - 'description' => '耗时', - 'type' => 'string', - 'example' => '27647', - ], - 'tolls' => [ - 'description' => '收取费用', - 'type' => 'string', - 'example' => '不涉及', - ], - 'tollRoads' => [ - 'description' => '收费道路', - 'type' => 'string', - 'example' => 'xxx', - ], - 'tollDistanceMeter' => [ - 'description' => '收费距离,以米为单位', - 'type' => 'string', - 'example' => '不涉及', - ], - 'trafficLights' => [ - 'description' => '交通灯数量', - 'type' => 'string', - 'example' => '5', - ], - 'transitFee' => [ - 'description' => '公交费', - 'type' => 'string', - 'example' => '不涉及', - ], - 'taxiFee' => [ - 'description' => '出租车费', - 'type' => 'string', - 'example' => '不涉及', - ], + 'durationSecond' => ['description' => '耗时', 'type' => 'string', 'example' => '27647'], + 'tolls' => ['description' => '收取费用', 'type' => 'string', 'example' => '不涉及'], + 'tollRoads' => ['description' => '收费道路', 'type' => 'string', 'example' => 'xxx'], + 'tollDistanceMeter' => ['description' => '收费距离,以米为单位', 'type' => 'string', 'example' => '不涉及'], + 'trafficLights' => ['description' => '交通灯数量', 'type' => 'string', 'example' => '5'], + 'transitFee' => ['description' => '公交费', 'type' => 'string', 'example' => '不涉及'], + 'taxiFee' => ['description' => '出租车费', 'type' => 'string', 'example' => '不涉及'], ], ], ], @@ -3815,18 +1878,13 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\",\\n \\"data\\": [\\n {\\n \\"distanceMeter\\": \\"445\\",\\n \\"restriction\\": \\"不限行\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"1231\\",\\n \\"tolls\\": \\"23\\",\\n \\"tollRoads\\": \\"不涉及\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"不涉及\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"6\\"\\n },\\n \\"steps\\": [\\n {\\n \\"instruction\\": \\"向北步行16米右转\\",\\n \\"orientation\\": \\"西\\",\\n \\"stepDistanceMeter\\": \\"500\\",\\n \\"roadName\\": \\"建工路\\",\\n \\"cost\\": {\\n \\"durationSecond\\": \\"27647\\",\\n \\"tolls\\": \\"不涉及\\",\\n \\"tollRoads\\": \\"xxx\\",\\n \\"tollDistanceMeter\\": \\"不涉及\\",\\n \\"trafficLights\\": \\"5\\",\\n \\"transitFee\\": \\"不涉及\\",\\n \\"taxiFee\\": \\"不涉及\\"\\n }\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', 'title' => '驾车路线方案规划', 'description' => '根据起终点坐标检索符合条件的驾车路线规划方案。', ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com', - ], + ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com'], ], ]; diff --git a/data/zh_cn/iqs/2024-11-11/api-docs.php b/data/zh_cn/iqs/2024-11-11/api-docs.php index 16d7008..c66ce24 100644 --- a/data/zh_cn/iqs/2024-11-11/api-docs.php +++ b/data/zh_cn/iqs/2024-11-11/api-docs.php @@ -1,103 +1,30 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'IQS', - 'version' => '2024-11-11', - ], + 'info' => ['style' => 'ROA', 'product' => 'IQS', 'version' => '2024-11-11'], 'directories' => [ 'UnifiedSearch', [ - 'id' => 206773, - 'title' => '其他', + 'children' => ['GenericSearch', 'AiSearch', 'GenericAdvancedSearch', 'CommonQueryByScene', 'GetIqsUsage', 'GlobalSearch', 'MedicalAnswer', 'MedicalKnowledge', 'MultimodalSearch', 'OmniAnswer', 'ReadPageBasic', 'ReadPageScrape', 'ScanFile'], 'type' => 'directory', - 'children' => [ - 'GenericSearch', - 'AiSearch', - 'GenericAdvancedSearch', - 'GlobalSearch', - ], - ], - [ - 'id' => 0, - 'title' => '其它', - 'type' => 'directory', - 'children' => [ - 'GetIqsUsage', - 'MultimodalSearch', - 'ReadPageBasic', - 'ReadPageScrape', - ], + 'title' => '其他', + 'id' => 292919, ], ], 'components' => [ 'schemas' => [ - 'AISearchQuery' => [ - 'title' => '搜索查询条件', + 'AgentBaseQuery' => [ 'type' => 'object', 'properties' => [ - 'searchEngine' => [ - 'title' => '搜索引擎', - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'quark', - 'bing', - 'baidu', - 'google', - ], - ], - 'searchPlan' => [ - 'title' => '套餐计划', - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'basic', - 'advanced', - ], - ], - 'query' => [ - 'title' => '待查询问题', - 'type' => 'string', - 'required' => false, - ], - 'cardQuery' => [ - 'title' => '卡片类型', - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'active', - 'off', - ], - ], - 'page' => [ - 'title' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'sessionId' => [ - 'title' => '会话id', - 'type' => 'string', - 'required' => false, - ], - 'card' => [ - 'title' => '是否开启卡片搜索', - 'type' => 'string', - 'required' => false, - ], - 'timeRange' => [ - 'title' => '网页发布时间范围', - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'OneDay', - 'OneWeek', - 'OneMonth', - 'OneYear', - 'NoLimit', - ], - ], + 'query' => ['type' => 'string'], + ], + ], + 'CommonAgentQuery' => [ + 'type' => 'object', + 'properties' => [ + 'querySceneEnumCode' => ['type' => 'string'], + 'query' => ['type' => 'string'], + 'limit' => ['type' => 'integer', 'format' => 'int32'], + 'searchModel' => ['type' => 'string'], ], ], 'GenericSearchResult' => [ @@ -107,36 +34,20 @@ 'pageItems' => [ 'title' => '网页内容列表', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ScorePageItem', - ], - ], - 'requestId' => [ - 'title' => 'requestId', - 'type' => 'string', - 'example' => '123456', + 'items' => ['$ref' => '#/components/schemas/ScorePageItem'], ], + 'requestId' => ['title' => 'requestId', 'type' => 'string', 'example' => '123456'], 'weiboItems' => [ 'title' => '微博列表', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/WeiboItem', - ], - ], - 'searchInformation' => [ - 'title' => '搜索信息', - '$ref' => '#/components/schemas/SearchInformation', + 'items' => ['$ref' => '#/components/schemas/WeiboItem'], ], + 'searchInformation' => ['title' => '搜索信息', '$ref' => '#/components/schemas/SearchInformation'], 'sceneItems' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/SceneItem', - ], - ], - 'queryContext' => [ - 'title' => '查询上下文信息', - '$ref' => '#/components/schemas/QueryContext', + 'items' => ['$ref' => '#/components/schemas/SceneItem'], ], + 'queryContext' => ['title' => '查询上下文信息', '$ref' => '#/components/schemas/QueryContext'], ], ], 'GetIqsUsageResult' => [ @@ -147,48 +58,19 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'date' => [ - 'type' => 'string', - ], - 'billingQps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'totalCalls' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'valueAddedSummary' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'failedCalls' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'valueAddedAdvanced' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'subAccountId' => [ - 'type' => 'string', - ], - 'engineType' => [ - 'type' => 'string', - ], - 'ladderType' => [ - 'type' => 'string', - ], - 'api' => [ - 'type' => 'string', - ], - 'successCalls' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'mainAccountId' => [ - 'type' => 'string', - ], + 'date' => ['type' => 'string'], + 'mainAccountId' => ['type' => 'string'], + 'subAccountId' => ['type' => 'string'], + 'api' => ['type' => 'string'], + 'engineType' => ['type' => 'string'], + 'billingQps' => ['type' => 'integer', 'format' => 'int32'], + 'ladderType' => ['type' => 'string'], + 'totalCalls' => ['type' => 'integer', 'format' => 'int32'], + 'successCalls' => ['type' => 'integer', 'format' => 'int32'], + 'failedCalls' => ['type' => 'integer', 'format' => 'int32'], + 'valueAddedSummary' => ['type' => 'integer', 'format' => 'int32'], + 'valueAddedAdvanced' => ['type' => 'integer', 'format' => 'int32'], + 'totalBillStatCalls' => ['type' => 'integer', 'format' => 'int32'], ], ], ], @@ -199,26 +81,9 @@ 'description' => '搜索网页结果', 'type' => 'object', 'properties' => [ - 'snippet' => [ - 'title' => '搜索结果的description截取(文本格式)', - 'description' => '搜索结果的description截取(文本格式)', - 'type' => 'string', - 'example' => '100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...', - ], - 'link' => [ - 'title' => '搜索结果指向的完整网址', - 'description' => '搜索结果指向的完整网址', - 'type' => 'string', - 'required' => true, - 'example' => 'https://baijiahao.baidu.com/s?id=1787881554557805096', - ], - 'title' => [ - 'title' => '搜索结果标题(纯文本)', - 'description' => '搜索结果标题(纯文本)', - 'type' => 'string', - 'required' => true, - 'example' => '小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格', - ], + 'snippet' => ['title' => '搜索结果的description截取(文本格式)', 'description' => '搜索结果的description截取(文本格式)', 'type' => 'string', 'example' => '100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...'], + 'link' => ['title' => '搜索结果指向的完整网址', 'description' => '搜索结果指向的完整网址', 'type' => 'string', 'required' => true, 'example' => 'https://baijiahao.baidu.com/s?id=1787881554557805096'], + 'title' => ['title' => '搜索结果标题(纯文本)', 'description' => '搜索结果标题(纯文本)', 'type' => 'string', 'required' => true, 'example' => '小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格'], ], ], 'GlobalQueryContext' => [ @@ -230,21 +95,9 @@ 'description' => '初始查询条件', 'type' => 'object', 'properties' => [ - 'query' => [ - 'description' => '查询关键字', - 'type' => 'string', - 'example' => '特朗普关税最新消息', - ], - 'page' => [ - 'description' => '页码', - 'type' => 'string', - 'example' => '1', - ], - 'timeRange' => [ - 'description' => '时间范围', - 'type' => 'string', - 'example' => 'NoLimit', - ], + 'query' => ['description' => '查询关键字', 'type' => 'string', 'example' => '特朗普关税最新消息'], + 'page' => ['description' => '页码', 'type' => 'string', 'example' => '1'], + 'timeRange' => ['description' => '时间范围', 'type' => 'string', 'example' => 'NoLimit'], ], ], ], @@ -253,20 +106,12 @@ 'description' => '场景化垂类 API召回', 'type' => 'object', 'properties' => [ - 'detail' => [ - 'description' => 'JSON结构的明细信息', - 'type' => 'string', - 'example' => '{'."\n" - .'"snippet": "截至2025年3月7日,SpaceX星舰已经发射了8次,并取得4次成功及4次失败。",'."\n" - .'"snippetHighlighted": ["8次"],'."\n" - .'"title": "星舰发射任务列表"'."\n" - .'}', - ], - 'type' => [ - 'description' => '垂类数据的类型', - 'type' => 'string', - 'example' => 'answerBox', - ], + 'detail' => ['description' => 'JSON结构的明细信息', 'type' => 'string', 'example' => '{'."\n" + .'"snippet": "截至2025年3月7日,SpaceX星舰已经发射了8次,并取得4次成功及4次失败。",'."\n" + .'"snippetHighlighted": ["8次"],'."\n" + .'"title": "星舰发射任务列表"'."\n" + .'}'], + 'type' => ['description' => '垂类数据的类型', 'type' => 'string', 'example' => 'answerBox'], ], ], 'GlobalSearchInformation' => [ @@ -274,20 +119,8 @@ 'description' => '搜索执行信息', 'type' => 'object', 'properties' => [ - 'total' => [ - 'title' => '总数', - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10339', - ], - 'searchTime' => [ - 'title' => '搜索时间(ms)', - 'description' => '搜索时间(ms)', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1200', - ], + 'total' => ['title' => '总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int64', 'example' => '10339'], + 'searchTime' => ['title' => '搜索时间(ms)', 'description' => '搜索时间(ms)', 'type' => 'integer', 'format' => 'int64', 'example' => '1200'], ], ], 'GlobalSearchResult' => [ @@ -295,37 +128,20 @@ 'description' => '搜索结果', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => '123456', - ], - 'queryContext' => [ - 'description' => '查询上下文', - '$ref' => '#/components/schemas/GlobalQueryContext', - ], + 'requestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => '123456'], + 'queryContext' => ['description' => '查询上下文', '$ref' => '#/components/schemas/GlobalQueryContext'], 'pageItems' => [ 'title' => '网页内容列表', 'description' => '网页内容列表', 'type' => 'array', - 'items' => [ - 'description' => '召回网页内容', - '$ref' => '#/components/schemas/GlobalPageItem', - ], + 'items' => ['description' => '召回网页内容', '$ref' => '#/components/schemas/GlobalPageItem'], ], 'sceneItems' => [ 'description' => '场景化垂类API召回', 'type' => 'array', - 'items' => [ - 'description' => '场景化垂类API结构体', - '$ref' => '#/components/schemas/GlobalSceneItem', - ], - ], - 'searchInformation' => [ - 'description' => '搜索信息', - '$ref' => '#/components/schemas/GlobalSearchInformation', + 'items' => ['description' => '场景化垂类API结构体', '$ref' => '#/components/schemas/GlobalSceneItem'], ], + 'searchInformation' => ['description' => '搜索信息', '$ref' => '#/components/schemas/GlobalSearchInformation'], ], ], 'IncludeImage' => [ @@ -333,103 +149,141 @@ 'description' => '搜索结果网址中的图片,最多三张', 'type' => 'object', 'properties' => [ - 'imageLink' => [ - 'title' => '图片链接', - 'type' => 'string', - 'required' => false, - 'example' => 'http://k.sinaimg.cn/n/sinakd20121/594/w2048h946/20240328/74cf-32c0d62e843df76567d760b4459d57c1.jpg/w700d1q75cms.jpg', - ], - 'width' => [ - 'title' => '图片宽度(像素)', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '700', - ], - 'height' => [ - 'title' => '图片高度(像素)', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '324', - ], + 'width' => ['title' => '图片宽度(像素)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '700'], + 'imageLink' => ['title' => '图片链接', 'type' => 'string', 'required' => false, 'example' => 'http://k.sinaimg.cn/n/sinakd20121/594/w2048h946/20240328/74cf-32c0d62e843df76567d760b4459d57c1.jpg/w700d1q75cms.jpg'], + 'height' => ['title' => '图片高度(像素)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '324'], ], 'example' => 'https://pics1.baidu.com/feed/a50f4bfbfbedab64b41c99a3014dc9ce78311ef4@f_auto?token=c559d5772cb91aae52ed5a8272c4525e&f=jpeg', ], 'LocationInfo' => [ 'type' => 'object', 'properties' => [ - 'ip' => [ - 'type' => 'string', + 'ip' => ['type' => 'string'], + 'city' => ['type' => 'string'], + ], + ], + 'MedicalAnswerInput' => [ + 'type' => 'object', + 'properties' => [ + 'query' => ['type' => 'string'], + ], + ], + 'MedicalAnswerMessage' => [ + 'type' => 'object', + 'properties' => [ + 'content' => ['type' => 'string'], + 'metaData' => ['$ref' => '#/components/schemas/MedicalAnswerMetaData'], + ], + ], + 'MedicalAnswerMetaData' => [ + 'type' => 'object', + 'properties' => [], + ], + 'MedicalAnswerRaDoc' => [ + 'type' => 'object', + 'properties' => [ + 'title' => ['type' => 'string'], + 'rawUrl' => ['type' => 'string'], + 'content' => ['type' => 'string'], + 'type' => ['type' => 'string'], + ], + ], + 'MedicalAnswerResult' => [ + 'type' => 'object', + 'properties' => [ + 'requestId' => ['type' => 'string'], + 'searchInformation' => ['$ref' => '#/components/schemas/UnifiedSearchInformation'], + 'queryContext' => ['$ref' => '#/components/schemas/MultimodalQueryContext'], + 'messages' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/MedicalAnswerMessage'], ], - 'city' => [ - 'type' => 'string', + ], + ], + 'MedicalKnowInput' => [ + 'type' => 'object', + 'properties' => [ + 'query' => ['type' => 'string'], + 'type' => ['type' => 'string'], + ], + ], + 'MedicalKnowledgeInfo' => [ + 'type' => 'object', + 'properties' => [ + 'url' => ['type' => 'string'], + 'content' => ['type' => 'string'], + ], + ], + 'MedicalKnowResult' => [ + 'type' => 'object', + 'properties' => [ + 'requestId' => ['type' => 'string'], + 'queryContext' => ['$ref' => '#/components/schemas/MultimodalQueryContext'], + 'searchInformation' => ['$ref' => '#/components/schemas/UnifiedSearchInformation'], + 'messages' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/MedicalKnowledgeInfo'], ], ], ], 'MultimodalOriginalQuery' => [ 'type' => 'object', 'properties' => [ - 'query' => [ - 'type' => 'string', - ], + 'query' => ['type' => 'string'], ], ], 'MultimodalQueryContext' => [ 'description' => '原始查询内容', 'type' => 'object', 'properties' => [ - 'originalQuery' => [ - 'description' => '阿里巴巴', - '$ref' => '#/components/schemas/MultimodalOriginalQuery', - ], + 'originalQuery' => ['description' => '阿里巴巴', '$ref' => '#/components/schemas/MultimodalOriginalQuery'], ], ], 'MultimodalSearchBody' => [ 'description' => '搜索条件', 'type' => 'object', 'properties' => [ - 'query' => [ - 'description' => '查询内容', - 'type' => 'string', - 'example' => '阿里巴巴', - ], - 'advancedParams' => [ - 'description' => '附加查询项,比如屏蔽站点', - 'type' => 'object', - 'example' => '{'."\n" - .' "excludeSites": "www.360doc.com,weibo.com"'."\n" - .' }', - ], + 'query' => ['description' => '查询内容', 'type' => 'string', 'example' => '阿里巴巴'], + 'advancedParams' => ['description' => '附加查询项,比如屏蔽站点', 'type' => 'object', 'example' => '{'."\n" + .' "excludeSites": "www.360doc.com,weibo.com"'."\n" + .' }'], + 'engineType' => ['type' => 'string'], ], ], 'MultimodalSearchOutput' => [ 'description' => '查询结果', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'sdfsd234-2vxcg345-345vc', - ], - 'queryContext' => [ - 'description' => '查询上下文信息', - '$ref' => '#/components/schemas/MultimodalQueryContext', - ], - 'searchInformation' => [ - 'description' => '搜索基本信息', - '$ref' => '#/components/schemas/SearchInformation', - ], + 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'sdfsd234-2vxcg345-345vc'], + 'queryContext' => ['description' => '查询上下文信息', '$ref' => '#/components/schemas/MultimodalQueryContext'], + 'searchInformation' => ['description' => '搜索基本信息', '$ref' => '#/components/schemas/SearchInformation'], 'imageItems' => [ 'description' => '图像列表', 'type' => 'array', - 'items' => [ - 'description' => '图像信息', - '$ref' => '#/components/schemas/UnifiedImageItem', - ], + 'items' => ['description' => '图像信息', '$ref' => '#/components/schemas/UnifiedImageItem'], + ], + ], + ], + 'OmniSearchQuery' => [ + 'type' => 'object', + 'properties' => [ + 'query' => ['title' => '请求入参', 'type' => 'string', 'required' => true, 'example' => '今天杭州天气', 'maxLength' => 200, 'minLength' => 1], + 'sessionId' => ['title' => '会话id', 'type' => 'string'], + 'useCot' => ['title' => '是否使用cot', 'type' => 'boolean'], + 'useModel' => [ + 'type' => 'string', + 'default' => 'pro', + 'enum' => ['pro', 'lite'], ], ], ], + 'OmniSearchResult' => [ + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '请求ID', 'type' => 'string', 'example' => '35E5608A-A737-2038-AFB6-D9D34C6BFD9E'], + 'success' => ['title' => '是否成功', 'type' => 'string', 'example' => 'true'], + ], + ], 'QueryContext' => [ 'type' => 'object', 'properties' => [ @@ -437,63 +291,84 @@ 'title' => '初始查询条件', 'type' => 'object', 'properties' => [ - 'query' => [ - 'type' => 'string', - ], - 'timeRange' => [ - 'type' => 'string', - ], - 'industry' => [ - 'type' => 'string', - ], - 'page' => [ - 'type' => 'string', - ], + 'query' => ['type' => 'string'], + 'timeRange' => ['type' => 'string'], + 'industry' => ['type' => 'string'], + 'page' => ['type' => 'string'], ], ], 'rewrite' => [ 'type' => 'object', 'properties' => [ - 'enabled' => [ - 'title' => '改写是否开启', - 'type' => 'boolean', - ], - 'timeRange' => [ - 'title' => '改写后的timeRange,空标识无改写或者改写结果与原始结果一致', - 'type' => 'string', + 'enabled' => ['title' => '改写是否开启', 'type' => 'boolean'], + 'timeRange' => ['title' => '改写后的timeRange,空标识无改写或者改写结果与原始结果一致', 'type' => 'string'], + ], + ], + ], + ], + 'QueryResult' => [ + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'address' => ['type' => 'string'], + 'cityCode' => ['type' => 'string'], + 'cityName' => ['type' => 'string'], + 'districtCode' => ['type' => 'string'], + 'districtName' => ['type' => 'string'], + 'id' => ['type' => 'string'], + 'images' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'title' => ['type' => 'string'], + 'url' => ['type' => 'string'], + ], + ], + ], + 'latitude' => ['type' => 'string'], + 'longitude' => ['type' => 'string'], + 'metadata' => [ + 'type' => 'object', + 'properties' => [ + 'businessArea' => ['type' => 'string'], + 'dailyOpeningHours' => ['type' => 'string'], + 'mainTag' => ['type' => 'string'], + 'phone' => ['type' => 'string'], + 'score' => ['type' => 'string'], + 'weeklyOpeningDays' => ['type' => 'string'], + 'averageSpend' => ['type' => 'string'], + ], + ], + 'name' => ['type' => 'string'], + 'provinceCode' => ['type' => 'string'], + 'provinceName' => ['type' => 'string'], + 'typeCode' => ['type' => 'string'], + 'types' => ['type' => 'string'], + 'distanceMeter' => ['type' => 'string'], ], ], ], + 'requestId' => ['type' => 'string'], ], ], 'ReadPageBody' => [ 'description' => 'post body(json 格式)', 'type' => 'object', 'properties' => [ - 'url' => [ - 'description' => '解析的目标地址,必须以 http:// 或 https:// 开头', - 'type' => 'string', - 'required' => true, - 'example' => 'https://help.aliyun.com/document_detail/2837301.html?spm=a2c4g.11186623.help-menu-2837261.d_0_0_0.59ed3e95CppOt2&scm=20140722.H_2837301._.OR_help-T_cn~zh-V_1', - ], - 'timeout' => [ - 'description' => '全链路处理超时时间,单位:ms'."\n" - ."\n" - .'可选值:[0, 180000]'."\n" - ."\n" - .'默认值:60000', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60000', - ], - 'pageTimeout' => [ - 'description' => 'url 读取超时时间,pageTimeout 应小于 timeout 时长'."\n" - ."\n" - .'默认值:10000', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10000', - ], + 'url' => ['description' => '解析的目标地址,必须以 http:// 或 https:// 开头', 'type' => 'string', 'required' => true, 'example' => 'https://help.aliyun.com/document_detail/2837301.html?spm=a2c4g.11186623.help-menu-2837261.d_0_0_0.59ed3e95CppOt2&scm=20140722.H_2837301._.OR_help-T_cn~zh-V_1'], + 'timeout' => ['description' => '全链路处理超时时间,单位:ms'."\n" + ."\n" + .'可选值:[0, 180000]'."\n" + ."\n" + .'默认值:60000', 'type' => 'integer', 'format' => 'int32', 'example' => '60000'], + 'pageTimeout' => ['description' => 'url 读取超时时间,pageTimeout 应小于 timeout 时长'."\n" + ."\n" + .'默认值:10000', 'type' => 'integer', 'format' => 'int32', 'example' => '10000'], 'formats' => [ 'description' => '解析结果格式'."\n" .'- rawHtml:目标站点的 html'."\n" @@ -501,27 +376,14 @@ .'- markdown:根据 html 转换成的 markdown 内容'."\n" .'- text:html 中的文本内容', 'type' => 'array', - 'items' => [ - 'description' => '默认值:[\'html\', \'markdown\', \'text\']', - 'type' => 'string', - 'example' => '[\'html\', \'markdown\', \'text\']', - ], - ], - 'location' => [ - 'description' => '无需传入', - 'type' => 'string', - 'example' => 'null', - ], - 'maxAge' => [ - 'description' => '最大缓存时间,单位(秒),默认值:1296000。'."\n" - ."\n" - .'- 若缓存时间小于 maxAge,则返回缓存内容;'."\n" - ."\n" - .'- 若 maxAge 等于 0,则不使用缓存。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1296000', - ], + 'items' => ['description' => '默认值:[\'html\', \'markdown\', \'text\']', 'type' => 'string', 'example' => '[\'html\', \'markdown\', \'text\']'], + ], + 'location' => ['description' => '无需传入', 'type' => 'string', 'example' => 'null'], + 'maxAge' => ['description' => '最大缓存时间,单位(秒),默认值:1296000。'."\n" + ."\n" + .'- 若缓存时间小于 maxAge,则返回缓存内容;'."\n" + ."\n" + .'- 若 maxAge 等于 0,则不使用缓存。', 'type' => 'integer', 'format' => 'int32', 'example' => '1296000'], 'readability' => [ 'description' => '解析结果可读性配置', 'type' => 'object', @@ -533,35 +395,19 @@ ."\n" .'- article: 基于自研算法,获取站点主要正文内容(适用于博客、新闻站点,不适用于目录页、导航页)', 'type' => 'string', - 'enumValueTitles' => [ - 'normal' => 'normal', - 'none' => 'none', - 'article' => 'article', - ], + 'enumValueTitles' => ['normal' => 'normal', 'none' => 'none', 'article' => 'article'], 'example' => 'none', ], - 'excludeAllImages' => [ - 'description' => '是否剔除所有图片'."\n" - ."\n" - .'默认值:false', - 'type' => 'boolean', - 'example' => 'false', - ], - 'excludeAllLinks' => [ - 'description' => '是否剔除所有链接'."\n" - ."\n" - .'默认值:false', - 'type' => 'boolean', - 'example' => 'false', - ], + 'excludeAllImages' => ['description' => '是否剔除所有图片'."\n" + ."\n" + .'默认值:false', 'type' => 'boolean', 'example' => 'false'], + 'excludeAllLinks' => ['description' => '是否剔除所有链接'."\n" + ."\n" + .'默认值:false', 'type' => 'boolean', 'example' => 'false'], 'excludedTags' => [ 'description' => '指定排除的标签', 'type' => 'array', - 'items' => [ - 'description' => '[]', - 'type' => 'string', - 'example' => '[\'form\', \'header\', \'footer\', \'nav\']', - ], + 'items' => ['description' => '[]', 'type' => 'string', 'example' => '[\'form\', \'header\', \'footer\', \'nav\']'], ], ], ], @@ -571,128 +417,61 @@ 'description' => 'post body (json 格式)', 'type' => 'object', 'properties' => [ - 'statusCode' => [ - 'description' => '1. 若目标站点请求成功,返回目标 url 的 HttpCode。'."\n" - ."\n" - .'2. 若目标站点请求失败,返回 IQS 定制错误码:'."\n" - ."\n" - .' 2.1 4030:目标站点安全限制(robots.txt、安全策略等)'."\n" - .' '."\n" - .' 2.2 4080:请求超时'."\n" - .' '."\n" - .' 2.3 4290:触发站点限流策略'."\n" - .' '."\n" - .' 2.4 5010:未知异常', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'errorMessage' => [ - 'description' => '目标 url 相关的错误', - 'type' => 'string', - 'example' => 'null', - ], - 'rawHtml' => [ - 'description' => '目标 url 的原始 html', - 'type' => 'string', - 'example' => '<!doctype html><html lang=\\"en\\"><head><title>Example Domain</title><meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1\\"><style>body{background:#eee;width:60vw;margin:15vh auto;font-family:system-ui,sans-serif}h1{font-size:1.5em}div{opacity:0.8}a:link,a:visited{color:#348}</style><body><div><h1>Example Domain</h1><p>This domain is for use in documentation examples without needing permission. Avoid use in operations.<p><a href=\\"https://iana.org/domains/example\\">Learn more</a></div></body></html>\\n', - ], - 'html' => [ - 'description' => '目标 url 的可读 html', - 'type' => 'string', - 'example' => '<html>\\n<head><title>Example Domain</title></head>\\n<body><div>\\n<h1>Example Domain</h1>\\n<p>This domain is for use in documentation examples without needing permission. Avoid use in operations.</p>\\n<p><a href=\\"https://iana.org/domains/example\\">Learn more</a></p>\\n</div></body>\\n</html>', - ], - 'text' => [ - 'description' => '目标 url 的文本内容', - 'type' => 'string', - 'example' => '# Example Domain\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\nLearn more\\n', - ], - 'markdown' => [ - 'description' => '目标 url 的 markdown 内容', - 'type' => 'string', - 'example' => '# Example Domain\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\n[Learn more](https://iana.org/domains/example)\\n', - ], - 'screenshot' => [ - 'type' => 'string', - ], + 'statusCode' => ['description' => '1. 若目标站点请求成功,返回目标 url 的 HttpCode。'."\n" + ."\n" + .'2. 若目标站点请求失败,返回 IQS 定制错误码:'."\n" + ."\n" + .' 2.1 4030:目标站点安全限制(robots.txt、安全策略等)'."\n" + .' '."\n" + .' 2.2 4080:请求超时'."\n" + .' '."\n" + .' 2.3 4290:触发站点限流策略'."\n" + .' '."\n" + .' 2.4 5010:未知异常', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'errorMessage' => ['description' => '目标 url 相关的错误', 'type' => 'string', 'example' => 'null'], + 'rawHtml' => ['description' => '目标 url 的原始 html', 'type' => 'string', 'example' => '<!doctype html><html lang=\\"en\\"><head><title>Example Domain</title><meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1\\"><style>body{background:#eee;width:60vw;margin:15vh auto;font-family:system-ui,sans-serif}h1{font-size:1.5em}div{opacity:0.8}a:link,a:visited{color:#348}</style><body><div><h1>Example Domain</h1><p>This domain is for use in documentation examples without needing permission. Avoid use in operations.<p><a href=\\"https://iana.org/domains/example\\">Learn more</a></div></body></html>\\n'], + 'html' => ['description' => '目标 url 的可读 html', 'type' => 'string', 'example' => '<html>\\n<head><title>Example Domain</title></head>\\n<body><div>\\n<h1>Example Domain</h1>\\n<p>This domain is for use in documentation examples without needing permission. Avoid use in operations.</p>\\n<p><a href=\\"https://iana.org/domains/example\\">Learn more</a></p>\\n</div></body>\\n</html>'], + 'text' => ['description' => '目标 url 的文本内容', 'type' => 'string', 'example' => '# Example Domain\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\nLearn more\\n'], + 'markdown' => ['description' => '目标 url 的 markdown 内容', 'type' => 'string', 'example' => '# Example Domain\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\n[Learn more](https://iana.org/domains/example)\\n'], + 'screenshot' => ['type' => 'string', 'description' => ''], ], ], 'ReadPageScrapeBody' => [ 'description' => 'post body(json 格式)', 'type' => 'object', 'properties' => [ - 'url' => [ - 'description' => '解析的目标地址,必须以 http:// 或 https:// 开头', - 'type' => 'string', - 'required' => true, - 'example' => 'https://www.example.com', - ], - 'timeout' => [ - 'description' => '全链路处理超时时间,单位:ms'."\n" - ."\n" - .'可选值:[0, 180000]'."\n" - ."\n" - .'默认值:60000', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60000', - ], - 'pageTimeout' => [ - 'description' => '等待目标站点资源完全加载的超时时间,pageTimeout 应小于 timeout 时长'."\n" - ."\n" - .'默认值:15000', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15000', - ], - 'location' => [ - 'description' => '无需传入', - 'type' => 'string', - 'example' => 'null', - ], - 'maxAge' => [ - 'description' => '最大缓存时间,单位(秒),默认值:1296000。'."\n" - .'1. 若缓存时间小于 maxAge,则返回缓存内容;'."\n" - .'2. 若 maxAge 等于 0,则不使用缓存。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1296000', - ], + 'url' => ['description' => '解析的目标地址,必须以 http:// 或 https:// 开头', 'type' => 'string', 'required' => true, 'example' => 'https://www.example.com'], + 'timeout' => ['description' => '全链路处理超时时间,单位:ms'."\n" + ."\n" + .'可选值:[0, 180000]'."\n" + ."\n" + .'默认值:60000', 'type' => 'integer', 'format' => 'int32', 'example' => '60000'], + 'pageTimeout' => ['description' => '等待目标站点资源完全加载的超时时间,pageTimeout 应小于 timeout 时长'."\n" + ."\n" + .'默认值:15000', 'type' => 'integer', 'format' => 'int32', 'example' => '15000'], + 'location' => ['description' => '无需传入', 'type' => 'string', 'example' => 'null'], + 'maxAge' => ['description' => '最大缓存时间,单位(秒),默认值:1296000。'."\n" + .'1. 若缓存时间小于 maxAge,则返回缓存内容;'."\n" + .'2. 若 maxAge 等于 0,则不使用缓存。', 'type' => 'integer', 'format' => 'int32', 'example' => '1296000'], 'readability' => [ 'description' => '解析结果可读性配置', 'type' => 'object', 'properties' => [ - 'readabilityMode' => [ - 'description' => 'none:不删除信息,默认为 none'."\n" - ."\n" - .'normal: 基于自研算法,剔除目标页面无关信息(页头/页脚,导航等)'."\n" - ."\n" - .'article: 基于自研算法,获取站点主要正文内容(适用于博客、新闻站点,不适用于目录页、导航页)', - 'type' => 'string', - 'example' => 'none', - ], - 'excludeAllImages' => [ - 'description' => '是否剔除所有图片'."\n" - ."\n" - .'默认值:false', - 'type' => 'boolean', - 'example' => 'false', - ], - 'excludeAllLinks' => [ - 'description' => '是否剔除所有链接'."\n" - ."\n" - .'默认值:false', - 'type' => 'boolean', - 'example' => 'false', - ], + 'readabilityMode' => ['description' => 'none:不删除信息,默认为 none'."\n" + ."\n" + .'normal: 基于自研算法,剔除目标页面无关信息(页头/页脚,导航等)'."\n" + ."\n" + .'article: 基于自研算法,获取站点主要正文内容(适用于博客、新闻站点,不适用于目录页、导航页)', 'type' => 'string', 'example' => 'none'], + 'excludeAllImages' => ['description' => '是否剔除所有图片'."\n" + ."\n" + .'默认值:false', 'type' => 'boolean', 'example' => 'false'], + 'excludeAllLinks' => ['description' => '是否剔除所有链接'."\n" + ."\n" + .'默认值:false', 'type' => 'boolean', 'example' => 'false'], 'excludedTags' => [ 'description' => '指定排除的标签', 'type' => 'array', - 'items' => [ - 'description' => '[]', - 'type' => 'string', - 'example' => '[\'form\', \'header\', \'footer\', \'nav\']'."\n", - ], + 'items' => ['description' => '[]', 'type' => 'string', 'example' => '[\'form\', \'header\', \'footer\', \'nav\']'."\n"], ], ], ], @@ -705,12 +484,8 @@ .'- text:html 中的文本内容'."\n" .'- screenshot: 目标站点截图', 'type' => 'array', - 'items' => [ - 'description' => '默认值:["html", "markdown", "screenshot"]', - 'type' => 'string', - 'example' => '["html", "markdown", "screenshot"]'."\n" - ."\n", - ], + 'items' => ['description' => '默认值:["html", "markdown", "screenshot"]', 'type' => 'string', 'example' => '["html", "markdown", "screenshot"]'."\n" + ."\n"], ], ], ], @@ -718,40 +493,57 @@ 'description' => '搜索请求返回字段定义', 'type' => 'object', 'properties' => [ - 'mainText' => [ - 'title' => '是否返回正文, 默认:false', - 'description' => '是否返回正文, 默认:false', - 'type' => 'boolean', - ], - 'markdownText' => [ - 'title' => '是否返回markdown, 默认:false', - 'description' => '是否返回markdown, 默认:false', - 'type' => 'boolean', - ], - 'summary' => [ - 'title' => '是否返回增强summary, 默认:false, summary会单独收费', - 'description' => '是否返回增强summary, 默认:false, summary会单独收费', - 'type' => 'boolean', - ], - 'rerankScore' => [ - 'title' => '是否开启Rerank,并返回RerankScore, 默认:true', - 'description' => '是否开启Rerank,并返回RerankScore, 默认:true', - 'type' => 'boolean', - ], - 'richMainBody' => [ - 'type' => 'boolean', + 'mainText' => ['title' => '是否返回正文, 默认:false', 'description' => '是否返回正文, 默认:false', 'type' => 'boolean'], + 'markdownText' => ['title' => '是否返回markdown, 默认:false', 'description' => '是否返回markdown, 默认:false', 'type' => 'boolean'], + 'summary' => ['title' => '是否返回增强summary, 默认:false, summary会单独收费', 'description' => '是否返回增强summary, 默认:false, summary会单独收费', 'type' => 'boolean'], + 'rerankScore' => ['title' => '是否开启Rerank,并返回RerankScore, 默认:true', 'description' => '是否开启Rerank,并返回RerankScore, 默认:true', 'type' => 'boolean'], + 'richMainBody' => ['type' => 'boolean', 'description' => ''], + ], + ], + 'ScanFileInfo' => [ + 'description' => '扫描结果对象', + 'type' => 'object', + 'properties' => [ + 'angle' => ['description' => '图片旋转角度', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'height' => ['description' => '图片高度', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'width' => ['description' => '图片宽度', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'imageBase64' => ['description' => '图片base64编码', 'type' => 'string', 'format' => 'byte', 'example' => 'erwre'], + ], + ], + 'ScanFileInput' => [ + 'description' => '扫描文件请求', + 'type' => 'object', + 'properties' => [ + 'imageUrl' => ['description' => '图片地址', 'type' => 'string', 'example' => 'https://www.1241.png'], + 'imageBase64' => ['description' => '图片base64编码', 'type' => 'string', 'example' => 'wrwqr'], + 'scanFileInputConfig' => ['description' => '扫描参数', '$ref' => '#/components/schemas/ScanFileInputConfig'], + ], + ], + 'ScanFileInputConfig' => [ + 'type' => 'object', + 'properties' => [ + 'autoCrop' => ['type' => 'string'], + 'autoRotate' => ['type' => 'string'], + ], + ], + 'ScanFileOutput' => [ + 'description' => '扫描结果', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'], + 'searchInformation' => ['description' => '搜索执行信息', '$ref' => '#/components/schemas/UnifiedSearchInformation'], + 'scanFileInfoList' => [ + 'description' => '扫描结果对象列表', + 'type' => 'array', + 'items' => ['description' => '扫描结果对象', '$ref' => '#/components/schemas/ScanFileInfo'], ], ], ], 'SceneItem' => [ 'type' => 'object', 'properties' => [ - 'detail' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], + 'type' => ['type' => 'string'], + 'detail' => ['type' => 'string'], ], ], 'ScorePageItem' => [ @@ -759,153 +551,52 @@ 'description' => '搜索网页结果', 'type' => 'object', 'properties' => [ - 'publishTime' => [ - 'title' => '发布时间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1704426524000', - ], - 'score' => [ - 'title' => '分数', - 'type' => 'number', - 'format' => 'double', - 'required' => false, - 'example' => '0.234325235', - ], + 'publishTime' => ['title' => '发布时间', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1704426524000'], + 'score' => ['title' => '分数', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.234325235'], 'images' => [ 'title' => '图片信息', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/IncludeImage', - ], - 'required' => false, - ], - 'htmlTitle' => [ - 'title' => '搜索结果标题(HTML格式)', - 'type' => 'string', - 'required' => true, - 'example' => '<em>小米</em>SU7售价22.99万元起 高管亲自辟谣:发布前不会有<em>价格</em>-百家号', - ], - 'displayLink' => [ - 'title' => '此搜索结果网址的缩略版本', - 'type' => 'string', - 'required' => true, - 'example' => 'baijiahao.baidu.com', - ], - 'mime' => [ - 'title' => '搜索结果的MIME类型', - 'type' => 'string', + 'items' => ['required' => false, '$ref' => '#/components/schemas/IncludeImage'], 'required' => false, - 'example' => 'text/html', ], + 'htmlTitle' => ['title' => '搜索结果标题(HTML格式)', 'type' => 'string', 'required' => true, 'example' => '<em>小米</em>SU7售价22.99万元起 高管亲自辟谣:发布前不会有<em>价格</em>-百家号'], + 'displayLink' => ['title' => '此搜索结果网址的缩略版本', 'type' => 'string', 'required' => true, 'example' => 'baijiahao.baidu.com'], + 'mime' => ['title' => '搜索结果的MIME类型', 'type' => 'string', 'required' => false, 'example' => 'text/html'], 'pageMap' => [ 'title' => '补充页面信息', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'title' => '补充页面信息', - 'type' => 'string', - 'required' => false, - ], - ], - 'cardType' => [ - 'title' => '搜索结果模板,不同模板返回的字段不同', - 'type' => 'string', - 'required' => true, - 'example' => 'structure_web_info', - ], - 'link' => [ - 'title' => '搜索结果指向的完整网址', - 'type' => 'string', - 'required' => true, - 'example' => 'https://baijiahao.baidu.com/s?id=1787881554557805096', - ], - 'mainText' => [ - 'title' => '搜索结果的全文本,部分场景存在', - 'type' => 'string', - 'required' => false, - 'example' => '昨天 , 小米 汽车 没有 发布 , 但 相关 的 信息 透露 的 差 不 多 了 。 '."\n" - .' 在 发布 会 现场 , 雷军 直接 称 小米 S U 7 对 标 特斯拉 保时捷 , 有 100 项 行业 领先 , 可见 “ 遥遥 领先 ” 已经 不再 是 华为 专利 了 ? '."\n" - .' '."\n" - .' 而 在 介绍 技术 时 , 雷军 也 从 电机 、 电池 、 大 压铸 、 自动 驾驶 、 智能 座舱 等 五 大 方面 展开 , 充分 展示 了 小米 汽车 的 技术 以及 技术 储备 , 能 堆 的 料 , 全都 堆 上去 了 … … '."\n" - .' 大家 比较 感 兴趣 的 性能 方面 , 2 . 78 s 的 0 - 100 km / h 加速 , 265 km / h 的 最高 时速 ', - ], - 'htmlSnippet' => [ - 'title' => '搜索结果的description截取(HTML格式)', - 'type' => 'string', - 'required' => true, - 'example' => '100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,<em>小米SU7</em>确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...', - ], - 'title' => [ - 'title' => '搜索结果标题(纯文本)', - 'type' => 'string', - 'required' => true, - 'example' => '小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格', - ], - 'hostname' => [ - 'title' => '站点名称', - 'type' => 'string', - 'example' => '新华网', - ], - 'hostLogo' => [ - 'title' => '站点的logo', - 'type' => 'string', - 'example' => 'https://s2.zimgs.cn/ims?kt=url&at=smstruct&key=aHR0cHM6Ly9ndy5hbGljZG4uY29tL0wxLzcyMy8xNTY1MjU2NjAwLzJhL2YwL2I0LzJhZjBiNDQxMGI5YmVlMDVjOGVlNGJmODk3MTNkNTFjLnBuZw==&sign=yx:CUlNNQVJQjFrk3Kxt2F3KWhTOFU=&tv=400_400', - ], - 'siteLabel' => [ - 'title' => '站点标签:目前支持两种,'."\n" - .'* 权威媒体'."\n" - .' * 党政机关', - 'type' => 'string', - 'example' => '权威媒体', - ], - 'markdownText' => [ - 'type' => 'string', - ], - 'snippet' => [ - 'title' => '搜索结果的description截取(文本格式)', - 'type' => 'string', - 'example' => '100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...', - ], - 'summary' => [ - 'type' => 'string', - ], - 'hostAuthorityScore' => [ - 'type' => 'number', - 'format' => 'double', - ], - 'richMainBody' => [ - 'type' => 'string', - ], - 'websiteAuthorityScore' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'correlationTag' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'additionalProperties' => ['title' => '补充页面信息', 'type' => 'string', 'required' => false], + ], + 'cardType' => ['title' => '搜索结果模板,不同模板返回的字段不同', 'type' => 'string', 'required' => true, 'example' => 'structure_web_info'], + 'link' => ['title' => '搜索结果指向的完整网址', 'type' => 'string', 'required' => true, 'example' => 'https://baijiahao.baidu.com/s?id=1787881554557805096'], + 'mainText' => ['title' => '搜索结果的全文本,部分场景存在', 'type' => 'string', 'required' => false, 'example' => '昨天 , 小米 汽车 没有 发布 , 但 相关 的 信息 透露 的 差 不 多 了 。 '."\n" + .' 在 发布 会 现场 , 雷军 直接 称 小米 S U 7 对 标 特斯拉 保时捷 , 有 100 项 行业 领先 , 可见 “ 遥遥 领先 ” 已经 不再 是 华为 专利 了 ? '."\n" + .' '."\n" + .' 而 在 介绍 技术 时 , 雷军 也 从 电机 、 电池 、 大 压铸 、 自动 驾驶 、 智能 座舱 等 五 大 方面 展开 , 充分 展示 了 小米 汽车 的 技术 以及 技术 储备 , 能 堆 的 料 , 全都 堆 上去 了 … … '."\n" + .' 大家 比较 感 兴趣 的 性能 方面 , 2 . 78 s 的 0 - 100 km / h 加速 , 265 km / h 的 最高 时速 '], + 'htmlSnippet' => ['title' => '搜索结果的description截取(HTML格式)', 'type' => 'string', 'required' => true, 'example' => '100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,<em>小米SU7</em>确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...'], + 'title' => ['title' => '搜索结果标题(纯文本)', 'type' => 'string', 'required' => true, 'example' => '小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格'], + 'hostname' => ['title' => '站点名称', 'type' => 'string', 'example' => '新华网'], + 'hostLogo' => ['title' => '站点的logo', 'type' => 'string', 'example' => 'https://s2.zimgs.cn/ims?kt=url&at=smstruct&key=aHR0cHM6Ly9ndy5hbGljZG4uY29tL0wxLzcyMy8xNTY1MjU2NjAwLzJhL2YwL2I0LzJhZjBiNDQxMGI5YmVlMDVjOGVlNGJmODk3MTNkNTFjLnBuZw==&sign=yx:CUlNNQVJQjFrk3Kxt2F3KWhTOFU=&tv=400_400'], + 'siteLabel' => ['title' => '站点标签:目前支持两种,'."\n" + .'* 权威媒体'."\n" + .' * 党政机关', 'type' => 'string', 'example' => '权威媒体'], + 'markdownText' => ['type' => 'string'], + 'snippet' => ['title' => '搜索结果的description截取(文本格式)', 'type' => 'string', 'example' => '100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...'], + 'summary' => ['type' => 'string'], + 'hostAuthorityScore' => ['type' => 'number', 'format' => 'double'], + 'richMainBody' => ['type' => 'string'], + 'websiteAuthorityScore' => ['type' => 'integer', 'format' => 'int32'], + 'correlationTag' => ['type' => 'integer', 'format' => 'int32'], ], ], 'SearchCredits' => [ 'description' => '基础搜索服务计量', 'type' => 'object', 'properties' => [ - 'genericTextSearch' => [ - 'title' => '基础版文本搜索次数', - 'description' => '基础版文本搜索次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'liteAdvancedTextSearch' => [ - 'title' => 'LiteAdvanced搜索次数', - 'description' => 'LiteAdvanced搜索次数', - 'type' => 'integer', - 'format' => 'int32', - ], + 'genericTextSearch' => ['title' => '基础版文本搜索次数', 'description' => '基础版文本搜索次数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'liteAdvancedTextSearch' => ['title' => 'LiteAdvanced搜索次数', 'description' => 'LiteAdvanced搜索次数', 'type' => 'integer', 'format' => 'int32'], ], ], 'SearchInformation' => [ @@ -913,88 +604,36 @@ 'description' => '搜索执行信息', 'type' => 'object', 'properties' => [ - 'total' => [ - 'title' => '总数', - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '13', - ], - 'searchTime' => [ - 'title' => '搜索时间(ms)', - 'description' => '搜索时间(ms)', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '700', - ], + 'total' => ['title' => '总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int64', 'example' => '13'], + 'searchTime' => ['title' => '搜索时间(ms)', 'description' => '搜索时间(ms)', 'type' => 'integer', 'format' => 'int64', 'example' => '700'], ], ], 'UnifiedCostCredits' => [ 'description' => '搜索请求计量信息', 'type' => 'object', 'properties' => [ - 'search' => [ - 'description' => '基本搜索服务计量', - '$ref' => '#/components/schemas/SearchCredits', - ], - 'valueAdded' => [ - 'description' => '增值包服务计量', - '$ref' => '#/components/schemas/ValueAddedCredits', - ], + 'search' => ['description' => '基本搜索服务计量', '$ref' => '#/components/schemas/SearchCredits'], + 'valueAdded' => ['description' => '增值包服务计量', '$ref' => '#/components/schemas/ValueAddedCredits'], ], ], 'UnifiedImageItem' => [ 'description' => '图片信息', 'type' => 'object', 'properties' => [ - 'publishedTime' => [ - 'description' => '网页发布时间,ISO时间格式', - 'type' => 'string', - 'example' => '2022-07-05T00:54:42+08:00', - ], - 'title' => [ - 'description' => '图片标题', - 'type' => 'string', - 'example' => '阿里巴巴现在以主业上为主,以电商为主,以能够盈利的业务为主', - ], - 'imageUrl' => [ - 'description' => '图片地址', - 'type' => 'string', - 'example' => 'http://pic.rmb.bdstatic.com/bjh/bb87f566c0c/241218/f7936f25837b20211e5ef88d7980c143.jpeg', - ], - 'hostPageUrl' => [ - 'description' => '图片所属网页地址', - 'type' => 'string', - 'example' => 'http://mbd.baidu.com/newspage/data/dtlandingsuper?nid=dt_4541580238898912926', - ], - 'height' => [ - 'description' => '高度', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1330', - ], - 'width' => [ - 'description' => '图片宽度', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], + 'publishedTime' => ['description' => '网页发布时间,ISO时间格式', 'type' => 'string', 'example' => '2022-07-05T00:54:42+08:00'], + 'title' => ['description' => '图片标题', 'type' => 'string', 'example' => '阿里巴巴现在以主业上为主,以电商为主,以能够盈利的业务为主'], + 'imageUrl' => ['description' => '图片地址', 'type' => 'string', 'example' => 'http://pic.rmb.bdstatic.com/bjh/bb87f566c0c/241218/f7936f25837b20211e5ef88d7980c143.jpeg'], + 'hostPageUrl' => ['description' => '图片所属网页地址', 'type' => 'string', 'example' => 'http://mbd.baidu.com/newspage/data/dtlandingsuper?nid=dt_4541580238898912926'], + 'height' => ['description' => '高度', 'type' => 'integer', 'format' => 'int32', 'example' => '1330'], + 'width' => ['description' => '图片宽度', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], ], ], 'UnifiedOriginalQuery' => [ 'description' => '原始请求', 'type' => 'object', 'properties' => [ - 'query' => [ - 'description' => '请求Query', - 'type' => 'string', - 'example' => '杭州美食', - ], - 'timeRange' => [ - 'description' => '发布时间范围', - 'type' => 'string', - 'example' => 'NoLimit', - ], + 'query' => ['description' => '请求Query', 'type' => 'string', 'example' => '杭州美食'], + 'timeRange' => ['description' => '发布时间范围', 'type' => 'string', 'example' => 'NoLimit'], ], ], 'UnifiedPageItem' => [ @@ -1002,271 +641,160 @@ 'description' => '搜索网页结果', 'type' => 'object', 'properties' => [ - 'title' => [ - 'title' => '搜索结果指向的完整网址', - 'description' => '搜索结果指向的完整网址', - 'type' => 'string', - 'example' => '上海车展大佬齐聚 问界成为话题中心', - ], - 'link' => [ - 'title' => '搜索结果指向的完整网址', - 'description' => '搜索结果指向的完整网址', - 'type' => 'string', - 'example' => 'https://hea.china.com/articles/20250427/202504271666343.html', - ], - 'snippet' => [ - 'title' => '文本摘要', - 'description' => '文本摘要', - 'type' => 'string', - 'example' => '2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。 ...', - ], - 'publishedTime' => [ - 'title' => '网页发布时间,ISO时间格式', - 'description' => '网页发布时间,ISO时间格式', - 'type' => 'string', - 'example' => '2025-04-27T20:36:04+08:00', - ], - 'mainText' => [ - 'title' => '搜索网页的全文', - 'description' => '搜索网页的全文', - 'type' => 'string', - 'example' => '2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。\\n“问界M9、M8正重构 中国 豪华汽车市场格局。”张兴海说, (此处省略....)。\\n责任编辑:kj005\\n 文章投诉热线:157 3889 8464 投诉邮箱:7983347 16@qq.com\\n关键词:', - ], - 'markdownText' => [ - 'title' => 'markdown内容', - 'description' => 'markdown内容', - 'type' => 'string', - 'example' => '# 上海车展大佬齐聚 问界成为话题中心**来源**:财讯网 '."\n" - .'**时间**:2025-04-27 20:36:04 '."\n" - .'2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。'."\n" - .'余承东表示,问界M9、M8、M7和M5,都深受消费者喜爱!问界M9连续3个月中国纯电车型保值率第一!纯电、增程车型包揽新能源大型SUV保值率前两名!'."\n" - .'“自己是问界M9的用户'."\n" - .'*责任编辑:kj005*文章投诉热线: 157 3889 8464 '."\n" - .'投诉邮箱: 798334716@qq.com ', - ], + 'title' => ['title' => '搜索结果指向的完整网址', 'description' => '搜索结果指向的完整网址', 'type' => 'string', 'example' => '上海车展大佬齐聚 问界成为话题中心'], + 'link' => ['title' => '搜索结果指向的完整网址', 'description' => '搜索结果指向的完整网址', 'type' => 'string', 'example' => 'https://hea.china.com/articles/20250427/202504271666343.html'], + 'snippet' => ['title' => '文本摘要', 'description' => '文本摘要', 'type' => 'string', 'example' => '2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。 ...'], + 'publishedTime' => ['title' => '网页发布时间,ISO时间格式', 'description' => '网页发布时间,ISO时间格式', 'type' => 'string', 'example' => '2025-04-27T20:36:04+08:00'], + 'mainText' => ['title' => '搜索网页的全文', 'description' => '搜索网页的全文', 'type' => 'string', 'example' => '2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。\\n“问界M9、M8正重构 中国 豪华汽车市场格局。”张兴海说, (此处省略....)。\\n责任编辑:kj005\\n 文章投诉热线:157 3889 8464 投诉邮箱:7983347 16@qq.com\\n关键词:'], + 'markdownText' => ['title' => 'markdown内容', 'description' => 'markdown内容', 'type' => 'string', 'example' => '# 上海车展大佬齐聚 问界成为话题中心**来源**:财讯网 '."\n" + .'**时间**:2025-04-27 20:36:04 '."\n" + .'2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。'."\n" + .'余承东表示,问界M9、M8、M7和M5,都深受消费者喜爱!问界M9连续3个月中国纯电车型保值率第一!纯电、增程车型包揽新能源大型SUV保值率前两名!'."\n" + .'“自己是问界M9的用户'."\n" + .'*责任编辑:kj005*文章投诉热线: 157 3889 8464 '."\n" + .'投诉邮箱: 798334716@qq.com '], 'images' => [ 'title' => '搜索结果网址中的图片,最多三张', 'description' => '搜索结果网址中的图片,最多三张', 'type' => 'array', - 'items' => [ - 'description' => '图片地址', - 'type' => 'string', - 'example' => '["http://objectnsg.oss-cn-beijing.aliyuncs.com/yhdoc/202504/27/202504272025531927023138.png"]', - ], - ], - 'hostname' => [ - 'title' => '站点名称', - 'description' => '站点名称', - 'type' => 'string', - 'example' => '中华网', - ], - 'hostLogo' => [ - 'title' => '站点Logo', - 'description' => '站点Logo', - 'type' => 'string', - 'example' => 'https://www.china.com/zh_cn/img1905/2023/logo.png', - ], - 'summary' => [ - 'title' => '增强摘要,400字+', - 'description' => '增强摘要,400字+', - 'type' => 'string', - 'example' => '2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。“自己是问界M9的用户,用车感受非常好。”陈道明表示,体验后才敢现场给大家推荐。未来,希望能实现问界M9的特别定制,让外观、内饰、座椅布局等,更符合自己的使用需求。据悉,2025款问界M9上市25天就交付超1万,已连续11个月蝉联50万元级豪车车销冠;问界M8上市4天,大定就突破了五万 台 ,深受市场任何和用户喜爱...“问界M9、M8正重构 中国 豪华汽车市场格局。”张兴海说, 近 期曾极限试驾问界M8,从重庆出发,历时55小时、行驶超3500公里抵达冈仁波齐。整个行程中,车辆的安全 性 和体验感都表现出色。', - ], - 'rerankScore' => [ - 'title' => 'rerank分数', - 'description' => 'rerank分数', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.7786493301391602', - ], - 'hostAuthorityScore' => [ - 'type' => 'number', - 'format' => 'double', - ], - 'richMainBody' => [ - 'type' => 'string', - ], - 'websiteAuthorityScore' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'correlationTag' => [ - 'type' => 'integer', - 'format' => 'int32', + 'items' => ['description' => '图片地址', 'type' => 'string', 'example' => '["http://objectnsg.oss-cn-beijing.aliyuncs.com/yhdoc/202504/27/202504272025531927023138.png"]'], ], + 'hostname' => ['title' => '站点名称', 'description' => '站点名称', 'type' => 'string', 'example' => '中华网'], + 'hostLogo' => ['title' => '站点Logo', 'description' => '站点Logo', 'type' => 'string', 'example' => 'https://www.china.com/zh_cn/img1905/2023/logo.png'], + 'summary' => ['title' => '增强摘要,400字+', 'description' => '增强摘要,400字+', 'type' => 'string', 'example' => '2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。“自己是问界M9的用户,用车感受非常好。”陈道明表示,体验后才敢现场给大家推荐。未来,希望能实现问界M9的特别定制,让外观、内饰、座椅布局等,更符合自己的使用需求。据悉,2025款问界M9上市25天就交付超1万,已连续11个月蝉联50万元级豪车车销冠;问界M8上市4天,大定就突破了五万 台 ,深受市场任何和用户喜爱...“问界M9、M8正重构 中国 豪华汽车市场格局。”张兴海说, 近 期曾极限试驾问界M8,从重庆出发,历时55小时、行驶超3500公里抵达冈仁波齐。整个行程中,车辆的安全 性 和体验感都表现出色。'], + 'rerankScore' => ['title' => 'rerank分数', 'description' => 'rerank分数', 'type' => 'number', 'format' => 'double', 'example' => '0.7786493301391602'], + 'hostAuthorityScore' => ['type' => 'number', 'format' => 'double', 'description' => ''], + 'richMainBody' => ['type' => 'string', 'description' => ''], + 'websiteAuthorityScore' => ['type' => 'integer', 'format' => 'int32', 'description' => ''], + 'correlationTag' => ['type' => 'integer', 'format' => 'int32', 'description' => ''], + 'tags' => ['title' => '网页标签', 'type' => 'object'], ], ], 'UnifiedQueryContext' => [ 'description' => '搜索上下文', 'type' => 'object', 'properties' => [ - 'engineType' => [ - 'title' => '使用的搜索引擎', - 'description' => '使用的搜索引擎', - 'type' => 'string', - 'example' => 'Generic', - ], - 'originalQuery' => [ - 'title' => '初始请求', - 'description' => '初始请求', - '$ref' => '#/components/schemas/UnifiedOriginalQuery', - ], - 'rewrite' => [ - 'title' => '改写后的结果', - 'description' => '改写后的结果', - '$ref' => '#/components/schemas/UnifiedRewrite', - ], + 'engineType' => ['title' => '使用的搜索引擎', 'description' => '使用的搜索引擎', 'type' => 'string', 'example' => 'Generic'], + 'originalQuery' => ['title' => '初始请求', 'description' => '初始请求', '$ref' => '#/components/schemas/UnifiedOriginalQuery'], + 'rewrite' => ['title' => '改写后的结果', 'description' => '改写后的结果', '$ref' => '#/components/schemas/UnifiedRewrite'], ], ], 'UnifiedRewrite' => [ 'description' => '改写后请求', 'type' => 'object', 'properties' => [ - 'enabled' => [ - 'title' => '改写是否开启', - 'description' => '改写是否开启', - 'type' => 'boolean', - 'example' => 'true', - ], - 'timeRange' => [ - 'title' => '改写后的timeRange', - 'description' => '改写后的timeRange', - 'type' => 'string', - 'example' => 'OneYear', - ], + 'enabled' => ['title' => '改写是否开启', 'description' => '改写是否开启', 'type' => 'boolean', 'example' => 'true'], + 'timeRange' => ['title' => '改写后的timeRange', 'description' => '改写后的timeRange', 'type' => 'string', 'example' => 'OneYear'], ], ], 'UnifiedSceneItem' => [ 'description' => '垂直场景结果', 'type' => 'object', 'properties' => [ - 'detail' => [ - 'title' => 'Json结构的结果', - 'description' => 'Json结构的结果', - 'type' => 'string', - 'example' => '{\\"title\\": \\"伦敦时间\\", \\"targetTimeZone\\": \\"Europe/London\\", \\"targetTimeMillisecond\\": \\"1745820817178\\", \\"targetTime\\": \\"2025-04-28 14:13:37\\", \\"beijingTimeZone\\": \\"PRC\\", \\"beijingTimeMillisecond\\": \\"1745846017178\\"}', - ], - 'type' => [ - 'title' => '类型', - 'description' => '类型', - 'type' => 'string', - 'example' => 'time', - ], + 'type' => ['title' => '类型', 'description' => '类型', 'type' => 'string', 'example' => 'time'], + 'detail' => ['title' => 'Json结构的结果', 'description' => 'Json结构的结果', 'type' => 'string', 'example' => '{\\"title\\": \\"伦敦时间\\", \\"targetTimeZone\\": \\"Europe/London\\", \\"targetTimeMillisecond\\": \\"1745820817178\\", \\"targetTime\\": \\"2025-04-28 14:13:37\\", \\"beijingTimeZone\\": \\"PRC\\", \\"beijingTimeMillisecond\\": \\"1745846017178\\"}'], ], ], 'UnifiedSearchInformation' => [ 'description' => '搜索基本信息', 'type' => 'object', 'properties' => [ - 'searchTime' => [ - 'title' => '搜索耗时,ms', - 'description' => '搜索耗时,ms', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1028', - ], + 'searchTime' => ['title' => '搜索耗时,ms', 'description' => '搜索耗时,ms', 'type' => 'integer', 'format' => 'int64', 'example' => '1028'], ], ], 'UnifiedSearchInput' => [ 'type' => 'object', 'properties' => [ - 'contents' => [ - '$ref' => '#/components/schemas/RequestContents', - ], - 'query' => [ - 'title' => '查询内容,长度限制:1-100', - 'type' => 'string', - ], + 'contents' => ['$ref' => '#/components/schemas/RequestContents'], + 'query' => ['title' => '查询内容,长度限制:1-100', 'type' => 'string'], 'engineType' => [ 'title' => '引擎类型:默认:Generic;可选值:Generic/GenericAdvanced, GenericAdvanced会单独计费返回更多条记录', 'type' => 'string', - 'enum' => [ - 'Generic', - 'GenericAdvanced', - 'LiteAdvanced', - ], - ], - 'category' => [ - 'type' => 'string', + 'enum' => ['Generic', 'GenericAdvanced', 'LiteAdvanced', 'Deep'], ], + 'category' => ['type' => 'string'], 'timeRange' => [ 'title' => '内容发布时间范围', 'type' => 'string', - 'enum' => [ - 'OneDay', - 'OneWeek', - 'OneMonth', - 'OneYear', - 'NoLimit', - ], - ], - 'location' => [ - 'type' => 'string', - ], - 'locationInfo' => [ - '$ref' => '#/components/schemas/LocationInfo', - ], - 'advancedParams' => [ - 'title' => '高级搜索参数', - 'type' => 'object', + 'enum' => ['OneDay', 'OneWeek', 'OneMonth', 'OneYear', 'NoLimit'], ], + 'location' => ['type' => 'string'], + 'locationInfo' => ['$ref' => '#/components/schemas/LocationInfo'], + 'advancedParams' => ['title' => '高级搜索参数', 'type' => 'object'], ], ], 'UnifiedSearchOutput' => [ 'title' => 'requestId,用于问题排查', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => '网页结果', + 'requestId' => ['title' => '网页结果', 'type' => 'string'], + 'queryContext' => ['title' => '搜索上下文信息', '$ref' => '#/components/schemas/UnifiedQueryContext'], + 'pageItems' => [ + 'title' => '网页搜索结果', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/UnifiedPageItem'], + ], + 'sceneItems' => [ + 'title' => '垂直API场景化结果', + 'type' => 'array', + 'items' => ['title' => '', '$ref' => '#/components/schemas/UnifiedSceneItem'], + ], + 'costCredits' => ['title' => '消耗的次数信息', '$ref' => '#/components/schemas/UnifiedCostCredits'], + 'searchInformation' => ['title' => '搜索基本信息', '$ref' => '#/components/schemas/UnifiedSearchInformation'], + ], + ], + 'UnifiedSearchRequest' => [ + 'description' => '搜索请求参数', + 'type' => 'object', + 'properties' => [ + 'contents' => ['description' => '搜索请求返回字段定义', '$ref' => '#/components/schemas/RequestContents'], + 'query' => ['title' => '查询内容,长度限制:1-100', 'description' => '查询内容,长度限制:1-100', 'type' => 'string', 'example' => '杭州美食'], + 'engineType' => [ + 'title' => '引擎类型:默认:Generic;可选值:Generic/GenericAdvanced, GenericAdvanced会单独计费返回更多条记录', + 'description' => '引擎类型:默认:Generic;可选值:Generic/GenericAdvanced, GenericAdvanced会单独计费返回更多条记录', 'type' => 'string', + 'example' => 'Generic', + 'enum' => ['Generic', 'GenericAdvanced'], ], - 'queryContext' => [ - 'title' => '搜索上下文信息', - '$ref' => '#/components/schemas/UnifiedQueryContext', + 'category' => ['description' => '查询分类,指定后只返回分类站点的搜索结果,多个行业使用逗号分隔', 'type' => 'string', 'example' => 'finance'], + 'timeRange' => [ + 'title' => '内容发布时间范围', + 'description' => '内容发布时间范围', + 'type' => 'string', + 'example' => 'NoLimit', + 'enum' => ['OneDay', 'OneWeek', 'OneMonth', 'OneYear', 'NoLimit'], ], + ], + ], + 'UnifiedSearchResponse' => [ + 'title' => 'requestId,用于问题排查', + 'description' => 'requestId,用于问题排查', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '网页结果', 'description' => '网页结果', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'], + 'queryContext' => ['title' => '搜索上下文信息', 'description' => '搜索上下文信息', '$ref' => '#/components/schemas/UnifiedQueryContext'], 'pageItems' => [ 'title' => '网页搜索结果', + 'description' => '网页搜索结果', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/UnifiedPageItem', - ], + 'items' => ['description' => '召回网页内容', '$ref' => '#/components/schemas/UnifiedPageItem'], ], 'sceneItems' => [ 'title' => '垂直API场景化结果', + 'description' => '垂直API场景化结果', 'type' => 'array', - 'items' => [ - 'title' => '', - '$ref' => '#/components/schemas/UnifiedSceneItem', - ], - ], - 'costCredits' => [ - 'title' => '消耗的次数信息', - '$ref' => '#/components/schemas/UnifiedCostCredits', - ], - 'searchInformation' => [ - 'title' => '搜索基本信息', - '$ref' => '#/components/schemas/UnifiedSearchInformation', + 'items' => ['title' => '', 'description' => '场景化垂类API结构体', '$ref' => '#/components/schemas/UnifiedSceneItem'], ], + 'costCredits' => ['title' => '消耗的次数信息', 'description' => '消耗的次数信息', '$ref' => '#/components/schemas/UnifiedCostCredits'], + 'searchInformation' => ['title' => '搜索基本信息', 'description' => '搜索基本信息', '$ref' => '#/components/schemas/UnifiedSearchInformation'], ], ], 'ValueAddedCredits' => [ 'description' => '增值包计量信息', 'type' => 'object', 'properties' => [ - 'summary' => [ - 'title' => '增值包-增强摘要', - 'description' => '增值包-增强摘要', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'advanced' => [ - 'title' => '增值包-增强版搜索', - 'description' => '增值包-增强版搜索', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'summary' => ['title' => '增值包-增强摘要', 'description' => '增值包-增强摘要', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'advanced' => ['title' => '增值包-增强版搜索', 'description' => '增值包-增强版搜索', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], ], ], 'WeiboItem' => [ @@ -1277,379 +805,65 @@ 'images' => [ 'title' => '图片信息', 'type' => 'array', - 'items' => [ - 'title' => '微博的附带图片', - 'type' => 'string', - 'required' => false, - 'example' => 'http://s2.zimgs.cn/ims?at=sc&kt=url&key=aHR0cHM6Ly93eDIuc2luYWltZy5jbi9vcmozNjAvMDA3Umc1eHVseTFob3RsenJ5YjVkajMwaWgwYTY0M2UuanBn&sign=yx:PfSsUObz9lhnCl5gf5vY-GeYrm0=&tv=0_0&p=', - ], - 'required' => false, - ], - 'publishDisplayTime' => [ - 'title' => '发布时间', - 'type' => 'string', - 'required' => true, - 'example' => '1小时前', - ], - 'cardType' => [ - 'title' => '搜索结果模板,微博场景固定为:weibo_strong', - 'type' => 'string', - 'required' => true, - 'example' => 'weibo_strong', - ], - 'homepageLink' => [ - 'title' => '用户的微博主页', - 'type' => 'string', + 'items' => ['title' => '微博的附带图片', 'type' => 'string', 'required' => false, 'example' => 'http://s2.zimgs.cn/ims?at=sc&kt=url&key=aHR0cHM6Ly93eDIuc2luYWltZy5jbi9vcmozNjAvMDA3Umc1eHVseTFob3RsenJ5YjVkajMwaWgwYTY0M2UuanBn&sign=yx:PfSsUObz9lhnCl5gf5vY-GeYrm0=&tv=0_0&p='], 'required' => false, - 'example' => 'https://m.weibo.cn/u/7761793874?luicode=20000061&lfid=5024099350350075', - ], - 'link' => [ - 'title' => '搜索结果微博地址', - 'type' => 'string', - 'required' => true, - 'example' => 'https://m.weibo.cn/detail/5024099350350075?wm=90194_90009', - ], - 'htmlSnippet' => [ - 'title' => '微博内容', - 'type' => 'string', - 'required' => true, - 'example' => '【小调查:你会买<em>小米SU7</em>吗?】#小米SU7路测覆盖300多城市#4月17日,@小米汽车 发文称SU7道路测试覆盖全国300多个城市,涵盖极寒,极热天气,总里程数高达540万公里,目前仍在进行中。 网页链接', - ], - 'username' => [ - 'title' => '微博用户名', - 'type' => 'string', - 'required' => false, - 'example' => '白鹿科技', ], + 'publishDisplayTime' => ['title' => '发布时间', 'type' => 'string', 'required' => true, 'example' => '1小时前'], + 'cardType' => ['title' => '搜索结果模板,微博场景固定为:weibo_strong', 'type' => 'string', 'required' => true, 'example' => 'weibo_strong'], + 'homepageLink' => ['title' => '用户的微博主页', 'type' => 'string', 'required' => false, 'example' => 'https://m.weibo.cn/u/7761793874?luicode=20000061&lfid=5024099350350075'], + 'link' => ['title' => '搜索结果微博地址', 'type' => 'string', 'required' => true, 'example' => 'https://m.weibo.cn/detail/5024099350350075?wm=90194_90009'], + 'htmlSnippet' => ['title' => '微博内容', 'type' => 'string', 'required' => true, 'example' => '【小调查:你会买<em>小米SU7</em>吗?】#小米SU7路测覆盖300多城市#4月17日,@小米汽车 发文称SU7道路测试覆盖全国300多个城市,涵盖极寒,极热天气,总里程数高达540万公里,目前仍在进行中。 网页链接'], + 'username' => ['title' => '微博用户名', 'type' => 'string', 'required' => false, 'example' => '白鹿科技'], ], ], ], ], 'apis' => [ - 'UnifiedSearch' => [ - 'summary' => '通晓统一搜索API,简单快捷的接入全网通用搜索能力。', - 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/search/unified', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpF36Z7L', - 'FEATUREalibababcpLJW8HN', - 'FEATUREalibababcpPYBUBJ', - 'FEATUREalibababcpRLTK4J', - 'FEATUREalibababcpVV9OXO', - 'FEATUREalibababcpSJV4QL', - 'FEATUREalibababcpTYS4DT', - 'FEATUREalibababcpCIGQ7X', - 'FEATUREalibababcpJ4YYLV', - ], - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'schema' => [ - 'description' => '搜索请求参数', - 'required' => false, - '$ref' => '#/components/schemas/UnifiedSearchInput', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '搜索返回参数', - '$ref' => '#/components/schemas/UnifiedSearchOutput', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"queryContext\\": {\\n \\"engineType\\": \\"\\",\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\"\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n },\\n \\"pageItems\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"link\\": \\"\\",\\n \\"snippet\\": \\"\\",\\n \\"publishedTime\\": \\"2025-04-07T10:15:30.123+08:00\\",\\n \\"mainText\\": \\"\\",\\n \\"markdownText\\": \\"\\",\\n \\"images\\": [\\n \\"\\"\\n ],\\n \\"hostname\\": \\"\\",\\n \\"hostLogo\\": \\"\\",\\n \\"summary\\": \\"\\",\\n \\"rerankScore\\": 0,\\n \\"hostAuthorityScore\\": 0,\\n \\"richMainBody\\": \\"\\",\\n \\"websiteAuthorityScore\\": 0,\\n \\"correlationTag\\": 0\\n }\\n ],\\n \\"sceneItems\\": [\\n {\\n \\"detail\\": \\"\\",\\n \\"type\\": \\"\\"\\n }\\n ],\\n \\"costCredits\\": {\\n \\"search\\": {\\n \\"genericTextSearch\\": 0,\\n \\"liteAdvancedTextSearch\\": 0\\n },\\n \\"valueAdded\\": {\\n \\"summary\\": 0,\\n \\"advanced\\": 0\\n }\\n },\\n \\"searchInformation\\": {\\n \\"searchTime\\": 0\\n }\\n}","type":"json"}]', - 'title' => '通晓统一搜索API', - ], - 'GenericSearch' => [ - 'summary' => '通用搜索。', - 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericSearch', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpPYBUBJ', - 'FEATUREalibababcpSJV4QL', - 'FEATUREalibababcpTYS4DT', - 'FEATUREalibababcpCIGQ7X', - 'FEATUREalibababcpJ4YYLV', - ], - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ - [ - 'name' => 'query', - 'in' => 'query', - 'schema' => [ - 'title' => '待查询问题', - 'description' => '搜索关键字', - 'type' => 'string', - 'required' => true, - 'example' => '苹果手机', - ], - ], - [ - 'name' => 'timeRange', - 'in' => 'query', - 'schema' => [ - 'title' => '网页发布时间范围', - 'description' => '时间范围', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'OneWeek' => '最近一周', - 'OneYear' => '最近一年', - 'NoLimit' => '不限制', - 'OneDay' => '最近一天', - 'OneMonth' => '最近一个月', - ], - 'example' => 'OneWeek', - ], - ], - [ - 'name' => 'sessionId', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '多轮交互的sessionId', - 'description' => '多轮交互的sessionId', - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'industry', - 'in' => 'query', - 'schema' => [ - 'title' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', - 'description' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'page', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '页码:从1开始', - 'description' => '页码:从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], - ], - [ - 'name' => 'returnMainText', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'returnMarkdownText', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'returnSummary', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'enableRerank', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'returnRichMainBody', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'advancedParams', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '返回的搜索结果', - '$ref' => '#/components/schemas/GenericSearchResult', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageItems\\": [\\n {\\n \\"publishTime\\": 1704426524000,\\n \\"score\\": 0.234325235,\\n \\"images\\": [\\n {\\n \\"imageLink\\": \\"http://k.sinaimg.cn/n/sinakd20121/594/w2048h946/20240328/74cf-32c0d62e843df76567d760b4459d57c1.jpg/w700d1q75cms.jpg\\",\\n \\"width\\": 700,\\n \\"height\\": 324\\n }\\n ],\\n \\"htmlTitle\\": \\"<em>小米</em>SU7售价22.99万元起 高管亲自辟谣:发布前不会有<em>价格</em>-百家号\\",\\n \\"displayLink\\": \\"baijiahao.baidu.com\\",\\n \\"mime\\": \\"text/html\\",\\n \\"pageMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"cardType\\": \\"structure_web_info\\",\\n \\"link\\": \\"https://baijiahao.baidu.com/s?id=1787881554557805096\\",\\n \\"mainText\\": \\"昨天\\\\t,\\\\t小米\\\\t汽车\\\\t没有\\\\t发布\\\\t,\\\\t但\\\\t相关\\\\t的\\\\t信息\\\\t透露\\\\t的\\\\t差\\\\t不\\\\t多\\\\t了\\\\t。\\\\t\\\\t\\\\n\\\\t\\\\t在\\\\t发布\\\\t会\\\\t现场\\\\t,\\\\t雷军\\\\t直接\\\\t称\\\\t小米\\\\tS\\\\tU\\\\t7\\\\t对\\\\t标\\\\t特斯拉\\\\t保时捷\\\\t,\\\\t有\\\\t100\\\\t项\\\\t行业\\\\t领先\\\\t,\\\\t可见\\\\t“\\\\t遥遥\\\\t领先\\\\t”\\\\t已经\\\\t不再\\\\t是\\\\t华为\\\\t专利\\\\t了\\\\t?\\\\t\\\\t\\\\n\\\\t\\\\n\\\\t\\\\t而\\\\t在\\\\t介绍\\\\t技术\\\\t时\\\\t,\\\\t雷军\\\\t也\\\\t从\\\\t电机\\\\t、\\\\t电池\\\\t、\\\\t大\\\\t压铸\\\\t、\\\\t自动\\\\t驾驶\\\\t、\\\\t智能\\\\t座舱\\\\t等\\\\t五\\\\t大\\\\t方面\\\\t展开\\\\t,\\\\t充分\\\\t展示\\\\t了\\\\t小米\\\\t汽车\\\\t的\\\\t技术\\\\t以及\\\\t技术\\\\t储备\\\\t,\\\\t\\\\t \\\\t\\\\t能\\\\t堆\\\\t的\\\\t料\\\\t,\\\\t全都\\\\t堆\\\\t上去\\\\t了\\\\t…\\\\t…\\\\t\\\\t\\\\n\\\\t\\\\t大家\\\\t比较\\\\t感\\\\t兴趣\\\\t的\\\\t性能\\\\t方面\\\\t,\\\\t2\\\\t.\\\\t78\\\\ts\\\\t的\\\\t0\\\\t-\\\\t100\\\\tkm\\\\t/\\\\th\\\\t加速\\\\t,\\\\t265\\\\tkm\\\\t/\\\\th\\\\t的\\\\t最高\\\\t时速\\\\t\\",\\n \\"htmlSnippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,<em>小米SU7</em>确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"title\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格\\",\\n \\"hostname\\": \\"新华网\\",\\n \\"hostLogo\\": \\"https://s2.zimgs.cn/ims?kt=url&at=smstruct&key=aHR0cHM6Ly9ndy5hbGljZG4uY29tL0wxLzcyMy8xNTY1MjU2NjAwLzJhL2YwL2I0LzJhZjBiNDQxMGI5YmVlMDVjOGVlNGJmODk3MTNkNTFjLnBuZw==&sign=yx:CUlNNQVJQjFrk3Kxt2F3KWhTOFU=&tv=400_400\\",\\n \\"siteLabel\\": \\"权威媒体\\",\\n \\"markdownText\\": \\"\\",\\n \\"snippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"summary\\": \\"\\",\\n \\"hostAuthorityScore\\": 0,\\n \\"richMainBody\\": \\"\\",\\n \\"websiteAuthorityScore\\": 0,\\n \\"correlationTag\\": 0\\n }\\n ],\\n \\"requestId\\": \\"123456\\",\\n \\"weiboItems\\": [\\n {\\n \\"images\\": [\\n \\"http://s2.zimgs.cn/ims?at=sc&kt=url&key=aHR0cHM6Ly93eDIuc2luYWltZy5jbi9vcmozNjAvMDA3Umc1eHVseTFob3RsenJ5YjVkajMwaWgwYTY0M2UuanBn&sign=yx:PfSsUObz9lhnCl5gf5vY-GeYrm0=&tv=0_0&p=\\"\\n ],\\n \\"publishDisplayTime\\": \\"1小时前\\",\\n \\"cardType\\": \\"weibo_strong\\",\\n \\"homepageLink\\": \\"https://m.weibo.cn/u/7761793874?luicode=20000061&lfid=5024099350350075\\",\\n \\"link\\": \\"https://m.weibo.cn/detail/5024099350350075?wm=90194_90009\\",\\n \\"htmlSnippet\\": \\"【小调查:你会买<em>小米SU7</em>吗?】#小米SU7路测覆盖300多城市#4月17日,@小米汽车 发文称SU7道路测试覆盖全国300多个城市,涵盖极寒,极热天气,总里程数高达540万公里,目前仍在进行中。 网页链接\\",\\n \\"username\\": \\"白鹿科技\\"\\n }\\n ],\\n \\"searchInformation\\": {\\n \\"total\\": 0,\\n \\"searchTime\\": 0\\n },\\n \\"sceneItems\\": [\\n {\\n \\"detail\\": \\"\\",\\n \\"type\\": \\"\\"\\n }\\n ],\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\",\\n \\"industry\\": \\"\\",\\n \\"page\\": \\"\\"\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n }\\n}","type":"json"}]', - 'title' => '通用搜索', - ], 'AiSearch' => [ 'summary' => '本文介绍通过阿里云OpenAPI SDK调用通用搜索多阶段流式接口V3的方法以及参数说明', 'path' => '/linked-retrieval/linked-retrieval-entry/v3/linkedRetrieval/commands/aiSearch', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'sse', - ], + 'methods' => ['get'], + 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpG3IIA0', - 'FEATUREalibababcpPYBUBJ', - 'FEATUREalibababcpRLTK4J', - 'FEATUREalibababcpSJV4QL', - 'FEATUREalibababcpTYS4DT', - 'FEATUREalibababcpCIGQ7X', - 'FEATUREalibababcpJ4YYLV', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpG3IIA0', 'FEATUREalibababcpPYBUBJ', 'FEATUREalibababcpRLTK4J', 'FEATUREalibababcpSJV4QL', 'FEATUREalibababcpTYS4DT', 'FEATUREalibababcpCIGQ7X', 'FEATUREalibababcpJ4YYLV'], ], 'parameters' => [ [ 'name' => 'query', 'in' => 'query', - 'schema' => [ - 'title' => '待查询问题', - 'description' => '待查询问题', - 'type' => 'string', - 'required' => true, - 'example' => '苹果手机', - ], + 'schema' => ['title' => '待查询问题', 'description' => '待查询问题', 'type' => 'string', 'required' => true, 'example' => '苹果手机'], ], [ 'name' => 'sessionId', 'in' => 'query', - 'schema' => [ - 'title' => '网页发布时间查询范围', - 'description' => '网页发布时间查询范围', - 'type' => 'string', - 'required' => false, - 'example' => '17dc8bcd-f34a-46d1-a7a3-0fa3d1ce3824', - ], + 'schema' => ['title' => '网页发布时间查询范围', 'description' => '网页发布时间查询范围', 'type' => 'string', 'required' => false, 'example' => '17dc8bcd-f34a-46d1-a7a3-0fa3d1ce3824'], ], [ 'name' => 'timeRange', 'in' => 'query', - 'schema' => [ - 'title' => '多轮交互的sessionId', - 'description' => '多轮交互的sessionId', - 'type' => 'string', - 'required' => false, - 'example' => 'OneWeek', - ], + 'schema' => ['title' => '多轮交互的sessionId', 'description' => '多轮交互的sessionId', 'type' => 'string', 'required' => false, 'example' => 'OneWeek'], ], [ 'name' => 'industry', 'in' => 'query', - 'schema' => [ - 'title' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', - 'description' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', - 'type' => 'string', - 'required' => false, - 'example' => 'finance', - ], + 'schema' => ['title' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', 'description' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', 'type' => 'string', 'required' => false, 'example' => 'finance'], ], [ 'name' => 'page', 'in' => 'query', - 'schema' => [ - 'title' => '页码:从1开始', - 'description' => '页码:从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '{\'total_count\': 6851, \'page_number\': 54, \'page_size\': 100}', - ], + 'schema' => ['title' => '页码:从1开始', 'description' => '页码:从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '{\'total_count\': 6851, \'page_number\': 54, \'page_size\': 100}'], ], ], 'responses' => [ @@ -1663,22 +877,9 @@ 'description' => '返回结果的header', 'type' => 'object', 'properties' => [ - 'eventId' => [ - 'description' => '此次EventID', - 'type' => 'string', - 'example' => '988021f0-951a-43d0-ba4d-785359e7e7be', - ], - 'event' => [ - 'description' => 'event名称', - 'type' => 'string', - 'example' => 'on_common_search_end', - ], - 'responseTime' => [ - 'description' => '耗时(ms)', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1293', - ], + 'eventId' => ['description' => '此次EventID', 'type' => 'string', 'example' => '988021f0-951a-43d0-ba4d-785359e7e7be'], + 'event' => ['description' => 'event名称', 'type' => 'string', 'example' => 'on_common_search_end'], + 'responseTime' => ['description' => '耗时(ms)', 'type' => 'integer', 'format' => 'int64', 'example' => '1293'], 'queryContext' => [ 'title' => '查询上下文', 'description' => '查询上下文', @@ -1689,27 +890,10 @@ 'description' => '原始查询', 'type' => 'object', 'properties' => [ - 'query' => [ - 'title' => '查询条件', - 'description' => '查询条件', - 'type' => 'string', - ], - 'timeRange' => [ - 'title' => '时间范围', - 'description' => '时间范围', - 'type' => 'string', - ], - 'industry' => [ - 'title' => '行业', - 'description' => '行业', - 'type' => 'string', - ], - 'page' => [ - 'title' => '页码', - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - ], + 'query' => ['title' => '查询条件', 'description' => '查询条件', 'type' => 'string'], + 'timeRange' => ['title' => '时间范围', 'description' => '时间范围', 'type' => 'string'], + 'industry' => ['title' => '行业', 'description' => '行业', 'type' => 'string'], + 'page' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32'], ], ], 'rewrite' => [ @@ -1717,32 +901,16 @@ 'description' => '改写后查询', 'type' => 'object', 'properties' => [ - 'enabled' => [ - 'title' => '改写是否开启', - 'description' => '改写是否开启', - 'type' => 'boolean', - ], - 'timeRange' => [ - 'title' => '改写后的TimeRange', - 'description' => '改写后的TimeRange', - 'type' => 'string', - ], + 'enabled' => ['title' => '改写是否开启', 'description' => '改写是否开启', 'type' => 'boolean'], + 'timeRange' => ['title' => '改写后的TimeRange', 'description' => '改写后的TimeRange', 'type' => 'string'], ], ], ], ], ], ], - 'payload' => [ - 'description' => '返回结果的payload,json结构,不同event结构不同', - 'type' => 'string', - 'example' => '{"header":{"eventId":"6f617de0-204f-406f-a9be-34779c06d498","event":"on_common_search_start","responseTime":120},"payload":"","requestId":"715d01a0-de7e-42c3-abca-b901fcd79b39"}', - ], - 'requestId' => [ - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364', - ], + 'payload' => ['description' => '返回结果的payload,json结构,不同event结构不同', 'type' => 'string', 'example' => '{"header":{"eventId":"6f617de0-204f-406f-a9be-34779c06d498","event":"on_common_search_start","responseTime":120},"payload":"","requestId":"715d01a0-de7e-42c3-abca-b901fcd79b39"}'], + 'requestId' => ['description' => 'Id of the request', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'], ], ], ], @@ -1753,448 +921,637 @@ 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ - 'AuthAction' => [ - 'type' => 'string', - ], - 'AuthPrincipalDisplayName' => [ - 'type' => 'string', - ], - 'AuthPrincipalOwnerId' => [ - 'type' => 'string', - ], - 'AuthPrincipalType' => [ - 'type' => 'string', - ], - 'EncodedDiagnosticMessage' => [ - 'type' => 'string', - ], - 'NoPermissionType' => [ - 'type' => 'string', - ], - 'PolicyType' => [ - 'type' => 'string', - ], + 'AuthAction' => ['type' => 'string', 'description' => ''], + 'AuthPrincipalDisplayName' => ['type' => 'string', 'description' => ''], + 'AuthPrincipalOwnerId' => ['type' => 'string', 'description' => ''], + 'AuthPrincipalType' => ['type' => 'string', 'description' => ''], + 'EncodedDiagnosticMessage' => ['type' => 'string', 'description' => ''], + 'NoPermissionType' => ['type' => 'string', 'description' => ''], + 'PolicyType' => ['type' => 'string', 'description' => ''], ], + 'description' => '', ], - 'code' => [ - 'type' => 'string', - ], - 'errorCode' => [ - 'type' => 'string', - ], - 'errorMessage' => [ - 'type' => 'string', - ], - 'httpCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'httpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'message' => [ - 'type' => 'string', - ], - 'success' => [ - 'type' => 'boolean', - ], + 'code' => ['type' => 'string', 'description' => ''], + 'errorCode' => ['type' => 'string', 'description' => ''], + 'errorMessage' => ['type' => 'string', 'description' => ''], + 'httpCode' => ['type' => 'integer', 'format' => 'int32', 'description' => ''], + 'httpStatusCode' => ['type' => 'integer', 'format' => 'int32', 'description' => ''], + 'message' => ['type' => 'string', 'description' => ''], + 'success' => ['type' => 'boolean', 'description' => ''], ], + 'description' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Please activate AI search service.', - ], - [ - 'errorCode' => 'TestUserPeriodExpired', - 'errorMessage' => 'The test period has expired.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Please activate AI search service.', 'description' => '请先开通搜索服务。'], + ['errorCode' => 'TestUserPeriodExpired', 'errorMessage' => 'The test period has expired.', 'description' => '测试用户测试期已失效'], ], 429 => [ - [ - 'errorCode' => 'ThrottlingUser', - 'errorMessage' => 'Request was denied due to user flow control.', - ], - [ - 'errorCode' => 'TestUserQueryPerDayExceeded', - 'errorMessage' => 'The query per day exceed the limit.', - ], + ['errorCode' => 'ThrottlingUser', 'errorMessage' => 'Request was denied due to user flow control.', 'description' => '请求因为触发流控被拒绝'], + ['errorCode' => 'TestUserQueryPerDayExceeded', 'errorMessage' => 'The query per day exceed the limit.', 'description' => '测试用户日调用量超出限额'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"header\\": {\\n \\"eventId\\": \\"988021f0-951a-43d0-ba4d-785359e7e7be\\",\\n \\"event\\": \\"on_common_search_end\\",\\n \\"responseTime\\": 1293,\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\",\\n \\"industry\\": \\"\\",\\n \\"page\\": 0\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n }\\n },\\n \\"payload\\": \\"{\\\\\\"header\\\\\\":{\\\\\\"eventId\\\\\\":\\\\\\"6f617de0-204f-406f-a9be-34779c06d498\\\\\\",\\\\\\"event\\\\\\":\\\\\\"on_common_search_start\\\\\\",\\\\\\"responseTime\\\\\\":120},\\\\\\"payload\\\\\\":\\\\\\"\\\\\\",\\\\\\"requestId\\\\\\":\\\\\\"715d01a0-de7e-42c3-abca-b901fcd79b39\\\\\\"}\\",\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\"\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '多阶段流式API', 'description' => '提供common_search,post_retrieval两个阶段流式结果供客户按需使用。'."\n" .'通用搜索结果(common_search):搜索的原始结果。覆盖网页标题、动态摘要、正文、来源网站、发布时间等关键字段。检索后处理(post_retrieval):通过使用rerank模型对上一阶段common_search结果进行重排序与过滤。检索结果相关性(Context Relevancy)的mAP指标提升约5%,时延增加约110ms。', - ], - 'GenericAdvancedSearch' => [ - 'summary' => '本文介绍通过阿里云OpenAPI SDK调用通用增强搜索接口(GenericAdvancedSearch)的方法以及参数说明。GenericAdvancedSearch相较于GenericSearch提供了更好的权威站点的召回,召回数量最大可以达到40条,可以提供更好的权威性与多样性数据。增强版接口返回参数字段与格式与GenericAdvancedSearch一致。', - 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericAdvancedSearch', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-12-20T03:42:04.000Z', 'description' => '响应参数发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:AiSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"header\\": {\\n \\"eventId\\": \\"988021f0-951a-43d0-ba4d-785359e7e7be\\",\\n \\"event\\": \\"on_common_search_end\\",\\n \\"responseTime\\": 1293,\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\",\\n \\"industry\\": \\"\\",\\n \\"page\\": 0\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n }\\n },\\n \\"payload\\": \\"{\\\\\\"header\\\\\\":{\\\\\\"eventId\\\\\\":\\\\\\"6f617de0-204f-406f-a9be-34779c06d498\\\\\\",\\\\\\"event\\\\\\":\\\\\\"on_common_search_start\\\\\\",\\\\\\"responseTime\\\\\\":120},\\\\\\"payload\\\\\\":\\\\\\"\\\\\\",\\\\\\"requestId\\\\\\":\\\\\\"715d01a0-de7e-42c3-abca-b901fcd79b39\\\\\\"}\\",\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\"\\n}","type":"json"}]', + ], + 'CommonQueryByScene' => [ + 'summary' => '自然语言通用查询。', + 'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/common', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + 'description' => '请求体', + 'required' => false, + 'enumValueTitles' => [], + '$ref' => '#/components/schemas/CommonAgentQuery', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '返回体', '$ref' => '#/components/schemas/QueryResult'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], - 'produces' => [ - 'application/json', + 'title' => '通用场景查询接口', + 'description' => '自然语言搜索通用接口', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"address\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"latitude\\": \\"\\",\\n \\"longitude\\": \\"\\",\\n \\"metadata\\": {\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"mainTag\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"score\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"averageSpend\\": \\"\\"\\n },\\n \\"name\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"types\\": \\"\\",\\n \\"distanceMeter\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]', + ], + 'GenericAdvancedSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericAdvancedSearch', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpPYBUBJ', - 'FEATUREalibababcpSJV4QL', - 'FEATUREalibababcpTYS4DT', - 'FEATUREalibababcpCIGQ7X', - 'FEATUREalibababcpJ4YYLV', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpPYBUBJ', 'FEATUREalibababcpSJV4QL', 'FEATUREalibababcpTYS4DT', 'FEATUREalibababcpCIGQ7X', 'FEATUREalibababcpJ4YYLV'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'query', 'in' => 'query', - 'schema' => [ - 'title' => '待查询问题', - 'description' => '待查询问题', - 'type' => 'string', - 'required' => true, - 'example' => '苹果手机', - ], + 'schema' => ['title' => '待查询问题', 'description' => '待查询问题', 'type' => 'string', 'required' => true, 'example' => '苹果手机'], ], [ 'name' => 'timeRange', 'in' => 'query', - 'schema' => [ - 'title' => '网页发布时间查询范围', - 'description' => '网页发布时间查询范围', - 'type' => 'string', - 'required' => false, - 'example' => 'OneWeek', - ], + 'schema' => ['title' => '网页发布时间查询范围', 'description' => '网页发布时间查询范围', 'type' => 'string', 'required' => false, 'example' => 'OneWeek'], ], [ 'name' => 'sessionId', 'in' => 'query', - 'schema' => [ - 'title' => '多轮交互的sessionId', - 'description' => '多轮交互的sessionId', - 'type' => 'string', - 'required' => false, - 'example' => 'job-4065bee3-e7aa-49fc-aad2-a8e3a7fd6acd', - ], + 'schema' => ['title' => '多轮交互的sessionId', 'description' => '多轮交互的sessionId', 'type' => 'string', 'required' => false, 'example' => 'job-4065bee3-e7aa-49fc-aad2-a8e3a7fd6acd'], ], [ 'name' => 'industry', 'in' => 'query', - 'schema' => [ - 'title' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', - 'description' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['title' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', 'description' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', 'type' => 'string', 'required' => false], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '请求体参数。', - '$ref' => '#/components/schemas/GenericSearchResult', - ], + 'schema' => ['description' => '请求体参数。', '$ref' => '#/components/schemas/GenericSearchResult'], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', - ], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageItems\\": [\\n {\\n \\"publishTime\\": 1704426524000,\\n \\"score\\": 0.234325235,\\n \\"images\\": [\\n {\\n \\"imageLink\\": \\"http://k.sinaimg.cn/n/sinakd20121/594/w2048h946/20240328/74cf-32c0d62e843df76567d760b4459d57c1.jpg/w700d1q75cms.jpg\\",\\n \\"width\\": 700,\\n \\"height\\": 324\\n }\\n ],\\n \\"htmlTitle\\": \\"<em>小米</em>SU7售价22.99万元起 高管亲自辟谣:发布前不会有<em>价格</em>-百家号\\",\\n \\"displayLink\\": \\"baijiahao.baidu.com\\",\\n \\"mime\\": \\"text/html\\",\\n \\"pageMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"cardType\\": \\"structure_web_info\\",\\n \\"link\\": \\"https://baijiahao.baidu.com/s?id=1787881554557805096\\",\\n \\"mainText\\": \\"昨天\\\\t,\\\\t小米\\\\t汽车\\\\t没有\\\\t发布\\\\t,\\\\t但\\\\t相关\\\\t的\\\\t信息\\\\t透露\\\\t的\\\\t差\\\\t不\\\\t多\\\\t了\\\\t。\\\\t\\\\t\\\\n\\\\t\\\\t在\\\\t发布\\\\t会\\\\t现场\\\\t,\\\\t雷军\\\\t直接\\\\t称\\\\t小米\\\\tS\\\\tU\\\\t7\\\\t对\\\\t标\\\\t特斯拉\\\\t保时捷\\\\t,\\\\t有\\\\t100\\\\t项\\\\t行业\\\\t领先\\\\t,\\\\t可见\\\\t“\\\\t遥遥\\\\t领先\\\\t”\\\\t已经\\\\t不再\\\\t是\\\\t华为\\\\t专利\\\\t了\\\\t?\\\\t\\\\t\\\\n\\\\t\\\\n\\\\t\\\\t而\\\\t在\\\\t介绍\\\\t技术\\\\t时\\\\t,\\\\t雷军\\\\t也\\\\t从\\\\t电机\\\\t、\\\\t电池\\\\t、\\\\t大\\\\t压铸\\\\t、\\\\t自动\\\\t驾驶\\\\t、\\\\t智能\\\\t座舱\\\\t等\\\\t五\\\\t大\\\\t方面\\\\t展开\\\\t,\\\\t充分\\\\t展示\\\\t了\\\\t小米\\\\t汽车\\\\t的\\\\t技术\\\\t以及\\\\t技术\\\\t储备\\\\t,\\\\t\\\\t \\\\t\\\\t能\\\\t堆\\\\t的\\\\t料\\\\t,\\\\t全都\\\\t堆\\\\t上去\\\\t了\\\\t…\\\\t…\\\\t\\\\t\\\\n\\\\t\\\\t大家\\\\t比较\\\\t感\\\\t兴趣\\\\t的\\\\t性能\\\\t方面\\\\t,\\\\t2\\\\t.\\\\t78\\\\ts\\\\t的\\\\t0\\\\t-\\\\t100\\\\tkm\\\\t/\\\\th\\\\t加速\\\\t,\\\\t265\\\\tkm\\\\t/\\\\th\\\\t的\\\\t最高\\\\t时速\\\\t\\",\\n \\"htmlSnippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,<em>小米SU7</em>确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"title\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格\\",\\n \\"hostname\\": \\"新华网\\",\\n \\"hostLogo\\": \\"https://s2.zimgs.cn/ims?kt=url&at=smstruct&key=aHR0cHM6Ly9ndy5hbGljZG4uY29tL0wxLzcyMy8xNTY1MjU2NjAwLzJhL2YwL2I0LzJhZjBiNDQxMGI5YmVlMDVjOGVlNGJmODk3MTNkNTFjLnBuZw==&sign=yx:CUlNNQVJQjFrk3Kxt2F3KWhTOFU=&tv=400_400\\",\\n \\"siteLabel\\": \\"权威媒体\\",\\n \\"markdownText\\": \\"\\",\\n \\"snippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"summary\\": \\"\\",\\n \\"hostAuthorityScore\\": 0,\\n \\"richMainBody\\": \\"\\",\\n \\"websiteAuthorityScore\\": 0,\\n \\"correlationTag\\": 0\\n }\\n ],\\n \\"requestId\\": \\"123456\\",\\n \\"weiboItems\\": [\\n {\\n \\"images\\": [\\n \\"http://s2.zimgs.cn/ims?at=sc&kt=url&key=aHR0cHM6Ly93eDIuc2luYWltZy5jbi9vcmozNjAvMDA3Umc1eHVseTFob3RsenJ5YjVkajMwaWgwYTY0M2UuanBn&sign=yx:PfSsUObz9lhnCl5gf5vY-GeYrm0=&tv=0_0&p=\\"\\n ],\\n \\"publishDisplayTime\\": \\"1小时前\\",\\n \\"cardType\\": \\"weibo_strong\\",\\n \\"homepageLink\\": \\"https://m.weibo.cn/u/7761793874?luicode=20000061&lfid=5024099350350075\\",\\n \\"link\\": \\"https://m.weibo.cn/detail/5024099350350075?wm=90194_90009\\",\\n \\"htmlSnippet\\": \\"【小调查:你会买<em>小米SU7</em>吗?】#小米SU7路测覆盖300多城市#4月17日,@小米汽车 发文称SU7道路测试覆盖全国300多个城市,涵盖极寒,极热天气,总里程数高达540万公里,目前仍在进行中。 网页链接\\",\\n \\"username\\": \\"白鹿科技\\"\\n }\\n ],\\n \\"searchInformation\\": {\\n \\"total\\": 0,\\n \\"searchTime\\": 0\\n },\\n \\"sceneItems\\": [\\n {\\n \\"detail\\": \\"\\",\\n \\"type\\": \\"\\"\\n }\\n ],\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\",\\n \\"industry\\": \\"\\",\\n \\"page\\": \\"\\"\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n }\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '增强版搜索API', + 'summary' => '本文介绍通过阿里云OpenAPI SDK调用通用增强搜索接口(GenericAdvancedSearch)的方法以及参数说明。GenericAdvancedSearch相较于GenericSearch提供了更好的权威站点的召回,召回数量最大可以达到40条,可以提供更好的权威性与多样性数据。增强版接口返回参数字段与格式与GenericAdvancedSearch一致。', 'description' => 'GenericAdvancedSearch目前处于测试阶段,后续会上线新的规格供购买使用', - ], - 'GlobalSearch' => [ - 'summary' => '通晓搜索-出海版(全球信息搜索)', - 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/search/global', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2025-02-27T03:25:15.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:GenericAdvancedSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageItems\\": [\\n {\\n \\"publishTime\\": 1704426524000,\\n \\"score\\": 0.234325235,\\n \\"images\\": [\\n {\\n \\"width\\": 700,\\n \\"imageLink\\": \\"http://k.sinaimg.cn/n/sinakd20121/594/w2048h946/20240328/74cf-32c0d62e843df76567d760b4459d57c1.jpg/w700d1q75cms.jpg\\",\\n \\"height\\": 324\\n }\\n ],\\n \\"htmlTitle\\": \\"<em>小米</em>SU7售价22.99万元起 高管亲自辟谣:发布前不会有<em>价格</em>-百家号\\",\\n \\"displayLink\\": \\"baijiahao.baidu.com\\",\\n \\"mime\\": \\"text/html\\",\\n \\"pageMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"cardType\\": \\"structure_web_info\\",\\n \\"link\\": \\"https://baijiahao.baidu.com/s?id=1787881554557805096\\",\\n \\"mainText\\": \\"昨天\\\\t,\\\\t小米\\\\t汽车\\\\t没有\\\\t发布\\\\t,\\\\t但\\\\t相关\\\\t的\\\\t信息\\\\t透露\\\\t的\\\\t差\\\\t不\\\\t多\\\\t了\\\\t。\\\\t\\\\t\\\\n\\\\t\\\\t在\\\\t发布\\\\t会\\\\t现场\\\\t,\\\\t雷军\\\\t直接\\\\t称\\\\t小米\\\\tS\\\\tU\\\\t7\\\\t对\\\\t标\\\\t特斯拉\\\\t保时捷\\\\t,\\\\t有\\\\t100\\\\t项\\\\t行业\\\\t领先\\\\t,\\\\t可见\\\\t“\\\\t遥遥\\\\t领先\\\\t”\\\\t已经\\\\t不再\\\\t是\\\\t华为\\\\t专利\\\\t了\\\\t?\\\\t\\\\t\\\\n\\\\t\\\\n\\\\t\\\\t而\\\\t在\\\\t介绍\\\\t技术\\\\t时\\\\t,\\\\t雷军\\\\t也\\\\t从\\\\t电机\\\\t、\\\\t电池\\\\t、\\\\t大\\\\t压铸\\\\t、\\\\t自动\\\\t驾驶\\\\t、\\\\t智能\\\\t座舱\\\\t等\\\\t五\\\\t大\\\\t方面\\\\t展开\\\\t,\\\\t充分\\\\t展示\\\\t了\\\\t小米\\\\t汽车\\\\t的\\\\t技术\\\\t以及\\\\t技术\\\\t储备\\\\t,\\\\t\\\\t \\\\t\\\\t能\\\\t堆\\\\t的\\\\t料\\\\t,\\\\t全都\\\\t堆\\\\t上去\\\\t了\\\\t…\\\\t…\\\\t\\\\t\\\\n\\\\t\\\\t大家\\\\t比较\\\\t感\\\\t兴趣\\\\t的\\\\t性能\\\\t方面\\\\t,\\\\t2\\\\t.\\\\t78\\\\ts\\\\t的\\\\t0\\\\t-\\\\t100\\\\tkm\\\\t/\\\\th\\\\t加速\\\\t,\\\\t265\\\\tkm\\\\t/\\\\th\\\\t的\\\\t最高\\\\t时速\\\\t\\",\\n \\"htmlSnippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,<em>小米SU7</em>确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"title\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格\\",\\n \\"hostname\\": \\"新华网\\",\\n \\"hostLogo\\": \\"https://s2.zimgs.cn/ims?kt=url&at=smstruct&key=aHR0cHM6Ly9ndy5hbGljZG4uY29tL0wxLzcyMy8xNTY1MjU2NjAwLzJhL2YwL2I0LzJhZjBiNDQxMGI5YmVlMDVjOGVlNGJmODk3MTNkNTFjLnBuZw==&sign=yx:CUlNNQVJQjFrk3Kxt2F3KWhTOFU=&tv=400_400\\",\\n \\"siteLabel\\": \\"权威媒体\\",\\n \\"markdownText\\": \\"\\",\\n \\"snippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"summary\\": \\"\\",\\n \\"hostAuthorityScore\\": 0,\\n \\"richMainBody\\": \\"\\",\\n \\"websiteAuthorityScore\\": 0,\\n \\"correlationTag\\": 0\\n }\\n ],\\n \\"requestId\\": \\"123456\\",\\n \\"weiboItems\\": [\\n {\\n \\"images\\": [\\n \\"http://s2.zimgs.cn/ims?at=sc&kt=url&key=aHR0cHM6Ly93eDIuc2luYWltZy5jbi9vcmozNjAvMDA3Umc1eHVseTFob3RsenJ5YjVkajMwaWgwYTY0M2UuanBn&sign=yx:PfSsUObz9lhnCl5gf5vY-GeYrm0=&tv=0_0&p=\\"\\n ],\\n \\"publishDisplayTime\\": \\"1小时前\\",\\n \\"cardType\\": \\"weibo_strong\\",\\n \\"homepageLink\\": \\"https://m.weibo.cn/u/7761793874?luicode=20000061&lfid=5024099350350075\\",\\n \\"link\\": \\"https://m.weibo.cn/detail/5024099350350075?wm=90194_90009\\",\\n \\"htmlSnippet\\": \\"【小调查:你会买<em>小米SU7</em>吗?】#小米SU7路测覆盖300多城市#4月17日,@小米汽车 发文称SU7道路测试覆盖全国300多个城市,涵盖极寒,极热天气,总里程数高达540万公里,目前仍在进行中。 网页链接\\",\\n \\"username\\": \\"白鹿科技\\"\\n }\\n ],\\n \\"searchInformation\\": {\\n \\"total\\": 13,\\n \\"searchTime\\": 700\\n },\\n \\"sceneItems\\": [\\n {\\n \\"type\\": \\"\\",\\n \\"detail\\": \\"\\"\\n }\\n ],\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\",\\n \\"industry\\": \\"\\",\\n \\"page\\": \\"\\"\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n }\\n}","type":"json"}]', + ], + 'GenericSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericSearch', + 'methods' => ['get'], + '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' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpPYBUBJ', - 'FEATUREalibababcpJ4YYLV', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpPYBUBJ', 'FEATUREalibababcpSJV4QL', 'FEATUREalibababcpTYS4DT', 'FEATUREalibababcpCIGQ7X', 'FEATUREalibababcpJ4YYLV'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'query', 'in' => 'query', - 'schema' => [ - 'title' => '搜索查询内容', - 'description' => '搜索查询内容', - 'type' => 'string', - 'required' => true, - 'example' => '特朗普最新关税消息', - ], + 'schema' => ['title' => '待查询问题', 'description' => '搜索关键字', 'type' => 'string', 'required' => true, 'example' => '苹果手机'], ], [ 'name' => 'timeRange', 'in' => 'query', 'schema' => [ 'title' => '网页发布时间范围', - 'description' => '网页发布时间范围', + 'description' => '时间范围', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['OneWeek' => '最近一周', 'OneYear' => '最近一年', 'NoLimit' => '不限制', 'OneDay' => '最近一天', 'OneMonth' => '最近一个月'], 'example' => 'OneWeek', ], ], [ + 'name' => 'sessionId', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['title' => '多轮交互的sessionId', 'description' => '多轮交互的sessionId', 'type' => 'string', 'required' => false], + ], + [ + 'name' => 'industry', + 'in' => 'query', + 'schema' => ['title' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', 'description' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', 'type' => 'string', 'required' => false], + ], + [ 'name' => 'page', 'in' => 'query', - 'schema' => [ - 'title' => '页码:从1开始', - 'description' => '页码:从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'allowEmptyValue' => false, + 'schema' => ['title' => '页码:从1开始', 'description' => '页码:从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1'], ], [ - 'name' => 'pageSize', + 'name' => 'returnMainText', 'in' => 'query', - 'schema' => [ - 'title' => '每页条数', - 'description' => '每页条数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'returnMarkdownText', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'returnSummary', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'enableRerank', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'returnRichMainBody', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'advancedParams', + 'in' => 'query', + 'style' => 'json', + 'schema' => ['type' => 'object', 'required' => false, 'description' => ''], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '指定重启参数信息。', - '$ref' => '#/components/schemas/GlobalSearchResult', - ], + 'schema' => ['description' => '返回的搜索结果', '$ref' => '#/components/schemas/GenericSearchResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '通用搜索', + 'summary' => '通用搜索。', + 'changeSet' => [ + ['createdAt' => '2025-10-29T05:14:03.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-10-10T02:59:28.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-03-29T04:17:51.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-11-15T02:32:26.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"123456\\",\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"page\\": \\"\\",\\n \\"timeRange\\": \\"\\"\\n }\\n },\\n \\"pageItems\\": [\\n {\\n \\"snippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"link\\": \\"https://baijiahao.baidu.com/s?id=1787881554557805096\\",\\n \\"title\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格\\"\\n }\\n ],\\n \\"sceneItems\\": [\\n {\\n \\"detail\\": \\"\\",\\n \\"type\\": \\"\\"\\n }\\n ],\\n \\"searchInformation\\": {\\n \\"total\\": 0,\\n \\"searchTime\\": 0\\n }\\n}","type":"json"}]', - 'title' => '出海版搜索(待发布)', - 'description' => '本文介绍通过出海版搜索-GlobalSearch的使用方法以及参数说明', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:GenericSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageItems\\": [\\n {\\n \\"publishTime\\": 1704426524000,\\n \\"score\\": 0.234325235,\\n \\"images\\": [\\n {\\n \\"width\\": 700,\\n \\"imageLink\\": \\"http://k.sinaimg.cn/n/sinakd20121/594/w2048h946/20240328/74cf-32c0d62e843df76567d760b4459d57c1.jpg/w700d1q75cms.jpg\\",\\n \\"height\\": 324\\n }\\n ],\\n \\"htmlTitle\\": \\"<em>小米</em>SU7售价22.99万元起 高管亲自辟谣:发布前不会有<em>价格</em>-百家号\\",\\n \\"displayLink\\": \\"baijiahao.baidu.com\\",\\n \\"mime\\": \\"text/html\\",\\n \\"pageMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"cardType\\": \\"structure_web_info\\",\\n \\"link\\": \\"https://baijiahao.baidu.com/s?id=1787881554557805096\\",\\n \\"mainText\\": \\"昨天\\\\t,\\\\t小米\\\\t汽车\\\\t没有\\\\t发布\\\\t,\\\\t但\\\\t相关\\\\t的\\\\t信息\\\\t透露\\\\t的\\\\t差\\\\t不\\\\t多\\\\t了\\\\t。\\\\t\\\\t\\\\n\\\\t\\\\t在\\\\t发布\\\\t会\\\\t现场\\\\t,\\\\t雷军\\\\t直接\\\\t称\\\\t小米\\\\tS\\\\tU\\\\t7\\\\t对\\\\t标\\\\t特斯拉\\\\t保时捷\\\\t,\\\\t有\\\\t100\\\\t项\\\\t行业\\\\t领先\\\\t,\\\\t可见\\\\t“\\\\t遥遥\\\\t领先\\\\t”\\\\t已经\\\\t不再\\\\t是\\\\t华为\\\\t专利\\\\t了\\\\t?\\\\t\\\\t\\\\n\\\\t\\\\n\\\\t\\\\t而\\\\t在\\\\t介绍\\\\t技术\\\\t时\\\\t,\\\\t雷军\\\\t也\\\\t从\\\\t电机\\\\t、\\\\t电池\\\\t、\\\\t大\\\\t压铸\\\\t、\\\\t自动\\\\t驾驶\\\\t、\\\\t智能\\\\t座舱\\\\t等\\\\t五\\\\t大\\\\t方面\\\\t展开\\\\t,\\\\t充分\\\\t展示\\\\t了\\\\t小米\\\\t汽车\\\\t的\\\\t技术\\\\t以及\\\\t技术\\\\t储备\\\\t,\\\\t\\\\t \\\\t\\\\t能\\\\t堆\\\\t的\\\\t料\\\\t,\\\\t全都\\\\t堆\\\\t上去\\\\t了\\\\t…\\\\t…\\\\t\\\\t\\\\n\\\\t\\\\t大家\\\\t比较\\\\t感\\\\t兴趣\\\\t的\\\\t性能\\\\t方面\\\\t,\\\\t2\\\\t.\\\\t78\\\\ts\\\\t的\\\\t0\\\\t-\\\\t100\\\\tkm\\\\t/\\\\th\\\\t加速\\\\t,\\\\t265\\\\tkm\\\\t/\\\\th\\\\t的\\\\t最高\\\\t时速\\\\t\\",\\n \\"htmlSnippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,<em>小米SU7</em>确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"title\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格\\",\\n \\"hostname\\": \\"新华网\\",\\n \\"hostLogo\\": \\"https://s2.zimgs.cn/ims?kt=url&at=smstruct&key=aHR0cHM6Ly9ndy5hbGljZG4uY29tL0wxLzcyMy8xNTY1MjU2NjAwLzJhL2YwL2I0LzJhZjBiNDQxMGI5YmVlMDVjOGVlNGJmODk3MTNkNTFjLnBuZw==&sign=yx:CUlNNQVJQjFrk3Kxt2F3KWhTOFU=&tv=400_400\\",\\n \\"siteLabel\\": \\"权威媒体\\",\\n \\"markdownText\\": \\"\\",\\n \\"snippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"summary\\": \\"\\",\\n \\"hostAuthorityScore\\": 0,\\n \\"richMainBody\\": \\"\\",\\n \\"websiteAuthorityScore\\": 0,\\n \\"correlationTag\\": 0\\n }\\n ],\\n \\"requestId\\": \\"123456\\",\\n \\"weiboItems\\": [\\n {\\n \\"images\\": [\\n \\"http://s2.zimgs.cn/ims?at=sc&kt=url&key=aHR0cHM6Ly93eDIuc2luYWltZy5jbi9vcmozNjAvMDA3Umc1eHVseTFob3RsenJ5YjVkajMwaWgwYTY0M2UuanBn&sign=yx:PfSsUObz9lhnCl5gf5vY-GeYrm0=&tv=0_0&p=\\"\\n ],\\n \\"publishDisplayTime\\": \\"1小时前\\",\\n \\"cardType\\": \\"weibo_strong\\",\\n \\"homepageLink\\": \\"https://m.weibo.cn/u/7761793874?luicode=20000061&lfid=5024099350350075\\",\\n \\"link\\": \\"https://m.weibo.cn/detail/5024099350350075?wm=90194_90009\\",\\n \\"htmlSnippet\\": \\"【小调查:你会买<em>小米SU7</em>吗?】#小米SU7路测覆盖300多城市#4月17日,@小米汽车 发文称SU7道路测试覆盖全国300多个城市,涵盖极寒,极热天气,总里程数高达540万公里,目前仍在进行中。 网页链接\\",\\n \\"username\\": \\"白鹿科技\\"\\n }\\n ],\\n \\"searchInformation\\": {\\n \\"total\\": 13,\\n \\"searchTime\\": 700\\n },\\n \\"sceneItems\\": [\\n {\\n \\"type\\": \\"\\",\\n \\"detail\\": \\"\\"\\n }\\n ],\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\",\\n \\"industry\\": \\"\\",\\n \\"page\\": \\"\\"\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n }\\n}","type":"json"}]', ], 'GetIqsUsage' => [ - 'summary' => '信息查询服务接口日维度使用量查询', 'path' => '/linked-retrieval/linked-retrieval-admin/v1/iqs/usage', - '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' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpVV9OXO', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpVV9OXO'], ], 'parameters' => [ [ 'name' => 'startDate', 'in' => 'query', - 'schema' => [ - 'description' => '开始日期。', - 'type' => 'string', - 'required' => false, - 'example' => '20241011', - ], + 'schema' => ['description' => '开始日期。', 'type' => 'string', 'required' => false, 'example' => '20241011'], ], [ 'name' => 'endDate', 'in' => 'query', - 'schema' => [ - 'description' => '结束日期。', - 'type' => 'string', - 'required' => false, - 'example' => '20241017', - ], + 'schema' => ['description' => '结束日期。', 'type' => 'string', 'required' => false, 'example' => '20241017'], ], [ 'name' => 'callerId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '返回结果结构体', - '$ref' => '#/components/schemas/GetIqsUsageResult', + 'schema' => ['description' => '返回结果结构体', '$ref' => '#/components/schemas/GetIqsUsageResult'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '日调用量查询接口', + 'summary' => '信息查询服务接口日维度使用量查询', + 'changeSet' => [ + ['createdAt' => '2025-07-24T09:56:34.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIqsUsage'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:GetIqsUsage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"records\\": [\\n {\\n \\"date\\": \\"\\",\\n \\"mainAccountId\\": \\"\\",\\n \\"subAccountId\\": \\"\\",\\n \\"api\\": \\"\\",\\n \\"engineType\\": \\"\\",\\n \\"billingQps\\": 0,\\n \\"ladderType\\": \\"\\",\\n \\"totalCalls\\": 0,\\n \\"successCalls\\": 0,\\n \\"failedCalls\\": 0,\\n \\"valueAddedSummary\\": 0,\\n \\"valueAddedAdvanced\\": 0,\\n \\"totalBillStatCalls\\": 0\\n }\\n ]\\n}","type":"json"}]', + ], + 'GlobalSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/search/global', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpPYBUBJ', 'FEATUREalibababcpJ4YYLV'], + 'tenantRelevance' => 'tenant', ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"records\\": [\\n {\\n \\"date\\": \\"\\",\\n \\"billingQps\\": 0,\\n \\"totalCalls\\": 0,\\n \\"valueAddedSummary\\": 0,\\n \\"failedCalls\\": 0,\\n \\"valueAddedAdvanced\\": 0,\\n \\"subAccountId\\": \\"\\",\\n \\"engineType\\": \\"\\",\\n \\"ladderType\\": \\"\\",\\n \\"api\\": \\"\\",\\n \\"successCalls\\": 0,\\n \\"mainAccountId\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '日调用量查询接口', + 'parameters' => [ + [ + 'name' => 'query', + 'in' => 'query', + 'schema' => ['title' => '搜索查询内容', 'description' => '搜索查询内容', 'type' => 'string', 'required' => true, 'example' => '特朗普最新关税消息'], + ], + [ + 'name' => 'timeRange', + 'in' => 'query', + 'schema' => ['title' => '网页发布时间范围', 'description' => '网页发布时间范围', 'type' => 'string', 'required' => false, 'example' => 'OneWeek'], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['title' => '页码:从1开始', 'description' => '页码:从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['title' => '每页条数', 'description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '指定重启参数信息。', '$ref' => '#/components/schemas/GlobalSearchResult'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '出海版搜索(待发布)', + 'summary' => '通晓搜索-出海版(全球信息搜索)', + 'description' => '本文介绍通过出海版搜索-GlobalSearch的使用方法以及参数说明', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"123456\\",\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"特朗普关税最新消息\\",\\n \\"page\\": \\"1\\",\\n \\"timeRange\\": \\"NoLimit\\"\\n }\\n },\\n \\"pageItems\\": [\\n {\\n \\"snippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"link\\": \\"https://baijiahao.baidu.com/s?id=1787881554557805096\\",\\n \\"title\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格\\"\\n }\\n ],\\n \\"sceneItems\\": [\\n {\\n \\"detail\\": \\"{\\\\n\\\\\\"snippet\\\\\\": \\\\\\"截至2025年3月7日,SpaceX星舰已经发射了8次,并取得4次成功及4次失败。\\\\\\",\\\\n\\\\\\"snippetHighlighted\\\\\\": [\\\\\\"8次\\\\\\"],\\\\n\\\\\\"title\\\\\\": \\\\\\"星舰发射任务列表\\\\\\"\\\\n}\\",\\n \\"type\\": \\"answerBox\\"\\n }\\n ],\\n \\"searchInformation\\": {\\n \\"total\\": 10339,\\n \\"searchTime\\": 1200\\n }\\n}","type":"json"}]', ], - 'MultimodalSearch' => [ - 'summary' => '多模态搜索', - 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/multimodal/unified', - 'methods' => [ - 'post', + 'MedicalAnswer' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/domain/medical/answer', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREalibababcpPDPN5D'], + 'tenantRelevance' => 'tenant', ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => ['description' => '搜索信息', 'required' => false, '$ref' => '#/components/schemas/MedicalAnswerInput'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '医疗问答结果', '$ref' => '#/components/schemas/MedicalAnswerResult'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '医疗问答', + 'summary' => '医疗问答', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"searchInformation\\": {\\n \\"searchTime\\": 1028\\n },\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\"\\n }\\n },\\n \\"messages\\": [\\n {\\n \\"content\\": \\"\\",\\n \\"metaData\\": {}\\n }\\n ]\\n}","type":"json"}]', + ], + 'MedicalKnowledge' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/domain/medical/know', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREalibababcpPDPN5D'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => ['description' => '健康图谱查询条件', 'required' => false, '$ref' => '#/components/schemas/MedicalKnowInput'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '健康图谱查询结果', '$ref' => '#/components/schemas/MedicalKnowResult'], + ], ], - 'produces' => [ - 'application/json', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '健康图谱', + 'summary' => '健康图谱', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\"\\n }\\n },\\n \\"searchInformation\\": {\\n \\"searchTime\\": 1028\\n },\\n \\"messages\\": [\\n {\\n \\"url\\": \\"\\",\\n \\"content\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'MultimodalSearch' => [ + 'summary' => '多模态搜索', + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/multimodal/unified', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => ['description' => '查询参数以及屏蔽站点参数', 'required' => false, '$ref' => '#/components/schemas/MultimodalSearchBody'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '图片返回信息', '$ref' => '#/components/schemas/MultimodalSearchOutput'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '多模态搜索', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"sdfsd234-2vxcg345-345vc\\",\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\"\\n }\\n },\\n \\"searchInformation\\": {\\n \\"total\\": 13,\\n \\"searchTime\\": 700\\n },\\n \\"imageItems\\": [\\n {\\n \\"publishedTime\\": \\"2022-07-05T00:54:42+08:00\\",\\n \\"title\\": \\"阿里巴巴现在以主业上为主,以电商为主,以能够盈利的业务为主\\",\\n \\"imageUrl\\": \\"http://pic.rmb.bdstatic.com/bjh/bb87f566c0c/241218/f7936f25837b20211e5ef88d7980c143.jpeg\\",\\n \\"hostPageUrl\\": \\"http://mbd.baidu.com/newspage/data/dtlandingsuper?nid=dt_4541580238898912926\\",\\n \\"height\\": 1330,\\n \\"width\\": 1000\\n }\\n ]\\n}","type":"json"}]', + ], + 'OmniAnswer' => [ + 'summary' => '本文档介绍智能搜索问答流式接口(SearchStream)。该接口基于检索增强生成(RAG)与大语言模型技术,接收用户自然语言问题后,自动执行意图识别、查询改写、多源检索与内容生成。接口采用 Server-Sent Events (SSE) 流式协议返回数据,支持实时输出推理状态、参考来源及逐字生成的答案,适用于对低延迟、高可解释性有要求的智能问答与搜索场景。', + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/answer/omni/search', + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/octet-stream', 'application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK'], + 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => '查询参数以及屏蔽站点参数', - 'required' => false, - '$ref' => '#/components/schemas/MultimodalSearchBody', - ], + 'style' => 'json', + 'schema' => ['description' => '搜索信息', 'required' => false, '$ref' => '#/components/schemas/OmniSearchQuery'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '图片返回信息', - '$ref' => '#/components/schemas/MultimodalSearchOutput', - ], + 'schema' => ['description' => 'SSE流式返回', 'type' => 'string', 'example' => 'data: {"type": "bizType", "data": "content"}'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'AI 问答', + 'responseParamsDescription' => '接口采用标准 SSE 协议逐行推送事件,客户端需按 text/event-stream 规范解析。每行数据格式为:'."\n" + .'data: {"type": "事件类型", "data": "负载内容"}', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\"\\n }\\n },\\n \\"searchInformation\\": {\\n \\"total\\": 0,\\n \\"searchTime\\": 0\\n },\\n \\"imageItems\\": [\\n {\\n \\"publishedTime\\": \\"\\",\\n \\"title\\": \\"\\",\\n \\"imageUrl\\": \\"\\",\\n \\"hostPageUrl\\": \\"\\",\\n \\"height\\": 0,\\n \\"width\\": 0\\n }\\n ]\\n}","type":"json"}]', - 'title' => '多模态搜索', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:OmniAnswer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"\\"data: {\\\\\\"type\\\\\\": \\\\\\"bizType\\\\\\", \\\\\\"data\\\\\\": \\\\\\"content\\\\\\"}\\"","type":"json"}]', ], 'ReadPageBasic' => [ - 'summary' => '快速获取 HTML 并解析静态网页内容。', 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/readpage/basic', - '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' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpG3IIA0', - 'FEATUREalibababcpPDPN5D', - 'FEATUREalibababcp7B4LYV', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpG3IIA0', 'FEATUREalibababcpPDPN5D', 'FEATUREalibababcp7B4LYV'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -2202,11 +1559,7 @@ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => 'post body', - 'required' => false, - '$ref' => '#/components/schemas/ReadPageBody', - ], + 'schema' => ['description' => 'post body', 'required' => false, '$ref' => '#/components/schemas/ReadPageBody'], ], ], 'responses' => [ @@ -2216,68 +1569,59 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => '请求RequestId, 排查问题时可以提供此信息', - 'type' => 'string', - ], - 'errorCode' => [ - 'description' => '错误码', - 'type' => 'string', - ], - 'errorMessage' => [ - 'description' => '错误信息', - 'type' => 'string', - ], - 'data' => [ - 'description' => '目标 url 解析结果', - '$ref' => '#/components/schemas/ReadPageItem', - ], + 'requestId' => ['description' => '请求RequestId, 排查问题时可以提供此信息', 'type' => 'string'], + 'errorCode' => ['description' => '错误码', 'type' => 'string'], + 'errorMessage' => ['description' => '错误信息', 'type' => 'string'], + 'data' => ['description' => '目标 url 解析结果', '$ref' => '#/components/schemas/ReadPageItem'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"errorCode\\": \\"\\",\\n \\"errorMessage\\": \\"\\",\\n \\"data\\": {\\n \\"statusCode\\": 0,\\n \\"errorMessage\\": \\"\\",\\n \\"rawHtml\\": \\"\\",\\n \\"html\\": \\"\\",\\n \\"text\\": \\"\\",\\n \\"markdown\\": \\"\\",\\n \\"screenshot\\": \\"\\"\\n }\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '静态页面解析', + 'summary' => '快速获取 HTML 并解析静态网页内容。', 'description' => '1. 当目标地址的 HTTP 响应码(httpcode)< 500 时,计为一次有效请求。'."\n" ."\n" .'2. 若目标地址的响应头中的内容类型(Content-Type)为 application/pdf,系统将自动触发 PDF 解析(pdf 处理大小不超过 20MB),此操作将额外计为一次有效请求。'."\n" ."\n" .'3. 体验说明:体验期间接口限制 5qps;体验额度为 1000次/30天;', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:ReadPageBasic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"errorCode\\": \\"\\",\\n \\"errorMessage\\": \\"\\",\\n \\"data\\": {\\n \\"statusCode\\": 200,\\n \\"errorMessage\\": \\"null\\",\\n \\"rawHtml\\": \\"<!doctype html><html lang=\\\\\\\\\\\\\\"en\\\\\\\\\\\\\\"><head><title>Example Domain</title><meta name=\\\\\\\\\\\\\\"viewport\\\\\\\\\\\\\\" content=\\\\\\\\\\\\\\"width=device-width, initial-scale=1\\\\\\\\\\\\\\"><style>body{background:#eee;width:60vw;margin:15vh auto;font-family:system-ui,sans-serif}h1{font-size:1.5em}div{opacity:0.8}a:link,a:visited{color:#348}</style><body><div><h1>Example Domain</h1><p>This domain is for use in documentation examples without needing permission. Avoid use in operations.<p><a href=\\\\\\\\\\\\\\"https://iana.org/domains/example\\\\\\\\\\\\\\">Learn more</a></div></body></html>\\\\\\\\n\\",\\n \\"html\\": \\"<html>\\\\\\\\n<head><title>Example Domain</title></head>\\\\\\\\n<body><div>\\\\\\\\n<h1>Example Domain</h1>\\\\\\\\n<p>This domain is for use in documentation examples without needing permission. Avoid use in operations.</p>\\\\\\\\n<p><a href=\\\\\\\\\\\\\\"https://iana.org/domains/example\\\\\\\\\\\\\\">Learn more</a></p>\\\\\\\\n</div></body>\\\\\\\\n</html>\\",\\n \\"text\\": \\"# Example Domain\\\\\\\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\\\\\\\nLearn more\\\\\\\\n\\",\\n \\"markdown\\": \\"# Example Domain\\\\\\\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\\\\\\\n[Learn more](https://iana.org/domains/example)\\\\\\\\n\\",\\n \\"screenshot\\": \\"\\"\\n }\\n}","type":"json"}]', ], 'ReadPageScrape' => [ - 'summary' => '1. 通过浏览器沙箱环境读取 HTML 并解析网页内容。'."\n" - .'2. 接口将在目标页面资源完全加载后开始解析(可通过 pageTimeout 参数调整最大等待时长),接口整体耗时将显著受目标站点资源加载情况的影响。', 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/readpage/scrape', - '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' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpG3IIA0', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpG3IIA0'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -2285,11 +1629,7 @@ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => 'post body', - 'required' => false, - '$ref' => '#/components/schemas/ReadPageScrapeBody', - ], + 'schema' => ['description' => 'post body', 'required' => false, '$ref' => '#/components/schemas/ReadPageScrapeBody'], ], ], 'responses' => [ @@ -2299,46 +1639,321 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '请求RequestId, 排查问题时可以提供此信息', - 'type' => 'string', - 'example' => '7cd43c86-731a-4d4c-8385-d070cfc509a4'."\n", - ], - 'errorCode' => [ - 'description' => '错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'errorMessage' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'data' => [ - 'description' => '目标 url 解析结果', - '$ref' => '#/components/schemas/ReadPageItem', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => '请求RequestId, 排查问题时可以提供此信息', 'type' => 'string', 'example' => '7cd43c86-731a-4d4c-8385-d070cfc509a4'."\n"], + 'errorCode' => ['description' => '错误码', 'type' => 'string', 'example' => 'null'], + 'errorMessage' => ['description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'data' => ['description' => '目标 url 解析结果', '$ref' => '#/components/schemas/ReadPageItem'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7cd43c86-731a-4d4c-8385-d070cfc509a4\\\\n\\",\\n \\"errorCode\\": \\"null\\",\\n \\"errorMessage\\": \\"null\\",\\n \\"data\\": {\\n \\"statusCode\\": 0,\\n \\"errorMessage\\": \\"\\",\\n \\"rawHtml\\": \\"\\",\\n \\"html\\": \\"\\",\\n \\"text\\": \\"\\",\\n \\"markdown\\": \\"\\",\\n \\"screenshot\\": \\"\\"\\n }\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'web页面解析', + 'summary' => '1. 通过浏览器沙箱环境读取 HTML 并解析网页内容。'."\n" + .'2. 接口将在目标页面资源完全加载后开始解析(可通过 pageTimeout 参数调整最大等待时长),接口整体耗时将显著受目标站点资源加载情况的影响。', 'description' => '1. 当目标地址的 HTTP 响应码(httpcode)< 500 时,计为一次有效请求。'."\n" ."\n" .'2. 若目标地址的响应头中的内容类型(Content-Type)为 application/pdf,系统将自动触发 PDF 解析(pdf 处理大小不超过 20MB),此操作将额外计为一次有效请求。'."\n" ."\n" .'3. 体验说明:体验期间接口限制 5qps;体验额度为 1000次/30天;', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:ReadPageScrape', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7cd43c86-731a-4d4c-8385-d070cfc509a4\\\\n\\",\\n \\"errorCode\\": \\"null\\",\\n \\"errorMessage\\": \\"null\\",\\n \\"data\\": {\\n \\"statusCode\\": 200,\\n \\"errorMessage\\": \\"null\\",\\n \\"rawHtml\\": \\"<!doctype html><html lang=\\\\\\\\\\\\\\"en\\\\\\\\\\\\\\"><head><title>Example Domain</title><meta name=\\\\\\\\\\\\\\"viewport\\\\\\\\\\\\\\" content=\\\\\\\\\\\\\\"width=device-width, initial-scale=1\\\\\\\\\\\\\\"><style>body{background:#eee;width:60vw;margin:15vh auto;font-family:system-ui,sans-serif}h1{font-size:1.5em}div{opacity:0.8}a:link,a:visited{color:#348}</style><body><div><h1>Example Domain</h1><p>This domain is for use in documentation examples without needing permission. Avoid use in operations.<p><a href=\\\\\\\\\\\\\\"https://iana.org/domains/example\\\\\\\\\\\\\\">Learn more</a></div></body></html>\\\\\\\\n\\",\\n \\"html\\": \\"<html>\\\\\\\\n<head><title>Example Domain</title></head>\\\\\\\\n<body><div>\\\\\\\\n<h1>Example Domain</h1>\\\\\\\\n<p>This domain is for use in documentation examples without needing permission. Avoid use in operations.</p>\\\\\\\\n<p><a href=\\\\\\\\\\\\\\"https://iana.org/domains/example\\\\\\\\\\\\\\">Learn more</a></p>\\\\\\\\n</div></body>\\\\\\\\n</html>\\",\\n \\"text\\": \\"# Example Domain\\\\\\\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\\\\\\\nLearn more\\\\\\\\n\\",\\n \\"markdown\\": \\"# Example Domain\\\\\\\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\\\\\\\n[Learn more](https://iana.org/domains/example)\\\\\\\\n\\",\\n \\"screenshot\\": \\"\\"\\n }\\n}","type":"json"}]', + ], + 'ScanFile' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/domain/scan/file', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpF36Z7L', 'FEATUREalibababcpLJW8HN', 'FEATUREalibababcpPYBUBJ', 'FEATUREalibababcpRLTK4J', 'FEATUREalibababcpVV9OXO', 'FEATUREalibababcpSJV4QL', 'FEATUREalibababcpTYS4DT', 'FEATUREalibababcpCIGQ7X', 'FEATUREalibababcpJ4YYLV'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => ['description' => '请求结构体。', 'required' => false, '$ref' => '#/components/schemas/ScanFileInput'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '扫描结果', '$ref' => '#/components/schemas/ScanFileOutput'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '文件扫描', + 'summary' => '扫描文件接口利用最新的AI技术,将文档图片(例如试卷、书籍、公文、证件、线稿等)转换为扫描件。接口具有强大的图像处理能力,能够有效去除噪声、矫正图片的形变,能够实现拍照替代传统扫描仪的高清扫描效果。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\",\\n \\"searchInformation\\": {\\n \\"searchTime\\": 1028\\n },\\n \\"scanFileInfoList\\": [\\n {\\n \\"angle\\": 100,\\n \\"height\\": 100,\\n \\"width\\": 100,\\n \\"imageBase64\\": \\"erwre\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'UnifiedSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/search/unified', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpF36Z7L', 'FEATUREalibababcpLJW8HN', 'FEATUREalibababcpPYBUBJ', 'FEATUREalibababcpRLTK4J', 'FEATUREalibababcpVV9OXO', 'FEATUREalibababcpSJV4QL', 'FEATUREalibababcpTYS4DT', 'FEATUREalibababcpCIGQ7X', 'FEATUREalibababcpJ4YYLV'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => ['description' => '搜索请求参数', 'required' => false, '$ref' => '#/components/schemas/UnifiedSearchInput'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '搜索返回参数', '$ref' => '#/components/schemas/UnifiedSearchOutput'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '通晓统一搜索API', + 'summary' => '通晓统一搜索API,简单快捷的接入全网通用搜索能力。', + 'changeSet' => [ + ['createdAt' => '2025-05-08T08:10:19.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:UnifiedSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"queryContext\\": {\\n \\"engineType\\": \\"Generic\\",\\n \\"originalQuery\\": {\\n \\"query\\": \\"杭州美食\\",\\n \\"timeRange\\": \\"NoLimit\\"\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"OneYear\\"\\n }\\n },\\n \\"pageItems\\": [\\n {\\n \\"title\\": \\"上海车展大佬齐聚 问界成为话题中心\\",\\n \\"link\\": \\"https://hea.china.com/articles/20250427/202504271666343.html\\",\\n \\"snippet\\": \\"2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。 ...\\",\\n \\"publishedTime\\": \\"2025-04-27T20:36:04+08:00\\",\\n \\"mainText\\": \\"2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。\\\\\\\\n“问界M9、M8正重构 中国 豪华汽车市场格局。”张兴海说, (此处省略....)。\\\\\\\\n责任编辑:kj005\\\\\\\\n 文章投诉热线:157 3889 8464 投诉邮箱:7983347 16@qq.com\\\\\\\\n关键词:\\",\\n \\"markdownText\\": \\"# 上海车展大佬齐聚 问界成为话题中心**来源**:财讯网 \\\\n**时间**:2025-04-27 20:36:04 \\\\n2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。\\\\n余承东表示,问界M9、M8、M7和M5,都深受消费者喜爱!问界M9连续3个月中国纯电车型保值率第一!纯电、增程车型包揽新能源大型SUV保值率前两名!\\\\n“自己是问界M9的用户\\\\n*责任编辑:kj005*文章投诉热线: 157 3889 8464 \\\\n投诉邮箱: 798334716@qq.com \\",\\n \\"images\\": [\\n \\"[\\\\\\"http://objectnsg.oss-cn-beijing.aliyuncs.com/yhdoc/202504/27/202504272025531927023138.png\\\\\\"]\\"\\n ],\\n \\"hostname\\": \\"中华网\\",\\n \\"hostLogo\\": \\"https://www.china.com/zh_cn/img1905/2023/logo.png\\",\\n \\"summary\\": \\"2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。“自己是问界M9的用户,用车感受非常好。”陈道明表示,体验后才敢现场给大家推荐。未来,希望能实现问界M9的特别定制,让外观、内饰、座椅布局等,更符合自己的使用需求。据悉,2025款问界M9上市25天就交付超1万,已连续11个月蝉联50万元级豪车车销冠;问界M8上市4天,大定就突破了五万 台 ,深受市场任何和用户喜爱...“问界M9、M8正重构 中国 豪华汽车市场格局。”张兴海说, 近 期曾极限试驾问界M8,从重庆出发,历时55小时、行驶超3500公里抵达冈仁波齐。整个行程中,车辆的安全 性 和体验感都表现出色。\\",\\n \\"rerankScore\\": 0.7786493301391602,\\n \\"hostAuthorityScore\\": 0,\\n \\"richMainBody\\": \\"\\",\\n \\"websiteAuthorityScore\\": 0,\\n \\"correlationTag\\": 0,\\n \\"tags\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"sceneItems\\": [\\n {\\n \\"type\\": \\"time\\",\\n \\"detail\\": \\"{\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"伦敦时间\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"targetTimeZone\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Europe/London\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"targetTimeMillisecond\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"1745820817178\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"targetTime\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"2025-04-28 14:13:37\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"beijingTimeZone\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"PRC\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"beijingTimeMillisecond\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"1745846017178\\\\\\\\\\\\\\"}\\"\\n }\\n ],\\n \\"costCredits\\": {\\n \\"search\\": {\\n \\"genericTextSearch\\": 1,\\n \\"liteAdvancedTextSearch\\": 0\\n },\\n \\"valueAdded\\": {\\n \\"summary\\": 1,\\n \\"advanced\\": 0\\n }\\n },\\n \\"searchInformation\\": {\\n \\"searchTime\\": 1028\\n }\\n}","type":"json"}]', ], ], 'endpoints' => [ + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'iqs.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'iqs-vpc.cn-zhangjiakou.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'Bad request', 'message' => 'The input bad request.', 'http_code' => 400, 'description' => '输入参数错误'], + ['code' => 'Forbidden', 'message' => 'Please recharge first.', 'http_code' => 403, 'description' => '余额不足,请先给账户充值。'], + ['code' => 'Forbidden', 'message' => 'Please authorize the AliyunImarketingFullAccess to the sub-account.', 'http_code' => 403, 'description' => '请给该子账号授予AliyunImarketingFullAccess权限'], + ['code' => 'Forbidden', 'message' => 'Please activate AI search service.', 'http_code' => 403, 'description' => '请先开通搜索服务。'], + ['code' => 'Forbidden', 'message' => 'Please authorize the AliyunIQSFullAccess to the sub-account.', 'http_code' => 403, 'description' => '请将AliyunIQSFullAccess授权给该子账号'], + ['code' => 'NotActivate', 'message' => 'Please activate AI search service.', 'http_code' => 403, 'description' => '请先开通搜索服务'], + ['code' => 'TestUserPeriodExpired', 'message' => 'The test period has expired.', 'http_code' => 403, 'description' => '测试用户测试期已失效'], + ['code' => 'TestUserQueryPerDayExceeded', 'message' => 'The query per day exceed the limit.', 'http_code' => 429, 'description' => '测试用户日调用量超出限额'], + ['code' => 'ThrottlingUser', 'message' => 'Request was denied due to user flow control.', 'http_code' => 429, 'description' => '请求因为触发流控被拒绝'], + ], + 'changeSet' => [ [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com', + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'GenericSearch'], + ], + 'createdAt' => '2025-10-29T05:14:09.000Z', + 'description' => '', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIqsUsage'], + ], + ], + 'ram' => [ + 'productCode' => 'IQS', + 'productName' => '信息查询服务', + 'ramCodes' => ['iqs'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'GenericAdvancedSearch', + 'description' => '增强版搜索API', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:GenericAdvancedSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'MultimodalSearch', + 'description' => '多模态搜索', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:MultimodalSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ReadPageBasic', + 'description' => '静态页面解析', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:ReadPageBasic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GenericSearch', + 'description' => '通用搜索', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:GenericSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'OmniAnswer', + 'description' => 'AI 问答', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:OmniAnswer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UnifiedSearch', + 'description' => '通晓统一搜索API', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:UnifiedSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ReadPageScrape', + 'description' => 'web页面解析', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:ReadPageScrape', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'MedicalKnowledge', + 'description' => '健康图谱', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:MedicalKnowledge', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'MedicalAnswer', + 'description' => '医疗问答', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:MedicalAnswer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetIqsUsage', + 'description' => '日调用量查询接口', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:GetIqsUsage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AiSearch', + 'description' => '多阶段流式API', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:AiSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'resourceTypes' => [], ], ]; diff --git a/data/zh_cn/iqs/2024-11-21/api-docs.php b/data/zh_cn/iqs/2024-11-21/api-docs.php index e848196..38a5c73 100644 --- a/data/zh_cn/iqs/2024-11-21/api-docs.php +++ b/data/zh_cn/iqs/2024-11-21/api-docs.php @@ -1,31 +1,12 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'IQS', - 'version' => '2024-11-21', - ], + 'info' => ['style' => 'ROA', 'product' => 'IQS', 'version' => '2024-11-21'], 'directories' => [ [ 'id' => 0, 'title' => '其它', 'type' => 'directory', - 'children' => [ - 'ExpandSearchExpiredTime', - 'ManageSearchAccountInfo', - 'ApplyFormalService', - 'GetAccountReviewRecord', - 'GetServiceConfig', - 'CheckAccountType', - 'GetAccountConfigInfo', - 'ListMeteringDailyDetail', - 'GetMeteringSummary', - 'ListApiCallDailyDetail', - 'ListSubAccountInfo', - 'DownloadMeteringDailyDetail', - 'ListApiNames', - 'DownloadApiCallDailyDetail', - ], + 'children' => ['ExpandSearchExpiredTime', 'ManageSearchAccountInfo', 'ApplyFormalService', 'GetAccountReviewRecord', 'GetServiceConfig', 'CheckAccountType', 'GetAccountConfigInfo', 'ListMeteringDailyDetail', 'GetMeteringSummary', 'ListApiCallDailyDetail', 'ListSubAccountInfo', 'DownloadMeteringDailyDetail', 'ListApiNames', 'DownloadApiCallDailyDetail', 'ListApiInfos', 'ListLimitations', 'GetNormalServiceConfig', 'StopAutoNormalReview', 'OpenAutoNormalReview'], ], ], 'components' => [ @@ -33,261 +14,119 @@ 'AccountCreateCmd' => [ 'type' => 'object', 'properties' => [ - 'accountId' => [ - 'type' => 'string', - ], + 'accountId' => ['type' => 'string'], ], ], 'AccountCredentialDTO' => [ 'type' => 'object', 'properties' => [ - 'accountId' => [ - 'type' => 'string', - ], - 'callerIdentity' => [ - 'type' => 'string', - ], - 'id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'accountId' => ['type' => 'string'], + 'callerIdentity' => ['type' => 'string'], + 'id' => ['type' => 'integer', 'format' => 'int64'], ], ], 'AccountInfoManageRequest' => [ 'description' => '管理智搜账号请求', 'type' => 'object', 'properties' => [ - 'accountId' => [ - 'description' => '阿里云账号(主账号)ID', - 'type' => 'string', - 'example' => '1159902965389687', - ], - 'testQueryPerDay' => [ - 'description' => '测试阶段每天的QPS限额', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2000', - ], - 'testQps' => [ - 'description' => '测试阶段QPS限额', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'quarkKey' => [ - 'description' => '夸克key', - 'type' => 'string', - 'example' => '1', - ], - 'name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => '阿里云', - ], - 'quarkName' => [ - 'description' => '夸克名称', - 'type' => 'string', - 'example' => '1', - ], + 'accountId' => ['description' => '阿里云账号(主账号)ID', 'type' => 'string', 'example' => '1159902965389687'], + 'testQueryPerDay' => ['description' => '测试阶段每天的QPS限额', 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], + 'testQps' => ['description' => '测试阶段QPS限额', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'quarkKey' => ['description' => '夸克key', 'type' => 'string', 'example' => '1'], + 'name' => ['description' => '名称', 'type' => 'string', 'example' => '阿里云'], + 'quarkName' => ['description' => '夸克名称', 'type' => 'string', 'example' => '1'], ], ], 'ApplyFormalServiceCmd' => [ 'type' => 'object', 'properties' => [ - 'instanceId' => [ - 'type' => 'string', - ], - 'accountId' => [ - 'type' => 'string', - ], - 'accountName' => [ - 'type' => 'string', - ], - 'qps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'productName' => [ - 'type' => 'string', - ], - 'contactName' => [ - 'type' => 'string', - ], - 'phone' => [ - 'type' => 'string', - ], - 'address' => [ - 'type' => 'string', - ], - 'sceneDesc' => [ - 'type' => 'string', - ], - 'serviceType' => [ - 'type' => 'string', - ], - 'applyType' => [ - 'type' => 'string', - ], + 'instanceId' => ['type' => 'string'], + 'accountId' => ['type' => 'string'], + 'accountName' => ['type' => 'string'], + 'qps' => ['type' => 'integer', 'format' => 'int32'], + 'productName' => ['type' => 'string'], + 'contactName' => ['type' => 'string'], + 'phone' => ['type' => 'string'], + 'address' => ['type' => 'string'], + 'sceneDesc' => ['type' => 'string'], + 'serviceType' => ['type' => 'string'], + 'applyType' => ['type' => 'string'], 'applyServiceInfos' => [ 'type' => 'array', - 'items' => [ - 'type' => 'object', - ], + 'items' => ['type' => 'object'], ], ], ], 'BaseResponse' => [ 'type' => 'object', 'properties' => [ - 'data' => [ - 'type' => 'object', - ], - 'errorMessage' => [ - 'type' => 'string', - ], - 'errorCode' => [ - 'type' => 'string', - ], + 'data' => ['type' => 'object'], + 'errorMessage' => ['type' => 'string'], + 'errorCode' => ['type' => 'string'], ], ], 'BillDownOrUpgradeCmd' => [ 'type' => 'object', 'properties' => [ - 'accountId' => [ - 'type' => 'string', - ], - 'operateTypEnum' => [ - 'type' => 'string', - ], - 'codeType' => [ - 'type' => 'string', - ], - 'qps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'activeDate' => [ - 'type' => 'string', - ], + 'accountId' => ['type' => 'string'], + 'operateTypEnum' => ['type' => 'string'], + 'codeType' => ['type' => 'string'], + 'qps' => ['type' => 'integer', 'format' => 'int32'], + 'activeDate' => ['type' => 'string'], ], ], 'DownloadApiCallDailyDetailCmd' => [ 'type' => 'object', 'properties' => [ - 'apiName' => [ - 'type' => 'string', - ], - 'engineType' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'endTime' => [ - 'type' => 'string', - ], + 'apiName' => ['type' => 'string'], + 'engineType' => ['type' => 'string'], + 'startTime' => ['type' => 'string'], + 'endTime' => ['type' => 'string'], ], ], 'DownloadMeteringDailyDetailCmd' => [ 'type' => 'object', 'properties' => [ - 'subAccountId' => [ - 'type' => 'string', - ], - 'billingItem' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'endTime' => [ - 'type' => 'string', - ], - 'billPeriod' => [ - 'type' => 'string', - ], + 'subAccountId' => ['type' => 'string'], + 'billingItem' => ['type' => 'string'], + 'startTime' => ['type' => 'string'], + 'endTime' => ['type' => 'string'], + 'billPeriod' => ['type' => 'string'], ], ], 'ExpendExpiredTimeRequest' => [ 'description' => '测试延长时间请求', 'type' => 'object', 'properties' => [ - 'accountId' => [ - 'description' => '账号ID。', - 'type' => 'string', - 'example' => '280451935746041600', - ], - 'testStartTime' => [ - 'description' => '测试开始时间', - 'type' => 'string', - 'example' => '2025:02:24 00:00:00', - ], + 'accountId' => ['description' => '账号ID。', 'type' => 'string', 'example' => '280451935746041600'], + 'testStartTime' => ['description' => '测试开始时间', 'type' => 'string', 'example' => '2025:02:24 00:00:00'], ], ], 'IrAccountEntity' => [ 'type' => 'object', 'properties' => [ - 'modifiedTime' => [ - 'type' => 'string', - ], - 'testQueryPerDay' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'quarkOsr' => [ - 'type' => 'string', - ], - 'accountName' => [ - 'type' => 'string', - ], - 'searchType' => [ - 'type' => 'string', - ], - 'configuration' => [ - 'type' => 'string', - ], - 'quarkUsername' => [ - 'type' => 'string', - ], - 'accountStatus' => [ - 'type' => 'string', - ], - 'accountId' => [ - 'type' => 'string', - ], - 'isDeleted' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'testQps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'createTime' => [ - 'type' => 'string', - ], - 'quarkKey' => [ - 'type' => 'string', - ], - 'id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'testStartTime' => [ - 'type' => 'string', - ], - 'adjustedNormalQps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'modifiedTime' => ['type' => 'string'], + 'testQueryPerDay' => ['type' => 'integer', 'format' => 'int32'], + 'quarkOsr' => ['type' => 'string'], + 'accountName' => ['type' => 'string'], + 'searchType' => ['type' => 'string'], + 'configuration' => ['type' => 'string'], + 'quarkUsername' => ['type' => 'string'], + 'accountStatus' => ['type' => 'string'], + 'accountId' => ['type' => 'string'], + 'isDeleted' => ['type' => 'integer', 'format' => 'int32'], + 'testQps' => ['type' => 'integer', 'format' => 'int32'], + 'createTime' => ['type' => 'string'], + 'quarkKey' => ['type' => 'string'], + 'id' => ['type' => 'integer', 'format' => 'int64'], + 'testStartTime' => ['type' => 'string'], + 'adjustedNormalQps' => ['type' => 'integer', 'format' => 'int32'], ], ], 'IrAccountPageQuery' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], ], ], 'ListApiCallDailyDetailResult' => [ @@ -298,42 +137,16 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'apiName' => [ - 'type' => 'string', - ], - 'failedCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'subAccountId' => [ - 'type' => 'string', - ], - 'avgLatency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'engineType' => [ - 'type' => 'string', - ], - 'successCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'billDate' => [ - 'type' => 'string', - ], - 'p95Latency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'requestMaxQps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'p90Latency' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'apiName' => ['type' => 'string'], + 'failedCount' => ['type' => 'integer', 'format' => 'int32'], + 'subAccountId' => ['type' => 'string'], + 'avgLatency' => ['type' => 'integer', 'format' => 'int32'], + 'engineType' => ['type' => 'string'], + 'successCount' => ['type' => 'integer', 'format' => 'int32'], + 'billDate' => ['type' => 'string'], + 'p95Latency' => ['type' => 'integer', 'format' => 'int32'], + 'requestMaxQps' => ['type' => 'integer', 'format' => 'int32'], + 'p90Latency' => ['type' => 'integer', 'format' => 'int32'], ], ], ], @@ -347,37 +160,15 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'billingQps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'billingFunctionItem' => [ - 'type' => 'string', - ], - 'failedCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'subAccountId' => [ - 'type' => 'string', - ], - 'billingItem' => [ - 'type' => 'string', - ], - 'successCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'billDate' => [ - 'type' => 'string', - ], - 'billPeriod' => [ - 'type' => 'string', - ], - 'ladderTypeCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'billingQps' => ['type' => 'integer', 'format' => 'int32'], + 'billingFunctionItem' => ['type' => 'string'], + 'failedCount' => ['type' => 'integer', 'format' => 'int32'], + 'subAccountId' => ['type' => 'string'], + 'billingItem' => ['type' => 'string'], + 'successCount' => ['type' => 'integer', 'format' => 'int32'], + 'billDate' => ['type' => 'string'], + 'billPeriod' => ['type' => 'string'], + 'ladderTypeCode' => ['type' => 'integer', 'format' => 'int32'], ], ], ], @@ -386,20 +177,10 @@ 'ListServicesResult' => [ 'type' => 'object', 'properties' => [ - 'total' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'maxResults' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'nextToken' => [ - 'type' => 'string', - ], - 'services' => [ - '$ref' => '#/components/schemas/LrOrder', - ], + 'total' => ['type' => 'integer', 'format' => 'int32'], + 'maxResults' => ['type' => 'integer', 'format' => 'int32'], + 'nextToken' => ['type' => 'string'], + 'services' => ['$ref' => '#/components/schemas/LrOrder'], ], ], 'ListSubAccountInfoResult' => [ @@ -410,9 +191,7 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'accountName' => [ - 'type' => 'string', - ], + 'accountName' => ['type' => 'string'], ], ], ], @@ -423,62 +202,28 @@ 'properties' => [ 'accountCredentials' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/AccountCredentialDTO', - ], - ], - 'gmtModified' => [ - 'type' => 'string', - ], - 'commoditySpec' => [ - 'type' => 'string', - ], - 'orderId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'commodityId' => [ - 'type' => 'string', - ], - 'gmtCreate' => [ - 'type' => 'string', - ], - 'customerName' => [ - 'type' => 'string', - ], - 'instanceId' => [ - 'type' => 'string', - ], - 'qps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'expirationTime' => [ - 'type' => 'string', - ], - 'commodityCode' => [ - 'type' => 'string', - ], - 'eventTime' => [ - 'type' => 'string', - ], - 'aliUid' => [ - 'type' => 'string', - ], - 'orderCategory' => [ - 'type' => 'string', - ], - 'status' => [ - 'type' => 'string', - ], + 'items' => ['$ref' => '#/components/schemas/AccountCredentialDTO'], + ], + 'gmtModified' => ['type' => 'string'], + 'commoditySpec' => ['type' => 'string'], + 'orderId' => ['type' => 'integer', 'format' => 'int64'], + 'commodityId' => ['type' => 'string'], + 'gmtCreate' => ['type' => 'string'], + 'customerName' => ['type' => 'string'], + 'instanceId' => ['type' => 'string'], + 'qps' => ['type' => 'integer', 'format' => 'int32'], + 'expirationTime' => ['type' => 'string'], + 'commodityCode' => ['type' => 'string'], + 'eventTime' => ['type' => 'string'], + 'aliUid' => ['type' => 'string'], + 'orderCategory' => ['type' => 'string'], + 'status' => ['type' => 'string'], ], ], 'ManageAccountResult' => [ 'type' => 'object', 'properties' => [ - 'success' => [ - 'type' => 'boolean', - ], + 'success' => ['type' => 'boolean'], ], ], 'MeteringSummaryResult' => [ @@ -489,122 +234,80 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'billingFunctionItem' => [ - 'type' => 'string', - ], - 'billingItem' => [ - 'type' => 'string', - ], - 'failCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'successCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'billingFunctionItem' => ['type' => 'string'], + 'billingItem' => ['type' => 'string'], + 'failCount' => ['type' => 'integer', 'format' => 'int32'], + 'successCount' => ['type' => 'integer', 'format' => 'int32'], ], ], ], ], ], + 'NormalServiceConfigResult' => [ + 'type' => 'object', + 'properties' => [ + 'status' => ['type' => 'string'], + 'availableTime' => ['type' => 'string'], + 'gmtCreate' => ['type' => 'string'], + 'userAPICountInfos' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/UserAPICountInfo'], + ], + ], + ], 'OperationResult' => [ 'description' => '执行结果', 'type' => 'object', 'properties' => [ - 'success' => [ - 'description' => '是否成功。', - 'type' => 'boolean', - 'example' => 'True', - ], + 'success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'True'], ], ], 'PrepaidRecord' => [ 'type' => 'object', 'properties' => [ - 'id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'gmtCreate' => [ - 'type' => 'string', - ], - 'gmtModified' => [ - 'type' => 'string', - ], - 'accountId' => [ - 'type' => 'string', - ], - 'accountName' => [ - 'type' => 'string', - ], - 'codeType' => [ - 'type' => 'string', - ], - 'status' => [ - 'type' => 'string', - ], - 'totalQuota' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'usedQuota' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'remainQuota' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'id' => ['type' => 'integer', 'format' => 'int64'], + 'gmtCreate' => ['type' => 'string'], + 'gmtModified' => ['type' => 'string'], + 'accountId' => ['type' => 'string'], + 'accountName' => ['type' => 'string'], + 'codeType' => ['type' => 'string'], + 'status' => ['type' => 'string'], + 'totalQuota' => ['type' => 'integer', 'format' => 'int64'], + 'usedQuota' => ['type' => 'integer', 'format' => 'int64'], + 'remainQuota' => ['type' => 'integer', 'format' => 'int64'], ], ], 'ReviewRecordResult' => [ 'type' => 'object', 'properties' => [ - 'contactName' => [ - 'type' => 'string', - ], - 'phone' => [ - 'type' => 'string', - ], - 'address' => [ - 'type' => 'string', - ], - 'sceneDesc' => [ - 'type' => 'string', - ], - 'serviceType' => [ - 'type' => 'string', - ], - 'applyType' => [ - 'type' => 'string', - ], + 'contactName' => ['type' => 'string'], + 'phone' => ['type' => 'string'], + 'address' => ['type' => 'string'], + 'sceneDesc' => ['type' => 'string'], + 'serviceType' => ['type' => 'string'], + 'applyType' => ['type' => 'string'], 'scopes' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], 'ServiceConfigResult' => [ 'type' => 'object', 'properties' => [ - 'poiSearchTotalQuota' => [ - 'type' => 'string', - ], - 'poiSearchUsedQuota' => [ - 'type' => 'string', - ], - 'searchTotalQuota' => [ - 'type' => 'string', - ], - 'searchUsedQuota' => [ - 'type' => 'string', - ], - 'status' => [ - 'type' => 'string', - ], + 'poiSearchTotalQuota' => ['type' => 'string'], + 'poiSearchUsedQuota' => ['type' => 'string'], + 'searchTotalQuota' => ['type' => 'string'], + 'searchUsedQuota' => ['type' => 'string'], + 'status' => ['type' => 'string'], + ], + ], + 'UserAPICountInfo' => [ + 'type' => 'object', + 'properties' => [ + 'scope' => ['type' => 'string'], + 'apiType' => ['type' => 'string'], + 'usedCount' => ['type' => 'integer', 'format' => 'int32'], ], ], ], @@ -613,155 +316,103 @@ 'ExpandSearchExpiredTime' => [ 'summary' => '延长测试时间', 'path' => '/linked-retrieval/linked-retrieval-admin/openService/v1/account/commands/expendExpiredTime', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpG3IIA0', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpG3IIA0'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => 'body参数', - 'required' => false, - '$ref' => '#/components/schemas/ExpendExpiredTimeRequest', - ], + 'schema' => ['description' => 'body参数', 'required' => false, '$ref' => '#/components/schemas/ExpendExpiredTimeRequest'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '返回结果', - '$ref' => '#/components/schemas/OperationResult', - ], + 'schema' => ['description' => '返回结果', '$ref' => '#/components/schemas/OperationResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true\\n}","type":"json"}]', 'title' => '测试延长时间', ], 'ManageSearchAccountInfo' => [ 'summary' => '管理智搜用户', 'path' => '/linked-retrieval/linked-retrieval-admin/openService/v1/account/commands/manage', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpG3IIA0', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpG3IIA0'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => '请求体参数', - 'required' => false, - '$ref' => '#/components/schemas/AccountInfoManageRequest', - ], + 'schema' => ['description' => '请求体参数', 'required' => false, '$ref' => '#/components/schemas/AccountInfoManageRequest'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '操作结果', - '$ref' => '#/components/schemas/OperationResult', - ], + 'schema' => ['description' => '操作结果', '$ref' => '#/components/schemas/OperationResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true\\n}","type":"json"}]', 'title' => '管理智搜账号', ], 'ApplyFormalService' => [ 'summary' => '申请正式开通', 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/services/commands/applyFormalService', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp7A75FP', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp7A75FP'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', - 'schema' => [ - 'description' => '申请开通正式请求结构体', - 'required' => false, - '$ref' => '#/components/schemas/ApplyFormalServiceCmd', - ], + 'schema' => ['description' => '申请开通正式请求结构体', 'required' => false, '$ref' => '#/components/schemas/ApplyFormalServiceCmd'], ], ], 'responses' => [ @@ -771,53 +422,34 @@ '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', - ], - 'success' => [ - 'description' => '本次请求是否成功。', - 'type' => 'boolean', - 'example' => 'True', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'], + 'success' => ['description' => '本次请求是否成功。', 'type' => 'boolean', 'example' => 'True'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\",\\n \\"success\\": true\\n}","type":"json"}]', 'title' => '申请开通正式服务', ], 'GetAccountReviewRecord' => [ 'summary' => '查询用户申请记录', 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/services/commands/reviewRecord', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp7A75FP', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp7A75FP'], ], 'parameters' => [], 'responses' => [ @@ -826,166 +458,80 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '6788a2c2-157d4ebe-ad979cd4f296', - ], - 'aliUid' => [ - 'title' => '请求id', - 'description' => '请求id', - 'type' => 'string', - 'example' => '123123213123', - ], - 'instanceId' => [ - 'title' => '用户id', - 'description' => '用户id', - 'type' => 'string', - 'example' => '测试商品', - ], - 'productName' => [ - 'title' => '实例id', - 'description' => '实例id', - 'type' => 'string', - 'example' => '30', - ], - 'qps' => [ - 'title' => '商品名称', - 'description' => '商品名称', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '张三', - ], - 'contactName' => [ - 'title' => 'qps', - 'description' => 'qps', - 'type' => 'string', - 'example' => '18987236721', - ], - 'phone' => [ - 'title' => '联系人名称', - 'description' => '联系人名称', - 'type' => 'string', - 'example' => '123214889322', - ], - 'address' => [ - 'title' => '电话', - 'description' => '电话', - 'type' => 'string', - 'example' => '杭州', - ], - 'sceneDesc' => [ - 'title' => '地址', - 'description' => '地址', - 'type' => 'string', - 'example' => '测试', - ], - 'serviceType' => [ - 'title' => '场景名称', - 'description' => '场景名称', - 'type' => 'string', - 'example' => '测试', - ], + 'requestId' => ['description' => 'Id of the request', 'type' => 'string', 'example' => '6788a2c2-157d4ebe-ad979cd4f296'], + 'aliUid' => ['title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '123123213123'], + 'instanceId' => ['title' => '用户id', 'description' => '用户id', 'type' => 'string', 'example' => '测试商品'], + 'productName' => ['title' => '实例id', 'description' => '实例id', 'type' => 'string', 'example' => '30'], + 'qps' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'integer', 'format' => 'int32', 'example' => '张三'], + 'contactName' => ['title' => 'qps', 'description' => 'qps', 'type' => 'string', 'example' => '18987236721'], + 'phone' => ['title' => '联系人名称', 'description' => '联系人名称', 'type' => 'string', 'example' => '123214889322'], + 'address' => ['title' => '电话', 'description' => '电话', 'type' => 'string', 'example' => '杭州'], + 'sceneDesc' => ['title' => '地址', 'description' => '地址', 'type' => 'string', 'example' => '测试'], + 'serviceType' => ['title' => '场景名称', 'description' => '场景名称', 'type' => 'string', 'example' => '测试'], 'scopes' => [ 'title' => '服务类型', 'description' => '服务类型', 'type' => 'array', - 'items' => [ - 'title' => 'quark', - 'description' => 'quark', - 'type' => 'string', - ], - ], - 'applyType' => [ - 'title' => '服务申请', - 'description' => '服务申请', - 'type' => 'string', - 'example' => '申请服务', + 'items' => ['title' => 'quark', 'description' => 'quark', 'type' => 'string'], ], + 'applyType' => ['title' => '服务申请', 'description' => '服务申请', 'type' => 'string', 'example' => '申请服务'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"6788a2c2-157d4ebe-ad979cd4f296\\",\\n \\"aliUid\\": \\"123123213123\\",\\n \\"instanceId\\": \\"测试商品\\",\\n \\"productName\\": \\"30\\",\\n \\"qps\\": 0,\\n \\"contactName\\": \\"18987236721\\",\\n \\"phone\\": \\"123214889322\\",\\n \\"address\\": \\"杭州\\",\\n \\"sceneDesc\\": \\"测试\\",\\n \\"serviceType\\": \\"测试\\",\\n \\"scopes\\": [\\n \\"\\"\\n ],\\n \\"applyType\\": \\"申请服务\\"\\n}","type":"json"}]', 'title' => '查询用户申请记录', ], 'GetServiceConfig' => [ 'summary' => '查询服务额度信息', 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/services/commands/serviceConfig', - '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' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcp7A75FP', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp7A75FP'], ], 'parameters' => [], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '配额结果', - '$ref' => '#/components/schemas/ServiceConfigResult', - ], + 'schema' => ['description' => '配额结果', '$ref' => '#/components/schemas/ServiceConfigResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"poiSearchTotalQuota\\": \\"\\",\\n \\"poiSearchUsedQuota\\": \\"\\",\\n \\"searchTotalQuota\\": \\"\\",\\n \\"searchUsedQuota\\": \\"\\",\\n \\"status\\": \\"\\"\\n}","type":"json"}]', 'title' => '查询服务配额信息', ], 'CheckAccountType' => [ 'summary' => '校验账号类型', 'path' => '/linked-retrieval/linked-retrieval-admin/openService/v1/account/commands/checkAccountType', - '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' => [ - 'FEATUREalibababcp7A75FP', - ], + 'abilityTreeNodes' => ['FEATUREalibababcp7A75FP'], ], 'parameters' => [], 'responses' => [ @@ -995,66 +541,37 @@ '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', - ], - 'success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'True', - ], - 'message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'ok', - ], - 'link' => [ - 'description' => '链接地址。', - 'type' => 'string', - 'example' => 'http://', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'], + 'success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'True'], + 'message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'ok'], + 'link' => ['description' => '链接地址。', 'type' => 'string', 'example' => 'http://'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\",\\n \\"success\\": true,\\n \\"message\\": \\"ok\\",\\n \\"link\\": \\"http://\\"\\n}","type":"json"}]', 'title' => ' 校验账号类型', ], 'GetAccountConfigInfo' => [ 'summary' => '获取账号配置信息', 'path' => '/linked-retrieval/linked-retrieval-admin/openService/v1/account/command/accountConfig', - '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' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK'], ], 'parameters' => [], 'responses' => [ @@ -1064,453 +581,258 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '6788a2c2-157d4ebe-ad979cd4f296', - ], - 'mainAccountId' => [ - 'description' => '主账号id', - 'type' => 'string', - 'example' => '12123123123', - ], - 'accountStatus' => [ - 'description' => '账号状态', - 'type' => 'string', - 'example' => 'Normal', - ], - 'availableTime' => [ - 'description' => '正式开通时间', - 'type' => 'string', - 'example' => '2025-07-12 12:00:00', - ], - 'ladderType' => [ - 'description' => '阶梯类型', - 'type' => 'string', - 'example' => 'FixLadder', - ], - 'billQps' => [ - 'description' => '计费qps', - 'type' => 'string', - 'example' => '30', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '6788a2c2-157d4ebe-ad979cd4f296'], + 'mainAccountId' => ['description' => '主账号id', 'type' => 'string', 'example' => '12123123123'], + 'accountStatus' => ['description' => '账号状态', 'type' => 'string', 'example' => 'Normal'], + 'availableTime' => ['description' => '正式开通时间', 'type' => 'string', 'example' => '2025-07-12 12:00:00'], + 'ladderType' => ['description' => '阶梯类型', 'type' => 'string', 'example' => 'FixLadder'], + 'billQps' => ['description' => '计费qps', 'type' => 'string', 'example' => '30'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"6788a2c2-157d4ebe-ad979cd4f296\\",\\n \\"mainAccountId\\": \\"12123123123\\",\\n \\"accountStatus\\": \\"Normal\\",\\n \\"availableTime\\": \\"2025-07-12 12:00:00\\",\\n \\"ladderType\\": \\"FixLadder\\",\\n \\"billQps\\": \\"30\\"\\n}","type":"json"}]', 'title' => '查询账号配置信息', ], 'ListMeteringDailyDetail' => [ 'summary' => '查询计量日明细信息', 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/metering/dailyDetail', - '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' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK'], ], 'parameters' => [ [ 'name' => 'startTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间', - 'type' => 'string', - 'required' => false, - 'example' => '20240908', - ], + 'schema' => ['description' => '开始时间', 'type' => 'string', 'required' => false, 'example' => '20240908'], ], [ 'name' => 'endTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间', - 'type' => 'string', - 'required' => false, - 'example' => '20240908', - ], + 'schema' => ['description' => '结束时间', 'type' => 'string', 'required' => false, 'example' => '20240908'], ], [ 'name' => 'subAccountId', 'in' => 'query', - 'schema' => [ - 'description' => '子账号', - 'type' => 'string', - 'required' => false, - 'example' => '23432423423434', - ], + 'schema' => ['description' => '子账号', 'type' => 'string', 'required' => false, 'example' => '23432423423434'], ], [ 'name' => 'billPeriod', 'in' => 'query', - 'schema' => [ - 'description' => '账期', - 'type' => 'string', - 'required' => false, - 'example' => '202506', - ], + 'schema' => ['description' => '账期', 'type' => 'string', 'required' => false, 'example' => '202506'], ], [ 'name' => 'billingItem', 'in' => 'query', - 'schema' => [ - 'description' => '计费项', - 'type' => 'string', - 'required' => false, - 'example' => '增值包', - ], + 'schema' => ['description' => '计费项', 'type' => 'string', 'required' => false, 'example' => '增值包'], ], [ 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '页面。默认为1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '页面。默认为1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '每页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '响应结构体', - '$ref' => '#/components/schemas/ListMeteringDailyDetailResult', - ], + 'schema' => ['description' => '响应结构体', '$ref' => '#/components/schemas/ListMeteringDailyDetailResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"meteringDailyDetailList\\": [\\n {\\n \\"billingQps\\": 0,\\n \\"billingFunctionItem\\": \\"\\",\\n \\"failedCount\\": 0,\\n \\"subAccountId\\": \\"\\",\\n \\"billingItem\\": \\"\\",\\n \\"successCount\\": 0,\\n \\"billDate\\": \\"\\",\\n \\"billPeriod\\": \\"\\",\\n \\"ladderTypeCode\\": 0\\n }\\n ]\\n}","type":"json"}]', 'title' => '查询日计量明细', ], 'GetMeteringSummary' => [ 'summary' => '查询计量汇总信息', 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/metering/summary', - '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' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK'], ], 'parameters' => [ [ 'name' => 'startTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间', - 'type' => 'string', - 'required' => false, - 'example' => '20240920', - ], + 'schema' => ['description' => '开始时间', 'type' => 'string', 'required' => false, 'example' => '20240920'], ], [ 'name' => 'endTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间', - 'type' => 'string', - 'required' => false, - 'example' => '20250522', - ], + 'schema' => ['description' => '结束时间', 'type' => 'string', 'required' => false, 'example' => '20250522'], ], [ 'name' => 'subAccountId', 'in' => 'query', - 'schema' => [ - 'description' => '子账号', - 'type' => 'string', - 'required' => false, - 'example' => '2312312312312', - ], + 'schema' => ['description' => '子账号', 'type' => 'string', 'required' => false, 'example' => '2312312312312'], ], [ 'name' => 'billPeriod', 'in' => 'query', - 'schema' => [ - 'description' => '账期', - 'type' => 'string', - 'required' => false, - 'example' => '202505', - ], + 'schema' => ['description' => '账期', 'type' => 'string', 'required' => false, 'example' => '202505'], ], [ 'name' => 'billingItem', 'in' => 'query', - 'schema' => [ - 'description' => '计费项', - 'type' => 'string', - 'required' => false, - 'example' => '增值包', - ], + 'schema' => ['description' => '计费项', 'type' => 'string', 'required' => false, 'example' => '增值包'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '返回结果结构体', - '$ref' => '#/components/schemas/MeteringSummaryResult', - ], + 'schema' => ['description' => '返回结果结构体', '$ref' => '#/components/schemas/MeteringSummaryResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"meteringSummaryList\\": [\\n {\\n \\"billingFunctionItem\\": \\"\\",\\n \\"billingItem\\": \\"\\",\\n \\"failCount\\": 0,\\n \\"successCount\\": 0\\n }\\n ]\\n}","type":"json"}]', 'title' => '计量汇总信息', ], 'ListApiCallDailyDetail' => [ 'summary' => '查询Api调用量(性能)日明细', 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/apiCall/dailyDetail', - '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' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK'], ], 'parameters' => [ [ 'name' => 'startTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间', - 'type' => 'string', - 'required' => false, - 'example' => '20240908 ', - ], + 'schema' => ['description' => '开始时间', 'type' => 'string', 'required' => false, 'example' => '20240908 '], ], [ 'name' => 'endTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间', - 'type' => 'string', - 'required' => false, - 'example' => '20240908 ', - ], + 'schema' => ['description' => '结束时间', 'type' => 'string', 'required' => false, 'example' => '20240908 '], ], [ 'name' => 'apiName', 'in' => 'query', - 'schema' => [ - 'description' => 'api名称', - 'type' => 'string', - 'required' => false, - 'example' => 'CreateVikaApp', - ], + 'schema' => ['description' => 'api名称', 'type' => 'string', 'required' => false, 'example' => 'CreateVikaApp'], ], [ 'name' => 'engineType', 'in' => 'query', - 'schema' => [ - 'description' => '使用的搜索引擎', - 'type' => 'string', - 'required' => false, - 'example' => 'PlaceBasic', - ], + 'schema' => ['description' => '使用的搜索引擎', 'type' => 'string', 'required' => false, 'example' => 'PlaceBasic'], ], [ 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '页码,默认1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '页码,默认1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '返回结果结构体', - '$ref' => '#/components/schemas/ListApiCallDailyDetailResult', - ], + 'schema' => ['description' => '返回结果结构体', '$ref' => '#/components/schemas/ListApiCallDailyDetailResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"details\\": [\\n {\\n \\"apiName\\": \\"\\",\\n \\"failedCount\\": 0,\\n \\"subAccountId\\": \\"\\",\\n \\"avgLatency\\": 0,\\n \\"engineType\\": \\"\\",\\n \\"successCount\\": 0,\\n \\"billDate\\": \\"\\",\\n \\"p95Latency\\": 0,\\n \\"requestMaxQps\\": 0,\\n \\"p90Latency\\": 0\\n }\\n ]\\n}","type":"json"}]', 'title' => '查询api性能列表', ], 'ListSubAccountInfo' => [ 'summary' => '查询主账号的所有子账号信息', 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/subAccountInfo', - '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' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK'], ], 'parameters' => [], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '返回结果', - '$ref' => '#/components/schemas/ListSubAccountInfoResult', - ], + 'schema' => ['description' => '返回结果', '$ref' => '#/components/schemas/ListSubAccountInfoResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"subAccountInfos\\": [\\n {\\n \\"accountName\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => '查询子账号列表', ], 'DownloadMeteringDailyDetail' => [ 'summary' => '下载接口计量日明细', 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/downloadMeteringDailyDetail', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => '请求体。', - 'required' => false, - '$ref' => '#/components/schemas/DownloadMeteringDailyDetailCmd', - ], + 'schema' => ['description' => '请求体。', 'required' => false, '$ref' => '#/components/schemas/DownloadMeteringDailyDetailCmd'], ], ], 'responses' => [ @@ -1520,56 +842,35 @@ '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', - ], - 'downloadUrl' => [ - 'description' => '下载地址', - 'type' => 'string', - 'example' => 'https://', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'], + 'downloadUrl' => ['description' => '下载地址', 'type' => 'string', 'example' => 'https://'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\",\\n \\"downloadUrl\\": \\"https://\\"\\n}","type":"json"}]', 'title' => '导出计量日明细', ], 'ListApiNames' => [ 'summary' => 'Api名称列表', 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/apiNames', - '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' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK'], ], 'parameters' => [], 'responses' => [ @@ -1579,72 +880,123 @@ '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', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'], 'apiNames' => [ 'description' => 'api名称列表', 'type' => 'array', - 'items' => [ - 'description' => 'api名称', - 'type' => 'string', - 'example' => 'UnfileSearch', - ], + 'items' => ['description' => 'api名称', 'type' => 'string', 'example' => 'UnfileSearch'], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\",\\n \\"apiNames\\": [\\n \\"UnfileSearch\\"\\n ]\\n}","type":"json"}]', 'title' => '查询api名称列表', ], 'DownloadApiCallDailyDetail' => [ 'summary' => '下载接口计量日明细', 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/downloadApiCallDailyDetail', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK'], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', + 'schema' => ['description' => '请求体。', 'required' => false, '$ref' => '#/components/schemas/DownloadApiCallDailyDetailCmd'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '37A6ED15-DB44-50B5-B0DF-9449EED8FDF4'], + 'downloadUrl' => ['description' => '下载地址', 'type' => 'string', 'example' => 'https://'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"37A6ED15-DB44-50B5-B0DF-9449EED8FDF4\\",\\n \\"downloadUrl\\": \\"https://\\"\\n}","type":"json"}]', + 'title' => '导出api日调用明细', + ], + 'ListApiInfos' => [ + 'summary' => '获取API列表', + 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/apiInfos', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREalibababcpR93YRD'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '请求体。', - 'required' => false, - '$ref' => '#/components/schemas/DownloadApiCallDailyDetailCmd', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '86CD53FA-81A5-56A0-AE6F-CA1C56F48574'], + ], ], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"86CD53FA-81A5-56A0-AE6F-CA1C56F48574\\"\\n}","type":"json"}]', + 'title' => '获取API列表', + ], + 'ListLimitations' => [ + 'summary' => '获取运行时限制信息', + 'path' => '/linked-retrieval/linked-retrieval-admin/openService/v1/console/limitation/commands/list/account', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREalibababcpR93YRD'], + ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ @@ -1652,32 +1004,117 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '37A6ED15-DB44-50B5-B0DF-9449EED8FDF4', - ], - 'downloadUrl' => [ - 'description' => '下载地址', - 'type' => 'string', - 'example' => 'https://', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '7CE283B7-50EC-5ABD-9EE5-FC94C38BE37F'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7CE283B7-50EC-5ABD-9EE5-FC94C38BE37F\\"\\n}","type":"json"}]', + 'title' => '获取运行时限制信息', + ], + 'GetNormalServiceConfig' => [ + 'summary' => '获取正式用户使用信息', + 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/services/commands/normalServiceConfig', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"37A6ED15-DB44-50B5-B0DF-9449EED8FDF4\\",\\n \\"downloadUrl\\": \\"https://\\"\\n}","type":"json"}]', - 'title' => '导出api日调用明细', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREalibababcpR93YRD'], + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '使用结果', '$ref' => '#/components/schemas/ServiceConfigResult'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"poiSearchTotalQuota\\": \\"\\",\\n \\"poiSearchUsedQuota\\": \\"\\",\\n \\"searchTotalQuota\\": \\"\\",\\n \\"searchUsedQuota\\": \\"\\",\\n \\"status\\": \\"\\"\\n}","type":"json"}]', + 'title' => '获取正式用户使用信息', + ], + 'StopAutoNormalReview' => [ + 'summary' => '关闭自动转正', + 'path' => '/linked-retrieval/linked-retrieval-admin/openService/v1/account/commands/stopAutoNormalReview', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREalibababcpR93YRD'], + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '关闭自动转正结果', '$ref' => '#/components/schemas/OperationResult'], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true\\n}","type":"json"}]', + 'title' => '关闭自动转正', + ], + 'OpenAutoNormalReview' => [ + 'summary' => '开启自动转正', + 'path' => '/linked-retrieval/linked-retrieval-admin/openService/v1/account/commands/openAutoNormalReview', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREalibababcpR93YRD'], + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '开启自动转正结果', '$ref' => '#/components/schemas/OperationResult'], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true\\n}","type":"json"}]', + 'title' => '开启自动转正', ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com', - ], + ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com'], ], ]; |
