Box Developer Documentation
 
    Latest version

    List parts

    get
    https://{box-upload-server}/api/2.0
    /files/upload_sessions/:upload_session_id/parts

    This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.

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

    The actual endpoint URL is returned by the Create upload session and Get upload session endpoints.

    Request

    bearer [ACCESS_TOKEN]
    application/json

    Path Parameters

    stringin pathrequired
    D5E3F7A

    The ID of the upload session.

    Query Parameters

    integer (int64)in queryoptional
    1000
    1000

    The maximum number of items to return per page.

    integer (int64)in queryoptional
    1000
    0

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

    Queries with offset parameter value exceeding 10000 will be rejected with a 400 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 -i -X GET "https://upload.box.com/2.0/files/upload_sessions/F971964745A5CD0C001BBE4E58196BFD/parts" \
         -H "authorization: Bearer <ACCESS_TOKEN>"

    Response Example

    {
      "entries": [
        {
          "offset": 16777216,
          "part_id": "6F2D3486",
          "size": 3222784,
          "sha1": "134b65991ed521fcfe4724b7d814ab8ded5185dc"
        }
      ],
      "limit": 1000,
      "offset": 2000,
      "order": [
        {
          "by": "type",
          "direction": "ASC"
        }
      ],
      "total_count": 5000
    }