diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/osssddp/2024-02-22 | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/osssddp/2024-02-22')
| -rw-r--r-- | data/osssddp/2024-02-22/api-docs.php | 54 |
1 files changed, 14 insertions, 40 deletions
diff --git a/data/osssddp/2024-02-22/api-docs.php b/data/osssddp/2024-02-22/api-docs.php index dedd877..dc91050 100644 --- a/data/osssddp/2024-02-22/api-docs.php +++ b/data/osssddp/2024-02-22/api-docs.php @@ -1,22 +1,13 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'OssSddp', - 'version' => '2024-02-22', - ], + 'info' => ['style' => 'RPC', 'product' => 'OssSddp', 'version' => '2024-02-22'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'UpgradeSddpVersion' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetSddpVersion' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -27,32 +18,13 @@ [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'OssVersion', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '2', - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetSddpVersion' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpgradeSddpVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -63,10 +35,12 @@ [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'OssVersion', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '2'], ], ], ], |
