10.obtain-waypointfile-list

GET /wayline/api/v1/workspaces/{workspace_id}/waylines

Parameters

Name
In
Type
Required
Description

workspace_id

path

string

true

workspace id

favorited

query

boolean

false

whether to favorite

order_by

query

string

false

order (xxx_column desc or xxx_column asc

page

query

integer

false

current page

page_size

query

integer

false

page size

template_type

query

array[integer]

false

waypoints template type collection

x-auth-token

header

string

true

access token

action_type

query

integer

false

1: Enable AI Spot-Check wayline. Without this field means all waylines.

drone_model_keys

query

array[string]

false

Selected aircraft models

payload_model_key

query

array[string]

false

Selected payload models

Responses

Status
Meaning
Description
Schema

Example responses

{
    "code":0,
    "message":"success",
    "data":{
        "list":[
            {
                "id":"uuid",
                "drone_model_key":"0-67-0",
                "favorited":false,
                "name":"New wayline 1",
                "payload_model_keys":[
                    "1-53-0"
                ],
                "template_types":[
                    0
                ],
                "action_type": 0,
                "update_time":1637158501230,
                "user_name":"string",
                "start_wayline_point": {
                  "start_latitude": 22.5799601837589,
                  "start_lontitude": 113.942744030171
                  }
            }
        ],
        "pagination":{
            "page":1,
            "page_size":9,
            "total":10
        }
    }
}

Schemas

wayline.GetWaylinesOutput

Properties

Name
Type
Required
Restrictions
Description

code

integer

false

none

error code

message

string

false

none

description

wayline.GetWaylinesOutputData

Properties

Name
Type
Required
Restrictions
Description

list

false

none

none

pagination

false

none

none

wayline.AppFileItem

Properties

Name
Type
Required
Restrictions
Description

drone_model_key

string

false

none

drone device product enum

favorited

boolean

false

none

whether to favorite

id

string

false

none

waypoints file id

name

string

false

none

waypoints file name

payload_model_keys

[string]

false

none

payload device product enum

template_types

[integer]

false

none

waypoints template collection

update_time

integer

false

none

update time (millisecond)

user_name

string

false

none

uploader

start_wayline_point

array[float]

false

none

Start point of wayline

start_latitude

float

false

none

Latitude of wayline start point

start_lontitude

float

false

none

Longitude of wayline start point

api_render.PagyInfo

Properties

Name
Type
Required
Restrictions
Description

page

integer

false

none

current page

page_size

integer

false

none

page size

total

integer

false

none

total

Last updated