How would I access the API for pastes? I've tried adding .api suffix to /projects/$project/pastes URI, but that results in 406 Not Acceptable status.
Do you know of a way to DRY-up index.api.rsb, so it reuse the show API action? If that would be erb, I'd use a partial, but I have no idea what is equivalent for rsb.
I've added the support for the Rest API available via Redmine (http://www.redmine.org/projects/redmine/wiki/Rest_api)
It helps a lot to make plugins for Textmate or Sublime text, or even shell script via Curl.
Hope you will like it.