landmarks

Create all passed in landmarks along with a set of groups in one go.

Changed on

Create all passed in landmarks along with a set of groups in one go.

The format for the passed in landmarks is expected to be [name, x1, y1, z1, x2, y2, z2], representing a shared landmark at locations (x1, y1, z1) for group A and (x2, y2, z2) for group B.

The format for the optionally passed in links is: [group_name_1, relation_name, group_name_2] elements, representing a relation between two groups. Whether group A and B map to 1 and 2 or vice versa depends on the semantics of the relation.

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

Request

Path parameters

project_idstring required

The project to operate in.

Request body application/x-www-form-urlencoded

group_a_namestring required

The name of landmark group A.

group_b_namestring required

The name of landmark group B.

landmarksstring required

A list of landmark definitions for group B.

linksstring

A list of link definitions between group A and B.

reuse_existing_landmarksstring

If existing landmarks can be reused, no error will be thrown if a landmark with the same name exists alrady.

Response

Created

Changes