ECM Resource Information Management

    Interface address:

    Request method: DELETE

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

    Response data type: application/json

    Interface description:

    Delete EC information

    Request Parameters:

    Response Status:

    Status codeDescriptionschema
    200OKMessage
    204No Content
    401Unauthorized
    403Forbidden

    Response parameters:

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

    Sample Response:

    Interface address: /api/rest_j/v1/linkisManager/ecinfo/get

    Request method: GET

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

    Response data type: application/json

    Interface description:

    Get EC information

    Parameter nameParameter descriptionRequest typeRequiredData typeschema
    ticketidticketidquerytruestring

    Response Status:

    Status codeDescriptionschema
    200OKMessage
    401Unauthorized
    403Forbidden
    404Not Found

    Response parameters:

    Sample Response:

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

    Interface address: /api/rest_j/v1/linkisManager/listAllEMs

    Request method:

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

    Response data type: application/json

    Interface description:

    Get a detailed list of all ECM resources, which can be queried according to conditions, and query all by default

    Request Parameters:

    Parameter nameParameter descriptionRequest typeRequiredData typeschema
    instanceinstance namequeryfalsestring
    nodeHealthyStatus, the status has the following enumeration types ‘Healthy’, ‘UnHealthy’, ‘WARN’, ‘StockAvailable’, ‘StockUnavailable’queryfalsestring
    ownerCreatorqueryfalsestring

    Response Status:

    Status codeDescriptionschema
    200OKMessage
    401Unauthorized
    403Forbidden
    404Not Found

    Response parameters:

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

    Sample Response:

    Interface address: /api/rest_j/v1/linkisManager/modifyEMInfo

    Request method: PUT

    Request data type: application/json

    Interface description:

    Edit or modify the instance under EMC management

    Request Parameters:

    Parameter nameParameter descriptionRequiredRequest typeData typeschema
    applicationNameEngine LabelfalseStringString
    emStatusInstance status, the status has the following enumeration types ‘Healthy’, ‘UnHealthy’, ‘WARN’, ‘StockAvailable’, ‘StockUnavailable’falseStringString
    instanceEngine instance namefalseStringString
    labelKeyThe label in the added content belongs to the key in the map in the labels collectionfalseStringString
    labelsThe engine instance updates the parameter content, and the collection stores the map typefalseListList
    stringValueThe value of the label in the added content belongs to the value in the map in the labels collectionfalseStringString

    Response Status:

    Response parameters:

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

    Sample Response:

    1. {
    2. "method": "/api/linkisManager/modifyEMInfo",
    3. "status": 0,
    4. "message": "success",
    5. "data": {}
    6. }

    Interface address: /api/rest_j/v1/linkisManager/openEngineLog

    Request method: POST

    Request data type:

    Response data type: application/json

    Interface description:

    Open the engine log, the stdout type engine log is opened by default

    Request example:

    Request Parameters:

    Parameter nameParameter descriptionRequest typeRequiredData typeschema
    applicationNameEngine LabelStringfalseString
    emInstanceInstance nameStringfalseString
    fromLineFrom LineStringfalseString
    instanceEngine instance nameStringfalseString
    logTypeLog type, default stdout type, belonging to parametersStringfalseString
    pageSizePage SizeStringfalseString
    parametersPagination informationMapfalseMap

    Response Status:

    Status codeDescriptionschema
    200OKMessage
    201Created
    401Unauthorized
    403Forbidden
    404Not Found

    Response parameters:

    parameter nameparameter descriptiontypeschema
    dataDatasetobject
    messageDescriptionstring
    methodrequest urlstring
    statusStatusinteger(int32)integer(int32)
    1. {
    2. "method": "/api/linkisManager/openEngineLog",
    3. "status": 0,
    4. "message": "OK",
    5. "result": {
    6. "logPath": "",
    7. "logs": [""],
    8. "endLine": ,
    9. "rows":
    10. },
    11. "isError": false,
    12. "errorMsg": ""
    13. }