landmarks

Import and link landmarks, landmark groups and locations.

Changed on

Import and link landmarks, landmark groups and locations.

The passed in <data> parameter is a list of two-element lists, each representing a group along with its linked landmark and locations. The group is represented by its name and the members are a list of four-element lists, containing the landmark name and the location. This results in the following format:

[[group_1_name, [[landmark_1_name, x, y, z], [landmark_2_name, x, y, z]]], ...]

Note that this parameter has to be transmitted as a JSON encoded string.

posthttp://localhost:8000/{project_id}/landmarks/groups/import

Request

Path parameters

project_idstring required

The project the landmark group is part of.

Request body application/x-www-form-urlencoded

datastring required

The data to import.

reuse_existing_groupsstring

Whether existing groups should be reused.

reuse_existing_landmarksstring

Whether existing landmarks should be reused.

create_non_existing_groupsstring

Whether non-existing groups should be created.

create_non_existing_landmarksstring

Whether non-existing landmarks should be created.

Response

Created

Changes