Story #3472
Updated by daviddavis over 6 years ago
Working on the Ansible plugin, we have multiple content types (roles, role versions, and more in the future). For role, I was thinking about defining my a content viewset to be of type 'role' which pulpcore automatically sets up as in turn defines "/api/v3/content/role/". See: https://github.com/pulp/pulp_file/blob/master/pulp_file/app/viewsets.py#L32 That got me thinking: what if another plugin has a role type? Apparently if I have two viewsets that define type 'role', the application just selects one of the two. I can't make out which it prefers though. Note that this also applies to publishers, importers, etc.