Skip to end of banner
Go to start of banner

Field Select

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This feature is part of release 24.4

Introduction

Field select is a new MediaHaven REST API feature that when searching or retrieving a record allows for specifying a set of dotted keys of Field Definitions, such that the API returns for the requested record(s) only the corresponding Metadata Fields.

Specification

The Metadata Fields to return as specified by joining the sets of the dotted keys specified as

  • All the fields linked with the providedProfiles

  • An explicit set of dotted keys

API Contract

API methods that return records now accept additional parameters/properties

  1. profiles Optional set of profile IDs

  2. fields Optional set of fields specified as dotted key

The following methods support this (non-exhaustive list)

Benefits

The major benefit of using field select is performance and throughput as

  • It reduces the load on the underlying search engine by requesting less metadata and hence improves the general responsiveness of the search engine

  • It reduces the API response time because the underlying search engine returns results much faster

  • It reduces the size of returned metadata and hence the download time of the API response

  • No labels