From eccd5cd5a067f5659982685afdeea209b1888efb Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sat, 14 Feb 2026 10:08:30 +0800 Subject: first commit --- data/trafficfxopen/2024-08-15/api-docs.php | 217 +++++++++++++++++++++++++++++ 1 file changed, 217 insertions(+) create mode 100644 data/trafficfxopen/2024-08-15/api-docs.php (limited to 'data/trafficfxopen/2024-08-15') diff --git a/data/trafficfxopen/2024-08-15/api-docs.php b/data/trafficfxopen/2024-08-15/api-docs.php new file mode 100644 index 0000000..91912af --- /dev/null +++ b/data/trafficfxopen/2024-08-15/api-docs.php @@ -0,0 +1,217 @@ + '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'TrafficFxOpen', + 'version' => '2024-08-15', + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'GetToken' => [ + 'path' => '/v1/distribution/trade/getToken', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'trafficRootTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'appKey', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'appSecret', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'Search' => [ + 'path' => '/v1/distribution/trade/search', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'trafficAccessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'source', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'terminal', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'userId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'searchParam', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'xAcsAirticketAccessToken', + 'in' => 'header', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'xAcsAirticketLanguage', + 'in' => 'header', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'scene', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ConvertUrl' => [ + 'path' => '/v1/distribution/trade/convertUrl', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'trafficAccessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'source', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'scene', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'xenv', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'thirdId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'uid', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'phone', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'jumpUrl', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'countryCallingCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'xAcsAirticketAccessToken', + 'in' => 'header', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'xAcsAirticketLanguage', + 'in' => 'header', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + 'endpoints' => [], +]; -- cgit v1.2.3