Skip to main content
Version: 1.2.0

Task Management

EntranceMetricRestfulApi class

Task management

start task

Interface address:/api/rest_j/v1/entrance/api/metrics/runningtask

Request method: GET

Request data type: application/x-www-form-urlencoded

Response data type: */*

Interface description:

Start task

Request Parameters:

No

Response Status:

Status codeDescriptionschema
200OKMessage
401Unauthorized
403Forbidden
404Not Found

Response parameters:

parameter nameparameter descriptiontypeschema
dataDatasetobject
messageDescriptionstring
methodrequest urlstring
statusStatusinteger(int32)integer(int32)

Sample Response:

{
"data": {},
"message": "",
"method": "",
"status": 0
}

task info

Interface address:/api/rest_j/v1/entrance/api/metrics/taskinfo

Request method: GET

Request data type: application/x-www-form-urlencoded

Response data type: */*

Interface description:

Task information

Request Parameters:

Parameter nameParameter descriptionRequest typeRequiredData typeschema
creatorCreatorqueryfalsestring
engineTypeLabelEngine Type Labelqueryfalsestring
useruserqueryfalsestring

Response Status:

Status codeDescriptionschema
200OKMessage
401Unauthorized
403Forbidden
404Not Found

Response parameters:

parameter nameparameter descriptiontypeschema
dataDatasetobject
messageDescriptionstring
methodrequest urlstring
statusStatusinteger(int32)integer(int32)

Sample Response:

{
"data": {},
"message": "",
"method": "",
"status": 0
}