v1

latestSwagger 2.02026-07-172100198.0 KB
annotations

Query annotations linked to a list of objects.

Query annotations linked to a list of objects.

These objects can for instance be neurons, annotations or stack groups. From a database perspective, these objects are class instances.

Returned is an object with the fields "entities" and "annotations". The former is an object mapping an entity ID to a list of annotations. Each annotation is represented by an object containing its "id" and "uid", the user who annotated it. The latter maps annotation IDs to annotation names. For instance::

{ "entities": { "42": [{id: 1, uid: 12}, {id: 3, uid: 14}] }, "annotations": { 12: "example1", 14: "example2" } }

posthttp://localhost:8000/{project_id}/annotations/query

Path parameters

project_idstring required

Response

Created