{
"name": "变化检测 2025-06-30 11:01:07",
"origin_file_uuid": "6c53d2ad-6fea-4e9d-b8e0-175ca8cc1ac9",
"refer_file_uuid": "e0a660c5-9446-4a74-b99f-48989a620b47",
"area_threshold": 2,
"exclude_diff_types": [
2
],
"predefine_area": {
"polygon_points": [
{
"lng": 114.35774367287036,
"lat": 22.79355884972528
},
{
"lng": 114.35790688729963,
"lat": 22.79328708708294
},
{
"lng": 114.3580094671134,
"lat": 22.79344624744066
},
{
"lng": 114.35797178515432,
"lat": 22.793542649641836
}
]
},
"old_task_uuid": "8b56bfe7-bf2d-431c-b4ec-40cefef60fc6"
}
curl --location --request POST '/openapi/v0.9/model/api/v1/workspaces//comparators' \
--header 'x-user-token;' \
--header 'X-Request-Id: {% mock '\''uuid'\'' %}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "变化检测 2025-06-30 11:01:07",
"origin_file_uuid": "6c53d2ad-6fea-4e9d-b8e0-175ca8cc1ac9",
"refer_file_uuid": "e0a660c5-9446-4a74-b99f-48989a620b47",
"area_threshold": 2,
"exclude_diff_types": [
2
],
"predefine_area": {
"polygon_points": [
{
"lng": 114.35774367287036,
"lat": 22.79355884972528
},
{
"lng": 114.35790688729963,
"lat": 22.79328708708294
},
{
"lng": 114.3580094671134,
"lat": 22.79344624744066
},
{
"lng": 114.35797178515432,
"lat": 22.793542649641836
}
]
},
"old_task_uuid": "8b56bfe7-bf2d-431c-b4ec-40cefef60fc6"
}'
{
"code": 0,
"message": "success",
"data": {
"task_uuid": "6c53d2ad-6fea-4e9d-b8e0-175ca8cc1ac9"
}
}