Start of card 276.

Basic functionalities to pull 'publish-gear-endpoint' logic into the platform.