Skip to content

Merge Shards to Generate File



POST /api/v1/rum_sourcemap/part_merge

Overview

This is the fifth step in the operation of uploading a SourceMap compressed file (multipart upload). It merges the uploaded shards into a single SourceMap compressed file. For more details, refer to: SourceMap Multipart Upload Related API Usage Instructions

Body Request Parameters

Parameter Name Type Required Description
uploadId string Y Shard upload event ID
Allow empty: False
chunkIndexs array List of shards
Allow empty: False
Allow empty string: False

Additional Parameter Notes

Request Example

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

Response

{
    "code": 200,
    "content": {},
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-4CC300F8-2407-42C3-B8D2-1C706CE38DF8"
} 

Feedback

Is this page helpful? ×