allow arbitrary index value for show rest endpoints, added show apikey endpoint