---
title: "Send the manifest of the files to copy/move & delete in this transaction"
method: POST
path: "/commitManifest"
tags: ["Pre-publish"]
---

# Send the manifest of the files to copy/move & delete in this transaction

`POST /commitManifest`

## Request

- Base URL: `/v1` (relative, and the document’s source URL is not known)
- URL: `/v1/commitManifest`
- Auth: none declared

Send the manifest of the files to copy/move & delete in this transaction

## Query parameters

- `transactionId` string, required

## Request body

- object
  - `filesToCopy` object[]
    - `source` string
    - `target` string
  - `urisToDelete` string[]

## Response `200`

publish manifest sent successfully

- Result
  - `message` string: message about the request result
  - `error` boolean: indicates if the request was successful
  - `transaction` object
    - `id` string: the created transaction ID
    - `status` string: the current status of the transaction
    - `startDate` string: the date the transaction of created
    - `uriInfos` string[]: URI information for this transaction
    - `uriDeletes` string[]: URI delete information for this transaction
    - `errors` string[]: error information for this transaction

## Other responses

- `400`: bad request
- `500`: internal server error

---

[API](https://skmtc.dev/office-of-national-statistics/apis/florence-the-train.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/florence-the-train/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/florence-the-train/revisions/3610afa7d2a7?raw)
