---
title: "handle recover"
method: POST
path: "/api/v1/deploy/application/recover"
tags: ["api/v1/deploy", "application"]
---

# handle recover

`POST /api/v1/deploy/application/recover`

#### Controller: 

`github.com/raghavyuva/nixopus-api/internal/features/deploy/controller.(*DeployController).HandleRecover`

#### Middlewares:

- `github.com/go-fuego/fuego.defaultLogger.middleware`
- `github.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2`
- `github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func1`
- `github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func2`
- `github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func3`

---

## Headers

- `Accept` string

## Response `200`

OK

- RecoverResponse — RecoverResponse schema
  - `data` object
    - `failed` object[]
      - `application_id` string, uuid
      - `application_name` string
      - `reason` string
    - `recovered` object[]
      - `application_id` string, uuid
      - `application_name` string
      - `reason` string
    - `skipped` object[]
      - `application_id` string, uuid
      - `application_name` string
      - `reason` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request _(validation or deserialization error)_
- `500` — Internal Server Error _(panics)_
- `default`

## Changes

- **2026-02-27** `93bf2b2f361d` — 14 breaking, 1 info
  - the request property `application_id` became not nullable
  - the response property `errors/items/` became nullable for the status `400` (media type: application/json)
  - the response property `errors/items/` became nullable for the status `400` (media type: application/xml)
  - the response property `errors/items/` became nullable for the status `500` (media type: application/json)
  - …11 more
- **2026-02-20** `69609ac98b4d` — 1 info
  - endpoint added
- **2026-02-20** `69609ac98b4d` — 1 info
  - endpoint added
- **2026-02-19** `b8c4e3fcf23f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nixopus/apis/openapi/changes/api/v1/deploy/application/recover/post.md)

---

[API](https://skmtc.dev/nixopus/apis/openapi.md) · [All operations](https://skmtc.dev/nixopus/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nixopus/openapi/revisions/93bf2b2f361d/schema)
