rboxapi - changes by raghu to allow /resource/id/subresource/id/