Help Center> Media Processing Center> SDK Reference> Java SDK 3.x.x> Mappings Between MPC SDK and APIs
Updated on 2022-08-29 GMT+08:00

Mappings Between MPC SDK and APIs

Table 1 Mapping between MPC SDK and APIs

SDK Interface

API

Description

createTranscodingTask

POST /v1/{project_id}/transcodings

Creates a transcoding task.

deleteTranscodingTask

DELETE /v1/{project_id}/transcodings{?task_id}

Deletes a transcoding task.

listTranscodingTask

GET /v1/{project_id}/transcodings{?task_id}

Queries transcoding tasks.

createTransTemplate

POST /v1/{project_id}/template/transcodings

Creates a transcoding template.

deleteTemplate

DELETE /v1/{project_id}/template/transcodings{?temp_id}

Deletes a transcoding template.

updateTransTemplate

PUT /v1/{project_id}/template/transcodings

Updates a transcoding template.

listTemplate

GET /v1/{project_id}/template/transcodings{?temp_id}

Queries transcoding templates.

createThumbnailsTask

POST /v1/{project_id}/thumbnails

Creates a snapshot task.

deleteThumbnailTask

DELETE /v1/{project_id}/thumbnails{?task_id}

Deletes a snapshot task.

listThumbnailsTask

GET /v1/{project_id}/thumbnails{?task_id,start_time,end_time,status,page,size}

Queries snapshot tasks.

createWatermarkTemplate

POST /v1/{project_id}/template/watermark

Creates a watermark template.

updateWatermarkTemplate

PUT /v1/{project_id}/template/watermark

Updates a watermark template.

listWatermarkTemplate

GET /v1/{project_id}/template/watermark{?template_id,page,size}

Queries watermark templates.

deleteWatermarkTemplate

DELETE /v1/{project_id}/template/watermark{?template_id}

Deletes a watermark template.

createEncryptTask

POST /v1/{project_id}/encryptions

Creates an encryption task.

deleteEncryptTask

DELETE /v1/{project_id}/encryptions/?task_id={task_id}

Deletes an encryption task.

listEncryptTask

GET /v1/{project_id}/encryptions{?task_id,start_time,end_time,status,page,size}

Queries encryption tasks.

createAnimatedGraphicsTask

POST /v1/{project_id}/animated-graphics

Creates an animated GIF task.

listAnimatedGraphicsTask

GET /v1/{project_id}/animated-graphics{?task_id,start_time,end_time,status,page,size}

Queries animated GIF tasks.

deleteAnimatedGraphicsTask

DELETE /v1/{project_id}/animated-graphics?task_id={task_id}

Deletes an animated GIF task.

createExtractTask

POST /v1/{project_id}/extract-metadata

Creates a video parsing task.

listExtractTask

GET /v1/{project_id}/extract-metadata{?task_id,start_time,end_time,status,page,size}

Queries video parsing tasks.

deleteExtractTask

DELETE /v1/{project_id}/extract-metadata{?task_id}

Deletes a video parsing task.

creatRemuxTask

POST /v1/{project_id}/remux

Creates a packaging task.

listRemuxTask

GET /v1/{project_id}/remux{?task_id,start_time,end_time,status,page,size}

Queries packaging tasks.

cancelRemuxTask

DELETE /v1/{project_id}/remux{?task_id}

Cancels a packaging task.