Parameter Configuration

    Interface address:

    Request method: GET

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

    Response data type: */*

    Interface description:

    Add KeyForEngine

    Request Parameters:

    Response Status:

    Status codeDescriptionschema
    200OKMessage
    401Unauthorized
    403Forbidden
    404Not Found

    Response parameters:

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

    Sample Response:

    Add application type

    Interface address:/api/rest_j/v1/configuration/createFirstCategory

    Request method: POST

    Request data type: application/json

    Response data type: */*

    Interface description:

    Add application type tag

    Request example:

    1. {
    2. "categoryName": "",
    3. "description": ""
    4. }

    Request Parameters:

    Parameter nameParameter descriptionRequiredRequest typeData typeschema
    categoryNameReference type label namefalseStringString
    descriptionDescriptionfalseStringSTRing

    Response Status:

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

    Response parameters:

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

    Sample Response:

    1. {
    2. "method": "/api/configuration/createFirstCategory",
    3. "status": 0,
    4. "message": "OK",
    5. "data": {}
    6. }

    Add parameter configuration

    Interface address:/api/rest_j/v1/configuration/createSecondCategory

    Request method: POST

    Request data type: application/json

    Response data type: */*

    Interface description:

    Add parameter configuration

    Request example:

    1. {
    2. categoryId: ,
    3. description: "",
    4. engineType: "",
    5. version: ""
    6. }

    Request Parameters:

    Parameter nameParameter descriptionRequiredRequest typeData typeschema
    categoryIdParameter ConfigurationIdtrueStringString
    descriptionDescriptiontrueStringString
    engineTypeEngine TypetrueStringString
    versionversion numbertrueStringString

    Response Status:

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

    Response parameters:

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

    Sample Response:

    1. {
    2. "method": "/api/configuration/createSecondCategory",
    3. "status": 0,
    4. "message": "OK",
    5. "data": {}
    6. }

    delete configuration

    Interface address: /api/rest_j/v1/configuration/deleteCategory

    Request method: POST

    Request data type: application/json

    Response data type: */*

    Interface description:

    Delete parameter configuration

    Request example:

    Request Parameters:

    Parameter nameParameter descriptionRequest typeRequiredData typeschema
    categoryIdParameter ConfigurationIdStringtrueString

    Response Status:

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

    Response parameters:

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

    Sample Response:

    1. {
    2. "method": "/api/configuration/deleteCategory",
    3. "status": 0,
    4. "message": "OK",
    5. "data": {}
    6. }

    Interface address:/api/rest_j/v1/configuration/engineType

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

    Response data type: */*

    Interface description:

    Get a list of engine types

    Request Parameters:

    No

    Response Status:

    Response parameters:

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

    Sample Response:

    1. {
    2. "method": "/api/configuration/engineType",
    3. "status": 0,
    4. "data": {
    5. "engineType": []
    6. }
    7. }

    App types

    Interface address: /api/rest_j/v1/configuration/getCategory

    Request method: GET

    Request data type:

    Response data type: */*

    Interface description:

    Apply type tag in parameter configuration

    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. "method": "/api/configuration/getCategory",
    3. "status": 0,
    4. "message": "OK",
    5. "data": {
    6. "Category": [{
    7. "categoryId": ,
    8. "labelId": ,
    9. "categoryName": "",
    10. "childCategory": [],
    11. "description": null,
    12. "tag": null,
    13. "createTime": ,
    14. "updateTime": ,
    15. "level": ,
    16. "fatherCategoryName": ""
    17. }],
    18. "description": null,
    19. "tag": null,
    20. "createTime": ,
    21. "updateTime": ,
    22. "level": ,
    23. "fatherCategoryName":
    24. }]
    25. }
    26. }

    queue resources

    Interface address:/api/rest_j/v1/configuration/getFullTreesByAppName

    Request method: GET

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

    Response data type: */*

    Interface description:

    The queue resource module in the parameter configuration returns the column and value of the queue resource

    Request Parameters:

    Parameter nameParameter descriptionRequest typeRequiredData typeschema
    creatorlabel namequeryfalsestring
    engineTypeengineTypequeryfalsestring
    versionversionqueryfalsestring

    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. "method": "/api/configuration/getFullTreesByAppName",
    3. "status": 0,
    4. "message": "OK",
    5. "data": {
    6. "fullTree": [{
    7. "name": "Queue Resource",
    8. "description": null,
    9. "settings": [{
    10. "id": ,
    11. "key": "",
    12. "description": "",
    13. "name": "",
    14. "defaultValue": "",
    15. "validateRange": "[]",
    16. "level": 1,
    17. "engineType": ,
    18. "treeName": "",
    19. "valueId": ,
    20. "configValue": "",
    21. "configLabelId": ,
    22. "unit": null,
    23. "isUserDefined": ,
    24. "hidden": ,
    25. "advanced":
    26. }]
    27. }
    28. }

    Get key value

    Interface address:/api/rest_j/v1/configuration/keyvalue

    Request method: GET

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

    Response data type: */*

    Interface description:

    Get key value

    Request Parameters:

    Parameter nameParameter descriptionRequest typeRequiredData typeschema
    configKeyconfigKeyquerytruestring
    creatorcreatorqueryfalsestring
    engineTypeengineTypequeryfalsestring
    versionversionqueryfalsestring

    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/configuration/keyvalue

    Request method: POST

    Request data type: application/json

    Response data type: */*

    Save key value

    Request Parameters:

    Parameter nameParameter descriptionRequiredRequest typeData typeschema
    configKeyconfigKeytrueStringString
    configValueconfigValuetrueStringString
    creatorcreatortrueStringString
    engineTypeengineTypetrueStringString
    versionversiontrueStringString
    SaveKeyValuejsonbodytrueSaveKeyValueSaveKeyValue

    Response Status:

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

    Response parameters:

    Sample Response:

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

    delete key value

    Interface address:/api/rest_j/v1/configuration/keyvalue

    Request method: DELETE

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

    Response data type: */*

    Interface description:

    Delete key value

    Request Parameters:

    Parameter nameParameter descriptionRequiredRequest typeData typeschema
    configKeyconfigKeytrueStringString
    creatorcreatortrueStringString
    engineTypeengineTypetrueStringString
    versionversiontrueStringString

    Response Status:

    Status codeDescriptionschema
    200OKMessage
    204No Content
    401Unauthorized
    403Forbidden

    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. }

    rpc test

    Interface address: /api/rest_j/v1/configuration/rpcTest

    Request method: GET

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

    Response data type: */*

    Interface description:

    rpc test

    Request Parameters:

    Parameter nameParameter descriptionRequest typeRequiredData typeschema
    creatorcreatorqueryfalsestring
    engineTypeengineTypequeryfalsestring
    usernameusernamequeryfalsestring
    versionversionqueryfalsestring

    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. }

    Save queue resources

    Interface address:/api/rest_j/v1/configuration/saveFullTree

    Request method: POST

    Request data type: application/json

    Response data type: */*

    Interface description:

    Save queue resources

    Request Parameters:

    Parameter nameParameter descriptionRequest typeRequiredData typeschema
    creatorApp Type NameStringtrueString
    descriptionDescription, belonging to the content in fullTreeStringtrueString
    engineTypeEngine TypeStringtrueString
    fullTreeDetails under Application TypeListtrueList
    nameQueue resource name, which belongs to the content in fullTreeStringtrueString
    settingsDetailed content in the queue resource, belonging to the content in fullTreeListtrueList

    Response Status:

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

    Response parameters:

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

    Sample Response:

    1. {
    2. "method": "/api/configuration/saveFullTree",
    3. "status": 0,
    4. "message": "OK",
    5. "data": {}
    6. }

    Interface address: /api/rest_j/v1/configuration/updateCategoryInfo

    Request method: POST

    Request data type: application/json

    Response data type: */*

    Interface description:

    Update category information

    Sample Response:

    Request Parameters:

    Parameter nameParameter descriptionRequest typeRequiredData typeschema
    categoryIdcategoryIdStringtrueString
    descriptiondescriptionStringtrueString

    Response Status:

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

    Sample Response:

    1. {
    2. "method": "/api/configuration/updateCategoryInfo",
    3. "status": 0,
    4. "message": "OK",
    5. "data": {}