Additions
- `GET /{project_id}/nodes/nearest`:
Replaces `POST /{project_id}/node/nearest`. The parameters are the same, but
the API allows now to look globally for the nearest node in the project, if no
skeleton ID or neuron ID is provided.
- `GET /{project_id}/nodes/most-recent`:
Replaces `POST /{project_id}/node/nearest`. A skeleton_id parameter can still
be provided, but now also a user_id parameter is available to further
constrain.
Modifications
- `POST|GET /{project_id}/node/list`:
Offers a new optional parameter "min_skeleton_length", which can be used to
constrain the returned neurons to only those of at least this cable length.
- `POST|GET /{project_id}/pointclouds/`:
Offers a new optional parameter "order_by", which accepts the strings 'id' and
'name' to define in what order the list of pointclouds should be retuned
(default: id).
- `POST /{project_id}/landmarks/{landmark_id}/`:
Offers a new optional parameter "group_ids", an array of integers, which
allows to set the landmark group memberships of a specific landmark. The new
boolean parameter "append_memberships" allows to only append new group IDs as
memberships, without removing any. Otherwise the whole set of memberships is
replaced.
- `POST /{project_id}/skeletons/import`:
The new parameter `skeleton_id` makes it possible to request a particular
skeleton ID during import, just like it is done for neurons using `neuron_id`.
If a skeleton or neuron with this ID exists already, a new object is created
and the existing one is not touched. If an error should be raised instead, set
the `auto_id` parameter to `false`. If instead the passed in IDs should
replace existing data, the `force` parameter can be set to `true`. Both
options apply to both neurons and skeletons.
- `POST /{project_id}/skeletons/connectivity/csv`:
The new optional parameter `names` makes it possible to pass in a mapping of
skeleton IDs to names used in the CSV export as column and row headers. If
this parameter is not provided, the plain skeleton IDs will be used as it was
done before. If it is provided, it has to be a list of two-element lists, each
of the form [<skeleton-id>, <name>], which provides the mapping.
- `POST /{project_id}/skeletons/connectivity`:
The `source_skeleton_ids` parameter can now also be specified in regular form
format (multiple arguments with the exact same name), rather than only the
square braces style.
Deprecations
None.
Removals
- `POST /{project_id}/node/nearest`:
Replaced with `GET /{project_id}/nodes/nearest` (note the plural of nodes).
- `POST /{project_id}/node/most-recent`:
Replaced with `GET /{project_id}/nodes/most-recent`.