GET

Fetch one or more Encyclopedia Topics.

Each Topic is contained in one or more Categories.

Each Topic is mentioned in one or more Diary Entries.

Add the page to get further pages of results, e.g.:

  • topics?page=2

Fetch more data about a single Topic using its numeric ID, e.g.:

  • topics/796
GET /api/v1/topics/13530
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Cookie, Accept

{
  "id": 13530,
  "title": "Olio",
  "orderTitle": "Olio",
  "wheatleyHTML": "<p>An olio is a mixed dish of meat and vegetables, and, secondarily, mixture or medley.</p>",
  "tooltipText": "Olia is the English name for Olla Podrida, a Spanish stew made from pork and beans and an inconsistent, wide variety of other meats and vegetables, often including chickpeas, depending on the recipe used.",
  "wikipediaURL": "https://en.wikipedia.org/wiki/Olla_podrida",
  "thumbnailURL": null,
  "annotationCount": 0,
  "lastAnnotationTime": null,
  "kind": "default",
  "latitude": null,
  "longitude": null,
  "zoom": null,
  "shape": "",
  "categories": [
    "https://www.pepysdiary.com/api/v1/categories/food"
  ],
  "entries": [
    "https://www.pepysdiary.com/api/v1/entries/1669-05-05",
    "https://www.pepysdiary.com/api/v1/entries/1669-04-05"
  ],
  "lastModifiedTime": "2020-12-21T16:26:23Z",
  "apiURL": "https://www.pepysdiary.com/api/v1/topics/13530",
  "webURL": "https://www.pepysdiary.com/encyclopedia/13530/"
}