| | |
| | | payload?:any |
| | | startTime?:string |
| | | endTime?:string |
| | | name?:string |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | |
| | | // Get Media Files |
| | | export const getMediaFiles = async function (wid: string, pagination: IPage): Promise<IWorkspaceResponse<any>> { |
| | | export const getMediaFiles = async function (wid: string, pagination: IPage,params:MediaQueryParam): Promise<IWorkspaceResponse<any>> { |
| | | const url = `${HTTP_PREFIX}/files/${wid}/files?page=${pagination.page}&page_size=${pagination.page_size}` |
| | | const result = await request.get(url) |
| | | const result = await request.get(url,{params}) |
| | | return result.data |
| | | } |
| | | // Download Media File |