I could have this wrong, but it looks like the data returned by a ‘post’ callback has
category_slug but no
category_id, while the data returned by a ‘topic’ callback has a
category_id but no
If that is the case (and I’m not missing a configuration somewhere) would be nice if both callbacks standardised on either
category_slug or returned both.
It would also be most excellent if both types had
parent_category_slug if arriving from a post or topic in a subcategory. Right now both provide
category_id which doesn’t indicate whether it’s a category or subcategory.