You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 17, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: lib/Api/ObjectsApi.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1116,7 +1116,7 @@ public function uploadChunk($bucket_key, $object_name, $content_length, $content
1116
1116
* @param int $content_length Indicates the size of the request body. (required)
1117
1117
* @param string $content_range Byte range of a segment being uploaded (required)
1118
1118
* @param string $session_id Unique identifier of a session of a file being uploaded (required)
1119
-
* @param \SplFileObject $body (required)
1119
+
* @param string $body Chunk content(required)
1120
1120
* @param string $content_disposition The suggested default filename when downloading this object to a file after it has been uploaded. (optional)
1121
1121
* @param string $if_match If-Match header containing a SHA-1 hash of the bytes in the request body can be sent by the calling service or client application with the request. If present, OSS will use the value of If-Match header to verify that a SHA-1 calculated for the uploaded bytes server side matches what was sent in the header. If not, the request is failed with a status 412 Precondition Failed and the data is not written. (optional)
1122
1122
* @throws \Autodesk\Forge\Client\ApiException on non-2xx response
@@ -1268,7 +1268,7 @@ public function uploadChunkWithHttpInfo($bucket_key, $object_name, $content_leng
* @param string $object_name URL-encoded object name (required)
1270
1270
* @param int $content_length Indicates the size of the request body. (required)
1271
-
* @param \SplFileObject $body (required)
1271
+
* @param string $body File content (required)
1272
1272
* @param string $content_disposition The suggested default filename when downloading this object to a file after it has been uploaded. (optional)
1273
1273
* @param string $if_match If-Match header containing a SHA-1 hash of the bytes in the request body can be sent by the calling service or client application with the request. If present, OSS will use the value of If-Match header to verify that a SHA-1 calculated for the uploaded bytes server side matches what was sent in the header. If not, the request is failed with a status 412 Precondition Failed and the data is not written. (optional)
1274
1274
* @throws \Autodesk\Forge\Client\ApiException on non-2xx response
@@ -1288,7 +1288,7 @@ public function uploadObject($bucket_key, $object_name, $content_length, $body,
* @param string $object_name URL-encoded object name (required)
1290
1290
* @param int $content_length Indicates the size of the request body. (required)
1291
-
* @param \SplFileObject $body (required)
1291
+
* @param string $body File content (required)
1292
1292
* @param string $content_disposition The suggested default filename when downloading this object to a file after it has been uploaded. (optional)
1293
1293
* @param string $if_match If-Match header containing a SHA-1 hash of the bytes in the request body can be sent by the calling service or client application with the request. If present, OSS will use the value of If-Match header to verify that a SHA-1 calculated for the uploaded bytes server side matches what was sent in the header. If not, the request is failed with a status 412 Precondition Failed and the data is not written. (optional)
1294
1294
* @throws \Autodesk\Forge\Client\ApiException on non-2xx response
0 commit comments