Simple JSON endpoint using Flow-Router? Is this possible?

So I have a section of my app that allows the user to edit a JSON config file. This file is returned when I invoke a meteor method.

Now I have a situation where my buddy at work wants to fetch this file from his own app - so basically, I just want to set up a JSON endpoint for him.

How can I return raw JSON when an authorized user hits a certain URL at my domain? I’m using FlowRouter, if that is important.

Thanks.

Hmm, just found this: https://github.com/stubailo/meteor-rest/tree/master/packages/json-routes not sure if this is what I need, but looking into it…