Skip to main content

Basic information

sourceMap list

POST /sourcemap/release/mp/sourcemaps

Request Parameters

NameLocationTypeRequiredDescription
mpIdquerystringNonone
releaseNamequerystringNonone
fileNamequerystringNonone
filePathquerystringNonone
langquerystringNonone

Return Example

{
"code": 200
"msg": "success ",
"data ": [
{
"appId": 10
"releaseId": 719
"releaseName": "MP-3.0.122 ",
"sourcemapId": 84462
"fileName": "app-service.js.map ",
"filePath": "C:\\Users\\wjn\\Desktop\\mp-sourceMap\\MP-3.0.122\\sourcemap_tmp\\__FULL__\\app-service.js.map ",
"ctime": "2022-02-25 14:17:35"
}
]
}

Return Results

Status CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» codeintegertruenonenone
» msgstringtruenonenone
» data[object]truenonenone
»» appIdintegerfalsenonenone
»» releaseIdintegerfalsenonenone
»» releaseNamestringfalsenonenone
»» sourcemapIdintegerfalsenonenone
»» fileNamestringfalsenonenone
»» filePathstringfalsenonenone
»» ctimestringfalsenonenone

Create an application

POST /app/add

Body request parameter

name: test-03

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectNonone
» namebodystringNonone

Return Example

{
"code": 200
"msg": "success ",
"data ": {
"beacon": "https://wkmp1.tingyun.com ",
"accountIdKey": "fui3qc_SnwM ",
"sampling": 1
"agentUrl": "https://wukong1.tingyun.com/mp-agent/tingyun-mp-agent.js ",
"mpId": 1515
"key": "YQiSKGypq1U"
},
"status": 200
}

Return Results

Status CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» codeintegertruenonenone
» msgstringtruenonenone
» dataobjecttruenonenone
»» beaconstringtruenonenone
»» accountIdKeystringtruenonenone
»» samplingintegertruenonenone
»» agentUrlstringtruenonenone
»» mpIdintegertruenonenone
»» keystringtruenonenone
» statusintegertruenonenone

Application List

POST /app/select-list

Request Parameters

Return Example

200 Response

{
"code": 0
"msg": "string ",
"data ": [
{
"id": 0
"name": "string ",
"hasData": true
}
],
"status": 0
}

Return Results

Status CodeMeaning of status codeDescriptionData Model
200OKnoneInline

Return data structure

Status Code 200

NameTypeRequiredConstraintsChinese nameDescription
» codeintegertruenonenone
» msgstringtruenonenone
» data[object]truenonenone
»» idintegertruenonenone
»» namestringtruenonenone
»» hasDatabooleantruenonenone
» statusintegertruenonenone