Download apps/web/src/api/system.ts from hunian003/message: direct link, hf CLI and curl.
- Browser
- Download file 275 Bytes
-
https://huggingface.co/spaces/hunian003/message/resolve/main/apps/web/src/api/system.ts
- Command line
-
hf download hf://spaces/hunian003/message/apps/web/src/api/system.ts
-
curl -L -o system.ts https://huggingface.co/spaces/hunian003/message/resolve/main/apps/web/src/api/system.ts
275 Bytes
| /** | |
| * 系统状态 API client | |
| */ | |
| import { apiClient } from './client'; | |
| import { SystemStatusResponse } from '@typings/system'; | |
| export const systemApi = { | |
| /** | |
| * 获取系统状态 | |
| */ | |
| getStatus: () => | |
| apiClient.get<SystemStatusResponse>('/system/status'), | |
| }; | |