summaryrefslogtreecommitdiff
path: root/data/trafficfxopen/2024-08-15/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
commit814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch)
tree29e1692a067b17e56886a7d246d2b9521b2b7777 /data/trafficfxopen/2024-08-15/api-docs.php
parenteccd5cd5a067f5659982685afdeea209b1888efb (diff)
downloadafterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz
afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip
update APIs 20260712
Diffstat (limited to 'data/trafficfxopen/2024-08-15/api-docs.php')
-rw-r--r--data/trafficfxopen/2024-08-15/api-docs.php207
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],
],
],
],