api/environment: making GetCapabilities call public