Skip to content
Snippets Groups Projects
Unverified Commit 9c0276f9 authored by GyDi's avatar GyDi
Browse files

chore: add api

parent 0a3402ff
No related branches found
No related tags found
No related merge requests found
......@@ -142,6 +142,14 @@ export async function getProviders() {
return response.providers as any;
}
// todo: proxy providers health check
export async function getProviderHealthCheck(name: string) {
const instance = await getAxios();
return instance.get(
`/providers/proxies/${encodeURIComponent(name)}/healthcheck`
);
}
// Close specific connection
export async function deleteConnection(id: string) {
const instance = await getAxios();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment