APP获取航线列表
GET
/openapi/v0.9/wayline/api/v1/workspaces/{proj_uuid}/waylines
es-file-storagedevice-api
请求参数
Path 参数
proj_uuid
string
必需
Query 参数
action_type
integer
可选
example: 1
drone_model_keys
array[string]
可选
example: ["M300"]
favorited
boolean
可选
example: false
file_type
enum<integer>
可选
example: 5
枚举值:
0123456789
key
string
可选
example: test
order_by
string
可选
example: updated_at desc
page
integer
可选
example: 1
page_size
integer
可选
example: 20
>= 1<= 100
payload_model_key
array[string]
可选
example: ["H20T"]
template_type
array[integer]
可选
example: [1,2,3]
workspaceID
string
可选
required: true
example: 4dbc6ef2-0e3c-4d47-8b32-552a44f573c5
Header 参数
x-user-token
string
必需
默认值:
{{x-user-token}}
X-Request-Id
string
可选
默认值:
{% mock 'uuid' %}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/openapi/v0.9/wayline/api/v1/workspaces//waylines?action_type&drone_model_keys&favorited&file_type&key&order_by&page&page_size&payload_model_key&template_type&workspaceID' \
--header 'x-user-token;' \
--header 'X-Request-Id: {% mock '\''uuid'\'' %}'
返回响应
🟢200成功
application/json
Body
code
integer
响应码
message
string
响应消息
data
object
wayline_vo.AppFileListOutput
list
array[object (wayline_vo.AppFileItem) {12}]
文件列表
pagination
object
分页信息
示例
{
"code": 0,
"message": "success",
"data": {
"list": [
{
"action_type": 1,
"create_time": 1609459200,
"drone_model_key": "M300",
"error_infos": [],
"favorited": false,
"id": "a873e5ef-821b-430c-a42c-fda67e96fd7f",
"name": "test_wayline",
"payload_model_keys": [
"H20T"
],
"start_wayline_point": {
"start_latitude": 22.542883,
"start_lontitude": 113.945801
},
"template_types": [
1,
2
],
"update_time": 1609459200,
"user_name": "admin"
}
],
"pagination": {
"page": 1,
"page_size": 10,
"total": 1
}
}
}
修改于 2025-06-25 04:18:35