{
"name": "更新后的区域",
"status": "enable",
"content": {
"type": "Polygon",
"coordinates": [
[
[
116.4074,
39.9042
],
[
116.4074,
40.9042
],
[
117.4074,
40.9042
],
[
117.4074,
39.9042
],
[
116.4074,
39.9042
]
]
]
},
"area_hash": "enable_nfz_a3dc9e25989d71ee73b4d78f8405302a"
}curl --location --request PUT '/openapi/v0.9/map/api/v1/workspaces//flight-areas/area-123456' \
--header 'x-user-token: {{x-user-token}}' \
--header 'X-Request-Id: {% mock '\''uuid'\'' %}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "更新后的区域",
"status": "enable",
"content": {
"type": "Polygon",
"coordinates": [
[
[
116.4074,
39.9042
],
[
116.4074,
40.9042
],
[
117.4074,
40.9042
],
[
117.4074,
39.9042
],
[
116.4074,
39.9042
]
]
]
},
"area_hash": "enable_nfz_a3dc9e25989d71ee73b4d78f8405302a"
}'{
"code": 0,
"message": "string",
"data": {
"area_hash": "string",
"id": "string",
"updated_area": {
"area_hash": "string",
"content": "string",
"created_by": "string",
"created_nickname": "string",
"created_time": 0,
"id": "string",
"name": "string",
"status": "string",
"type": "string",
"updated_by": "string",
"updated_nickname": "string",
"updated_time": 0
}
}
}