Finalizes api spike.  This is a working example.