---
title: "Aircraft Rig Pairing Result"
method: POST
path: "/api/v1/aircraft/rig-pairing/{pairing_id}/result"
tags: ["testing rigs"]
---

# Aircraft Rig Pairing Result

`POST /api/v1/aircraft/rig-pairing/{pairing_id}/result`

## Request

- Base URL: `https://api.brumby.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brumby.com/api/v1/aircraft/rig-pairing/{pairing_id}/result`
- Auth: none declared

The aircraft took its pairing (`confirmed`) or could not (`failed`, `detail`
why), with its flight controller and gimbal links (`links`). 404 for any pairing
that is not this aircraft's.

## Path parameters

- `pairing_id` string, uuid, required

## Headers

- `authorization` string, nullable

## Request body

- AircraftPairingResult: `POST /api/v1/aircraft/rig-pairing/{pairing_id}/result`: whether the aircraft took the pairing it was handed (`detail` says why when it could not) and, while paired, its links: re-sent when one changes and every 60 s.
  - `state` 'confirmed' | 'failed', required
  - `detail` string, nullable
  - `links` AircraftLinks: The aircraft's own links, as its Jetson sees them. `fcu`: a heartbeat from its flight controller (the Cube, or BrumbySim's SITL). `pod`: its gimbal answers.
    - `fcu` LinkReport
      - `ok` boolean, required
      - `detail` string
    - `pod` LinkReport
      - `ok` boolean, required
      - `detail` string

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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