Skip to main content

MediaApiClientInterface

Methods

chunkUploadMedia()

chunkUploadMedia(data, bytesStart, bytesEnd, bytesTotal, config?): Promise<SCChunkMediaType>

Parameters

ParameterType
dataChunkUploadParams
bytesStartnumber
bytesEndnumber
bytesTotalnumber
config?AxiosRequestConfig<any>

Returns

Promise<SCChunkMediaType>

Source

services/media/index.ts:8


chunkUploadMediaComplete()

chunkUploadMediaComplete(data, config?): Promise<SCMediaType>

Parameters

ParameterType
dataChunkUploadCompleteParams
config?AxiosRequestConfig<any>

Returns

Promise<SCMediaType>

Source

services/media/index.ts:15


clickMedia()

clickMedia(id, ip?, config?): Promise<any>

Parameters

ParameterType
idstring | number
ip?string
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/media/index.ts:17


createMedia()

createMedia(data, config?): Promise<SCMediaType>

Parameters

ParameterType
dataMediaCreateParams
config?AxiosRequestConfig<any>

Returns

Promise<SCMediaType>

Source

services/media/index.ts:16


deleteMedia()

deleteMedia(id, config?): Promise<any>

Parameters

ParameterType
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/media/index.ts:20


getSpecificMedia()

getSpecificMedia(id, config?): Promise<SCMediaType>

Parameters

ParameterType
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCMediaType>

Source

services/media/index.ts:18


updateMedia()

updateMedia(id, image, config?): Promise<SCMediaType>

Parameters

ParameterType
idstring | number
imagestring
config?AxiosRequestConfig<any>

Returns

Promise<SCMediaType>

Source

services/media/index.ts:19