API responses include links which 404

Bug report -

I’ve noticed the REST API sometimes responds with links that 404 when followed.

example: GET /personas/{id}

{
  "id": 2832,
  "name": "Deftly-D",
  "bio": "foo",
  "since": 1991,
  "email": "example@spinitron.com",
  "website": "https://foo.com/example",
  "image": "foo.jpg",
  "_links": {
    "self": {
      "href": "string"
    },
    "shows": [
      {
        "href": "/api/shows/123" <-- returns 404 not found when requested
      }
    ]
  }
}

These should be omitted from the response body.

1 Like

Thanks @dctalbot , that seems reasonable.