Task Management

EntranceMetricRestfulApi class

Task management

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:

  1. {
  2. "data": {},
  3. "message": "",
  4. "method": "",
  5. "status": 0
  6. }

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:

  1. {
  2. "data": {},
  3. "message": "",
  4. "method": "",
  5. "status": 0
  6. }