Skip to content

Cancel a Sharded Upload Event



POST /api/v1/rum_sourcemap/upload_cancel

Overview

This is an optional third step in the sourcemap compressed file upload (sharded upload) operation. It cancels an already uploaded shard. Generally used for resuming interrupted uploads or re-uploading shards. For more details, refer to: SourceMap Sharded Upload Related Interface Usage Instructions

Body Request Parameters

Parameter Name Type Required Description
uploadId string Y Shard upload event ID
Can be empty: False

Additional Parameter Notes

Request Example

curl 'https://openapi.guance.com/api/v1/rum_sourcemap/upload_cancel' \
-H 'Content-Type: application/json' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--data-raw $'{\n  "uploadId": "65ef45944fac157005cb73de48e81f161Lfv5UOs"\n}' \
--compressed

Response

{
    "code": 200,
    "content": true,
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-3277AFBD-99D0-4532-ACE0-3ED677CC5E1E"
} 

Feedback

Is this page helpful? ×