计算贴近摄影航线
POST
/openapi/v0.9/wayline/api/v1/workspaces/{proj_uuid}/waylines/{id}/calculate-mapping-wayline
es-file-storage
请求参数
Path 参数
proj_uuid
string
必需
id
string
航线ID
示例值:
123
Header 参数
x-user-token
string
必需
默认值:
{{x-user-token}}
X-Request-Id
string
可选
默认值:
{% mock 'uuid' %}
Body 参数application/json
model_files_key
array[string]
可选
example: ["model1.pnts", "model2.pnts"]
object_key
string
可选
example: wayline/123.kmz
timestamp
integer
可选
example: 1609459200
view_port_id
string
可选
example: view_123
wayline_request_id
string
必需
example: req_123
示例
{
"object_key": "105ddd05-34ce-46b6-a872-cb32b8c98f64/ca24e13e-54e0-4d68-8627-5ec1e964d132/aef78382-30c3-443d-9df4-11ac28b09154/新建贴近摄影航线测试.kmz",
"wayline_request_id": "4634f7d0-9b94-423c-a6e5-63491bf96c50",
"view_port_id": "c6d722d6-c7a1-4970-97e8-71301d8b2722",
"model_files_key": [
"reconstruction_output/post/3d/b3dm/b69a0d51-fb41-4ddb-89a9-c9a90a06257d/resource/9c22ae4c-799c-4dcc-b1f6-a8dbf7c17f52/3D/terra_pnts/tileset.json"
],
"timestamp": 1750925286511
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/openapi/v0.9/wayline/api/v1/workspaces//waylines/123/calculate-mapping-wayline' \
--header 'x-user-token;' \
--header 'X-Request-Id: {% mock '\''uuid'\'' %}' \
--header 'Content-Type: application/json' \
--data-raw '{
"object_key": "105ddd05-34ce-46b6-a872-cb32b8c98f64/ca24e13e-54e0-4d68-8627-5ec1e964d132/aef78382-30c3-443d-9df4-11ac28b09154/新建贴近摄影航线测试.kmz",
"wayline_request_id": "4634f7d0-9b94-423c-a6e5-63491bf96c50",
"view_port_id": "c6d722d6-c7a1-4970-97e8-71301d8b2722",
"model_files_key": [
"reconstruction_output/post/3d/b3dm/b69a0d51-fb41-4ddb-89a9-c9a90a06257d/resource/9c22ae4c-799c-4dcc-b1f6-a8dbf7c17f52/3D/terra_pnts/tileset.json"
],
"timestamp": 1750925286511
}'
返回响应
🟢200成功
application/json
Body
object (Resp) | null
HTTP响应模板
code
integer
响应码
message
string
响应消息
data
object | null
响应数据
示例
{
"code": 0,
"message": "success",
"data": null
}
修改于 2025-06-27 09:17:01