Overview

This chapter provides an example of an API that provides a set of functions and procedures to facilitate data export from a database query to object store using FTS. The API consists of four main components:

  1. get_idcs_token: Obtains an IDCS token for authentication.
  2. generate_par: Generates a Pre-Authenticated Request (PAR) for uploading data to an object store.
  3. put_object_in_store: Uploads a BLOB to object store using a PAR.
  4. export_query_to_blob: Exports the result of a database query to a BLOB.