diff options
| author | Zhineng Li <[email protected]> | 2026-02-14 10:08:30 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-14 10:08:30 +0800 |
| commit | eccd5cd5a067f5659982685afdeea209b1888efb (patch) | |
| tree | 1626c903b854317be1708ce3ccd3b4f4e6e0fc97 /data/iqs | |
| download | acs-metadata-main.tar.gz acs-metadata-main.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/iqs')
| -rw-r--r-- | data/iqs/2024-07-12/api-docs.php | 1012 | ||||
| -rw-r--r-- | data/iqs/2024-11-11/api-docs.php | 1371 | ||||
| -rw-r--r-- | data/iqs/2024-11-21/api-docs.php | 1078 |
3 files changed, 3461 insertions, 0 deletions
diff --git a/data/iqs/2024-07-12/api-docs.php b/data/iqs/2024-07-12/api-docs.php new file mode 100644 index 0000000..736154d --- /dev/null +++ b/data/iqs/2024-07-12/api-docs.php @@ -0,0 +1,1012 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'IQS', + 'version' => '2024-07-12', + ], + 'components' => [ + 'schemas' => [ + 'AgentBaseQuery' => [ + 'type' => 'object', + 'properties' => [ + 'query' => [ + 'type' => 'string', + ], + ], + ], + 'CommonAgentQuery' => [ + 'type' => 'object', + 'properties' => [ + 'query' => [ + 'type' => 'string', + ], + 'querySceneEnumCode' => [ + 'type' => 'string', + ], + 'limit' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'searchModel' => [ + 'type' => 'string', + ], + ], + ], + 'QueryResult' => [ + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'images' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + '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', + ], + ], + ], + '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', + ], + ], + ], + ], + ], + 'apis' => [ + 'QueryRestaurants' => [ + 'path' => '/amap-function-call-agent/iqs-agent-service/v1/nl/restaurants', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/AgentBaseQuery', + 'required' => false, + ], + ], + ], + ], + 'QueryHotels' => [ + 'path' => '/amap-function-call-agent/iqs-agent-service/v1/nl/hotels', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/AgentBaseQuery', + 'required' => false, + ], + ], + ], + ], + 'QueryAttractions' => [ + 'path' => '/amap-function-call-agent/iqs-agent-service/v1/nl/attractions', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/AgentBaseQuery', + 'required' => false, + ], + ], + ], + ], + 'CommonQueryByScene' => [ + 'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/common', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/CommonAgentQuery', + 'required' => false, + ], + ], + ], + ], + 'QueryRestaurantsNl' => [ + 'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/restaurants', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/AgentBaseQuery', + 'required' => false, + ], + ], + ], + ], + 'QueryHotelsNl' => [ + 'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/hotels', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/AgentBaseQuery', + 'required' => false, + ], + ], + ], + ], + 'QueryAttractionsNl' => [ + 'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/attractions', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/AgentBaseQuery', + 'required' => false, + ], + ], + ], + ], + 'NearbySearchNova' => [ + 'path' => '/ipaas/v2/pois/nearby', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'keywords', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'longitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'latitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'radius', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'types', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'size', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'cityLimit', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'sortRule', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ElectrobikeDirectionNova' => [ + 'path' => '/ipaas/v2/direction/electrobike', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'originLongitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'originLatitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'destinationLongitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'destinationLatitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'showPolyline', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + 'PlaceSearchNova' => [ + 'path' => '/ipaas/v2/pois/place', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'keywords', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'region', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'types', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'size', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'cityLimit', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + 'BicyclingDirectionNova' => [ + 'path' => '/ipaas/v2/direction/bicycling', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'originLongitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'originLatitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'destinationLongitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'destinationLatitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'showPolyline', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + 'WalkingDirectionNova' => [ + 'path' => '/ipaas/v2/direction/walking', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'originLongitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'originLatitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'destinationLongitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'destinationLatitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'showPolyline', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + 'GeoCode' => [ + 'path' => '/ipaas/v1/geocode/geo', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'address', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'city', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'DrivingDirectionNova' => [ + 'path' => '/ipaas/v2/direction/driving', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'originLongitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'originLatitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'destinationLongitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'destinationLatitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'carType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'plate', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'showPolyline', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + 'RgeoCode' => [ + 'path' => '/ipaas/v1/geocode/regeo', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'longitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'latitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'TransitIntegratedDirection' => [ + 'path' => '/ipaas/v2/direction/transit/integrated', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'originLongitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'originLatitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'destinationLongitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'destinationLatitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'originCity', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'destinationCity', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'showPolyline', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + 'DrivingDirection' => [ + 'path' => '/ipaas/v1/direction/driving', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'originLongitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'originLatitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'destinationLongitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'destinationLatitude', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com', + ], + ], +]; diff --git a/data/iqs/2024-11-11/api-docs.php b/data/iqs/2024-11-11/api-docs.php new file mode 100644 index 0000000..44a99b7 --- /dev/null +++ b/data/iqs/2024-11-11/api-docs.php @@ -0,0 +1,1371 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'IQS', + 'version' => '2024-11-11', + ], + 'components' => [ + 'schemas' => [ + 'AISearchQuery' => [ + 'type' => 'object', + 'properties' => [ + 'searchEngine' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'quark', + 'bing', + 'baidu', + 'google', + ], + ], + 'searchPlan' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'basic', + 'advanced', + ], + ], + 'query' => [ + 'type' => 'string', + 'required' => false, + ], + 'cardQuery' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'active', + 'off', + ], + ], + 'page' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + 'sessionId' => [ + 'type' => 'string', + 'required' => false, + ], + 'card' => [ + 'type' => 'string', + 'required' => false, + ], + 'timeRange' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'OneDay', + 'OneWeek', + 'OneMonth', + 'OneYear', + 'NoLimit', + ], + ], + ], + ], + 'GenericSearchResult' => [ + 'type' => 'object', + 'properties' => [ + 'pageItems' => [ + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/ScorePageItem', + ], + ], + 'requestId' => [ + 'type' => 'string', + ], + 'weiboItems' => [ + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/WeiboItem', + ], + ], + 'searchInformation' => [ + '$ref' => '#/components/schemas/SearchInformation', + ], + 'sceneItems' => [ + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/SceneItem', + ], + ], + 'queryContext' => [ + '$ref' => '#/components/schemas/QueryContext', + ], + ], + ], + 'GetIqsUsageResult' => [ + 'type' => 'object', + 'properties' => [ + 'records' => [ + 'type' => 'array', + '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', + ], + ], + ], + ], + ], + ], + 'GlobalPageItem' => [ + 'type' => 'object', + 'properties' => [ + 'snippet' => [ + 'type' => 'string', + ], + 'link' => [ + 'type' => 'string', + 'required' => true, + ], + 'title' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + 'GlobalQueryContext' => [ + 'type' => 'object', + 'properties' => [ + 'originalQuery' => [ + 'type' => 'object', + 'properties' => [ + 'query' => [ + 'type' => 'string', + ], + 'page' => [ + 'type' => 'string', + ], + 'timeRange' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'GlobalSceneItem' => [ + 'type' => 'object', + 'properties' => [ + 'detail' => [ + 'type' => 'string', + ], + 'type' => [ + 'type' => 'string', + ], + ], + ], + 'GlobalSearchInformation' => [ + 'type' => 'object', + 'properties' => [ + 'total' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'searchTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'GlobalSearchResult' => [ + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'type' => 'string', + ], + 'queryContext' => [ + '$ref' => '#/components/schemas/GlobalQueryContext', + ], + 'pageItems' => [ + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/GlobalPageItem', + ], + ], + 'sceneItems' => [ + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/GlobalSceneItem', + ], + ], + 'searchInformation' => [ + '$ref' => '#/components/schemas/GlobalSearchInformation', + ], + ], + ], + 'IncludeImage' => [ + 'type' => 'object', + 'properties' => [ + 'imageLink' => [ + 'type' => 'string', + 'required' => false, + ], + 'width' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + 'height' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + 'LocationInfo' => [ + 'type' => 'object', + 'properties' => [ + 'ip' => [ + 'type' => 'string', + ], + 'city' => [ + 'type' => 'string', + ], + ], + ], + 'MultimodalOriginalQuery' => [ + 'type' => 'object', + 'properties' => [ + 'query' => [ + 'type' => 'string', + ], + ], + ], + 'MultimodalQueryContext' => [ + 'type' => 'object', + 'properties' => [ + 'originalQuery' => [ + '$ref' => '#/components/schemas/MultimodalOriginalQuery', + ], + ], + ], + 'MultimodalSearchBody' => [ + 'type' => 'object', + 'properties' => [ + 'query' => [ + 'type' => 'string', + ], + 'advancedParams' => [ + 'type' => 'object', + ], + ], + ], + 'MultimodalSearchOutput' => [ + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'type' => 'string', + ], + 'queryContext' => [ + '$ref' => '#/components/schemas/MultimodalQueryContext', + ], + 'searchInformation' => [ + '$ref' => '#/components/schemas/SearchInformation', + ], + 'imageItems' => [ + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/UnifiedImageItem', + ], + ], + ], + ], + 'QueryContext' => [ + 'type' => 'object', + 'properties' => [ + 'originalQuery' => [ + 'type' => 'object', + 'properties' => [ + 'query' => [ + 'type' => 'string', + ], + 'timeRange' => [ + 'type' => 'string', + ], + 'industry' => [ + 'type' => 'string', + ], + 'page' => [ + 'type' => 'string', + ], + ], + ], + 'rewrite' => [ + 'type' => 'object', + 'properties' => [ + 'enabled' => [ + 'type' => 'boolean', + ], + 'timeRange' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'ReadPageBody' => [ + 'type' => 'object', + 'properties' => [ + 'url' => [ + 'type' => 'string', + 'required' => true, + ], + 'timeout' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'pageTimeout' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'formats' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'location' => [ + 'type' => 'string', + ], + 'maxAge' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'readability' => [ + 'type' => 'object', + 'properties' => [ + 'readabilityMode' => [ + 'type' => 'string', + ], + 'excludeAllImages' => [ + 'type' => 'boolean', + ], + 'excludeAllLinks' => [ + 'type' => 'boolean', + ], + 'excludedTags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'ReadPageItem' => [ + 'type' => 'object', + 'properties' => [ + 'statusCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'errorMessage' => [ + 'type' => 'string', + ], + 'rawHtml' => [ + 'type' => 'string', + ], + 'html' => [ + 'type' => 'string', + ], + 'text' => [ + 'type' => 'string', + ], + 'markdown' => [ + 'type' => 'string', + ], + 'screenshot' => [ + 'type' => 'string', + ], + ], + ], + 'ReadPageScrapeBody' => [ + 'type' => 'object', + 'properties' => [ + 'url' => [ + 'type' => 'string', + 'required' => true, + ], + 'timeout' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'pageTimeout' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'location' => [ + 'type' => 'string', + ], + 'maxAge' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'readability' => [ + 'type' => 'object', + 'properties' => [ + 'readabilityMode' => [ + 'type' => 'string', + ], + 'excludeAllImages' => [ + 'type' => 'boolean', + ], + 'excludeAllLinks' => [ + 'type' => 'boolean', + ], + 'excludedTags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'formats' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'RequestContents' => [ + 'type' => 'object', + 'properties' => [ + 'mainText' => [ + 'type' => 'boolean', + ], + 'markdownText' => [ + 'type' => 'boolean', + ], + 'summary' => [ + 'type' => 'boolean', + ], + 'rerankScore' => [ + 'type' => 'boolean', + ], + 'richMainBody' => [ + 'type' => 'boolean', + ], + ], + ], + 'SceneItem' => [ + 'type' => 'object', + 'properties' => [ + 'detail' => [ + 'type' => 'string', + ], + 'type' => [ + 'type' => 'string', + ], + ], + ], + 'ScorePageItem' => [ + 'type' => 'object', + 'properties' => [ + 'publishTime' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + ], + 'score' => [ + 'type' => 'number', + 'format' => 'double', + 'required' => false, + ], + 'images' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + '$ref' => '#/components/schemas/IncludeImage', + 'required' => false, + ], + ], + 'htmlTitle' => [ + 'type' => 'string', + 'required' => true, + ], + 'displayLink' => [ + 'type' => 'string', + 'required' => true, + ], + 'mime' => [ + 'type' => 'string', + 'required' => false, + ], + 'pageMap' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'cardType' => [ + 'type' => 'string', + 'required' => true, + ], + 'link' => [ + 'type' => 'string', + 'required' => true, + ], + 'mainText' => [ + 'type' => 'string', + 'required' => false, + ], + 'htmlSnippet' => [ + 'type' => 'string', + 'required' => true, + ], + 'title' => [ + 'type' => 'string', + 'required' => true, + ], + 'hostname' => [ + 'type' => 'string', + ], + 'hostLogo' => [ + 'type' => 'string', + ], + 'siteLabel' => [ + 'type' => 'string', + ], + 'markdownText' => [ + 'type' => 'string', + ], + 'snippet' => [ + 'type' => 'string', + ], + 'summary' => [ + 'type' => 'string', + ], + 'hostAuthorityScore' => [ + 'type' => 'number', + 'format' => 'double', + ], + 'richMainBody' => [ + 'type' => 'string', + ], + 'websiteAuthorityScore' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'correlationTag' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'SearchCredits' => [ + 'type' => 'object', + 'properties' => [ + 'genericTextSearch' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'liteAdvancedTextSearch' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'SearchInformation' => [ + 'type' => 'object', + 'properties' => [ + 'total' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'searchTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'UnifiedCostCredits' => [ + 'type' => 'object', + 'properties' => [ + 'search' => [ + '$ref' => '#/components/schemas/SearchCredits', + ], + 'valueAdded' => [ + '$ref' => '#/components/schemas/ValueAddedCredits', + ], + ], + ], + 'UnifiedImageItem' => [ + 'type' => 'object', + 'properties' => [ + 'publishedTime' => [ + 'type' => 'string', + ], + 'title' => [ + 'type' => 'string', + ], + 'imageUrl' => [ + 'type' => 'string', + ], + 'hostPageUrl' => [ + 'type' => 'string', + ], + 'height' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'width' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'UnifiedOriginalQuery' => [ + 'type' => 'object', + 'properties' => [ + 'query' => [ + 'type' => 'string', + ], + 'timeRange' => [ + 'type' => 'string', + ], + ], + ], + 'UnifiedPageItem' => [ + 'type' => 'object', + 'properties' => [ + 'title' => [ + 'type' => 'string', + ], + 'link' => [ + 'type' => 'string', + ], + 'snippet' => [ + 'type' => 'string', + ], + 'publishedTime' => [ + 'type' => 'string', + ], + 'mainText' => [ + 'type' => 'string', + ], + 'markdownText' => [ + 'type' => 'string', + ], + 'images' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'hostname' => [ + 'type' => 'string', + ], + 'hostLogo' => [ + 'type' => 'string', + ], + 'summary' => [ + 'type' => 'string', + ], + 'rerankScore' => [ + 'type' => 'number', + 'format' => 'double', + ], + 'hostAuthorityScore' => [ + 'type' => 'number', + 'format' => 'double', + ], + 'richMainBody' => [ + 'type' => 'string', + ], + 'websiteAuthorityScore' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'correlationTag' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'UnifiedQueryContext' => [ + 'type' => 'object', + 'properties' => [ + 'engineType' => [ + 'type' => 'string', + ], + 'originalQuery' => [ + '$ref' => '#/components/schemas/UnifiedOriginalQuery', + ], + 'rewrite' => [ + '$ref' => '#/components/schemas/UnifiedRewrite', + ], + ], + ], + 'UnifiedRewrite' => [ + 'type' => 'object', + 'properties' => [ + 'enabled' => [ + 'type' => 'boolean', + ], + 'timeRange' => [ + 'type' => 'string', + ], + ], + ], + 'UnifiedSceneItem' => [ + 'type' => 'object', + 'properties' => [ + 'detail' => [ + 'type' => 'string', + ], + 'type' => [ + 'type' => 'string', + ], + ], + ], + 'UnifiedSearchInformation' => [ + 'type' => 'object', + 'properties' => [ + 'searchTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'UnifiedSearchInput' => [ + 'type' => 'object', + 'properties' => [ + 'contents' => [ + '$ref' => '#/components/schemas/RequestContents', + ], + 'query' => [ + 'type' => 'string', + ], + 'engineType' => [ + 'type' => 'string', + 'enum' => [ + 'Generic', + 'GenericAdvanced', + 'LiteAdvanced', + ], + ], + 'category' => [ + 'type' => 'string', + ], + 'timeRange' => [ + 'type' => 'string', + 'enum' => [ + 'OneDay', + 'OneWeek', + 'OneMonth', + 'OneYear', + 'NoLimit', + ], + ], + 'location' => [ + 'type' => 'string', + ], + 'locationInfo' => [ + '$ref' => '#/components/schemas/LocationInfo', + ], + 'advancedParams' => [ + 'type' => 'object', + ], + ], + ], + 'UnifiedSearchOutput' => [ + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'type' => 'string', + ], + 'queryContext' => [ + '$ref' => '#/components/schemas/UnifiedQueryContext', + ], + 'pageItems' => [ + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/UnifiedPageItem', + ], + ], + 'sceneItems' => [ + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/UnifiedSceneItem', + ], + ], + 'costCredits' => [ + '$ref' => '#/components/schemas/UnifiedCostCredits', + ], + 'searchInformation' => [ + '$ref' => '#/components/schemas/UnifiedSearchInformation', + ], + ], + ], + 'ValueAddedCredits' => [ + 'type' => 'object', + 'properties' => [ + 'summary' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'advanced' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'WeiboItem' => [ + 'type' => 'object', + 'properties' => [ + 'images' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'publishDisplayTime' => [ + 'type' => 'string', + 'required' => true, + ], + 'cardType' => [ + 'type' => 'string', + 'required' => true, + ], + 'homepageLink' => [ + 'type' => 'string', + 'required' => false, + ], + 'link' => [ + 'type' => 'string', + 'required' => true, + ], + 'htmlSnippet' => [ + 'type' => 'string', + 'required' => true, + ], + 'username' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + 'apis' => [ + 'UnifiedSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/search/unified', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/UnifiedSearchInput', + 'required' => false, + ], + ], + ], + ], + 'GenericSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericSearch', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'query', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'timeRange', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'sessionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'industry', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + '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, + ], + ], + ], + ], + 'AiSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v3/linkedRetrieval/commands/aiSearch', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'query', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'sessionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'timeRange', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'industry', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + 'GenericAdvancedSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericAdvancedSearch', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'query', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'timeRange', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'sessionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'industry', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GlobalSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/search/global', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'query', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'timeRange', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + 'GetIqsUsage' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/v1/iqs/usage', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'startDate', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'endDate', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'callerId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'MultimodalSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/multimodal/unified', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/MultimodalSearchBody', + 'required' => false, + ], + ], + ], + ], + 'ReadPageBasic' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/readpage/basic', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/ReadPageBody', + 'required' => false, + ], + ], + ], + ], + 'ReadPageScrape' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/readpage/scrape', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/ReadPageScrapeBody', + 'required' => false, + ], + ], + ], + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com', + ], + ], +]; diff --git a/data/iqs/2024-11-21/api-docs.php b/data/iqs/2024-11-21/api-docs.php new file mode 100644 index 0000000..4cf3f67 --- /dev/null +++ b/data/iqs/2024-11-21/api-docs.php @@ -0,0 +1,1078 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'IQS', + 'version' => '2024-11-21', + ], + 'components' => [ + 'schemas' => [ + 'AccountCreateCmd' => [ + 'type' => 'object', + 'properties' => [ + 'accountId' => [ + 'type' => 'string', + ], + ], + ], + 'AccountCredentialDTO' => [ + 'type' => 'object', + 'properties' => [ + 'accountId' => [ + 'type' => 'string', + ], + 'callerIdentity' => [ + 'type' => 'string', + ], + 'id' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'AccountInfoManageRequest' => [ + 'type' => 'object', + 'properties' => [ + 'accountId' => [ + 'type' => 'string', + ], + 'testQueryPerDay' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'testQps' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'quarkKey' => [ + 'type' => 'string', + ], + 'name' => [ + 'type' => 'string', + ], + 'quarkName' => [ + 'type' => 'string', + ], + ], + ], + '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', + ], + 'applyServiceInfos' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + ], + ], + ], + ], + 'BaseResponse' => [ + 'type' => 'object', + 'properties' => [ + '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', + ], + ], + ], + 'DownloadApiCallDailyDetailCmd' => [ + 'type' => 'object', + 'properties' => [ + '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', + ], + ], + ], + 'ExpendExpiredTimeRequest' => [ + 'type' => 'object', + 'properties' => [ + 'accountId' => [ + 'type' => 'string', + ], + 'testStartTime' => [ + 'type' => 'string', + ], + ], + ], + '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', + ], + ], + ], + 'IrAccountPageQuery' => [ + 'type' => 'object', + 'properties' => [ + 'name' => [ + 'type' => 'string', + ], + ], + ], + 'ListApiCallDailyDetailResult' => [ + 'type' => 'object', + 'properties' => [ + 'details' => [ + 'type' => 'array', + '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', + ], + ], + ], + ], + ], + ], + 'ListMeteringDailyDetailResult' => [ + 'type' => 'object', + 'properties' => [ + 'meteringDailyDetailList' => [ + 'type' => 'array', + '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', + ], + ], + ], + ], + ], + ], + 'ListServicesResult' => [ + 'type' => 'object', + 'properties' => [ + 'total' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'maxResults' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'nextToken' => [ + 'type' => 'string', + ], + 'services' => [ + '$ref' => '#/components/schemas/LrOrder', + ], + ], + ], + 'ListSubAccountInfoResult' => [ + 'type' => 'object', + 'properties' => [ + 'subAccountInfos' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'accountName' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'LrOrder' => [ + 'type' => 'object', + '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', + ], + ], + ], + 'ManageAccountResult' => [ + 'type' => 'object', + 'properties' => [ + 'success' => [ + 'type' => 'boolean', + ], + ], + ], + 'MeteringSummaryResult' => [ + 'type' => 'object', + 'properties' => [ + 'meteringSummaryList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'billingFunctionItem' => [ + 'type' => 'string', + ], + 'billingItem' => [ + 'type' => 'string', + ], + 'failCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'successCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + ], + ], + 'OperationResult' => [ + 'type' => 'object', + 'properties' => [ + 'success' => [ + 'type' => 'boolean', + ], + ], + ], + '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', + ], + ], + ], + 'ReviewRecordResult' => [ + 'type' => 'object', + 'properties' => [ + 'contactName' => [ + 'type' => 'string', + ], + 'phone' => [ + 'type' => 'string', + ], + 'address' => [ + 'type' => 'string', + ], + 'sceneDesc' => [ + 'type' => 'string', + ], + 'serviceType' => [ + 'type' => 'string', + ], + 'applyType' => [ + 'type' => 'string', + ], + 'scopes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'ServiceConfigResult' => [ + 'type' => 'object', + 'properties' => [ + 'poiSearchTotalQuota' => [ + 'type' => 'string', + ], + 'poiSearchUsedQuota' => [ + 'type' => 'string', + ], + 'searchTotalQuota' => [ + 'type' => 'string', + ], + 'searchUsedQuota' => [ + 'type' => 'string', + ], + 'status' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'apis' => [ + 'ExpandSearchExpiredTime' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/openService/v1/account/commands/expendExpiredTime', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/ExpendExpiredTimeRequest', + 'required' => false, + ], + ], + ], + ], + 'ManageSearchAccountInfo' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/openService/v1/account/commands/manage', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/AccountInfoManageRequest', + 'required' => false, + ], + ], + ], + ], + 'ApplyFormalService' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/services/commands/applyFormalService', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + '$ref' => '#/components/schemas/ApplyFormalServiceCmd', + 'required' => false, + ], + ], + ], + ], + 'GetAccountReviewRecord' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/services/commands/reviewRecord', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [], + ], + 'GetServiceConfig' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/services/commands/serviceConfig', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [], + ], + 'CheckAccountType' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/openService/v1/account/commands/checkAccountType', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [], + ], + 'GetAccountConfigInfo' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/openService/v1/account/command/accountConfig', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [], + ], + 'ListMeteringDailyDetail' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/metering/dailyDetail', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'startTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'endTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'subAccountId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'billPeriod', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'billingItem', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + 'GetMeteringSummary' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/metering/summary', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'startTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'endTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'subAccountId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'billPeriod', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'billingItem', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ListApiCallDailyDetail' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/apiCall/dailyDetail', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'startTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'endTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'apiName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'engineType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + 'ListSubAccountInfo' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/subAccountInfo', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [], + ], + 'DownloadMeteringDailyDetail' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/downloadMeteringDailyDetail', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/DownloadMeteringDailyDetailCmd', + 'required' => false, + ], + ], + ], + ], + 'ListApiNames' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/apiNames', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [], + ], + 'DownloadApiCallDailyDetail' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/console/v1/monitors/commands/downloadApiCallDailyDetail', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + '$ref' => '#/components/schemas/DownloadApiCallDailyDetailCmd', + 'required' => false, + ], + ], + ], + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com', + ], + ], +]; |
