---
title: "Record Merged Issue Fix"
method: POST
path: "/api/rooster/issues/{issue_id}/merged"
tags: ["rooster"]
---

# Record Merged Issue Fix

`POST /api/rooster/issues/{issue_id}/merged`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/rooster/issues/{issue_id}/merged`
- Auth: none declared

The fix is merged to main, but not yet proven on staging.

Recorded the moment the merge succeeds, because the merge is the point of no
return: from there the change is on main whatever happens next. ISS-24
merged and deployed, then a later step failed, and with nothing remembering
the merge the loop rebuilt an already-merged fix twice.

Deliberately no status change -- `fix_staged` still means one thing only:
somebody has confirmed staging is serving this commit.

## Path parameters

- `issue_id` string, uuid, required

## Request body

- MergedFixRequest: The same record, for a merge rather than a staging proof. Split off from StagedFixRequest for one field, because the two writes differ in kind. `/staged` ANNOUNCES something to a person and must not happen without an instruction for them. `/merged` REMEMBERS something that has already happened and cannot be undone -- refusing it does not un-merge the commit, it only loses the fact that main now carries it.
  - `pr_url` string, required
  - `branch` string, required
  - `summary` string, required
  - `how_to_check` string
  - `outcome` string
  - `still_off` string
  - `upstream_answer` string

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
