Polish: Standardize agent command API usage

This commit is contained in:
rcourtman
2025-12-23 12:09:57 +00:00
parent 280be81ee9
commit c8f4705c5c
+10
View File
@@ -76,4 +76,14 @@ export class NodesAPI {
method: 'POST',
});
}
static async getAgentInstallCommand(params: {
type: 'pve';
enableProxmox: boolean;
}): Promise<{ command: string }> {
return apiFetchJSON('/api/agent-install-command', {
method: 'POST',
body: JSON.stringify(params),
});
}
}