Card 276

Basic functionalities to pull 'publish-gear-endpoint' logic into the platform.
In doing so, we now use 'connection-type' argument to ensure that we check both the connection name and the type.