Category Instance
Fetch one or more Encyclopedia Categories.
Categories are in a tree structure and so each one has zero or more
parents
and children
.
Each Category contains zero or more Topics.
Add the page
to get further pages of results, e.g.:
categories?page=2
Fetch more data about a single Category using its slug, e.g.:
categories/london
GET /api/v1/categories/dairy
https://www.pepysdiary.com/api/v1/categories/fooddrink", "https://www.pepysdiary.com/api/v1/categories/food" ], "children": [], "topics": [ "https://www.pepysdiary.com/api/v1/topics/6329", "https://www.pepysdiary.com/api/v1/topics/389", "https://www.pepysdiary.com/api/v1/topics/359", "https://www.pepysdiary.com/api/v1/topics/1065", "https://www.pepysdiary.com/api/v1/topics/390", "https://www.pepysdiary.com/api/v1/topics/5148", "https://www.pepysdiary.com/api/v1/topics/7507", "https://www.pepysdiary.com/api/v1/topics/10311" ], "apiURL": "https://www.pepysdiary.com/api/v1/categories/dairy", "webURL": "https://www.pepysdiary.com/encyclopedia/fooddrink/food/dairy/" }{ "slug": "dairy", "title": "Dairy produce", "topicCount": 8, "depth": 3, "parents": [ "