Skip to main content
Version: 1.1.1

Engine Material Refresh Interface

The material resources mainly used for the engine (under {LINKIS_INSTALL_HOME}/lib/linkis-engineconn-plugin, the jar package/configuration file of the engine) are updated to BML.

refesh

Interface address:/api/rest_j/v1/engineplugin/refesh

Request method: GET

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

Response data type: */*

Interface description: Update the material resources of the specified engine

Request Parameters:

Parameter nameParameter descriptionRequest typeRequiredData typeschema
ecTypeEngine Typequerytruestring
versionversion can be empty or *queryfalsestring

Response parameters:

parameter nameparameter descriptiontypeschema
dataobject
messagestring
methodstring
statusinteger(int32)integer(int32)

Sample Response:

{
"method": null,
"status": 0,
"message": "OK",
"data": {
"msg": "Refresh successfully"
}
}

##refeshAll

Interface address:/api/rest_j/v1/engineplugin/refeshAll

Request method: GET

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

Response data type: */*

Interface description: Update material resources of all engines

Request Parameters: none

Response parameters:

parameter nameparameter descriptiontypeschema
dataobject
messagestring
methodstring
statusinteger(int32)integer(int32)

Sample Response:

{
"method": null,
"status": 0,
"message": "OK",
"data": {
"msg": "Refresh successfully"
}
}