-
Notifications
You must be signed in to change notification settings - Fork 677
/
Copy pathurl.ts
39 lines (29 loc) · 1.14 KB
/
url.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
enum ApiUrl {
Register = '/auth/register',
Login = '/auth/login',
Logout = '/auth/logout',
UserMe = '/user/me',
Conversation = '/conv',
AllConversation = '/conv/all',
UserList = '/user',
ChatPlugin = '/chat/openai-plugin',
ChatPlugins = '/chat/openai-plugins',
InstalledChatPlugins = '/chat/openai-plugins/installed',
ServerStatus = '/status/common',
SystemInfo = '/system/info',
SystemRequestStatistics = '/system/stats/request',
SystemAskStatistics = '/system/stats/ask',
SystemActionSyncOpenaiWebConversations = '/system/action/sync-openai-web-conv',
SystemCheckOpenaiWebAccount = '/system/check-openai-web-account',
ServerLogs = '/logs/server',
CompletionLogs = '/logs/completions',
SystemConfig = '/system/config',
SystemCredentials = '/system/credentials',
FilesLocalUpload = '/files/local/upload',
FilesLocalDownload = '/files/local/download',
FilesOpenaiWebUploadStart = '/files/openai-web/upload-start',
FilesOpenaiWebUploadComplete = '/files/openai-web/upload-complete',
FilesLocalUploadToOpenaiWeb = '/files/local/upload-to-openai-web',
ArkoseInfo = '/arkose/info',
}
export default ApiUrl;