code: func (ep *endpoint) Key() []string {
  	if ep.network == nil {
  		return nil
  	}
  
  	return []string{datastore.EndpointKeyPrefix, ep.network.id, ep.id}
  }
docs: // endpoint Key structure : endpoint/network-id/endpoint-id