---
title: "Restore an archived review from a structured document"
method: POST
path: "/api/maintenance/legacy/import"
tags: ["maintenance"]
---

# Restore an archived review from a structured document

`POST /api/maintenance/legacy/import`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body

- ImportLegacyReviewInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `db` string
  - `document` unknown, required
  - `id` integer
  - `postgres_url` string
  - `uuid` string, uuid

## Response `204`

No Content

## Other responses

- `default`: Error

## Changes

- **2026-10-02** `f4a08e7ffd79`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kenn-io/apis/roborev/changes/api/maintenance/legacy/import/post.md)

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) - [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) - [OpenAPI document](https://skmtc.dev/kenn-io/apis/roborev/revisions/5803a85073e3?raw)
