Skip to content

List Uploaded Partitions



POST /api/v1/rum_sourcemap/part_list

Overview

The fourth optional step in the sourcemap compressed file upload (multipart upload) operation. Lists the uploaded partitions. Generally used for resuming interrupted uploads or partition checks. For details, refer to: SourceMap Multipart Upload Related Interface Usage Instructions

Body Request Parameters

Parameter Name Type Required Description
uploadId string Y Multipart upload event Id
Allow empty: False

Parameter Additional 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? ×