I've built a complete MVC framework that integrates perfectly well into Wordpress. This framework also provides a simple to intermediate implementation of a ReST interface (the real one with hypermedia formats and links between answers and pages, not just the GET/POST/PUT/DELETE part)
I created a custom post type that when created automatically binds to my framework and all urls to access the REST interface work fine until i have to get out of the traditionnal page based url.
That one works fine because the %page% variable gets the 2 into it because it fits the normal permalink structure wordpress uses. Where it starts to get complex is when i want the following url to respond:
This time around, the 32jrfks923841j3k is not a number thus the permalink with the %page% variable is not triggering. My goal isn't all that complicated, i just don't know how to make it work but i want that my pages (The json custom post type only preferably) allow the second url to work. I don't care where this data is going as i have my own custom facility to read URLs in my framework and i will extract it by myself...
It's very important that i do not get redirected, thus mod_rewrite or the rewrite api can probably not be used, this is because ReST by default uses the METHOD to detect what to do, if someone POST to an url, it has to stay like that and respond, not get redirected or else the POST gets lost...