Is is posible to modify the json output of any of the READ API endpoints?
-
So, I know I can create my own endpoints, do the queries and output my own json. But there is one of the READ API endpoints that does what I need at 99%, so it would be easier to add something extra to it
https://docs.nodebb.org/api/#tag/users/paths/~1api~1user~1{userslug}~1topics/get
Is there a hook or any way to modify the output of this json? the same way I use the BUILD hooks to modify the json that pages uses, like the
filter:topic.build
or
filter:category.build
or
filter:categories.build
Copyright © 2024 NodeBB | Contributors