File tree Expand file tree Collapse file tree 1 file changed +5
-24
lines changed Expand file tree Collapse file tree 1 file changed +5
-24
lines changed Original file line number Diff line number Diff line change @@ -1835,7 +1835,11 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
18351835 /** 请求里的 Body 参数 */
18361836 Body ?: Body ,
18371837 /** 请求的 API 动作接口(可理解为不带 = 的 Query 参数),如 acl、tagging、image_process 等 */
1838- Action : Action
1838+ Action ?: Action ,
1839+ /** 请求url */
1840+ Url ?: string ,
1841+ /** 返回值body是否不需要解析 */
1842+ RawBody ?: boolean ,
18391843 }
18401844 /** Request 接口返回值 */
18411845 interface RequestResult extends GeneralResult {
@@ -1857,29 +1861,6 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
18571861 Expires ?: number ,
18581862 }
18591863
1860- // request
1861- /** request 接口参数 */
1862- interface RequestParams extends BucketParams {
1863- /** 操作方法,如 get,post,delete, head 等 HTTP 方法 */
1864- Method : string ,
1865- /** 请求的对象键,最前面不带 / */
1866- Key ?: Key ,
1867- /** 请求里的 Url Query 参数 */
1868- Query ?: Query ,
1869- /** 请求里的 Body 参数 */
1870- Body ?: Body | string ,
1871- /** 请求的 API 动作接口(可理解为不带 = 的 Query 参数),如 acl、tagging、image_process 等 */
1872- Action ?: Action ,
1873- /** 请求url */
1874- Url ?: string ,
1875- /** 返回值body是否不需要解析 */
1876- RawBody ?: boolean ,
1877- }
1878- /** Request 接口返回值 */
1879- interface RequestResult extends GeneralResult {
1880- Body ?: Buffer ,
1881- }
1882-
18831864 /** getObjectUrl 接口返回值 */
18841865 interface GetObjectUrlResult {
18851866 /** 返回对象 Url */
You can’t perform that action at this time.
0 commit comments