{
"id": "string",
"envId": "string",
"viewOptions": {
"dsId": "string",
"tableProps": [
{
"id": "string",
"width": 0,
"visible": true
}
],
"pagination": {
"pageSize": 0,
"currentPage": 0,
"custom": true
},
"joinConfig": {
"conditions": [
{
"joinedDsId": "string",
"joinType": "string",
"joinWhere": "string",
"joinConditions": [
{
"leftFieldId": "string",
"right": {
"type": "VARIABLE",
"fieldVariable": {
"dsId": "string",
"fieldId": "string"
},
"valueVariable": {
"value": {},
"type": "string"
},
"upstreamVariable": {
"nodeId": "string",
"fieldId": "string"
},
"fieldIdVariable": {
"fieldId": "string"
},
"systemVariable": {
"value": "TODAY",
"format": "string"
},
"userVariable": {
"fieldId": "string",
"format": "string"
},
"inputVariable": {
"blockId": "string",
"scope": "string"
},
"viewVariable": {
"fieldId": "string",
"format": "string"
},
"filterVariable": {
"blockId": "string",
"itemId": "string"
},
"argVariable": {
"nodeId": "string",
"argId": "string"
},
"selectDataSourceVariable": {
"dsId": "string",
"fieldId": "string",
"filter": {
"expression": {
"idVariable": {},
"operator": "string",
"paramList": [
{}
],
"where": "string",
"conditions": [
{}
]
}
},
"sorts": [
{
"id": "string",
"fieldId": "string",
"order": "ASC"
}
]
},
"pageLinkVariable": {
"value": {}
},
"formVariable": {
"fieldId": "string"
},
"resolvedVariable": {
"value": {},
"type": "string",
"innerType": "ARRAY"
},
"routePathVariable": {
"id": "string"
},
"routeQueryVariable": {
"id": "string"
},
"pageDataQueryVariable": {
"id": "string",
"itemId": "string"
},
"pageStateVariable": {
"id": "string"
},
"loopVariable": {
"value": "LOOP_TIMES"
}
},
"operator": "string"
}
],
"joinFields": [
{
"fieldId": "string",
"name": "string"
}
]
}
],
"primaryDsId": "string"
},
"analyticConfig": {
"edges": [
{
"id": "string",
"source": "string",
"target": "string",
"sourceHandle": "string",
"type": "string",
"success": true
}
],
"nodes": [
{
"id": "string",
"type": "DATA_INPUT",
"data": {
"empty": true,
"property1": {},
"property2": {}
},
"position": {
"x": 0,
"y": 0
}
}
]
},
"draftAnalyticConfig": {
"edges": [
{
"id": "string",
"source": "string",
"target": "string",
"sourceHandle": "string",
"type": "string",
"success": true
}
],
"nodes": [
{
"id": "string",
"type": "DATA_INPUT",
"data": {
"empty": true,
"property1": {},
"property2": {}
},
"position": {
"x": 0,
"y": 0
}
}
]
}
},
"name": "string"
}curl --location --request POST '/lighthouse/admin/api/v1/ds/updateDs' \
--header 'Lang: zh-CN' \
--header 'B-App-Id: {{B-App-Id}}' \
--header 'B-App-User-Id: {{B-App-User-Id}}' \
--header 'B-Origin-Domain: {{B-Origin-Domain}}' \
--header 'Cookie: {{Cookie}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"envId": "string",
"viewOptions": {
"dsId": "string",
"tableProps": [
{
"id": "string",
"width": 0,
"visible": true
}
],
"pagination": {
"pageSize": 0,
"currentPage": 0,
"custom": true
},
"joinConfig": {
"conditions": [
{
"joinedDsId": "string",
"joinType": "string",
"joinWhere": "string",
"joinConditions": [
{
"leftFieldId": "string",
"right": {
"type": "VARIABLE",
"fieldVariable": {
"dsId": "string",
"fieldId": "string"
},
"valueVariable": {
"value": {},
"type": "string"
},
"upstreamVariable": {
"nodeId": "string",
"fieldId": "string"
},
"fieldIdVariable": {
"fieldId": "string"
},
"systemVariable": {
"value": "TODAY",
"format": "string"
},
"userVariable": {
"fieldId": "string",
"format": "string"
},
"inputVariable": {
"blockId": "string",
"scope": "string"
},
"viewVariable": {
"fieldId": "string",
"format": "string"
},
"filterVariable": {
"blockId": "string",
"itemId": "string"
},
"argVariable": {
"nodeId": "string",
"argId": "string"
},
"selectDataSourceVariable": {
"dsId": "string",
"fieldId": "string",
"filter": {
"expression": {
"idVariable": {},
"operator": "string",
"paramList": [
{}
],
"where": "string",
"conditions": [
{}
]
}
},
"sorts": [
{
"id": "string",
"fieldId": "string",
"order": "ASC"
}
]
},
"pageLinkVariable": {
"value": {}
},
"formVariable": {
"fieldId": "string"
},
"resolvedVariable": {
"value": {},
"type": "string",
"innerType": "ARRAY"
},
"routePathVariable": {
"id": "string"
},
"routeQueryVariable": {
"id": "string"
},
"pageDataQueryVariable": {
"id": "string",
"itemId": "string"
},
"pageStateVariable": {
"id": "string"
},
"loopVariable": {
"value": "LOOP_TIMES"
}
},
"operator": "string"
}
],
"joinFields": [
{
"fieldId": "string",
"name": "string"
}
]
}
],
"primaryDsId": "string"
},
"analyticConfig": {
"edges": [
{
"id": "string",
"source": "string",
"target": "string",
"sourceHandle": "string",
"type": "string",
"success": true
}
],
"nodes": [
{
"id": "string",
"type": "DATA_INPUT",
"data": {
"empty": true,
"property1": {},
"property2": {}
},
"position": {
"x": 0,
"y": 0
}
}
]
},
"draftAnalyticConfig": {
"edges": [
{
"id": "string",
"source": "string",
"target": "string",
"sourceHandle": "string",
"type": "string",
"success": true
}
],
"nodes": [
{
"id": "string",
"type": "DATA_INPUT",
"data": {
"empty": true,
"property1": {},
"property2": {}
},
"position": {
"x": 0,
"y": 0
}
}
]
}
},
"name": "string"
}'{
"success": true,
"msg": "string",
"code": "string",
"content": "string"
}