diff options
Diffstat (limited to 'data/trafficfxopen')
| -rw-r--r-- | data/trafficfxopen/2024-08-15/api-docs.php | 207 |
1 files changed, 67 insertions, 140 deletions
diff --git a/data/trafficfxopen/2024-08-15/api-docs.php b/data/trafficfxopen/2024-08-15/api-docs.php index 91912af..6e81c0a 100644 --- a/data/trafficfxopen/2024-08-15/api-docs.php +++ b/data/trafficfxopen/2024-08-15/api-docs.php @@ -1,214 +1,141 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'TrafficFxOpen', - 'version' => '2024-08-15', - ], + 'info' => ['style' => 'ROA', 'product' => 'TrafficFxOpen', 'version' => '2024-08-15'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'GetToken' => [ - 'path' => '/v1/distribution/trade/getToken', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ConvertUrl' => [ + 'path' => '/v1/distribution/trade/convertUrl', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ - 'trafficRootTokenAuth' => [], + 'trafficAccessTokenAuth' => [], ], ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'appKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'source', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'appSecret', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'scene', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'Search' => [ - 'path' => '/v1/distribution/trade/search', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'trafficAccessTokenAuth' => [], + 'name' => 'xenv', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'source', + 'name' => 'thirdId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'terminal', + 'name' => 'uid', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'userId', + 'name' => 'phone', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'searchParam', + 'name' => 'jumpUrl', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'countryCallingCode', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'xAcsAirticketAccessToken', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'xAcsAirticketLanguage', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'scene', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ConvertUrl' => [ - 'path' => '/v1/distribution/trade/convertUrl', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetToken' => [ + 'path' => '/v1/distribution/trade/getToken', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ - 'trafficAccessTokenAuth' => [], + 'trafficRootTokenAuth' => [], ], ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'source', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'scene', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'appKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'xenv', - 'in' => 'formData', - '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' => [ [ - 'name' => 'thirdId', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'trafficAccessTokenAuth' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'uid', + 'name' => 'source', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'phone', + 'name' => 'terminal', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'jumpUrl', + 'name' => 'userId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'countryCallingCode', + 'name' => 'searchParam', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'xAcsAirticketAccessToken', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'xAcsAirticketLanguage', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'scene', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], |
