List parts

get
https://upload.box.com/api/2.0
/files/upload_sessions/:upload_session_id/parts

Return a list of the chunks uploaded to the upload session so far.

Request

application/json

Path Parameters

stringin pathrequired
D5E3F7A

The ID of the upload session.

Query Parameters

integer / int64in queryoptional
10001000

The maximum number of items to return per page.

integer / int64in queryoptional
10000

The offset of the item at which to begin the response.

Response

application/jsonUpload parts

Returns a list of parts that have been uploaded.

application/jsonClient error

An unexpected client error.

get
List parts
You can now try out some of our APIs live, right here in the documentation.
Log In

Request Example

cURL
curl -X GET https://upload.box.com/api/2.0/files/upload_sessions/F971964745A5CD0C001BBE4E58196BFD/parts \
     -H 'Authorization: Bearer <ACCESS_TOKEN>'
Java
//The following snippet retrives first 1000 parts that are uploaded.
BoxFileUploadSessionPartList partList = session.listParts(0, 1000);
List<BoxFileUploadSessionPart> parts = partList.getEntries();
Python
parts = client.upload_session('11493C07ED3EABB6E59874D3A1EF3581').get_parts()
for part in parts:
    print('Part {0} at offset {1} has already been uploaded'.format(part['part_id'], part['offset']))
Node
// Get the list of parts already uploaded
client.files.getUploadSessionParts('93D9A837B45F', {limit: 100}, callback);