adds /api/p private space name generator helper