Skip to content

List of uploaded shards



POST /api/v1/rum_sourcemap/part_list

Overview

The fourth optional step in the sourcemap compressed file upload (shard upload) operation. Lists the shards that have already been uploaded. Generally used for breakpoint resume or shard checks. For more details, refer to: SourceMap Shard Upload Related Interface Usage Instructions

Body Request Parameters

Parameter Name Type Required Description
uploadId string Y Shard upload event Id
Allow null: False

Additional Parameter Notes

Request Example

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

Response

{
    "code": 200,
    "content": {
        "chunkIndexs": [
            1
        ],
        "declaration": {
            "b": [
                "asfawfgajfasfafgafwba",
                "asfgahjfaf"
            ],
            "business": "aaa",
            "organization": "6540c09e4243b300077a9675"
        },
        "uploadId": "65ef45944fac157005cb73de48e81f161Lfv5UOs"
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-8A543B50-9DFF-4C29-9D01-69892F5372BD"
} 

Feedback

Is this page helpful? ×