searchView

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

get/searchView/project/{project_id}

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.

Response

Successful Response

Changes

Changed in 2 of the 73 revisions of this API.5

    • added the optional property items/anyOf[subschema #1: MemoSearchViewRead]/selected_properties to the response with the 200 status

      response-optional-property-added

    • added the optional property items/anyOf[subschema #2: SpanSearchViewRead]/selected_properties to the response with the 200 status

      response-optional-property-added

    • added the optional property items/anyOf[subschema #3: SentenceSearchViewRead]/selected_properties to the response with the 200 status

      response-optional-property-added

    • added the optional property items/anyOf[subschema #4: BBoxSearchViewRead]/selected_properties to the response with the 200 status

      response-optional-property-added

    • endpoint added

      endpoint-added

    This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog