---
title: "Update caption or order of an upload"
method: PUT
path: "/v1/projects/{projectId}/public-page/assets/{assetId}"
tags: ["Project Public Page"]
---

# Update caption or order of an upload

`PUT /v1/projects/{projectId}/public-page/assets/{assetId}`

## Path parameters

- `projectId` string, required
- `assetId` string, required

## Request body

- PublicPageAssetUpdateDto
  - `caption` string
  - `ordering` integer

## Response `200`

Updated upload

- PublicPageAssetDto
  - `id` string
  - `type` string
  - `fileName` string
  - `contentType` string
  - `size` integer
  - `caption` string
  - `ordering` integer
  - `previewUrl` string
  - `created` integer

## Other responses

- `401` — Not authorized
- `404` — Upload, page or project not found

## Changes

> 8 revisions in range; 1 not diffed.

- **2026-09-06** `24f693bd6f1f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/timesheet/apis/timesheet-api/changes/v1/projects/:projectId/public-page/assets/:assetId/put.md)

---

[API](https://skmtc.dev/timesheet/apis/timesheet-api.md) · [All operations](https://skmtc.dev/timesheet/apis/timesheet-api/llms.txt) · [OpenAPI document](https://skmtc.dev/timesheet/apis/timesheet-api/revisions/a3d2f44e7345?raw)
