- Documentation
Torch Object Storage
SDK Reference
Browser.js
List Objects
List Unmerged Objects (Browser.js SDK)
List Objects
List Unmerged Objects (Browser.js SDK)
List Unmerged Objects (Browser.js SDK)
This interface is used to list unmerged objects in a bucket, that is, to enumerate multipart upload tasks.
Notes
- To prevent your Volcengine account credentials (namely, AccessKey ID and AccessKey Secret) from being exposed in browser environments, it is strongly recommended that you perform TOS-related operations using temporary access credentials. For detailed instructions, please refer to Using STS Temporary AK/SK+Token to Access Volcengine TOS.
- The Endpoint is the access domain name for TOS external services. For information on Endpoints supported by TOS, please refer to Access Domain Endpoint.
- Before listing multipart upload tasks, you must have the tos:ListBucketMultipartUploads permission. For more information, please refer to IAM Policy Overview.
Parameters
Sample Code
Brief Enumeration
The following code is used to list up to 10 unmerged multipart upload tasks in the specified storage bucket.
<meta charset="UTF-8" />
<button id="upload">Upload</button>
<input id="file" type="file" />
<script src="https://tos-public.volccdn.com/obj/volc-tos-public/@volcengine/tos-sdk@latest/browser/tos.umd.production.min.js"></script>
<script src="./const.js"></script>
<script type="text/javascript">
const client = new TOS({
accessKeyId: yourAccessKey,
accessKeySecret: yourSecretKey,
stsToken: yourSecurityToken,
const listMultipartUploads = async () => {
const data = await client.listMultipartUploads({
console.log('data', data.data);
List all unmerged shard tasks with the specified prefix
The following code enumerates all unmerged multipart upload tasks under the specified bucket and prefix.
<meta charset="UTF-8" />
<button id="upload">Upload</button>
<input id="file" type="file" />
<script src="https://tos-public.volccdn.com/obj/volc-tos-public/@volcengine/tos-sdk@latest/browser/tos.umd.production.min.js"></script>
<script type="text/javascript">
const client = new TOS({
accessKeyId: yourAccessKey,
accessKeySecret: yourSecretKey,
stsToken: yourSecurityToken,
const listMultipartUploads = async () => {
const data = await client.listMultipartUploads({
console.log('data', data.data);
List all multipart upload tasks
The following code is used to list all unmerged multipart upload tasks for the specified bucket.
<meta charset="UTF-8" />
<button id="upload">Upload</button>
<input id="file" type="file" />
<script src="https://tos-public.volccdn.com/obj/volc-tos-public/@volcengine/tos-sdk@latest/browser/tos.umd.production.min.js"></script>
<script src="./const.js"></script>
<script type="text/javascript">
const client = new TOS({
accessKeyId: yourAccessKey,
accessKeySecret: yourSecretKey,
stsToken: yourSecurityToken,
const listMultipartUploads = async () => {
const data = await client.listMultipartUploads({
console.log('data', data.data);
Last updated: 2025.09.22 18:55:46