Basic information
sourceMap list
POST /sourcemap/release/mp/sourcemaps
Request Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| mpId | query | string | No | none |
| releaseName | query | string | No | none |
| fileName | query | string | No | none |
| filePath | query | string | No | none |
| lang | query | string | No | none |
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 Code | Meaning of status code | Description | Data Model |
|---|---|---|---|
| 200 | OK | none | Inline |
Return data structure
Status Code 200
| Name | Type | Required | Constraints | Chinese name | Description |
|---|---|---|---|---|---|
| » code | integer | true | none | none | |
| » msg | string | true | none | none | |
| » data | [object] | true | none | none | |
| »» appId | integer | false | none | none | |
| »» releaseId | integer | false | none | none | |
| »» releaseName | string | false | none | none | |
| »» sourcemapId | integer | false | none | none | |
| »» fileName | string | false | none | none | |
| »» filePath | string | false | none | none | |
| »» ctime | string | false | none | none |
Create an application
POST /app/add
Body request parameter
name: test-03
Request Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| body | body | object | No | none |
| » name | body | string | No | none |
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 Code | Meaning of status code | Description | Data Model |
|---|---|---|---|
| 200 | OK | none | Inline |
Return data structure
Status Code 200
| Name | Type | Required | Constraints | Chinese name | Description |
|---|---|---|---|---|---|
| » code | integer | true | none | none | |
| » msg | string | true | none | none | |
| » data | object | true | none | none | |
| »» beacon | string | true | none | none | |
| »» accountIdKey | string | true | none | none | |
| »» sampling | integer | true | none | none | |
| »» agentUrl | string | true | none | none | |
| »» mpId | integer | true | none | none | |
| »» key | string | true | none | none | |
| » status | integer | true | none | none |
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 Code | Meaning of status code | Description | Data Model |
|---|---|---|---|
| 200 | OK | none | Inline |
Return data structure
Status Code 200
| Name | Type | Required | Constraints | Chinese name | Description |
|---|---|---|---|---|---|
| » code | integer | true | none | none | |
| » msg | string | true | none | none | |
| » data | [object] | true | none | none | |
| »» id | integer | true | none | none | |
| »» name | string | true | none | none | |
| »» hasData | boolean | true | none | none | |
| » status | integer | true | none | none |