api_resources use peerRegistry.id instead of old name