콘텐츠로 이동

단일 파트 업로드



POST /api/v1/rum_sourcemap/upload_part

개요

SourceMap 압축 파일 업로드(멀티파트 업로드) 작업의 두 번째 단계입니다. 하나의 파트를 업로드합니다. 자세한 내용은 SourceMap 멀티파트 업로드 연동 인터페이스 사용 설명을 참조하세요.

파라미터 추가 설명

참고 1: 단일 파트 파일 크기는 10MB 이내로 제한됩니다.

요청 예시

curl 'https://openapi.guance.com/api/v1/rum_sourcemap/upload_part' \
-H 'Content-Type: multipart/form-data' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-F 'uploadId="65ef45944fac157005cb73de48e81f161Lfv5UOs"' \
-F 'chunkIndex="0"' \
-F 'files=@"/Users/someone/Downloads/browser-sdk.zip"'

응답

{
    "code": 200,
    "content": {
        "chunkIndex": "0",
        "declaration": {
            "b": [
                "asfawfgajfasfafgafwba",
                "asfgahjfaf"
            ],
            "business": "aaa",
            "organization": "6540c09e4243b300077a9675"
        },
        "uploadId": "65ef45944fac157005cb73de48e81f161Lfv5UOs"
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-17F98E26-C0AD-4D2B-99AA-BE5AD243B867"
}

문서 평가

이 페이지가 도움이 되었나요?