Making a read only API with Hugo

What would be the best way to expose an issue, multiple issues, the summary of the status, and other things in a REST API with Hugo?

would be ideal if it could be done under an /api/ directive but alas, I’m also constrained by the fact that cstate is a mere theme

This is too broad a question to be fruitful. Please open another thread if you have concrete Hugo questions.