First attempt at replacing 'publish-gear-endpoint' functionality