---
title: "Uploads a file chunk to the image store relative path."
method: PUT
path: "/ImageStore/{contentPath}/$/UploadChunk"
tags: ["ImageStore"]
---

# Uploads a file chunk to the image store relative path.

`PUT /ImageStore/{contentPath}/$/UploadChunk`

Uploads a file chunk to the image store with the specified upload session ID and image store relative path. This API allows user to resume the file upload operation. user doesn't have to restart the file upload from scratch whenever there is a network interruption. Use this option if the file size is large.

To perform a resumable file upload, user need to break the file into multiple chunks and upload these chunks to the image store one-by-one. Chunks don't have to be uploaded in order. If the file represented by the image store relative path already exists, it will be overwritten when the upload session commits.

## Path parameters

- `contentPath` string, required

## Query parameters

- `api-version` '6.0', required
- `session-id` string, uuid, required
- `timeout` integer

## Headers

- `Content-Range` string, required

## Response `200`

A successful operation will return the HTTP 200 OK status code.

## Other responses

- `default` — The detailed error response.

---

[API](https://skmtc.net/azure/apis/service-fabric-client-apis.md) · [All operations](https://skmtc.net/azure/apis/service-fabric-client-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/service-fabric-client-apis/versions/6df9f2f4d542/schema)
