STI: is it possible to map STI resource?

Hi to all,

someone can tell me if are there some ways to map STI model into a
resource map ? (restful)

I cannot figure out how to implement a single controller/views to handle
STI resources…

Ex.:

Model : Category => type(s) => CategoryEvent, CategoryCalendar, and so
on…

I want to have a single restful controller ex. categories handling all
category types in some ways:

ex.

List all category of type Calendar: /categories/CategoryCalendar
New category of type Event: /categories/new/CategoryEvent

I cannot figure out how to map map.resource…, maybe passing a type
parameter? but doing so it’s not beautiful:

/categories?type=CategoryCalendar
/categories/new?type=CategoryEvent

Someone can help me ?

Thanks a lot…