async def METHOD_NAME(self, env: data.Environment, update: bool, metadata: JsonType) -> Apireturn:
    LOGGER.info("Received change notification for environment %s", env.id)
    if "type" not in metadata:
        metadata["type"] = "api"
    if "message" not in metadata:
        metadata["message"] = "Recompile trigger through API call"
    warnings = await self._async_recompile(env, update, metadata=metadata)
    return attach_warnings(200, None, warnings)