searchView

Reorders the current user's search views of an entity type in a project

patch/searchView/project/{project_id}/order

Path parameters

project_idinteger required

Query parameters

entity_type'memo' | 'span_annotation' | 'sentence_annotation' | 'bbox_annotation' required

The searchable entity a saved view is for.

Each value maps to one column enum (MemoColumns, SpanColumns, ...). The value is stored in SearchViewORM.entity_type and used as the discriminator for the create/read/update unions below. Sdoc is deliberately omitted: it is ElasticSearch-backed and not part of the unified search flow yet.

Request body

view_idsinteger[] required

Response

Successful Response

Changes

Changed in 1 of the 186 revisions of this API.1