feat: added sse for upload section
This commit is contained in:
@@ -50,6 +50,9 @@ export const API_ROUTES = {
|
||||
VIDEOS: {
|
||||
UPLOAD: '/biz/api/v1/upload',
|
||||
UPLOADS: '/biz/api/v1/uploads',
|
||||
UPLOAD_EVENTS_TOKEN: '/biz/api/v1/uploads/events/token',
|
||||
UPLOAD_EVENTS: (token: string) =>
|
||||
`/biz/api/v1/uploads/events?sse_token=${encodeURIComponent(token)}`,
|
||||
RESULTS: (id: string) => `/biz/api/v1/results/${id}/completed`,
|
||||
},
|
||||
TICKETS: {
|
||||
|
||||
Reference in New Issue
Block a user