Skip to content
Tim Gion edited this page Jun 13, 2016 · 1 revision

ndio Boss API Examples

The Boss API examples are currently located here: https://github.com/jhuapl-boss/ndio/tree/master/examples

The examples show how to manipulate the Boss data model structure and add metadata.

NOTE: If you want to run the examples, you will need to make modifications to the code and place a valid token in example.cfg. Required modifications are detailed in the section below.

Setup for Examples

Before running any of the examples, examples_setup.py must be run, at least once, to configure the Boss' data model to create the resources used by the examples. In addition, because collections must be unique, the collection name gray will need to be changed throughout the example files.