I have used a polymorphic path in the past, I think I usually include a profile as well so it indicates the actual type, like for the account:

https://github.com/PRX/PRX.org-Backend/blob/feat/story_default_series_image/app/representers/api/story_representer.rb#L26