REST API

# Get a feature plan

`GET https://mbj-api.com/v1/feature_plans/{id}`

Returns one published plan with voted for the supplied identity. Drafts return 404; no debug filter. Localized by Preferred-Languages or Language-Code with original-content fallback.

## Request

```sh
curl --include --request GET 'https://mbj-api.com/v1/feature_plans/1' \
  --header 'Authorization: Token token=YOUR_API_KEY' \
  --header 'Identity-Anonymous-ID: $MBJAnonymousID:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
```

Replace the example ID with an ID returned by the corresponding list operation.

## Parameters

| Name / location | Required / type | Details |
| --- | --- | --- |
| `id` / path | Yes / integer | Feature plan ID Example: `1` |

Headers: `Identity-Anonymous-ID` (required), `Identity-External-ID`, `Preferred-Languages`, `Language-Code`. See [Headers](https://docs.mobilejoe.dev/api.md#headers).

## Responses

### 200 — Successful response

`application/json` · [FeaturePlan schema](https://docs.mobilejoe.dev/api/schemas.md)

```json
{
  "id": 1,
  "title": "PDF Export",
  "body": "Allow exporting data to PDF format for offline viewing",
  "score": 42,
  "status": "open",
  "voted": false,
  "created_at": "2024-01-08T12:00:00Z",
  "updated_at": "2024-01-08T12:00:00Z"
}
```

Errors: 400, 401, 403, 404, 422, and 429. See [Errors](https://docs.mobilejoe.dev/api.md#errors).
