Should /v2/interfaces?select=connected return unconnected plugs/slots?

We discussed this briefly on IRC and the summary is:

  • we have a legacy connection-oriented API
  • we have a non-legacy interface (not plug or slot) oriented API with server-side filtering
  • we don’t have a non-legacy connection-oriented API with server-side filtering but want one

As a quick workaround for the lack of that we could use the legacy API and filter client side.