# FixAction

> Something a person or agent can do to resolve a finding or failure.

Something a person or agent can do to resolve a finding or failure. At least one of `command`, `api` or `url` is set.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `kind` * | `one_click`, `command`, `api`, `open_pr`, `docs`, `manual` |  |
| `label` * | string |  |
| `description` | string |  |
| `command` | string | Equivalent `guv` CLI command. |
| `api` | object | Equivalent API call. |
| `manifest_patch` | string | The `guv.yaml` change, as a unified diff. |
| `url` | string (uri) |  |

\* always present

## Example

```json
{
  "kind": "one_click",
  "label": "Set port to 8080",
  "command": "guv services update web --port 8080 --env production",
  "api": {
    "method": "PATCH",
    "path": "/v1/projects/primecarers/services/web",
    "body": {
      "port": 8080
    }
  }
}
```
