code: def all_base_links(rel_to=None):
      
      links = [
          base_link('get-releases'),
          base_link('service'),
          server_link('get-servers'),
          server_link('add-server'),
          replica_set_link('add-replica-set'),
          replica_set_link('get-replica-sets'),
          sharded_cluster_link('add-sharded-cluster'),
          sharded_cluster_link('get-sharded-clusters')
      ]
      for link in links:
          if link['rel'] == rel_to:
              link['rel'] = 'self'
      return links
docs: Get a list of all links to be included to base (/) API requests.