Skip to main content

Log Fetch

1.Create a task

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/log-analyze/upsertTask

Body:

{

"mobileAppId": 8843,
"name": "ceui",
"sceneId": 7,
"pluginId": 10,
"expireTime": "2022-07-23 18:40",
"startTime": "2022-07-23 18:40",
"endTime": "2022-07-23 18:40",
"uploadType": 1,
"targetType": 0,
"email": "8843",
"description": "8843",
"status": 0,
"items": [
{
"taskId": 8843,
"mobileAppId": 8843,
"targetId": "1"
},
{
"taskId": 8843,
"mobileAppId": 8843,
"targetId": "2"
},
{
"taskId": 8843,
"mobileAppId": 8843,
"targetId": "3"
}
]
}

2.Modify the status

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/log-analyze/changeStatus

Query params:

KeyValue
mobileAppId7787
taskId1,2
status-1

3.Task list

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/log-analyze/getTaskList

Body:

{

"mobileAppId": 8843,
"name": "ce",
"status": "all"
}

4.Export the template

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/config/key-url/exportTemplate

Query params:

KeyValue
modulelogTask
mobileAppId123

5.Log collection list

Endpoint:

Method: POST
Type: RAW
URL: {{host}}/log-analyze/getLogCollectionList

Query params:

KeyValue
modulelogTask
mobileAppId123

Body:

{
"mobileAppId":"7543",
"deviceId":"",
"userId":"",
"taskId":"398"
}