I think you need to use libhildonmime (see /usr/share/applications/uri-action-defaults.list in particular) but it's undocumented (bug 3890)