Skip to content

List uploaded part list



POST /api/v1/rum_sourcemap/part_list

Overview

This is the fourth optional step in the sourcemap compressed file upload (multipart upload) operation. It lists the uploaded parts. It is generally used for resumable uploads or part verification. 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 Supplementary Explanation

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