DOCS / API REFERENCE

Resolve a finding

POST /v1/foxes/{finding_id}/resolve

POSTHenHouse API v1

Request

POST /v1/foxes/{finding_id}/resolve

Authenticate with a bearer token. Create one with POST /v1/tokens or cluck login.

Parameters

NameTypeDescription
finding_idstringThe finding ID (path)
notestringResolution note

Example

curl -X POST https://api.pollosoft.example/v1/foxes/finding_8f2a/resolve \
  -H "Authorization: Bearer $COOP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"note": "example-note"}'

Response

A successful call returns 201 Created with JSON like this:

{
  "id": "fox_0b2e",
  "status": "resolved",
  "resolved_by": "hen_71b0"
}

Errors

IdempotencySend an Idempotency-Key header to make retries safe. We will return the original result instead of laying a second egg.