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/trafficfxopen/2024-08-15 | |
| download | acs-metadata-main.tar.gz acs-metadata-main.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/trafficfxopen/2024-08-15')
| -rw-r--r-- | data/trafficfxopen/2024-08-15/api-docs.php | 217 |
1 files changed, 217 insertions, 0 deletions
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 @@ +<?php return [ + 'version' => '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' => [], +]; |
