Story #3028

Updated by over 3 years ago

In Pulp 2, users can get a list of installed plugins at the `/pulp/api/v2/plugins/types/` endpoint.

For Pulp 3, it probably makes more sense to add this to the `v3/status/` endpoint, possibly only in "verbose" mode.

Currently, this feature is listed as 3.1+, but I think this feature would be very helpful as a sanity check for plugin writers to test the discovery of a bootstrapped plugin (ideally, freshly generated by our plugin template).

Another reason to do this soon is to write reusable code that would be helpful in filling out the REST API with views for master ViewSets. For example, there is no endpoint at `v3/repositories/myrepo/importers/`, but it would be nice to see what importer types that are available. I'm marking #2948 as related for this reason.

One idea for how an implantation might work is to keep a list of plugin_configs in our, similar to the INSTALLED_APPS list: