Concise description
- This interface is retained for compatibility with versions 3.2 and 3.1. In version 3.3, there is no need to use this interface to obtain additional parameters. When entering the application, additional parameters have already been attached to the command line parameters of the application. Please refer to the “Enter Application” interface instructions for specific usage methods
Request URL
{{agentHost:8089}}/taskInfo/getExtraParams
Request Method
Request Query Parameters
Field Name |
Sample |
Required |
Type |
Note |
taskId |
1202202693544706048 |
Yes |
string |
None |
Success Response Example
{
"code": 1000,
"message": "Success",
"result": [
{
"paramKey": "cmdLineParamStyle",
"paramVal": "2"
},
{
"paramKey": "userName",
"paramVal": "zhangsan"
},
{
"paramKey": "age",
"paramVal": "12"
}
]
}
Parameter Note for Success Response Example
Field Name |
Type |
Note |
code |
string |
None |
message |
string |
None |
result |
array |
None |
paramKey |
string |
Key |
paramVal |
string |
Value |
Note
在3.1版本,获取附加参数的接口Yesadmin服务接口。为了兼容使用8181端口也能访问到/getExtraParams接口,需要在管理节点配置文件(\LarkXR-Standlone\larkxr-center\application.properties)增加配置项:pxy.open-legacy-api.extra-params=true