Defining an API endpoint on a model-by-model basis

I also would love this. I posted the same question a few days ago: