Field Select

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 are specified by joining the sets of the dotted keys provided by

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 and reduces JSON processing times

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

Â