nodes

Find the closest node in a skeleton relative to a passed in location.

Changed on

Find the closest node in a skeleton relative to a passed in location.

If a skeleton ID or neuron id is passed in as well, the nearest node in the respective skeleton is returned.

gethttp://localhost:8000/{project_id}/nodes/nearest

Request

Path parameters

project_idstring required

The project to operate in.

Request body application/x-www-form-urlencoded

xstring required

X coordinate of query location.

ystring required

X coordinate of query location.

zstring required

Z coordinate of query location.

skeleton_idstring

Result treenode has to be in this skeleton.

neuron_idstring

Alternative to skeleton_id. Result treenode has to be in this neuron

Response

OK

Changes